:root {
  --st-auth-blue: #2457f5;
  --st-auth-blue-deep: #102a65;
  --st-auth-blue-dark: #071b43;
  --st-auth-green: #35d987;
  --st-auth-bg: #f5f8fc;
  --st-auth-text: #101b34;
  --st-auth-muted: #66758f;
  --st-auth-border: #dce5f0;
  --st-auth-input: #f7f9fc;
}

html,
body.st-client-auth-page {
  min-height: 100%;
  background: var(--st-auth-bg);
}

body.st-client-auth-page {
  overflow-x: hidden;
  color: var(--st-auth-text);
}

.st-client-auth-page-root,
.st-client-auth-layout {
  width: 100%;
  min-height: 100vh;
}

.st-client-auth-layout {
  display: grid;
  grid-template-columns: minmax(520px, 1.08fr) minmax(430px, 0.92fr);
  background: #fff;
}

.st-client-auth-brand {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(38px, 5vw, 76px);
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(83, 203, 255, .25), transparent 32%),
    radial-gradient(circle at 5% 82%, rgba(53, 217, 135, .22), transparent 28%),
    linear-gradient(145deg, var(--st-auth-blue-dark) 0%, var(--st-auth-blue-deep) 48%, #1f57d8 100%);
}

.st-client-auth-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .15;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 90%);
}

.st-client-auth-brand-shape {
  position: absolute;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  pointer-events: none;
}

.st-client-auth-brand-shape-one {
  width: 440px;
  height: 440px;
  top: -210px;
  right: -110px;
}

.st-client-auth-brand-shape-two {
  width: 560px;
  height: 560px;
  bottom: -360px;
  left: -250px;
}

.st-client-auth-brand-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  margin: auto;
}

.st-client-auth-company-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  max-width: 250px;
  padding: 12px 18px;
  margin-bottom: 38px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(1, 12, 36, .22);
}

.st-client-auth-company-logo-wrap .logo {
  display: block;
  width: 100%;
}

.st-client-auth-company-logo-wrap img {
  max-height: 48px;
  max-width: 210px;
  width: auto;
  object-fit: contain;
}

.st-client-auth-company-logo-wrap .logo-text {
  color: var(--st-auth-blue-deep);
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
}

.st-client-auth-eyebrow,
.st-client-auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.st-client-auth-eyebrow {
  color: #8df6be;
}

.st-client-auth-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--st-auth-green);
  box-shadow: 0 0 0 5px rgba(53,217,135,.14);
}

.st-client-auth-brand h1 {
  max-width: 620px;
  margin: 16px 0 16px;
  font-size: clamp(38px, 4.1vw, 64px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 850;
  color: #fff;
}

.st-client-auth-brand-copy {
  max-width: 620px;
  margin: 0 0 30px;
  color: rgba(235,243,255,.84);
  font-size: 17px;
  line-height: 1.65;
}

.st-client-auth-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
}

.st-client-auth-feature {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 78px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
}

.st-client-auth-feature-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #73f0ad;
  background: rgba(53,217,135,.12);
  border-radius: 12px;
}

.st-client-auth-feature-icon svg {
  width: 23px;
  height: 23px;
}

.st-client-auth-feature strong,
.st-client-auth-feature small {
  display: block;
}

.st-client-auth-feature strong {
  margin-bottom: 3px;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
}

.st-client-auth-feature small {
  color: rgba(232,240,255,.68);
  font-size: 12px;
  line-height: 1.35;
}

.st-client-auth-brand-preview {
  position: absolute;
  right: -130px;
  bottom: -120px;
  width: 430px;
  height: 280px;
  opacity: .28;
  transform: rotate(-5deg);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,.85);
  box-shadow: 0 28px 80px rgba(0,0,0,.22);
}

.st-client-auth-preview-head {
  height: 35px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  background: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(16,42,101,.1);
}

.st-client-auth-preview-head span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(16,42,101,.25);
}

.st-client-auth-preview-content {
  height: calc(100% - 35px);
  display: grid;
  grid-template-columns: 64px 1fr;
}

.st-client-auth-preview-sidebar {
  background: #0c255b;
}

.st-client-auth-preview-main {
  padding: 25px;
}

.st-client-auth-preview-title {
  width: 45%;
  height: 14px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #244ed3;
}

.st-client-auth-preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.st-client-auth-preview-cards i {
  height: 58px;
  border-radius: 9px;
  background: #e4ebf8;
}

.st-client-auth-preview-lines {
  margin-top: 24px;
}

.st-client-auth-preview-lines i {
  display: block;
  height: 9px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #dce5f3;
}

.st-client-auth-preview-lines i:nth-child(2) { width: 78%; }
.st-client-auth-preview-lines i:nth-child(3) { width: 58%; }

.st-client-auth-brand-footer {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 35px;
  color: rgba(229,238,255,.62);
  font-size: 12px;
}

.st-client-auth-powered {
  color: rgba(229,238,255,.78);
}

.st-client-auth-access {
  min-width: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px clamp(28px, 5vw, 86px);
  background:
    radial-gradient(circle at 100% 0, rgba(36,87,245,.06), transparent 28%),
    #fff;
}

.st-client-auth-access-inner {
  width: min(450px, 100%);
}

.st-client-auth-mobile-logo {
  display: none;
}

.st-client-auth-access-top {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  gap: 8px;
  padding: 7px 11px;
  margin-bottom: 28px;
  border: 1px solid var(--st-auth-border);
  border-radius: 999px;
  background: #f8fafc;
  color: #33445f;
  font-size: 12px;
  font-weight: 750;
}

.st-client-auth-tenant-dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--st-auth-green);
  box-shadow: 0 0 0 4px rgba(53,217,135,.13);
}

.st-client-auth-tenant-name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.st-client-auth-form-heading {
  margin-bottom: 26px;
}

.st-client-auth-kicker {
  color: var(--st-auth-blue);
}

.st-client-auth-form-heading h2 {
  margin: 8px 0 8px;
  color: var(--st-auth-text);
  font-size: clamp(31px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 850;
}

.st-client-auth-form-heading p {
  margin: 0;
  color: var(--st-auth-muted);
  font-size: 15px;
  line-height: 1.6;
}

.st-client-auth-form {
  width: 100%;
}

.st-client-auth-language-row {
  display: grid;
  grid-template-columns: auto minmax(160px, 210px);
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.st-client-auth-language-row > label {
  margin: 0;
  color: #66758f;
  font-size: 12px;
  font-weight: 700;
}

.st-client-auth-language-row .bootstrap-select,
.st-client-auth-language-row select {
  width: 100% !important;
}

.st-client-auth-language-row .bootstrap-select > .dropdown-toggle,
.st-client-auth-language-row select.form-control {
  min-height: 38px;
  padding: 7px 34px 7px 12px;
  border: 1px solid var(--st-auth-border);
  border-radius: 10px;
  background: #f8fafc;
  box-shadow: none;
  color: #40516c;
  font-size: 12px;
}

.st-client-auth-field {
  margin-bottom: 18px;
}

.st-client-auth-field > label {
  display: block;
  margin-bottom: 8px;
  color: #263754;
  font-size: 13px;
  font-weight: 750;
}

.st-client-auth-input-wrap {
  position: relative;
}

.st-client-auth-input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  z-index: 2;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  color: #8b99ae;
  pointer-events: none;
}

.st-client-auth-input-icon svg {
  width: 20px;
  height: 20px;
}

.st-client-auth-input-wrap .form-control {
  width: 100%;
  height: 52px;
  padding: 10px 48px 10px 46px;
  border: 1px solid var(--st-auth-border);
  border-radius: 13px;
  background: var(--st-auth-input);
  box-shadow: none;
  color: var(--st-auth-text);
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.st-client-auth-input-wrap .form-control::placeholder {
  color: #9aa7ba;
}

.st-client-auth-input-wrap .form-control:focus {
  border-color: rgba(36,87,245,.7);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(36,87,245,.1);
}

.st-client-auth-password-toggle {
  position: absolute;
  z-index: 3;
  right: 8px;
  top: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #8190a6;
}

.st-client-auth-password-toggle:hover,
.st-client-auth-password-toggle:focus {
  background: #edf2fa;
  color: var(--st-auth-blue);
  outline: none;
}

.st-client-auth-password-toggle svg {
  width: 20px;
  height: 20px;
}

.st-client-auth-password-toggle .st-eye-closed {
  display: none;
}

.st-client-auth-password-toggle[aria-pressed="true"] .st-eye-open {
  display: none;
}

.st-client-auth-password-toggle[aria-pressed="true"] .st-eye-closed {
  display: block;
}

.st-client-auth-field .text-danger,
.st-client-auth-field p.text-danger {
  display: block;
  margin-top: 6px;
  font-size: 12px;
}

.st-client-auth-recaptcha {
  margin: 6px 0 18px;
  transform-origin: left top;
}

.st-client-auth-form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 6px 0 20px;
}

.st-client-auth-switch {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #4e5f78;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.st-client-auth-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.st-client-auth-switch-track {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #cfd8e6;
  box-shadow: inset 0 0 0 1px rgba(50,70,100,.08);
  transition: background .18s ease;
}

.st-client-auth-switch-track span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(20,35,62,.2);
  transition: transform .18s ease;
}

.st-client-auth-switch input:checked + .st-client-auth-switch-track {
  background: var(--st-auth-green);
}

.st-client-auth-switch input:checked + .st-client-auth-switch-track span {
  transform: translateX(16px);
}

.st-client-auth-switch input:focus-visible + .st-client-auth-switch-track {
  box-shadow: 0 0 0 4px rgba(36,87,245,.12);
}

.st-client-auth-forgot-link,
.st-client-auth-register-box a,
.st-client-auth-back-link {
  color: var(--st-auth-blue);
  font-weight: 750;
  text-decoration: none;
}

.st-client-auth-forgot-link {
  font-size: 13px;
}

.st-client-auth-forgot-link:hover,
.st-client-auth-register-box a:hover,
.st-client-auth-back-link:hover {
  color: #1746d6;
  text-decoration: underline;
}

.st-client-auth-submit.btn {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #2e64ff, #2457f5);
  box-shadow: 0 12px 24px rgba(36,87,245,.2);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.st-client-auth-submit.btn:hover,
.st-client-auth-submit.btn:focus {
  background: linear-gradient(135deg, #2457f5, #1748de);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(36,87,245,.26);
}

.st-client-auth-submit.btn:disabled {
  opacity: .72;
  transform: none;
}

.st-client-auth-submit svg {
  width: 19px;
  height: 19px;
}

.st-client-auth-register-box {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 18px;
  color: #718096;
  font-size: 13px;
}

.st-client-auth-security {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin-top: 26px;
  color: #8090a8;
  font-size: 12px;
}

.st-client-auth-security svg {
  width: 17px;
  height: 17px;
  color: var(--st-auth-green);
}

.st-client-auth-back-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 13px;
}

.st-client-auth-back-link svg {
  width: 18px;
  height: 18px;
}

.st-client-auth-global-alerts {
  position: fixed;
  z-index: 9999;
  top: 18px;
  left: 50%;
  width: min(560px, calc(100% - 32px));
  transform: translateX(-50%);
}

.st-client-auth-global-alerts .alert,
.st-client-auth-form .alert {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(18,35,68,.15);
  font-size: 13px;
}

.st-client-auth-global-alerts:empty {
  display: none;
}

@media (max-width: 1180px) {
  .st-client-auth-layout {
    grid-template-columns: minmax(440px, .9fr) minmax(410px, 1fr);
  }
  .st-client-auth-brand {
    padding: 46px;
  }
  .st-client-auth-brand-preview {
    display: none;
  }
  .st-client-auth-brand h1 {
    font-size: 46px;
  }
}

@media (max-width: 900px) {
  .st-client-auth-layout {
    display: block;
    min-height: 100vh;
  }
  .st-client-auth-brand {
    display: none;
  }
  .st-client-auth-access {
    min-height: 100vh;
    padding: 42px 24px;
  }
  .st-client-auth-access-inner {
    width: min(470px, 100%);
  }
  .st-client-auth-mobile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    margin-bottom: 28px;
  }
  .st-client-auth-mobile-logo .logo {
    display: block;
  }
  .st-client-auth-mobile-logo img {
    max-height: 62px;
    max-width: 240px;
    width: auto;
  }
  .st-client-auth-mobile-logo .logo-text {
    font-size: 25px;
    font-weight: 850;
    color: var(--st-auth-blue-deep);
    text-decoration: none;
  }
  .st-client-auth-access-top {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .st-client-auth-form-heading {
    text-align: center;
  }
  .st-client-auth-form-heading p {
    max-width: 390px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 520px) {
  .st-client-auth-access {
    align-items: flex-start;
    padding: 28px 18px 34px;
  }
  .st-client-auth-mobile-logo {
    margin-bottom: 18px;
  }
  .st-client-auth-form-heading h2 {
    font-size: 31px;
  }
  .st-client-auth-language-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .st-client-auth-form-options {
    align-items: flex-start;
  }
  .st-client-auth-register-box {
    flex-direction: column;
    align-items: center;
  }
  .st-client-auth-recaptcha {
    transform: scale(.88);
    margin-bottom: -16px;
  }
}

@media (max-height: 760px) and (min-width: 901px) {
  .st-client-auth-brand,
  .st-client-auth-access {
    min-height: 760px;
  }
  .st-client-auth-brand {
    padding-top: 32px;
    padding-bottom: 30px;
  }
  .st-client-auth-company-logo-wrap {
    margin-bottom: 22px;
  }
  .st-client-auth-brand h1 {
    font-size: 42px;
    margin-top: 12px;
  }
  .st-client-auth-brand-copy {
    margin-bottom: 18px;
    font-size: 15px;
  }
  .st-client-auth-feature {
    min-height: 64px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .st-client-auth-access {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .st-client-auth-access-top {
    margin-bottom: 18px;
  }
  .st-client-auth-form-heading {
    margin-bottom: 18px;
  }
  .st-client-auth-form-heading h2 {
    font-size: 34px;
  }
  .st-client-auth-field {
    margin-bottom: 13px;
  }
  .st-client-auth-input-wrap .form-control,
  .st-client-auth-submit.btn {
    height: 48px;
  }
  .st-client-auth-security {
    margin-top: 16px;
  }
}

[dir="rtl"] .st-client-auth-input-icon {
  left: auto;
  right: 15px;
}

[dir="rtl"] .st-client-auth-input-wrap .form-control {
  padding-left: 48px;
  padding-right: 46px;
}

[dir="rtl"] .st-client-auth-password-toggle {
  right: auto;
  left: 8px;
}
