/* Integration feedback only. The original site stylesheet owns the layout. */
.registration-form { --form-primary:var(--primary); }
.registration-form input.valid { border-color:#28a745; }
.registration-form input.invalid { border-color:#dc3545; }
.registration-form .iti { width:100%; display:block; }
.registration-form .iti__selected-flag { color:var(--text); font:inherit; border-right:1px solid var(--border); border-radius:var(--radius-sm) 0 0 var(--radius-sm); }
.registration-form .iti__country-list { color:var(--text); }
.registration-form .iti__selected-dial-code { color:var(--text); }
.registration-form input[type=tel] { padding-top:14px; padding-bottom:14px; padding-right:18px!important; }
.registration-form .order-form__submit:disabled { background:var(--primary); color:var(--on-primary,#fff); cursor:not-allowed; }
.registration-form input:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
.suggestion { cursor:pointer; text-decoration:underline; }
.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; }
}


@media(prefers-reduced-motion:reduce) { .integra-toast,.pageloader::after { animation:none; } }
