
/* Photo-backed auth screens — limited to the central body.
   Keep the v12 brand-yellow header/footer untouched. */
body:has(.auth-layout) .auth-layout {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 165px);
  padding: clamp(30px, 4vw, 55px) 18px;
  align-items: center;
  background-color: #4b405f;
  background-image:
    linear-gradient(110deg, rgba(40,33,62,.45) 0%, rgba(64,48,79,.46) 48%, rgba(47,36,73,.68) 100%),
    url('assets/eatshare-dining.jpg');
  background-position: center, center 42%;
  background-size: cover, cover;
  background-repeat: no-repeat;
}
body:has(.auth-layout) .auth-layout::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url('assets/eatshare-banner-overlay.jpg') center / cover no-repeat;
  opacity: .18;
  pointer-events: none;
}
body:has(.auth-layout) .auth-card {
  width: min(100%, 410px);
  padding: clamp(25px, 3vw, 35px);
  border-radius: 24px;
  background: #fffefa;
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 24px 66px rgba(26,19,42,.30);
}
body:has(.auth-layout) .auth-card h1 {
  margin: 5px 0 4px;
  font-size: clamp(29px,3vw,36px);
  line-height: 1.14;
  text-align: center;
  letter-spacing: -.035em;
  color: #261b38;
}
body:has(.auth-layout) .auth-card > .small-caps {
  display: block;
  text-align: center;
  color: #72697f;
  font-size: 10px;
  letter-spacing: .16em;
}
body:has(.auth-layout) .auth-card > p:not(.auth-switch):not(.auth-caution):not(.flow-status){
  text-align: center;
  margin: 6px 0 0;
  font-size: 14px;
  color: #756c80;
}
body:has(.auth-layout) .stack-form {gap: 12px;margin: 22px 0 12px}
body:has(.auth-layout) .stack-form input:not([type=checkbox]) {
  border: 1px solid #d8d0dc;
  border-radius: 12px;
  background: #fff;
  min-height: 45px;
}
body:has(.auth-layout) .stack-form .primary-btn {
  border-radius: 12px;
  background: #ffd12c;
  color: #171717;
  font-weight: 800;
}
body:has(.auth-layout) .auth-divider{border-color:#e3dce4;color:#686173}
body:has(.auth-layout) .auth-switch a{color:#392251}
body:has(.auth-layout) .future-providers{color:#443853}
@media(max-width:600px){
 body:has(.auth-layout) .auth-layout{padding:26px 14px;min-height:calc(100svh - 145px);background-position:center,43% center}
 body:has(.auth-layout) .auth-card{width:min(100%,420px);padding:24px 22px}
}
