/* Support form — extends policy theme */

.support-panel section:last-of-type {
  border-bottom: 0;
}

.support-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 0.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  appearance: none;
  width: 100%;
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--outline);
  background: rgba(8, 14, 20, 0.72);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 1.15rem) calc(50% - 0.15rem),
    calc(100% - 0.75rem) calc(50% - 0.15rem);
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}

.field textarea {
  resize: vertical;
  min-height: 7.5rem;
  line-height: 1.45;
  font-weight: 500;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(143, 166, 188, 0.55);
  font-weight: 500;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(100, 153, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(45, 114, 243, 0.18);
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    opacity 0.15s ease,
    transform 0.15s ease;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn:not(:disabled):active {
  transform: translateY(1px);
}

.btn.primary {
  background: var(--brand);
  color: #f6fbff;
  min-width: 10.5rem;
}

.btn.primary:not(:disabled):hover {
  background: var(--brand-lift);
  color: #05090e;
}

.form-status {
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.form-status.is-ok {
  background: rgba(36, 120, 72, 0.18);
  border: 1px solid rgba(72, 180, 110, 0.35);
  color: #9be2b4;
}

.form-status.is-error {
  background: rgba(160, 48, 48, 0.16);
  border: 1px solid rgba(220, 90, 90, 0.35);
  color: #f0a0a0;
}
