.form-submit {
  min-height: 48px;
}

.contact-form .privacy-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  margin: 2px 0 18px;
  padding: 14px 15px;
  border: 1px solid rgba(121, 220, 255, 0.18);
  border-radius: 11px;
  background: rgba(88, 217, 255, 0.045);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  line-height: 1.5;
  cursor: pointer;
}

.contact-form .privacy-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: #58d9ff;
  cursor: pointer;
}

.privacy-consent a {
  color: #79dcff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-consent a:hover {
  color: #fff;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.78;
}

.form-submit.is-loading {
  pointer-events: none;
}

.form-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(4, 17, 31, 0.25);
  border-top-color: #04111f;
  border-radius: 50%;
  animation: form-spinner 0.75s linear infinite;
}

@keyframes form-spinner {
  to { transform: rotate(360deg); }
}

.recaptcha-disclosure {
  margin: 12px auto 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.64rem;
  line-height: 1.55;
  text-align: center;
}

.recaptcha-disclosure a {
  color: rgba(121, 220, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.recaptcha-disclosure a:hover {
  color: #79dcff;
}

.form-note.error {
  color: #ffad9f;
}

.form-note.is-loading {
  color: #79dcff;
}

.recaptcha-badge-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin-top: 0;
  overflow: visible;
  opacity: 0;
  transition: min-height 0.3s ease, margin-top 0.3s ease, opacity 0.3s ease;
}

.recaptcha-badge-slot.is-ready {
  min-height: 54px;
  margin-top: 8px;
  opacity: 1;
}

.recaptcha-badge-slot .grecaptcha-badge {
  position: relative !important;
  inset: auto !important;
  z-index: 1;
  flex: 0 0 auto;
  opacity: 0.68;
  transform: scale(0.82);
  transform-origin: center;
  box-shadow: 0 8px 22px rgba(0, 6, 20, 0.18) !important;
  transition: opacity 0.25s ease, transform 0.25s ease !important;
}

.recaptcha-badge-slot .grecaptcha-badge:hover,
.recaptcha-badge-slot .grecaptcha-badge:focus-within {
  opacity: 1;
  transform: scale(0.88);
}

@media (max-width: 680px) {
  .recaptcha-badge-slot.is-ready {
    min-height: 48px;
  }

  .recaptcha-badge-slot .grecaptcha-badge {
    transform: scale(0.74);
  }

  .recaptcha-badge-slot .grecaptcha-badge:hover,
  .recaptcha-badge-slot .grecaptcha-badge:focus-within {
    transform: scale(0.8);
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-spinner {
    animation-duration: 1.4s;
  }
}
