.sw-form-success {
  --bs-alert-bg: #ecfdf3;
  --bs-alert-border-color: #abefc6;
  --bs-alert-color: #067647;
  --bs-alert-padding-y: 12px;
  --bs-alert-padding-x: 16px;
  --bs-alert-border-radius: 10px;
  --bs-alert-margin-bottom: 0;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
}

.sw-form-success svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Success alert is hidden until the form navigates to #contactSent, then CSS
   :target reveals it — no JS. (The backend renders it from session in prod.) */
#contactSent {
  display: none;
}
#contactSent:target {
  display: flex;
}

.sw-form-signin {
  gap: 6px;
  font-size: 13px;
}

.sw-form-signin__q {
  color: var(--sw-text-muted);
}

.sw-form-signin__link {
  color: var(--sw-violet);
  text-decoration: none;
}

.sw-form-signin__link:hover {
  text-decoration: underline;
}
