:root { --form-primary: var(--color-button-primary, #0b214f); --form-anim-fast: 200ms ease; }
.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); }
}

@keyframes onAutoFillStart {
  from {} 
  to {}
}

input:-webkit-autofill {
  animation-name: onAutoFillStart;
}

.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;
}



.iti { width: 100%; min-width: 0; }
.registration-form input[aria-invalid="true"] { outline: 1px solid #dc2626; outline-offset: -1px; }
.registration-form button[type="submit"]:disabled { cursor: wait; }

/* v19 flag sprites must not inherit the bundled v25 sprite scaling. */
.iti__flag { background-size: 5762px 15px; }
