/* Authentication pages only. Loaded by login.tpl and register.tpl after the shared client styles. */
.auth-refresh {
  --auth-ink: #172b4d;
  --auth-muted: #68788e;
  --auth-blue: #2466e9;
  --auth-line: #e2eaf4;
  color: var(--auth-ink);
  background: #f5f8fd;
}
.auth-refresh > .row { min-height: 100vh; }
.auth-refresh__brand { background: linear-gradient(140deg, #0c1b39, #183870 72%, #2466c5); }
.auth-refresh .auth-full-bg {
  position: relative;
  min-height: 100vh;
  height: 100%;
  overflow: hidden;
  align-items: center;
  background: transparent;
  isolation: isolate;
}
.auth-refresh .auth-full-bg::before {
  width: 500px;
  height: 500px;
  top: -120px;
  right: -210px;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 0 0 90px rgba(141,192,255,.04), 0 0 0 200px rgba(141,192,255,.03);
  pointer-events: none;
  z-index: 0;
}
.auth-refresh .auth-full-bg .bg-overlay { background: none; opacity: .2; pointer-events: none; }
.auth-refresh .auth-full-bg .w-100 { position: relative; z-index: 1; }
.auth-refresh .auth-review-carousel { max-width: 590px; margin: 0 auto; }
.auth-refresh .auth-review-carousel h1 {
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.02em;
}
.auth-refresh .auth-review-carousel p { font-size: 16px; line-height: 1.9; color: #d4e3fb !important; }
.auth-refresh__form-side { display: flex; align-items: center; justify-content: center; background: #f7faff; }
.auth-refresh .auth-full-page-content { width: 100%; min-height: 100vh; align-items: center; padding: 48px 28px !important; }
.auth-refresh .login_right.auth-refresh__card {
  width: 100% !important;
  max-width: 490px;
  height: auto;
  margin: 0 auto !important;
  padding: 42px 46px;
  background: #fff;
  border: 1px solid var(--auth-line);
  border-radius: 18px;
  box-shadow: 0 20px 56px rgba(19, 50, 102, .09);
}
.auth-refresh .auth-refresh__card > .d-flex { height: auto !important; }
.auth-refresh .auth-refresh__card .my-auto { margin: 0 !important; }
.auth-refresh .auth-refresh__logo { margin-bottom: 26px; }
.auth-refresh .logo.auth-refresh__logo img { max-width: 190px; width: auto; height: auto; max-height: 52px; object-fit: contain; }
.auth-refresh__intro { text-align: center; margin-bottom: 25px; }
.auth-refresh__intro h2 { margin-bottom: 8px; color: var(--auth-ink); font-size: 25px; font-weight: 700; }
.auth-refresh__intro p { margin: 0; color: var(--auth-muted); font-size: 14px; }
.auth-refresh .affs-nav.nav-tabs-custom { margin-bottom: 4px; border-bottom: 1px solid var(--auth-line); }
.auth-refresh .affs-nav.nav-tabs-custom .nav-item .nav-link {
  padding: 10px 8px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--auth-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 26px;
}
.auth-refresh .affs-nav.nav-tabs-custom .nav-item .nav-link.active,
.auth-refresh .affs-nav.nav-tabs-custom .nav-item .nav-link:hover { color: var(--auth-blue); border-bottom-color: var(--auth-blue); }
.auth-refresh .form-group { margin-bottom: 20px; }
.auth-refresh .form-group label { margin-bottom: 9px; color: #30435f; font-size: 13px; font-weight: 600; }
.auth-refresh .form-control {
  min-height: 46px;
  height: 46px;
  padding: 10px 14px;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  background-color: #fff;
  color: var(--auth-ink);
  font-size: 14px;
  box-shadow: none;
}
.auth-refresh textarea.form-control { height: auto; min-height: 96px; }
.auth-refresh .form-control::placeholder { color: #9aa8ba; }
.auth-refresh .form-control:focus, .auth-refresh select:focus {
  border-color: var(--auth-blue);
  box-shadow: 0 0 0 3px rgba(36, 102, 233, .12);
}
.auth-refresh .form-control.is-invalid { border-color: #dc5c62; }
.auth-refresh .input-group-prepend { width: 100px; }
.auth-refresh .input-group-prepend .form-control { border-radius: 8px 0 0 8px; }
.auth-refresh .input-group-prepend + .form-control { border-radius: 0 8px 8px 0; }
.auth-refresh .input-group-append { height: 46px; }
.auth-refresh .input-group-append .btn { height: 46px; border-radius: 0 8px 8px 0; white-space: nowrap; }
.auth-refresh .btn-primary {
  border-color: var(--auth-blue);
  background: var(--auth-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
}
.auth-refresh .btn-primary:hover, .auth-refresh .btn-primary:focus { border-color: #164fc1; background: #164fc1; color: #fff; }
.auth-refresh .btn-block { min-height: 46px; height: auto; }
.auth-refresh .text-primary, .auth-refresh .pointer.text-primary { color: var(--auth-blue) !important; }
.auth-refresh .auth-refresh__home { display: inline-block; margin-top: 5px; color: var(--auth-muted); font-size: 13px; }
.auth-refresh .auth-refresh__home:hover { color: var(--auth-blue); }
.auth-refresh .auth-refresh__card .mt-5.text-center { margin-top: 22px !important; color: var(--auth-muted); }
.auth-refresh #agreePrivacy { vertical-align: middle; accent-color: var(--auth-blue); }
.auth-refresh a:focus-visible, .auth-refresh button:focus-visible, .auth-refresh input:focus-visible { outline: 2px solid #69a6ff; outline-offset: 2px; }
@media (max-width: 1199px) {
  .auth-refresh .auth-full-page-content { padding: 42px 20px !important; }
  .auth-refresh .login_right.auth-refresh__card { max-width: 540px; }
  .auth-refresh .auth-refresh__brand .auth-full-bg { min-height: 300px; height: 300px; }
}
@media (max-width: 768px) {
  .auth-refresh .auth-full-page-content { min-height: 100vh; padding: 24px 16px !important; }
  .auth-refresh .login_right.auth-refresh__card { padding: 32px 24px; border-radius: 14px; }
  .auth-refresh .auth-refresh__logo { margin-bottom: 20px; }
}
@media (max-width: 390px) {
  .auth-refresh .auth-full-page-content { padding: 12px !important; }
  .auth-refresh .login_right.auth-refresh__card { padding: 28px 16px; }
  .auth-refresh .input-group-prepend { width: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-refresh * { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
