.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section {
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.sectionTitle {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.col3 {
  grid-column: span 6;
}

.col4 {
  grid-column: span 6;
}

.col12 {
  grid-column: span 12;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.field input,
.field textarea {
  height: var(--field-height);
  padding: 0 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  background: var(--surface);
  font-size: var(--field-font-size);
  color: var(--text-primary);
}

.field textarea {
  height: auto;
  padding: 0.65rem 0.75rem;
  resize: vertical;
}

.field input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.actions {
  display: flex;
  justify-content: flex-end;
}

.saveBtn {
  height: var(--field-height);
  padding: 0 1.25rem;
  border: none;
  border-radius: 0.5rem;
  background: var(--primary);
  color: #fff;
  font-size: var(--field-font-size);
  font-weight: 600;
  cursor: pointer;
}

.saveBtn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.error {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
  font-size: 0.9rem;
}

@media (min-width: 1280px) {
  .col3 {
    grid-column: span 3;
  }

  .col4 {
    grid-column: span 4;
  }
}

@media (max-width: 768px) {
  .col3,
  .col4,
  .col12 {
    grid-column: span 12;
  }
}
