.contact-form {
  position: relative;
}

.contact-form .honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-note.is-success {
  color: #8ff0b0 !important;
}

.form-note.is-error {
  color: #ffb2b2 !important;
}

.contact-form button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.toast-stack {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 80;
  display: grid;
  gap: 0.75rem;
  width: min(92vw, 360px);
  pointer-events: none;
}

.toast {
  opacity: 0;
  transform: translateY(-12px) scale(0.98);
  padding: 0.95rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 12, 28, 0.92);
  color: #f4f8ff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast-success {
  border-color: rgba(68, 201, 113, 0.4);
  box-shadow: 0 24px 60px rgba(68, 201, 113, 0.16);
}

.toast-error {
  border-color: rgba(255, 92, 92, 0.42);
  box-shadow: 0 24px 60px rgba(255, 92, 92, 0.16);
}

@media (max-width: 720px) {
  .toast-stack {
    top: 0.8rem;
    right: 0.8rem;
    left: 0.8rem;
    width: auto;
  }
}