.auth-page {
  min-height: 100vh;
  background: radial-gradient(circle at 10% 10%, rgba(32, 200, 216, .14), transparent 28%), radial-gradient(circle at 90% 90%, rgba(37, 99, 235, .13), transparent 30%), #eef4fb
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px
}

.auth-window {
  width: min(1080px, 100%);
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  background: #fff;
  border: 1px solid #dfe7f1;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(17, 47, 81, .16)
}

.auth-brand-panel {
  position: relative;
  padding: 42px;
  background: linear-gradient(145deg, #0b1f3a, #0f3a65 58%, #0c6475);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden
}

.auth-brand-panel:after {
  content: '';
  position: absolute;
  width: 430px;
  height: 430px;
  border: 70px solid rgba(63, 224, 232, .09);
  border-radius: 50%;
  right: -210px;
  bottom: -160px
}

.auth-logo {
  position: relative;
  z-index: 2;
  width: 210px
}

.auth-logo img {
  border-radius: 18px
}

.auth-brand-copy {
  position: relative;
  z-index: 2;
  max-width: 500px
}

.auth-brand-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  line-height: 1.04;
  margin-bottom: 18px;
  color: #fff
}

.auth-brand-copy p {
  color: #c1d6e8;
  font-size: 1rem
}

.auth-brand-points {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: #cfe2ef;
  font-size: .76rem;
  font-weight: 650
}

.auth-form-panel {
  display: grid;
  place-items: center;
  padding: 46px
}

.auth-form-wrap {
  width: min(410px, 100%)
}

.auth-form-wrap h2 {
  font-size: 1.8rem;
  margin-bottom: 8px
}

.auth-intro {
  font-size: .9rem;
  margin-bottom: 24px
}

.auth-bottom {
  text-align: center;
  border-top: 1px solid #edf0f5;
  padding-top: 18px;
  margin-top: 22px;
  color: var(--muted);
  font-size: .82rem
}

.auth-bottom a {
  color: var(--blue);
  font-weight: 800
}

.mobile-logo {
  display: none
}

.check-row {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500 !important;
  font-size: .77rem !important;
  line-height: 1.5
}

.check-row input {
  width: 17px !important;
  margin-top: 2px;
  accent-color: var(--blue)
}

.check-row a {
  color: var(--blue);
  font-weight: 700
}

.compact-auth {
  min-height: 560px
}

.signup-window {
  min-height: 700px
}

.auth-provider {
  display: block;
  margin-top: 10px;
  color: #a8c9df;
  font-size: .69rem;
  font-weight: 650;
  letter-spacing: .01em
}

.auth-provider-footer {
  text-align: center;
  margin-top: 14px;
  color: #98a6b8;
  font-size: .68rem;
  line-height: 1.5
}

.auth-provider-footer strong {
  color: #62758d
}

.mobile-logo span {
  display: block;
  margin-top: 8px;
  color: #7b8ba0;
  font-size: .67rem;
  font-weight: 650
}

@media(max-width:760px) {
  .auth-provider {
    font-size: .65rem
  }
}


/* Fleetley auth mobile hardening */
@media (max-width:900px) {
  .auth-shell {
    padding: 20px;
    display: block;
    min-height: 100vh
  }

  .auth-window {
    width: 100%;
    max-width: 620px;
    min-height: 0;
    margin: 0 auto;
    grid-template-columns: 1fr;
    border-radius: 24px
  }

  .auth-brand-panel {
    display: none
  }

  .auth-form-panel {
    display: block;
    padding: 38px 30px
  }

  .auth-form-wrap {
    width: 100%;
    max-width: none
  }

  .mobile-logo {
    display: block;
    width: 160px;
    margin: 0 0 28px
  }
}

@media (max-width:520px) {
  .auth-page {
    background: #f5f8fe
  }

  .auth-shell {
    padding: 12px
  }

  .auth-window {
    border-radius: 20px;
    box-shadow: 0 18px 48px rgba(17, 47, 81, .11)
  }

  .auth-form-panel {
    padding: 28px 22px
  }

  .mobile-logo {
    width: 148px;
    margin-bottom: 25px
  }

  .auth-form-wrap h2 {
    font-size: 1.6rem;
    line-height: 1.15
  }

  .auth-intro {
    font-size: .88rem;
    margin-bottom: 20px
  }

  .auth-bottom {
    font-size: .78rem;
    line-height: 1.45
  }

  .auth-provider-footer {
    font-size: .64rem
  }
}

@media (max-width:340px) {
  .auth-shell {
    padding: 8px
  }

  .auth-window {
    border-radius: 16px
  }

  .auth-form-panel {
    padding: 24px 16px
  }

  .mobile-logo {
    width: 138px;
    margin-bottom: 22px
  }

  .auth-form-wrap h2 {
    font-size: 1.48rem
  }

  .form-stack {
    gap: 14px
  }

  .form-stack input {
    padding: 11px 11px
  }

  .button {
    padding: 11px 13px
  }
}


/* ==========================================================================
   Fleetley - Password recovery
   ========================================================================== */

.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.auth-label-row>a {
  color: var(--blue);
  font-size: .72rem;
  font-weight: 750;
  text-decoration: none;
}

.auth-label-row>a:hover {
  text-decoration: underline;
}

.auth-success-card,
.auth-error-card {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin: 20px 0 22px;
  padding: 16px;
  border-radius: 13px;
}

.auth-success-card {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
}

.auth-error-card {
  display: block;
  border: 1px solid #fecaca;
  background: #fff7f7;
}

.auth-success-icon {
  display: grid;
  width: 34px;
  height: 34px;
  min-width: 34px;
  place-items: center;
  border-radius: 10px;
  background: #dcfce7;
  color: #15803d;
  font-weight: 850;
}

.auth-success-card strong,
.auth-error-card strong {
  display: block;
  color: #17314f;
  font-size: .86rem;
  line-height: 1.5;
}

.auth-success-card p,
.auth-error-card p {
  margin: 6px 0 0;
  color: #667a92;
  font-size: .78rem;
  line-height: 1.55;
}

@media(max-width:420px) {
  .auth-label-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}