
.form-shell {
  margin-bottom: 32px;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.form-card__header {
  margin-bottom: 24px;
}

.form-card__header h2 {
  font-size: 1.45rem;
  color: var(--brand-neutral);
  margin-bottom: 8px;
}

.form-card__header p {
  color: var(--text-soft);
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
  color: var(--brand-neutral);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 144px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #42b649;
  box-shadow: 0 0 0 4px rgba(66, 182, 73, 0.12);
}

.is-hidden {
  display: none;
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn-submit,
.btn-secondary {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-submit {
  background: #42b649;
  color: #fff;
  box-shadow: 0 10px 24px rgba(66, 182, 73, 0.22);
}

.btn-secondary {
  background: #fff;
  color: var(--brand-neutral);
  border-color: var(--border);
}

.btn-submit:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}

.form-message {
  min-height: 24px;
  margin-top: 18px;
  font-weight: 700;
}

.form-message--success {
  color: #12723d;
}

.form-message--error {
  color: #a31645;
}

@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field--full {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .form-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn-submit,
  .btn-secondary {
    width: 100%;
  }
}


.btn-submit:disabled,
.btn-secondary:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}


.field-label {
  display: block;
  font-weight: 700;
  color: #16324f;
  margin-bottom: 0.75rem;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(22, 50, 79, 0.16);
  border-radius: 14px;
  background: #f8fbff;
  color: #16324f;
  font-weight: 600;
}

.checkbox-option input {
  width: 18px;
  height: 18px;
  margin: 0;
}
