.tool-ui {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.generator-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: #1A1D27;
  border: 1px solid #2A2D3A;
  border-radius: 12px;
  padding: 1.5rem;
}

/* Primary Featured UUID Banner */
.primary-uuid-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #0F1117;
  border: 1px solid #2A2D3A;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  transition: border-color 0.2s;
}

.primary-uuid-box:hover {
  border-color: #4F8EF7;
}

.primary-uuid-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F0F2F8;
  word-break: break-all;
  user-select: all;
}

@media (max-width: 640px) {
  .primary-uuid-text {
    font-size: 0.95rem;
  }
}

/* Options Grid */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  background: rgba(15, 17, 23, 0.4);
  border: 1px solid #2A2D3A;
  border-radius: 10px;
  padding: 1.25rem;
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.option-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Quantity input & chips */
.quantity-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-input {
  background: #0F1117;
  border: 1px solid #2A2D3A;
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  color: #F0F2F8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  width: 70px;
  outline: none;
  transition: border-color 0.2s;
}

.quantity-input:focus {
  border-color: #4F8EF7;
}

.quick-chip {
  background: #0F1117;
  border: 1px solid #2A2D3A;
  color: #6B7280;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  transition: all 0.2s;
}

.quick-chip:hover, .quick-chip.active {
  border-color: #4F8EF7;
  color: #F0F2F8;
  background: rgba(79, 142, 247, 0.1);
}

/* Checkbox and toggle items */
.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #F0F2F8;
  cursor: pointer;
  user-select: none;
}

.toggle-label input[type="checkbox"] {
  accent-color: #4F8EF7;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Radio buttons group */
.radio-group {
  display: flex;
  gap: 0.5rem;
}

.radio-pill {
  flex: 1;
  text-align: center;
  padding: 0.45rem 0.5rem;
  border: 1px solid #2A2D3A;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #6B7280;
  background: #0F1117;
  cursor: pointer;
  transition: all 0.2s;
}

.radio-pill.active {
  border-color: #4F8EF7;
  color: #FFFFFF;
  background: #4F8EF7;
}

/* Select Format */
.custom-select {
  background: #0F1117;
  border: 1px solid #2A2D3A;
  border-radius: 6px;
  padding: 0.45rem 0.65rem;
  color: #F0F2F8;
  font-size: 0.875rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.custom-select:focus {
  border-color: #4F8EF7;
}

/* Output Area */
.output-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #6B7280;
}

.output-textarea {
  width: 100%;
  min-height: 180px;
  max-height: 380px;
  background: #0F1117;
  border: 1px solid #2A2D3A;
  border-radius: 8px;
  padding: 0.875rem;
  color: #F0F2F8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}

.output-textarea:focus {
  border-color: #4F8EF7;
}

/* Button Row */
.btn-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: #4F8EF7;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: transparent;
  color: #F0F2F8;
  border: 1px solid #2A2D3A;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-secondary:hover {
  border-color: #4F8EF7;
  color: #FFFFFF;
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
}
