.customer-auth-page {
  --auth-primary: var(--primary, #064e3b);
  --auth-accent: #f97316;
  min-height: auto;
  padding: 34px 20px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 8% 10%, rgba(249, 115, 22, .10), transparent 28%),
    radial-gradient(circle at 92% 90%, rgba(6, 78, 59, .10), transparent 30%),
    #f5f8f6;
}

.customer-auth-shell {
  width: min(1160px, 100%);
  min-height: 540px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbe6e1;
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(7, 50, 38, .13);
}

.customer-auth-shell.is-register {
  width: min(1240px, 100%);
  min-height: 595px;
  grid-template-columns: minmax(340px, .82fr) minmax(0, 1.28fr);
}

.customer-auth-visual {
  position: relative;
  isolation: isolate;
  padding: 32px 40px 22px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: linear-gradient(145deg, #032f24 0%, #064e3b 58%, #0b6b52 100%);
}

.customer-auth-visual::before,
.customer-auth-visual::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}

.customer-auth-visual::before { width: 250px; height: 250px; top: -100px; right: -90px; }
.customer-auth-visual::after { width: 190px; height: 190px; left: -75px; bottom: -75px; }

.customer-auth-eyebrow {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.customer-auth-visual h2 {
  max-width: 390px;
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  font-weight: 800;
  line-height: 1.18;
}

.customer-auth-visual-copy {
  max-width: 410px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
  line-height: 1.7;
}

.customer-auth-art {
  width: min(100%, 390px);
  height: 280px;
  min-height: 0;
  margin: -5px auto -8px;
  display: block;
  object-fit: contain;
  transform: scale(1.12);
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .16));
}

.customer-auth-benefits {
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.customer-auth-benefits li {
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 9px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .9);
  font-size: .76rem;
  font-weight: 600;
}

.customer-auth-benefits i { color: #ffb37e; }

.customer-auth-content {
  padding: 38px clamp(34px, 5vw, 72px);
  display: flex;
  align-items: center;
}

.customer-auth-shell.is-register .customer-auth-content { padding: 34px clamp(30px, 4vw, 58px); }
.customer-auth-form-wrap { width: 100%; }

.customer-auth-form-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(6, 78, 59, .10);
  color: var(--auth-primary);
  font-size: 1.1rem;
}

.customer-auth-title {
  margin: 0 0 8px;
  color: #17211e;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.18;
}

.customer-auth-subtitle { margin: 0 0 28px; color: #66736d; line-height: 1.65; }
.customer-auth-label { margin-bottom: 7px; color: #293630; font-size: .88rem; font-weight: 700; }
.customer-auth-field { position: relative; }

.customer-auth-field-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 2;
  color: #77847e;
  transform: translateY(-50%);
  pointer-events: none;
}

.customer-auth-page .customer-auth-control {
  min-height: 51px;
  padding: 10px 44px 10px 43px;
  border: 1px solid #ccd8d2;
  border-radius: 12px;
  background: #fbfcfb;
  color: #1d2924;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.customer-auth-page .customer-auth-control::placeholder { color: #9aa59f; }
.customer-auth-page .customer-auth-control:focus { border-color: var(--auth-primary); background: #fff; box-shadow: 0 0 0 4px rgba(6, 78, 59, .10); }

.customer-auth-password-toggle {
  position: absolute;
  top: 50%;
  right: 11px;
  z-index: 3;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #65736c;
  transform: translateY(-50%);
}

.customer-auth-password-toggle:hover,
.customer-auth-password-toggle:focus-visible { background: #edf4f1; color: var(--auth-primary); }
.customer-auth-link { color: var(--auth-primary); font-weight: 700; text-decoration: none; }
.customer-auth-link:hover { color: var(--auth-accent); }

.customer-auth-page .customer-auth-submit {
  min-height: 51px;
  border: 0;
  border-radius: 12px;
  background: var(--auth-primary);
  box-shadow: 0 10px 22px rgba(6, 78, 59, .18);
  color: #fff;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.customer-auth-page .customer-auth-submit:hover,
.customer-auth-page .customer-auth-submit:focus-visible {
  background: #043d2f;
  color: #fff;
  box-shadow: 0 13px 26px rgba(6, 78, 59, .25);
  transform: translateY(-1px);
}

.customer-auth-divider { margin-top: 24px; padding-top: 22px; border-top: 1px solid #e3eae7; color: #6f7b75; text-align: center; }
.customer-auth-note { margin-top: 5px; color: #7a8781; font-size: .76rem; }
.customer-auth-page .form-check-input:checked { border-color: var(--auth-primary); background-color: var(--auth-primary); }
.customer-auth-page .alert { border: 0; border-radius: 11px; font-size: .9rem; }

@media (max-width: 991.98px) {
  .customer-auth-page { padding: 30px 18px 92px; }
  .customer-auth-shell,
  .customer-auth-shell.is-register { width: min(760px, 100%); grid-template-columns: 1fr; }
  .customer-auth-visual { min-height: 320px; padding: 28px 34px 18px; }
  .customer-auth-visual h2,
  .customer-auth-visual-copy { max-width: 540px; }
  .customer-auth-art { position: absolute; right: 18px; bottom: 2px; width: 295px; height: 260px; margin: 0; }
  .customer-auth-benefits { max-width: 310px; margin-top: 22px; }
  .customer-auth-content,
  .customer-auth-shell.is-register .customer-auth-content { padding: 36px 42px; }
}

@media (max-width: 575.98px) {
  .customer-auth-page { min-height: auto; padding: 16px 12px 88px; }
  .customer-auth-shell,
  .customer-auth-shell.is-register { min-height: 0; border-radius: 19px; }
  .customer-auth-visual { min-height: 305px; padding: 22px 22px 12px; text-align: center; }
  .customer-auth-eyebrow { margin-right: auto; margin-left: auto; }
  .customer-auth-visual-copy { font-size: .88rem; }
  .customer-auth-art { position: static; width: 245px; height: 180px; margin: -2px auto -8px; }
  .customer-auth-benefits { display: none; }
  .customer-auth-content,
  .customer-auth-shell.is-register .customer-auth-content { padding: 26px 20px 30px; }
  .customer-auth-form-icon { width: 43px; height: 43px; margin-bottom: 14px; }
  .customer-auth-title { font-size: 1.65rem; }
  .customer-auth-subtitle { margin-bottom: 23px; font-size: .9rem; }
}
