/* New Level Designs contact form notifications */
.nld-form-toast {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 2147483000;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: min(420px, calc(100vw - 48px));
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid #6f8fa8;
  border-radius: 10px;
  background: #20242b;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.nld-form-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nld-form-toast.is-success {
  border-left-color: #43b581;
}

.nld-form-toast.is-error {
  border-left-color: #e85d68;
}

.nld-form-toast.is-sending {
  border-left-color: #6ea8d6;
}

.nld-form-toast__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 2px solid currentColor;
  border-radius: 50%;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
}

.nld-form-toast.is-success .nld-form-toast__icon {
  color: #61d69e;
}

.nld-form-toast.is-error .nld-form-toast__icon {
  color: #ff7b85;
}

.nld-form-toast.is-sending .nld-form-toast__icon {
  color: #8fc8f5;
  border-top-color: transparent;
  animation: nld-contact-spin 0.8s linear infinite;
  font-size: 0;
}

.nld-contact-form.is-submitting {
  opacity: 0.9;
}

.nld-contact-form button[type="submit"][disabled] {
  cursor: wait;
  opacity: 0.72;
}

@keyframes nld-contact-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 575.98px) {
  .nld-form-toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nld-form-toast {
    transition: none;
  }

  .nld-form-toast.is-sending .nld-form-toast__icon {
    animation: none;
  }
}
