.vds-auth-page {
  min-height: 72vh;
  /* The fixed header offset is already provided by body:not(.home). */
  padding: clamp(2rem, 4vw, 3rem) 1.25rem clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 12% 15%, rgba(12,192,223,.11), transparent 34%),
    linear-gradient(180deg, #f7fcff 0%, #eef9fd 100%);
  color: #081d3a;
}

.vds-auth-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(420px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}


/* Single-column auth layout used after removing the promotional side panel. */
.vds-auth-shell-single {
  display: block;
  width: min(540px, 100%);
}
.vds-auth-shell-register { width: min(560px, 100%); }
.vds-auth-shell-login { width: min(500px, 100%); }
.vds-auth-shell-single .vds-auth-form-wrap {
  width: 100%;
  margin-inline: auto;
}

.vds-auth-copy { padding: 1rem 0; }
.vds-auth-eyebrow,
.vds-auth-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .35rem .85rem;
  border: 1px solid rgba(12,192,223,.25);
  border-radius: 999px;
  background: rgba(12,192,223,.08);
  color: #087d96;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.vds-auth-copy h2 {
  margin: 1.15rem 0 .8rem;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.12;
  font-weight: 800;
}
.vds-auth-copy p {
  max-width: 580px;
  color: #52657b;
  font-size: 1.03rem;
  line-height: 1.8;
}
.vds-auth-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.6rem;
}
.vds-auth-benefits span {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem .9rem;
  border: 1px solid #d8edf4;
  border-radius: .85rem;
  background: rgba(255,255,255,.75);
  color: #173654;
  font-weight: 700;
  font-size: .83rem;
}
.vds-auth-benefits i { color: #0cc0df; }

.vds-auth-card {
  border: 1px solid #dcecf2;
  border-radius: 1.75rem;
  background: #fff;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 30px 80px -38px rgba(8,29,58,.42);
}
.vds-auth-register-card { padding: clamp(1.35rem, 3vw, 2rem); }
.vds-auth-login-card { padding: clamp(1.35rem, 3vw, 1.9rem); }
.vds-auth-card-head { margin-bottom: 1.15rem; }
.vds-auth-card-head h1 {
  margin: .7rem 0 .4rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
  font-weight: 800;
}
.vds-auth-card-head h1 span {
  display: inline-block;
  margin-left: .4rem;
  color: #0aa8c6;
  font-size: .7em;
}
.vds-auth-card-head p { color: #63758a; font-size: .94rem; line-height: 1.55; }
.vds-auth-alert {
  margin-bottom: 1.15rem;
  padding: .85rem 1rem;
  border: 1px solid #fecaca;
  border-radius: .85rem;
  background: #fff1f2;
  color: #b42318;
  font-weight: 700;
}
.vds-auth-form { display: grid; gap: .82rem; }
.vds-auth-field { display: grid; gap: .55rem; }
.vds-auth-field > span {
  color: #0c2746;
  font-size: .92rem;
  font-weight: 800;
}
.vds-auth-field > span small,
.vds-auth-remember small,
.vds-auth-show-all small,
.vds-auth-switch small {
  display: inline-block;
  margin-left: .35rem;
  color: #64778c;
  font-size: .88em;
  font-weight: 600;
}
.vds-auth-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d9e8ee;
  border-radius: .9rem;
  background: #f9fdff;
  padding: .8rem .95rem;
  color: #081d3a;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.vds-auth-field input:focus {
  border-color: #0cc0df;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(12,192,223,.12);
}
.vds-auth-field em {
  color: #66788c;
  font-size: .78rem;
  font-style: normal;
}
.vds-password-control,
.vds-phone-control { position: relative; }
.vds-password-control input { padding-right: 3.4rem; }
.vds-password-toggle {
  position: absolute;
  top: 50%;
  right: .45rem;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: .75rem;
  background: transparent;
  color: #526b82;
  cursor: pointer;
}
.vds-password-toggle:hover,
.vds-password-toggle:focus-visible { background: #e9f8fc; color: #0785a0; }
.vds-phone-control { display: grid; grid-template-columns: auto 1fr; }
.vds-phone-prefix {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 48px;
  padding: 0 .85rem;
  border: 1px solid #d9e8ee;
  border-right: 0;
  border-radius: .9rem 0 0 .9rem;
  background: #eef9fc;
  color: #163754;
  font-weight: 800;
}
.vds-phone-control input { border-radius: 0 .9rem .9rem 0; }
.vds-auth-remember,
.vds-auth-show-all {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: #334e68;
  font-size: .87rem;
  font-weight: 700;
}
.vds-auth-remember input,
.vds-auth-show-all input { width: 18px; height: 18px; accent-color: #0cc0df; }
.vds-auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 50px;
  margin-top: .25rem;
  border: 0;
  border-radius: .95rem;
  background: linear-gradient(135deg, #0cc0df, #0aa7c6);
  color: #061d35;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 34px -14px rgba(12,192,223,.7);
}
.vds-auth-submit:hover { transform: translateY(-1px); filter: brightness(1.04); }
.vds-auth-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem .75rem;
  margin-top: 1.05rem;
  padding-top: .95rem;
  border-top: 1px solid #e5f0f4;
  color: #5d7186;
  font-size: .88rem;
  text-align: center;
}
.vds-auth-switch a { color: #078ca8; font-weight: 900; }

@media (max-width: 900px) {
  .vds-auth-page { padding-top: 2rem; }
  .vds-auth-shell { grid-template-columns: 1fr; gap: 1.5rem; }
  .vds-auth-copy { text-align: center; padding: 0; }
  .vds-auth-copy p { margin-inline: auto; }
  .vds-auth-benefits { justify-content: center; }
  .vds-auth-form-wrap { width: min(560px, 100%); margin-inline: auto; }
}

@media (max-width: 560px) {
  .vds-auth-page { padding: 1.35rem .85rem 2.75rem; }
  .vds-auth-copy h2 { font-size: 1.75rem; }
  .vds-auth-copy p { font-size: .92rem; }
  .vds-auth-benefits { display: none; }
  .vds-auth-card { border-radius: 1.25rem; padding: 1.2rem; }
  .vds-auth-card-head h1 { font-size: 1.7rem; }
  .vds-phone-prefix { padding-inline: .65rem; font-size: .82rem; }
}
