:root {
  --purple: #9465f5;
  --ink: #171b2a;
  --muted: #8993ab;
  --line: #e5e7f0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  width: 100%;
}

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #f5f6fd;
  -webkit-font-smoothing: antialiased;
}

.login-screen-page {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.login-screen-layout {
  display: grid;
  grid-template-columns: minmax(0, 912fr) minmax(0, 674fr);
  width: min(100%, 1586px);
  height: min(100dvh, 992px);
  min-height: 640px;
  overflow: hidden;
}

.login-screen-promo {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #f5f6fd;
}

.login-screen-promo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.login-screen-auth-side {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  padding: 34px clamp(24px, 5.25vw, 83px);
  background: #f5f6fd;
}

.login-screen-auth-side:before,
.login-screen-auth-side:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #e9e5fb;
  z-index: -1;
  pointer-events: none;
}

.login-screen-auth-side:before {
  width: 670px;
  height: 670px;
  top: -530px;
  right: -355px;
}

.login-screen-auth-side:after {
  width: 380px;
  height: 380px;
  bottom: -240px;
  right: -195px;
}

.login-screen-card {
  width: min(100%, 508px);
  min-height: 706px;
  background: white;
  border-radius: 19px;
  padding: 58px 45px 50px;
  box-shadow: 0 18px 50px rgba(32, 34, 90, 0.04);
}

.login-screen-brand {
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
  line-height: 1;
  color: #151b29;
  white-space: nowrap;
}

.login-screen-brand-name {
  font-weight: 900;
  letter-spacing: -1.25px;
  font-size: 30px;
}

.login-screen-brand-name .accent {
  color: var(--purple);
}

.login-screen-brand-tag {
  text-align: center;
  width: 100%;
  font-size: 7px;
  letter-spacing: 2.1px;
  font-weight: 800;
  margin-top: 5px;
}

.login-screen-card .login-screen-brand {
  margin-bottom: 67px;
}

.login-screen-brand-image {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
}

.login-screen-card h2 {
  font-size: 27px;
  letter-spacing: -0.6px;
  margin: 0 0 6px;
  font-weight: 750;
}

.login-screen-card-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 32px;
}

.login-screen-form-field {
  margin-bottom: 23px;
}

.login-screen-form-field > label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #273047;
  margin-bottom: 9px;
}

.login-screen-control {
  position: relative;
}

.login-screen-control > svg {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: #9fa8c4;
  pointer-events: none;
}

.login-screen-control input {
  display: block;
  width: 100%;
  height: 47px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  padding: 0 43px;
  outline: none;
}

.login-screen-control input::placeholder {
  color: #a5adc3;
}

.login-screen-control input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(148, 101, 245, 0.1);
}

.login-screen-control input.is-invalid {
  border-color: #e45a73;
}

.login-screen-eye {
  position: absolute;
  top: 50%;
  right: 9px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #94a0ba;
  cursor: pointer;
  padding: 0;
}

.login-screen-eye svg {
  width: 17px;
  height: 17px;
}

.login-screen-validation {
  display: block;
  color: #df4765;
  font-size: 11px;
  margin-top: 5px;
}

.login-screen-form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: -2px;
  margin-bottom: 33px;
}

.login-screen-remember {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #838da9;
  font-size: 11px;
  cursor: pointer;
}

.login-screen-remember input {
  accent-color: var(--purple);
  width: 13px;
  height: 13px;
  margin: 0;
}

.login-screen-forgot,
.login-screen-contact {
  color: var(--purple);
  text-decoration: none;
  font-size: 11px;
}

.login-screen-submit {
  width: 100%;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #8e6aee, #9c63f4);
  color: white;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.login-screen-submit:hover {
  filter: brightness(0.96);
}

.login-screen-submit svg {
  width: 15px;
  height: 15px;
}

.login-screen-divider {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 33px 0;
  color: #a6aec3;
  font-size: 11px;
}

.login-screen-divider:before,
.login-screen-divider:after {
  content: "";
  height: 1px;
  background: #e7e9f1;
  flex: 1;
}

.login-screen-bottom {
  text-align: center;
  font-size: 11px;
  color: #a2abc0;
}

@media (max-width: 1100px) {
  .login-screen-layout {
    height: min(100dvh, 900px);
    grid-template-columns: minmax(0, 57.5fr) minmax(0, 42.5fr);
  }

  .login-screen-auth-side {
    padding: 24px;
  }

  .login-screen-card {
    min-height: 0;
    padding: 36px 27px;
    border-radius: 15px;
  }

  .login-screen-card .login-screen-brand {
    margin-bottom: 36px;
  }

  .login-screen-brand-name {
    font-size: 25px;
  }

  .login-screen-card h2 {
    font-size: 23px;
  }

  .login-screen-card-subtitle {
    margin-bottom: 25px;
  }

  .login-screen-form-field {
    margin-bottom: 18px;
  }

  .login-screen-form-options {
    margin-bottom: 24px;
  }

  .login-screen-divider {
    margin: 25px 0;
  }
}

@media (max-width: 767px) {
  .login-screen-page {
    min-height: 100dvh;
    align-items: stretch;
  }

  .login-screen-layout {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100dvh;
    width: 100%;
    max-width: 520px;
    overflow: visible;
  }

  .login-screen-auth-side {
    order: 0;
    padding: 52px 24px 36px;
    min-height: 0;
    overflow: hidden;
  }

  .login-screen-auth-side:before {
    width: 320px;
    height: 320px;
    top: -260px;
    right: -170px;
  }

  .login-screen-auth-side:after {
    width: 220px;
    height: 220px;
    bottom: -175px;
    right: -95px;
  }

  .login-screen-card {
    width: 100%;
    padding: 33px 27px;
    min-height: 0;
  }

  .login-screen-card .login-screen-brand {
    margin-bottom: 33px;
  }

  .login-screen-card h2 {
    font-size: 23px;
  }

  .login-screen-promo {
    order: 1;
    width: 100%;
    height: auto;
  }

  .login-screen-promo img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 380px) {
  .login-screen-auth-side {
    padding: 36px 15px 27px;
  }

  .login-screen-card {
    padding: 28px 19px;
  }

  .login-screen-form-options {
    flex-wrap: wrap;
  }
}

@media (min-width: 768px) and (max-height: 750px) {
  .login-screen-layout {
    min-height: 0;
  }

  .login-screen-card {
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .login-screen-card .login-screen-brand {
    margin-bottom: 24px;
  }

  .login-screen-card-subtitle {
    margin-bottom: 20px;
  }

  .login-screen-form-field {
    margin-bottom: 14px;
  }

  .login-screen-form-options {
    margin-bottom: 20px;
  }

  .login-screen-divider {
    margin: 20px 0;
  }
}

/* ==========================================
   THE XOOMBOX - LEFT PANEL IMAGE SLIDER
   ========================================== */

.xoombox-promo-slider {
  position: relative;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f5f6fd;
}

/* Slider track */
.xoombox-promo-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 800ms cubic-bezier(0.45, 0, 0.25, 1);
  will-change: transform;
}

/* Each slide */
.xoombox-promo-slider-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

/* Image styling - same as existing left panel */
.xoombox-promo-slider-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: left;
}

/* Navigation dots */
.xoombox-promo-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  z-index: 5;
}

/* Individual dot */
.xoombox-promo-slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(148, 101, 245, 0.35);
  cursor: pointer;
  transition:
    background 300ms ease,
    transform 300ms ease;
}

/* Active dot */
.xoombox-promo-slider-dot.active {
  background: #9465f5;
  transform: scale(1.25);
}

/* Dot hover */
.xoombox-promo-slider-dot:hover {
  background: #9465f5;
}

/* Accessibility */
.xoombox-promo-slider-dot:focus-visible {
  outline: 2px solid #9465f5;
  outline-offset: 4px;
}

/* Tablet */
@media (max-width: 1100px) {
  .xoombox-promo-slider-dots {
    bottom: 20px;
  }
}

/* Mobile - preserve existing image proportions */
@media (max-width: 767px) {
  .xoombox-promo-slider {
    order: 1;
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .xoombox-promo-slider-track {
    height: auto;
    align-items: flex-start;
  }

  .xoombox-promo-slider-slide {
    height: auto;
  }

  .xoombox-promo-slider-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .xoombox-promo-slider-dots {
    bottom: 15px;
    gap: 8px;
  }

  .xoombox-promo-slider-dot {
    width: 8px;
    height: 8px;
  }
}

/* Hide left panel slider on mobile */
@media (max-width: 767px) {
  .xoombox-promo-slider {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xoombox-promo-slider-track {
    transition: none;
  }
}

/* ==============forgot password============= */

.forgot-card {
  background: #fff;
  width: 100%;
  max-width: 508px;
  border-radius: 19px;
  padding: 48px 52px 44px;
  box-shadow: 0 18px 50px rgba(32, 34, 90, 0.06);
}
.forgot-brand {
  display: block;
  margin-bottom: 40px;
}
.forgot-brand img {
  display: block;
  width: 250px;
  max-width: 100%;
  height: auto;
}
.forgot-card h1 {
  font-size: 24px;
  letter-spacing: -0.6px;
  margin: 0 0 9px;
  font-weight: 750;
  color: var(--ink);
}
.forgot-description {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 27px;
}
.forgot-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 27px;
}
.forgot-step {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #a0a8bb;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.forgot-step-number {
  display: grid;
  place-items: center;
  border: 1px solid #e1e3ed;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  flex: none;
  font-size: 11px;
}
.forgot-step.active {
  color: var(--purple);
}
.forgot-step.active .forgot-step-number {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}
.forgot-step.done .forgot-step-number {
  background: #e8dcff;
  color: #7951d6;
  border-color: #e8dcff;
}
.forgot-step-divider {
  height: 1px;
  flex: 1;
  min-width: 8px;
  background: #e8e9f1;
}
.forgot-field {
  margin-bottom: 20px;
}
.forgot-field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #273047;
  margin-bottom: 9px;
}
.forgot-control {
  position: relative;
}
.forgot-control > .input-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #9fa8c4;
  stroke-width: 1.6;
  pointer-events: none;
}
.forgot-control input {
  display: block;
  width: 100%;
  height: 47px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  padding: 0 43px;
  outline: none;
}
.forgot-control input::placeholder {
  color: #a5adc3;
}
.forgot-control input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(148, 101, 245, 0.1);
}
.forgot-control input.is-invalid {
  border-color: #e45a73;
}
.forgot-control .eye-toggle {
  position: absolute;
  top: 50%;
  right: 9px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #94a0ba;
  cursor: pointer;
  padding: 0;
}
.eye-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.eye-toggle svg[hidden] {
  display: none;
}
.forgot-error {
  display: block;
  color: #df4765;
  font-size: 11px;
  line-height: 1.4;
  min-height: 0;
  margin-top: 5px;
}
.forgot-error:empty {
  display: none;
}
.forgot-submit {
  width: 100%;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, #8e6aee, #9c63f4);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  margin-top: 8px;
}
.forgot-submit:hover {
  filter: brightness(0.97);
}
.forgot-submit svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.forgot-footer {
  text-align: center;
  margin-top: 26px;
}
.forgot-back,
.forgot-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 0;
  color: var(--purple);
  text-decoration: none;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.forgot-back svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.forgot-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 20px;
}
.forgot-note strong {
  color: #273047;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.forgot-status {
  font-size: 12px;
  line-height: 1.6;
  color: #27815a;
  margin: 14px 0 0;
}
/* Success state only — all other form screens remain unchanged */
#success-panel {
  text-align: center;
  padding-top: 8px;
}
#success-panel .forgot-success-icon {
  display: grid;
  place-items: center;
  background: #e7f7ef;
  color: #29845a;
  border-radius: 50%;
  width: 66px;
  height: 66px;
  margin: 0 auto 22px;
  box-shadow: 0 0 0 7px #f3fbf7;
}
#success-panel h1 {
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -0.5px;
  font-weight: 750;
  margin: 0 0 12px;
  text-wrap: balance;
}
#success-panel .forgot-description {
  max-width: 350px;
  margin: 0 auto 28px;
  font-size: 13px;
  line-height: 1.8;
}
#success-panel .forgot-submit {
  margin-top: 0;
  text-decoration: none;
}
@media (max-width: 420px) {
  #success-panel h1 {
    font-size: 21px;
  }
  #success-panel .forgot-description {
    font-size: 12px;
  }
}
.forgot-success-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.forgot-panel[hidden] {
  display: none !important;
}
.forgot-secondary-wrap {
  text-align: center;
  margin-top: 18px;
}
.forgot-card button:focus-visible,
.forgot-card a:focus-visible {
  outline: 3px solid rgba(148, 101, 245, 0.35);
  outline-offset: 3px;
}
@media (max-width: 580px) {
  .forgot-card {
    padding: 34px 26px;
    border-radius: 15px;
  }
  .forgot-brand {
    margin-bottom: 32px;
  }
  .forgot-card h1 {
    font-size: 23px;
  }
  .forgot-step {
    font-size: 10px;
  }
  .forgot-step-number {
    width: 22px;
    height: 22px;
  }
}
@media (max-width: 360px) {
  .forgot-card {
    padding: 30px 19px;
  }
  .forgot-steps {
    gap: 5px;
  }
  .forgot-step {
    gap: 4px;
  }
}

/* ==============================================
   FORGOT PASSWORD IN SHARED LOGIN TWO-COLUMN LAYOUT
   Only applies when the forgot card is inside auth panel.
   ============================================== */
.login-screen-auth-side > .forgot-card {
  flex: 0 1 508px;
  min-width: 0;
}

/* The step indicator and footer must really disappear on success. */
.forgot-steps[hidden],
.forgot-footer[hidden] {
  display: none !important;
}

/* Keep forgot screen usable on short desktop windows. */
@media (min-width: 768px) and (max-height: 750px) {
  .login-screen-auth-side > .forgot-card {
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .login-screen-auth-side .forgot-brand {
    margin-bottom: 24px;
  }
}

/* On mobile the shared slider is already hidden; center the card. */
@media (max-width: 767px) {
  .login-screen-auth-side > .forgot-card {
    flex: 0 1 auto;
    width: 100%;
  }
}



/* ==========================================
   XOOMBOX - TABLET RESPONSIVE DESIGN
   Login Screen + Forgot Password
   ========================================== */

@media (min-width: 768px) and (max-width: 1100px) {

    /* Main container */
    .login-screen-page {
        min-height: 100dvh;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Keep desktop-style two-column layout */
    .login-screen-layout {
        display: grid;
        grid-template-columns: minmax(0, 55%) minmax(0, 45%);
        width: 100%;
        height: 100dvh;
        min-height: 0;
        max-width: none;
        overflow: hidden;
    }

    /* LEFT PANEL - SLIDER */
    .xoombox-promo-slider {
        position: relative;
        width: 100%;
        height: 100%;
        min-width: 0;
        min-height: 0;
        overflow: hidden;
    }

    .xoombox-promo-slider-track,
    .xoombox-promo-slider-slide {
        height: 100%;
    }

    .xoombox-promo-slider-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .xoombox-promo-slider-dots {
        bottom: 20px;
    }

    /* RIGHT PANEL */
    .login-screen-auth-side {
        position: relative;
        min-width: 0;
        min-height: 0;
        height: 100%;
        padding: 24px clamp(18px, 3vw, 35px);
        display: flex;
        justify-content: center;
        align-items: safe center;
        overflow-x: hidden;
        overflow-y: auto;
    }

    /* Login Card */
    .login-screen-card {
        width: 100%;
        max-width: 508px;
        min-height: 0;
        flex-shrink: 0;
        padding: 36px clamp(22px, 3vw, 38px);
        border-radius: 19px;
    }

    .login-screen-card .login-screen-brand {
        margin-bottom: 35px;
    }

    .login-screen-brand-image {
        width: 220px;
        max-width: 100%;
        height: auto;
    }

    .login-screen-card h2 {
        font-size: 25px;
        line-height: 1.3;
    }

    .login-screen-card-subtitle {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .login-screen-form-field {
        margin-bottom: 18px;
    }

    .login-screen-form-field > label {
        font-size: 12px;
    }

    .login-screen-control input {
        height: 46px;
        font-size: 12px;
    }

    .login-screen-form-options {
        margin-bottom: 24px;
    }

    .login-screen-submit {
        height: 49px;
        font-size: 13px;
    }

    .login-screen-divider {
        margin: 24px 0;
    }

    /* Forgot Password Card */
    .login-screen-auth-side > .forgot-card {
        width: 100%;
        max-width: 508px;
        min-width: 0;
        flex: 0 0 auto;
        padding: 34px clamp(20px, 3vw, 36px);
        border-radius: 19px;
    }

    .forgot-brand {
        margin-bottom: 30px;
    }

    .forgot-brand img {
        width: 220px;
        max-width: 100%;
    }

    .forgot-card h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .forgot-description {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .forgot-steps {
        gap: 6px;
        margin-bottom: 24px;
    }

    .forgot-step {
        gap: 5px;
        font-size: 10px;
    }

    .forgot-step-number {
        width: 23px;
        height: 23px;
    }

    .forgot-field {
        margin-bottom: 18px;
    }

    .forgot-control input {
        height: 46px;
        font-size: 12px;
    }

    .forgot-submit {
        height: 49px;
        font-size: 13px;
    }

    .forgot-footer {
        margin-top: 24px;
    }
}

/* ==========================================
   TABLET LANDSCAPE / SHORT HEIGHT
   Example: 995px x 599px
   ========================================== */

@media (min-width: 768px) and (max-width: 1100px)
       and (max-height: 700px) {

    .login-screen-layout {
        height: 100dvh;
        min-height: 0;
    }

    .login-screen-auth-side {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    /* Compact card vertically, without shrinking text */
    .login-screen-card {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .login-screen-card .login-screen-brand {
        margin-bottom: 23px;
    }

    .login-screen-card-subtitle {
        margin-bottom: 19px;
    }

    .login-screen-form-field {
        margin-bottom: 14px;
    }

    .login-screen-form-options {
        margin-bottom: 18px;
    }

    .login-screen-divider {
        margin: 18px 0;
    }

    /* Forgot Password compact spacing */
    .login-screen-auth-side > .forgot-card {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .forgot-brand {
        margin-bottom: 22px;
    }

    .forgot-steps {
        margin-bottom: 19px;
    }

    .forgot-description {
        margin-bottom: 18px;
    }

    .forgot-field {
        margin-bottom: 15px;
    }

    .forgot-footer {
        margin-top: 20px;
    }
}

/* ==========================================
   SMALL TABLET WIDTH
   ========================================== */

@media (min-width: 768px) and (max-width: 850px) {

    .login-screen-layout {
        grid-template-columns: minmax(0, 48%) minmax(0, 52%);
    }

    .login-screen-auth-side {
        padding-left: 16px;
        padding-right: 16px;
    }

    .login-screen-card,
    .login-screen-auth-side > .forgot-card {
        padding-left: 22px;
        padding-right: 22px;
    }

    .forgot-step {
        font-size: 10px;
    }
}

.login-screen-card-admin {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #9465f5;
    background: #f2ebff;
    padding: 7px 12px;
    border-radius: 6px;
    margin: 0 0 12px;
    letter-spacing: 0.3px;
}




/* Center align logo, admin label and headings */
.login-screen-card .login-screen-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.login-screen-brand-image {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center Super Admin label */
.login-screen-card-admin {
    display: table !important;
    margin: 0 auto 12px !important;
    text-align: center !important;
}

/* Center heading and subtitle */
.login-screen-card h2,
.login-screen-card-subtitle {
    text-align: center !important;
}

/* Super Admin purple color */
.login-screen-admin-highlight {
    color: #9465f5 !important;
    font-weight: 750 !important;
}

/* Flash alerts, login spinner and busy buttons (Super Admin login / forgot password) */
.login-screen-alert {
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 12px;
    margin: 0 0 18px;
}

.login-screen-alert-success {
    background: #e8f8ef;
    color: #1b7a45;
}

.login-screen-alert-danger {
    background: #fdecee;
    color: #c2344d;
}

.login-screen-spinner {
    width: 28px;
    height: 28px;
    margin: 10px auto;
    border: 3px solid #e9e5fb;
    border-top-color: var(--purple);
    border-radius: 50%;
    animation: login-screen-spin .7s linear infinite;
}

@keyframes login-screen-spin {
    to {
        transform: rotate(360deg);
    }
}

.forgot-submit:disabled {
    opacity: .65;
    cursor: wait;
}

/* reCAPTCHA on the SA / HA / Agent / Sales logins (views/<portal>/recaptcha_login.php).
   The v3 badge is hidden; Google allows that when the notice below is shown instead. */
.grecaptcha-badge {
    visibility: hidden;
}

.login-screen-recaptcha {
    display: flex;
    justify-content: center;
    margin: -14px 0 18px;
}

.login-screen-recaptcha[hidden] {
    display: none;
}

.login-screen-recaptcha-note {
    margin: 14px 0 0;
    text-align: center;
    font-size: 10px;
    line-height: 1.5;
    color: #a2abc0;
}

.login-screen-recaptcha-note a {
    color: var(--purple);
    text-decoration: none;
}

@media (max-width: 380px) {
    .login-screen-recaptcha > div {
        transform: scale(0.88);
        transform-origin: center top;
    }
}

/* Form-level sign-in message (#acc-deact-err) on the SA / HA / Agent / Sales logins */
.login-screen-form-error {
    text-align: center;
    font-weight: 700;
}
