/* ── Wider card for the multi-field form ── */
.ra-card {
  max-width: 560px;
}

/* ── Two-column row ── */
.field-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── Textarea ── */
textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  resize: vertical;
  min-height: 110px;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
textarea::placeholder { color: var(--muted); opacity: 0.7; }
textarea:focus {
  border-color: rgba(99,102,241,0.6);
  background: rgba(99,102,241,0.05);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

/* ── Field error state ── */
.field--error .input-wrap input,
.field--error textarea {
  border-color: rgba(244,63,94,0.5);
  background: rgba(244,63,94,0.05);
}
.field--error .input-wrap input:focus,
.field--error textarea:focus {
  border-color: rgba(244,63,94,0.7);
  box-shadow: 0 0 0 3px rgba(244,63,94,0.12);
}
.field-error {
  font-size: 0.8rem;
  color: #fda4af;
  margin-top: 4px;
}

/* ── Optional label hint ── */
.optional {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
}

/* ── Success state ── */
.success-card {
  max-width: 440px;
  text-align: center;
}
.success-icon {
  width: 64px;
  height: 64px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
}
.success-icon svg {
  width: 28px;
  height: 28px;
  stroke: #4ade80;
}
.success-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.success-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.9rem;
  margin-bottom: 28px;
}

/* ── Responsive ── */
@media (max-width: 560px) {
  .field-row-2 { grid-template-columns: 1fr; }
  .ra-card { max-width: 100%; }
}
