/* Integration UI only: template controls retain their original design. */
:root { --form-primary: #0150cf; --form-anim-fast: 200ms ease; }
@media (min-width: 48rem) {
  .introduction-video { width: 100%; height: auto; }
}
.registration-form .iti { width: 100%; }
/* The template bundles v25 flag dimensions; this integration uses v19 sprites. */
.registration-form .iti__flag, #support-chat-dropdown .iti__flag { background-size: 5762px 15px; }
.registration-form input.invalid { outline: 2px solid #dc2626; outline-offset: -2px; }
.site-carousel { scrollbar-width: none; }
.site-carousel::-webkit-scrollbar { display: none; }
@keyframes onAutoFillStart { from {} to {} }
.registration-form input:-webkit-autofill { animation-name: onAutoFillStart; }
.pageloader {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgba(249, 249, 249, 0.8);
  display: none;
}

.pageloader::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid rgba(0, 0, 0, 0.15);
  border-top-color: var(--form-primary, #1fa038);
  border-radius: 50%;
  animation: pageloader-spin 0.8s linear infinite;
}

@keyframes pageloader-spin {
  to { transform: rotate(360deg); }
}

.integra-toasts {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: min(360px, calc(100vw - 24px));
  pointer-events: none;
}

.integra-toast {
  pointer-events: auto;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
  background: #374151;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  word-break: break-word;
  animation: integra-toast-in 180ms ease-out;
}

.integra-toast--success { background: #16a34a; }
.integra-toast--error   { background: #dc2626; }
.integra-toast--warning { background: #d97706; }
.integra-toast--info    { background: #2563eb; }

.integra-toast--out { opacity: 0; transition: opacity 200ms ease; }

@keyframes integra-toast-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
  .integra-toasts { top: auto; bottom: 12px; left: 12px; right: 12px; max-width: none; }
}

.suggestion {
  color: #2563eb;
  cursor: pointer;
  text-decoration: underline;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all var(--form-anim-fast);
  font-weight: 500;
}

.suggestion:hover,
.suggestion:focus-visible {
  background-color: #dbeafe;
  text-decoration: none;
  color: #1d4ed8;
}


