/* ISAT buttons on the website (the popup itself is styled inside its own shadow root) */
.isat-float {
  position: fixed; left: 16px; bottom: 16px; z-index: 99990;
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px);
  padding: 10px 16px 10px 12px; border: 0; border-radius: 999px; cursor: pointer;
  background: #C8202B; color: #fff !important; text-align: left; text-decoration: none !important;
  font: 600 14px/1.25 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  box-shadow: 0 8px 24px rgba(27, 47, 78, .35); animation: isat-pulse 2.6s ease-in-out infinite;
}
.isat-float:hover { background: #A91A24; }
.isat-float .isat-float-ic {
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #C8202B;
  display: grid; place-items: center; font-size: 17px; font-weight: 800;
}
.isat-float small { display: block; font-weight: 400; font-size: 12px; opacity: .92; }
.isat-float .isat-float-x {
  margin-left: 4px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.18); font-size: 13px; line-height: 1;
}
@keyframes isat-pulse { 0%, 100% { box-shadow: 0 8px 24px rgba(27,47,78,.35), 0 0 0 0 rgba(200,32,43,.45); } 50% { box-shadow: 0 8px 24px rgba(27,47,78,.35), 0 0 0 10px rgba(200,32,43,0); } }
@media (max-width: 600px) {
  .isat-float { left: 10px; bottom: 10px; font-size: 13px; padding: 8px 12px 8px 8px; max-width: calc(100vw - 96px); }
  .isat-float small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .isat-float { animation: none; } }

.isat-btn-inline {
  display: inline-block; padding: 12px 22px; border-radius: 8px; background: #C8202B; color: #fff !important;
  font-weight: 700; text-decoration: none !important; line-height: 1.3; box-shadow: 0 4px 14px rgba(200,32,43,.3);
}
.isat-btn-inline:hover { background: #A91A24; }

.isat-embed { margin: 20px 0; }
html.isat-lock, html.isat-lock body { overflow: hidden !important; }
html.isat-lock .isat-float { display: none !important; }

/* [isat_login] box */
.isat-lbox { margin: 20px auto; max-width: 440px; }
.isat-lb { background: #fff; border: 1px solid #D9DFE8; border-top: 4px solid #C8202B; border-radius: 14px; padding: 24px 22px; box-shadow: 0 10px 30px rgba(27,47,78,.10); font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: #16202E; text-align: left; }
.isat-lb .isat-lb-logo { display: block; height: 40px; width: auto; max-width: 100%; margin: 0 auto 14px; }
.isat-lb h3 { margin: 0 0 4px !important; text-align: center; color: #1B2F4E !important; font-size: 21px !important; line-height: 1.3 !important; }
.isat-lb .isat-lb-sub { margin: 0 0 16px; text-align: center; color: #5A6779; font-size: 14px; }
.isat-lb form { margin: 0 !important; }
.isat-lb label { display: block; margin: 0 0 12px; font-size: 13px; font-weight: 600; color: #334; }
.isat-lb input { display: block; width: 100% !important; height: 44px !important; margin: 5px 0 0 !important; padding: 8px 12px !important; border: 1px solid #C9D2DE !important; border-radius: 8px !important; background: #fff !important; box-shadow: none !important; font-size: 16px !important; color: #16202E !important; box-sizing: border-box !important; }
.isat-lb input:focus { border-color: #1F4FA3 !important; outline: none; box-shadow: 0 0 0 3px rgba(31,79,163,.15) !important; }
.isat-lb .isat-lb-btn { display: block; width: 100%; min-height: 46px; margin: 4px 0 0 !important; border: 0; border-radius: 9px; background: #1B2F4E; color: #fff !important; font-size: 16px; font-weight: 700; cursor: pointer; text-transform: none; letter-spacing: 0; }
.isat-lb .isat-lb-btn:hover { background: #24406b; }
.isat-lb .isat-lb-btn[disabled] { opacity: .65; cursor: wait; }
.isat-lb .isat-lb-msg { margin-top: 12px; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.isat-lb .isat-lb-msg.err { background: #FBE7E5; color: #8A1C14; }
.isat-lb .isat-lb-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; }
.isat-lb a { color: #1F4FA3; font-weight: 600; }
