
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --green:        #7EC820;
  --green-bright: #A0E040;
  --green-glow:   rgba(126,200,32,0.18);
  --green-dim:    rgba(126,200,32,0.07);
  --navy:         #111828;
  --navy-mid:     #18222F;
  --navy-card:    #1C2739;
  --navy-input:   #212E40;
  --silver:       #C8D4E0;
  --silver-dim:   #7A8FA3;
  --silver-faint: #3A4A5C;
  --border:       rgba(126,200,32,0.15);
  --border-hover: rgba(126,200,32,0.5);
  --text:         #E8F0F8;
  --text-muted:   #7A8FA3;
  --text-dim:     #3A4A5C;
  --radius:       12px;
  --radius-sm:    8px;
}

html,body{height:100%;background:var(--navy);color:var(--text);font-family:'DM Sans',sans-serif;font-size:15px;line-height:1.6;overflow-x:hidden}

/* ─── Background Atmosphere ─── */
.page-wrap{
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr;
  position:relative;
  overflow:hidden;
}
.page-wrap::before{
  content:'';
  position:fixed;inset:0;
  background:
    radial-gradient(ellipse 55% 55% at 15% 50%, rgba(126,200,32,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 35% 45% at 85% 15%, rgba(126,200,32,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(10,18,30,0.9) 0%, transparent 80%);
  pointer-events:none;z-index:0;
}

/* Grid lines overlay */
.page-wrap::after{
  content:'';
  position:fixed;inset:0;
  background-image:
    linear-gradient(rgba(126,200,32,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126,200,32,0.03) 1px, transparent 1px);
  background-size:60px 60px;
  pointer-events:none;z-index:0;
}

/* ─── LEFT PANEL ─── */
.left-panel{
  position:relative;
  display:flex;flex-direction:column;justify-content:space-between;
  padding:50px 56px;z-index:1;overflow:hidden;
}
.left-panel::after{
  content:'';position:absolute;right:0;top:0;bottom:0;width:1px;
  background:linear-gradient(to bottom,transparent,var(--border) 25%,var(--border) 75%,transparent);
}

/* Car silhouette */
.car-bg{
  position:absolute;bottom:0;left:-40px;right:0;height:360px;
  opacity:0.04;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 320'%3E%3Cpath fill='%237EC820' d='M60 220 L120 145 L200 110 L430 95 L570 100 L670 130 L740 175 L770 210 L780 230 L50 230 Z M165 230 C165 250 149 265 130 265 C111 265 95 250 95 230 C95 210 111 195 130 195 C149 195 165 210 165 230Z M730 230 C730 250 714 265 695 265 C676 265 660 250 660 230 C660 210 676 195 695 195 C714 195 730 210 730 230Z M200 150 L420 140 L560 145 L620 160 L180 165 Z'/%3E%3C/svg%3E");
  background-size:contain;background-repeat:no-repeat;background-position:center bottom;
  pointer-events:none;
}

/* ─── LOGO ─── */
.logo{display:flex;align-items:center;gap:4px;text-decoration:none;position:relative;z-index:2}
.logo img{height:58px;width:auto;filter:drop-shadow(0 0 8px rgba(126,200,32,0.4))}

/* ─── HERO ─── */
.hero-copy{position:relative;z-index:2}
.eyebrow{
  font-size:11px;letter-spacing:3.5px;text-transform:uppercase;
  color:var(--green);font-weight:600;margin-bottom:18px;
  display:flex;align-items:center;gap:10px;
}
.eyebrow::before{content:'';display:block;width:32px;height:1.5px;background:var(--green)}
.hero-title{
  font-family:'Rajdhani',sans-serif;
  font-size:clamp(52px,5.5vw,76px);line-height:0.92;
  font-weight:700;letter-spacing:1px;color:var(--text);margin-bottom:20px;
}
.hero-title span{color:var(--green)}
.hero-desc{font-size:14px;color:var(--text-muted);max-width:330px;line-height:1.75;margin-bottom:36px}

/* ─── STATS ─── */
.stats{display:flex;gap:40px;margin-bottom:0}
.stat-num{
  font-family:'Rajdhani',sans-serif;font-size:34px;font-weight:700;
  color:var(--green);line-height:1;
}
.stat-lbl{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--text-dim);margin-top:2px}

/* ─── TRUST BADGES ─── */
.trust-badges{display:flex;flex-direction:column;gap:10px;position:relative;z-index:2}
.badge{
  display:flex;align-items:center;gap:12px;
  font-size:13px;color:var(--text-muted);
}
.badge-dot{width:5px;height:5px;border-radius:50%;background:var(--green);flex-shrink:0;box-shadow:0 0 6px var(--green)}

/* ─── RIGHT PANEL ─── */
.right-panel{
  display:flex;align-items:center;justify-content:center;
  padding:50px 52px;position:relative;z-index:1;
}
.auth-card{width:100%;max-width:448px}

/* ─── TABS ─── */
.tab-group{
  display:flex;background:var(--navy-card);
  border:1px solid var(--border);border-radius:50px;padding:4px;margin-bottom:32px;
}
.tab-btn{
  flex:1;padding:10px 0;border:none;background:transparent;
  color:var(--text-muted);font-family:'DM Sans',sans-serif;
  font-size:14px;font-weight:500;border-radius:50px;cursor:pointer;
  transition:all .25s;letter-spacing:.3px;
}
.tab-btn.active{background:var(--green);color:#0D1620;font-weight:700}

/* ─── FORM HEADER ─── */
.form-hdr{margin-bottom:26px}
.form-title{
  font-family:'Rajdhani',sans-serif;font-size:36px;font-weight:700;
  letter-spacing:1px;color:var(--text);line-height:1;margin-bottom:6px;
}
.form-sub{font-size:13px;color:var(--text-muted)}

/* ─── ROLE TOGGLE ─── */
.role-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}
.role-btn{
  padding:13px 12px;border:1px solid var(--border);background:var(--navy-input);
  border-radius:var(--radius-sm);cursor:pointer;transition:all .2s;text-align:left;
}
.role-btn.active{border-color:var(--green);background:rgba(126,200,32,0.08)}
.role-title{font-size:13px;font-weight:600;color:var(--silver);margin-bottom:2px}
.role-btn.active .role-title{color:var(--green)}
.role-sub{font-size:11px;color:var(--text-dim)}

/* ─── SOCIAL BUTTONS ─── */
.social-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin-bottom:22px}
.soc-btn{
  display:flex;align-items:center;justify-content:center;gap:7px;
  padding:11px 6px;background:var(--navy-input);
  border:1px solid var(--border);border-radius:var(--radius-sm);
  color:var(--text);font-family:'DM Sans',sans-serif;font-size:13px;font-weight:500;
  cursor:pointer;transition:all .2s;text-decoration:none;
}
.soc-btn:hover{border-color:var(--border-hover);background:rgba(126,200,32,0.06);color:var(--green)}
.soc-icon{width:17px;height:17px;flex-shrink:0}

/* ─── DIVIDER ─── */
.divider{
  display:flex;align-items:center;gap:12px;margin-bottom:20px;
  font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--text-dim);
}
.divider::before,.divider::after{content:'';flex:1;height:1px;background:var(--border)}

/* ─── FORM ─── */
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fg{margin-bottom:14px;position:relative}
.fg.full{grid-column:1/-1}
.flabel{
  display:block;font-size:11px;letter-spacing:1.5px;text-transform:uppercase;
  color:var(--silver-dim);margin-bottom:6px;font-weight:500;
}
.finput{
  width:100%;padding:12px 16px;background:var(--navy-input);
  border:1px solid var(--border);border-radius:var(--radius-sm);
  color:var(--text);font-family:'DM Sans',sans-serif;font-size:14px;outline:none;
  transition:border-color .2s,box-shadow .2s;
}
.finput::placeholder{color:var(--text-dim)}
.finput:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(126,200,32,0.12)}
.ico-wrap{position:relative}
.ico-wrap .finput{padding-left:44px}
.f-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--text-dim);pointer-events:none}
.eye-btn{
  position:absolute;right:12px;top:50%;transform:translateY(-50%);
  background:none;border:none;color:var(--text-dim);cursor:pointer;padding:2px;
  transition:color .2s;
}
.eye-btn:hover{color:var(--green)}
.phone-flag{
  position:absolute;left:0;top:0;bottom:0;
  display:flex;align-items:center;padding:0 12px;
  border-right:1px solid var(--border);color:var(--text-muted);font-size:13px;gap:5px;
  pointer-events:none;z-index:1;
}
.phone-inp{padding-left:72px!important}

/* ─── CHECKBOX ─── */
.chk-row{display:flex;align-items:flex-start;gap:9px;margin-bottom:18px;font-size:12px;color:var(--text-muted);line-height:1.5}
.chk-row input{width:15px;height:15px;accent-color:var(--green);flex-shrink:0;margin-top:1px;cursor:pointer}
.chk-row a{color:var(--green);text-decoration:none}
.keep-row{display:flex;align-items:center;gap:8px;margin-bottom:18px;font-size:13px;color:var(--text-muted)}
.keep-row input{accent-color:var(--green);width:15px;height:15px;cursor:pointer}
.forgot-row{display:flex;justify-content:flex-end;margin-top:-6px;margin-bottom:14px}
.forgot-a{font-size:12px;color:var(--text-muted);text-decoration:none;transition:color .2s}
.forgot-a:hover{color:var(--green)}

/* ─── CTA ─── */
.btn-cta{
  width:100%;padding:15px;
  background:linear-gradient(135deg,var(--green) 0%,#9ADE28 100%);
  color:#0B1510;font-family:'Rajdhani',sans-serif;font-size:18px;font-weight:700;
  letter-spacing:2px;border:none;border-radius:var(--radius-sm);cursor:pointer;
  transition:all .2s;margin-bottom:16px;text-transform:uppercase;
  box-shadow:0 4px 20px rgba(126,200,32,0.25);
}
.btn-cta:hover{box-shadow:0 6px 28px rgba(126,200,32,0.4);transform:translateY(-1px)}
.btn-cta:active{transform:translateY(0)}

/* ─── SWITCH ─── */
.switch-txt{text-align:center;font-size:13px;color:var(--text-muted)}
.switch-txt a{color:var(--green);font-weight:600;cursor:pointer;text-decoration:none}

/* ─── VIEWS ─── */
.view{display:none}
.view.active{display:block}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
.auth-card{animation:fadeUp .45s ease both}
.hero-copy{animation:fadeUp .5s .1s ease both}
.stats{animation:fadeUp .5s .22s ease both}
.trust-badges{animation:fadeUp .5s .34s ease both}

/* ─── RESPONSIVE ─── */
@media(max-width:860px){
  .page-wrap{grid-template-columns:1fr}
  .left-panel{display:none}
  .right-panel{padding:36px 20px}
}

/* Password strength bar */
.pw-strength{display:flex;gap:4px;margin-top:6px}
.pw-bar{flex:1;height:3px;border-radius:2px;background:var(--silver-faint);transition:background .3s}
.pw-bar.weak{background:#E24B4A}
.pw-bar.medium{background:#EF9F27}
.pw-bar.strong{background:var(--green)}
.pw-label{font-size:11px;color:var(--text-dim);margin-top:4px}


/* AutoMart server integration additions */
.auth-error{background:rgba(229,57,53,.11);border:1px solid rgba(229,57,53,.35);color:#ffb9b9;border-radius:12px;padding:12px 14px;margin:0 0 18px;font-size:13px;}
.soc-btn.full{grid-column:1/-1;justify-content:flex-start;padding:13px 16px;}
.soc-btn.full .social-copy{display:flex;flex-direction:column;line-height:1.25;}
.soc-btn.full .social-copy small{color:var(--silver-dim);font-size:11px;font-weight:400;}
.soc-arrow{margin-left:auto;color:var(--green-bright);font-size:18px;}
.role-btn{font-family:inherit;}
.role-btn.active{box-shadow:0 0 0 3px rgba(126,200,32,.10),0 0 24px rgba(126,200,32,.18);}
.role-field{display:none;animation:fadeUp .28s ease both;}
.role-field.active{display:block;}
.form-grid .role-field.active{display:block;}
.field-error{display:block;min-height:16px;margin-top:5px;color:#ff8f8f;font-size:11px;letter-spacing:.2px;}
.finput.is-invalid{border-color:rgba(229,57,53,.78);box-shadow:0 0 0 3px rgba(229,57,53,.12);}
.chk-row.is-invalid{color:#ffb9b9;}
.inline-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:12px;}
button.eye-btn{font-family:inherit;}
.auth-card{position:relative;z-index:2;}
@media(max-width:540px){
  .form-grid{grid-template-columns:1fr;}
  .social-grid{grid-template-columns:1fr;}
  .role-row{grid-template-columns:1fr;}
  .form-title{font-size:31px;}
  .right-panel{padding:24px 14px;}
  .auth-card{max-width:100%;}
  .inline-actions{align-items:flex-start;flex-direction:column;}
}

.authx-alert{background:rgba(229,57,53,.11);border:1px solid rgba(229,57,53,.35);color:#ffb9b9;border-radius:12px;padding:12px 14px;margin:0 0 18px;font-size:13px;}
.tab-btn{text-align:center;text-decoration:none;display:block;}


/* v2 upgraded auth polish */
.right-panel::before{
  content:"";position:absolute;inset:8% 6%;border-radius:40px;
  background:radial-gradient(circle at 60% 10%, rgba(126,200,32,.10), transparent 34%),
             linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  filter:blur(.2px);pointer-events:none;
}
.auth-card{
  position:relative;padding:28px;border:1px solid rgba(126,200,32,.18);border-radius:24px;
  background:linear-gradient(180deg,rgba(28,39,57,.72),rgba(17,24,40,.54));
  box-shadow:0 28px 80px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter:blur(18px);
}
.auth-card::before{
  content:"";position:absolute;inset:0;border-radius:24px;padding:1px;
  background:linear-gradient(135deg,rgba(160,224,64,.45),transparent 28%,rgba(255,255,255,.10));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;opacity:.7;
}
.social-grid-triple{grid-template-columns:repeat(3,minmax(0,1fr));}
.social-grid-triple .soc-btn{min-height:46px;position:relative;overflow:hidden;}
.social-grid-triple .soc-btn::after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent,rgba(255,255,255,.07),transparent);transform:translateX(-115%);transition:transform .45s ease;}
.social-grid-triple .soc-btn:hover::after{transform:translateX(115%);}
.social-role-note{margin:-12px 0 18px;text-align:center;font-size:12px;color:var(--text-muted)}
.role-btn{position:relative;overflow:hidden;}
.role-btn::after{content:"";position:absolute;inset:auto 12px 8px 12px;height:2px;border-radius:10px;background:var(--green);transform:scaleX(0);transform-origin:left;transition:transform .25s ease;box-shadow:0 0 14px rgba(160,224,64,.8)}
.role-btn.active{box-shadow:0 0 0 3px rgba(126,200,32,.09),0 10px 30px rgba(126,200,32,.08)}
.role-btn.active::after{transform:scaleX(1)}
.finput.is-invalid{border-color:#E24B4A;box-shadow:0 0 0 3px rgba(226,75,74,.14)}
.field-error{display:block;min-height:16px;margin-top:5px;font-size:11px;color:#ff8f8f;letter-spacing:.2px}
.chk-row.is-invalid{color:#ffb0b0}
.inline-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px;flex-wrap:wrap}
.auth-form{position:relative;z-index:1}
.form-grid{transition:opacity .22s ease,transform .22s ease;}
.role-field{display:none;opacity:0;transform:translateY(8px)}
.role-field.active{display:block;opacity:1;transform:translateY(0);animation:fadeUp .28s ease both}
@media(max-width:1080px){.left-panel{padding:42px 36px}.right-panel{padding:42px 32px}.auth-card{max-width:480px}}
@media(max-width:620px){.auth-card{padding:20px;border-radius:18px}.form-grid{grid-template-columns:1fr}.social-grid-triple{grid-template-columns:1fr}.role-row{grid-template-columns:1fr}.form-title{font-size:32px}.right-panel{padding:22px 14px}.tab-group{margin-bottom:22px}}


/* 2026-05 auth fit + logo upgrade */
body.auth-premium-body{
  min-height:100svh;
  overflow-y:auto;
  background:var(--navy);
}
body.auth-premium-body .page-wrap.auth-fit-page{
  min-height:100svh;
  overflow-x:hidden;
  overflow-y:visible;
  grid-template-columns:minmax(420px,1fr) minmax(480px,1fr);
}
body.auth-premium-body .left-panel{
  padding:44px clamp(38px,5vw,72px) 42px;
  min-height:100svh;
}
body.auth-premium-body .logo img{
  height:clamp(78px,7vw,108px);
  max-width:260px;
  object-fit:contain;
  filter:drop-shadow(0 0 10px rgba(126,200,32,.55)) drop-shadow(0 8px 26px rgba(0,0,0,.35));
}
body.auth-premium-body .hero-copy{
  margin-top:auto;
  margin-bottom:auto;
  max-width:620px;
}
body.auth-premium-body .hero-title{
  font-size:clamp(54px,6.1vw,84px);
}
body.auth-premium-body .right-panel{
  align-items:flex-start;
  justify-content:center;
  min-height:100svh;
  padding:34px clamp(24px,4vw,58px);
  overflow:visible;
}
body.auth-premium-body .auth-card{
  width:min(100%,540px);
  max-width:540px;
  margin:12px auto 34px;
  padding:24px 28px 26px;
  border-radius:24px;
}
body.auth-premium-body .auth-card-logo{
  display:flex;
  justify-content:center;
  align-items:center;
  margin:-6px 0 14px;
}
body.auth-premium-body .auth-card-logo a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 14px;
  border-radius:18px;
  background:rgba(5,12,12,.30);
  border:1px solid rgba(126,200,32,.16);
  box-shadow:0 0 26px rgba(126,200,32,.08);
}
body.auth-premium-body .auth-card-logo img{
  height:46px;
  width:auto;
  max-width:190px;
  object-fit:contain;
  filter:drop-shadow(0 0 7px rgba(126,200,32,.48));
}
body.auth-premium-body .tab-group{
  margin-bottom:22px;
}
body.auth-premium-body .form-hdr{
  margin-bottom:18px;
}
body.auth-premium-body .form-title{
  font-size:clamp(34px,3vw,42px);
}
body.auth-premium-body .role-row{
  gap:10px;
  margin-bottom:16px;
}
body.auth-premium-body .role-btn{
  min-height:70px;
  padding:12px 14px;
}
body.auth-premium-body .social-grid{
  gap:10px;
  margin-bottom:14px;
}
body.auth-premium-body .social-role-note{
  margin:-4px 0 16px;
}
body.auth-premium-body .divider{
  margin-bottom:16px;
}
body.auth-premium-body .form-grid{
  gap:10px 12px;
}
body.auth-premium-body .fg{
  margin-bottom:10px;
}
body.auth-premium-body .finput{
  min-height:48px;
  padding-top:11px;
  padding-bottom:11px;
}
body.auth-premium-body .chk-row,
body.auth-premium-body .keep-row,
body.auth-premium-body .inline-actions{
  margin-bottom:14px;
}
body.auth-premium-body .btn-cta{
  margin-bottom:12px;
  padding:14px;
}
body.auth-premium-body .trust-badges{
  margin-top:26px;
}
@media(max-width:1180px){
  body.auth-premium-body .page-wrap.auth-fit-page{grid-template-columns:minmax(360px,.85fr) minmax(460px,1.15fr)}
  body.auth-premium-body .left-panel{padding-left:34px;padding-right:30px}
  body.auth-premium-body .hero-title{font-size:clamp(50px,5.5vw,72px)}
}
@media(max-width:940px){
  body.auth-premium-body .page-wrap.auth-fit-page{grid-template-columns:1fr;min-height:100svh;}
  body.auth-premium-body .left-panel{
    display:flex;
    min-height:auto;
    padding:24px 20px 0;
    justify-content:center;
    align-items:center;
  }
  body.auth-premium-body .left-panel::after,
  body.auth-premium-body .hero-copy,
  body.auth-premium-body .trust-badges,
  body.auth-premium-body .car-bg{display:none;}
  body.auth-premium-body .left-panel .logo img{height:72px;max-width:220px;}
  body.auth-premium-body .right-panel{min-height:auto;padding:16px 18px 30px;}
  body.auth-premium-body .auth-card{margin:0 auto 24px;}
  body.auth-premium-body .auth-card-logo{display:none;}
}
@media(max-width:620px){
  body.auth-premium-body .auth-card{width:100%;padding:20px 16px 22px;border-radius:20px;}
  body.auth-premium-body .form-grid{grid-template-columns:1fr;}
  body.auth-premium-body .social-grid-triple{grid-template-columns:1fr;}
  body.auth-premium-body .role-row{grid-template-columns:1fr;}
  body.auth-premium-body .left-panel .logo img{height:66px;}
  body.auth-premium-body .tab-btn{padding:11px 0;}
  body.auth-premium-body .form-title{font-size:32px;}
}


/* 2026-05 final auth layout: remove card logo and match compact centered auth screens */
body.auth-premium-body .auth-card-logo{
  display:none !important;
}
body.auth-premium-body .page-wrap.auth-fit-page{
  display:block;
  min-height:100svh;
  overflow-y:auto;
}
body.auth-premium-body .left-panel{
  display:none !important;
}
body.auth-premium-body .right-panel{
  min-height:100svh;
  width:100%;
  padding:clamp(30px,7vh,76px) 18px 42px;
  align-items:flex-start;
  justify-content:center;
}
body.auth-premium-body .right-panel::before{
  inset:9% auto auto 50%;
  width:min(680px,92vw);
  height:72vh;
  transform:translateX(-50%);
  opacity:.55;
}
body.auth-premium-body .auth-card{
  width:min(100%,430px);
  max-width:430px;
  margin:0 auto;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
}
body.auth-premium-body .auth-card::before{display:none;}
body.auth-premium-body .tab-group{
  margin-bottom:26px;
  background:rgba(28,39,57,.72);
  border-color:rgba(126,200,32,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 16px 45px rgba(0,0,0,.20);
}
body.auth-premium-body .tab-btn{
  padding:12px 0;
  font-size:14px;
}
body.auth-premium-body .form-hdr{margin-bottom:22px;}
body.auth-premium-body .form-title{
  font-size:clamp(34px,4vw,42px);
  line-height:.95;
}
body.auth-premium-body .form-sub{font-size:13px;}
body.auth-premium-body .social-grid-triple .soc-btn{
  min-height:42px;
  padding:10px 8px;
}
body.auth-premium-body .finput{
  background:rgba(33,46,64,.88);
  border-color:rgba(126,200,32,.22);
}
body.auth-premium-body .btn-cta{
  border-radius:9px;
  letter-spacing:3px;
}
body.auth-premium-body .role-row{margin-bottom:14px;}
body.auth-premium-body .role-btn{
  min-height:58px;
  padding:10px 12px;
  background:rgba(33,46,64,.82);
}
body.auth-premium-body .role-sub{font-size:10px;line-height:1.15;}
body.auth-premium-body .divider{margin:14px 0 17px;}
body.auth-premium-body .social-role-note{display:none;}
@media(min-width:980px){
  body.auth-premium-body .auth-card:has([data-signup-form]){width:min(100%,460px);max-width:460px;}
}
@media(max-width:540px){
  body.auth-premium-body .right-panel{padding:34px 20px 34px;}
  body.auth-premium-body .auth-card{width:100%;}
  body.auth-premium-body .tab-group{margin-bottom:24px;}
  body.auth-premium-body .form-grid{grid-template-columns:1fr;}
  body.auth-premium-body .social-grid-triple{grid-template-columns:repeat(3,minmax(0,1fr));}
  body.auth-premium-body .soc-btn{font-size:12px;}
}
@media(max-width:390px){
  body.auth-premium-body .social-grid-triple{grid-template-columns:1fr;}
}

/* 2026-05 fix: keep the uploaded auth design, restore split layout, polish tabs and LK +94 */
body.auth-premium-body .page-wrap.auth-fit-page{
  display:grid !important;
  grid-template-columns:minmax(430px,.95fr) minmax(500px,1.05fr) !important;
  min-height:100svh;
  overflow-x:hidden;
  overflow-y:auto;
}
body.auth-premium-body .left-panel{
  display:flex !important;
  min-height:100svh;
  padding:46px clamp(34px,5vw,64px) 42px;
  justify-content:space-between;
}
body.auth-premium-body .left-panel::after{display:block;}
body.auth-premium-body .hero-copy,
body.auth-premium-body .trust-badges,
body.auth-premium-body .car-bg{display:block !important;}
body.auth-premium-body .logo img{
  height:74px;
  max-width:230px;
  object-fit:contain;
}
body.auth-premium-body .right-panel{
  min-height:100svh;
  padding:clamp(34px,6vh,70px) clamp(26px,4vw,56px) 42px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}
body.auth-premium-body .auth-card{
  width:min(100%,460px);
  max-width:460px;
  margin:0 auto;
}
body.auth-premium-body .auth-card:has([data-signup-form]){
  width:min(100%,480px);
  max-width:480px;
}
body.auth-premium-body .tab-group{
  width:100%;
  min-height:48px;
  padding:4px;
  display:flex;
  align-items:center;
  border-radius:999px;
}
body.auth-premium-body .tab-btn{
  min-height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  line-height:1;
}
body.auth-premium-body .phone-flag{
  top:0;
  left:0;
  bottom:0;
  width:76px;
  min-width:76px;
  padding:0 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-weight:700;
  color:var(--text);
  background:rgba(33,46,64,.96);
  border:1px solid rgba(126,200,32,.22);
  border-right-color:rgba(126,200,32,.30);
  border-radius:var(--radius-sm) 0 0 var(--radius-sm);
  height:100%;
  line-height:1;
}
body.auth-premium-body .phone-inp{
  padding-left:94px !important;
}
body.auth-premium-body .fg > div[style*="position:relative"]{
  min-height:48px;
}
@media(max-width:940px){
  body.auth-premium-body .page-wrap.auth-fit-page{grid-template-columns:1fr !important;}
  body.auth-premium-body .left-panel{display:none !important;}
  body.auth-premium-body .right-panel{min-height:100svh;padding:34px 20px 34px;}
}
@media(max-width:540px){
  body.auth-premium-body .auth-card,
  body.auth-premium-body .auth-card:has([data-signup-form]){width:100%;max-width:100%;}
  body.auth-premium-body .social-grid-triple{grid-template-columns:repeat(3,minmax(0,1fr));}
  body.auth-premium-body .phone-flag{width:72px;min-width:72px;font-size:12px;}
  body.auth-premium-body .phone-inp{padding-left:88px !important;}
}


/* Admin auth upgrade */
body.auth-premium-body .admin-auth-page .logo img{height:74px;max-width:230px;object-fit:contain;}
body.auth-premium-body .admin-login-card{width:min(100%,470px);max-width:470px;}
.admin-login-topline{display:inline-flex;align-items:center;gap:8px;margin-bottom:16px;padding:8px 12px;border-radius:999px;background:rgba(126,200,32,.08);border:1px solid rgba(126,200,32,.18);color:var(--green);font-size:12px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;}
.admin-lock-dot{font-size:12px;filter:drop-shadow(0 0 8px rgba(160,224,64,.9));}
.admin-tab-group .tab-btn{font-size:13px;}
.admin-inline-actions{margin-top:2px;}
.admin-security-note{margin-top:16px;padding:14px;border-radius:14px;background:rgba(126,200,32,.06);border:1px solid rgba(126,200,32,.16);color:var(--text-muted);}
.admin-security-note strong{display:block;color:var(--text);font-family:'Rajdhani',sans-serif;font-size:18px;letter-spacing:.5px;}
.admin-security-note p{font-size:12px;margin-top:2px;}
body.auth-premium-body .admin-auth-page .hero-title{font-size:clamp(52px,5.8vw,78px);}
@media(max-width:940px){body.auth-premium-body .admin-auth-page .left-panel{display:none!important;}body.auth-premium-body .admin-login-card{width:100%;}}


/* Admin signup premium page */
body.auth-premium-body .admin-signup-card{width:min(100%,500px);max-width:500px;}
body.auth-premium-body .admin-signup-card .form-title{font-size:clamp(34px,4vw,44px);}
body.auth-premium-body .admin-signup-form .form-grid{gap:12px;}
body.auth-premium-body .admin-signup-form .field-error{display:block;margin-top:5px;font-size:11px;color:var(--text-dim);line-height:1.35;}
body.auth-premium-body .admin-signup-form .finput:invalid:not(:placeholder-shown){border-color:rgba(226,75,74,.75);}
body.auth-premium-body .admin-signup-form .finput:focus{border-color:var(--green);}
.admin-check-row{padding:12px;border:1px solid rgba(126,200,32,.14);background:rgba(126,200,32,.045);border-radius:12px;}
.admin-switch-txt{margin:2px 0 14px;}
.admin-switch-txt a{color:var(--green);font-weight:800;}
body.auth-premium-body .admin-signup-page .stats{gap:30px;}
@media(max-width:540px){
  body.auth-premium-body .admin-signup-card{max-width:100%;}
  body.auth-premium-body .admin-signup-form .form-grid{grid-template-columns:1fr;}
  body.auth-premium-body .admin-tab-group .tab-btn{font-size:12px;}
}


/* 2026-05 premium signup/admin-signup fit, logo, background box and motion upgrade */
body.auth-premium-body .auth-fit-page .logo{
  align-self:flex-start;
  display:inline-flex;
  padding:10px 14px;
  border-radius:22px;
  background:rgba(4,12,10,.28);
  border:1px solid rgba(160,224,64,.12);
  box-shadow:0 0 36px rgba(160,224,64,.13), inset 0 1px 0 rgba(255,255,255,.05);
  animation:logoFloat 4.8s ease-in-out infinite;
}
body.auth-premium-body .auth-fit-page .logo img{
  width:clamp(155px,15vw,220px) !important;
  height:auto !important;
  max-width:none !important;
  display:block;
  object-fit:contain;
  filter:drop-shadow(0 0 12px rgba(160,224,64,.72)) drop-shadow(0 16px 34px rgba(0,0,0,.45));
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .left-panel,
body.auth-premium-body .admin-signup-page .left-panel{
  padding-top:clamp(28px,5vh,52px) !important;
  padding-bottom:clamp(28px,5vh,52px) !important;
  justify-content:flex-start !important;
  gap:clamp(24px,5vh,60px);
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .hero-copy,
body.auth-premium-body .admin-signup-page .hero-copy{
  margin:clamp(42px,10vh,96px) 0 0 !important;
  width:min(100%,560px);
  padding:clamp(28px,4.2vw,44px);
  border-radius:28px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(10,18,20,.38));
  box-shadow:0 26px 80px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(126,200,32,.05);
  backdrop-filter:blur(14px) saturate(1.05);
  overflow:hidden;
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .hero-copy::before,
body.auth-premium-body .admin-signup-page .hero-copy::before{
  content:"";
  position:absolute;
  inset:-40% auto auto -18%;
  width:260px;
  height:260px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(160,224,64,.20),transparent 64%);
  pointer-events:none;
  animation:softPulse 4.5s ease-in-out infinite;
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .hero-title,
body.auth-premium-body .admin-signup-page .hero-title{
  font-size:clamp(58px,6.6vw,92px) !important;
  line-height:.93;
  text-shadow:0 14px 48px rgba(0,0,0,.36);
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .hero-desc,
body.auth-premium-body .admin-signup-page .hero-desc{
  max-width:440px;
  margin-bottom:26px;
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .stats,
body.auth-premium-body .admin-signup-page .stats{
  gap:clamp(24px,4vw,58px);
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .trust-badges,
body.auth-premium-body .admin-signup-page .trust-badges{
  margin-top:clamp(22px,5vh,44px);
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .right-panel,
body.auth-premium-body .admin-signup-page .right-panel{
  align-items:flex-start;
  padding-top:clamp(28px,5.5vh,54px) !important;
  padding-bottom:40px !important;
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .right-panel::before,
body.auth-premium-body .admin-signup-page .right-panel::before{
  inset:clamp(72px,10vh,105px) clamp(18px,3vw,52px) auto !important;
  height:min(74vh,700px);
  width:auto;
  transform:none;
  border-radius:42px;
  opacity:.9;
  background:
    radial-gradient(circle at 76% 6%, rgba(160,224,64,.18), transparent 32%),
    radial-gradient(circle at 18% 40%, rgba(255,255,255,.055), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(5,12,14,.14));
  border:1px solid rgba(126,200,32,.08);
  box-shadow:0 30px 90px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.04);
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .auth-card,
body.auth-premium-body .admin-signup-card{
  width:min(100%,520px) !important;
  max-width:520px !important;
  animation:panelEntrance .62s cubic-bezier(.2,.72,.2,1) both;
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .tab-group,
body.auth-premium-body .admin-signup-page .tab-group{
  margin-bottom:clamp(24px,3vh,34px);
  box-shadow:0 18px 50px rgba(0,0,0,.22),0 0 0 1px rgba(126,200,32,.04),inset 0 1px 0 rgba(255,255,255,.055);
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .form-title,
body.auth-premium-body .admin-signup-page .form-title{
  font-size:clamp(40px,4.7vw,56px) !important;
  letter-spacing:.5px;
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .role-btn,
body.auth-premium-body .admin-signup-page .role-btn,
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .soc-btn,
body.auth-premium-body .admin-signup-page .soc-btn,
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .finput,
body.auth-premium-body .admin-signup-page .finput{
  transition:transform .18s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .role-btn:hover,
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .soc-btn:hover,
body.auth-premium-body .admin-signup-page .soc-btn:hover{
  transform:translateY(-2px);
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .finput:focus,
body.auth-premium-body .admin-signup-page .finput:focus{
  transform:translateY(-1px);
  box-shadow:0 0 0 3px rgba(126,200,32,.12),0 16px 38px rgba(0,0,0,.22);
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .btn-cta,
body.auth-premium-body .admin-signup-page .btn-cta{
  position:relative;
  overflow:hidden;
  box-shadow:0 16px 46px rgba(126,200,32,.26),0 0 34px rgba(160,224,64,.12);
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .btn-cta::after,
body.auth-premium-body .admin-signup-page .btn-cta::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,.34) 45%,transparent 62%);
  transform:translateX(-120%);
  animation:buttonShine 3.2s ease-in-out infinite;
}
@keyframes logoFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes softPulse{0%,100%{opacity:.55;transform:scale(.95)}50%{opacity:1;transform:scale(1.08)}}
@keyframes panelEntrance{from{opacity:0;transform:translateY(24px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes buttonShine{0%,55%{transform:translateX(-125%)}78%,100%{transform:translateX(125%)}}
@media(max-width:1180px){
  body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .hero-copy,
  body.auth-premium-body .admin-signup-page .hero-copy{padding:30px;margin-top:44px!important;}
  body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .hero-title,
  body.auth-premium-body .admin-signup-page .hero-title{font-size:clamp(52px,5.8vw,74px)!important;}
}
@media(max-width:940px){
  body.auth-premium-body .auth-fit-page .logo{display:none!important;}
  body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .right-panel::before,
  body.auth-premium-body .admin-signup-page .right-panel::before{inset:70px 12px auto!important;height:78vh;border-radius:30px;}
}
@media(max-width:560px){
  body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .auth-card,
  body.auth-premium-body .admin-signup-card{width:100%!important;max-width:100%!important;}
  body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .form-title,
  body.auth-premium-body .admin-signup-page .form-title{font-size:36px!important;}
}

/* 2026-05 background-box fix: make signup glass panel cover the full form */
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .right-panel,
body.auth-premium-body .admin-signup-page .right-panel{
  position:relative;
  overflow:visible;
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .right-panel::before,
body.auth-premium-body .admin-signup-page .right-panel::before{
  top:clamp(52px,7vh,82px) !important;
  right:clamp(18px,3.2vw,58px) !important;
  bottom:clamp(26px,4vh,48px) !important;
  left:clamp(18px,3.2vw,58px) !important;
  width:auto !important;
  height:auto !important;
  min-height:calc(100% - clamp(52px,7vh,82px) - clamp(26px,4vh,48px));
  border-radius:42px;
  background:
    radial-gradient(circle at 78% 3%, rgba(160,224,64,.20), transparent 34%),
    radial-gradient(circle at 10% 34%, rgba(255,255,255,.06), transparent 42%),
    linear-gradient(145deg, rgba(19,31,34,.60), rgba(5,12,14,.34));
  border:1px solid rgba(126,200,32,.13);
  box-shadow:0 34px 96px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05);
  z-index:0;
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .auth-card,
body.auth-premium-body .admin-signup-page .auth-card{
  position:relative;
  z-index:2;
}
@media(max-width:940px){
  body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .right-panel::before,
  body.auth-premium-body .admin-signup-page .right-panel::before{
    top:22px !important;
    right:12px !important;
    bottom:22px !important;
    left:12px !important;
    border-radius:30px;
  }
}
@media(max-width:560px){
  body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .right-panel::before,
  body.auth-premium-body .admin-signup-page .right-panel::before{
    top:14px !important;
    right:8px !important;
    bottom:14px !important;
    left:8px !important;
    border-radius:24px;
  }
}


/* 2026-05 sign-in background box + original logo fix */
body.auth-premium-body .page-wrap.auth-fit-page:not(:has([data-signup-form])) .right-panel,
body.auth-premium-body .admin-auth-page:not(.admin-signup-page) .right-panel{
  position:relative;
  overflow:visible;
}
body.auth-premium-body .page-wrap.auth-fit-page:not(:has([data-signup-form])) .right-panel::before,
body.auth-premium-body .admin-auth-page:not(.admin-signup-page) .right-panel::before{
  content:"";
  position:absolute;
  top:clamp(44px,7vh,76px) !important;
  right:clamp(18px,3vw,56px) !important;
  bottom:clamp(28px,4vh,44px) !important;
  left:clamp(18px,3vw,56px) !important;
  width:auto !important;
  height:auto !important;
  min-height:calc(100% - clamp(44px,7vh,76px) - clamp(28px,4vh,44px));
  border-radius:42px;
  background:
    radial-gradient(circle at 76% 6%, rgba(160,224,64,.17), transparent 32%),
    radial-gradient(circle at 12% 44%, rgba(255,255,255,.05), transparent 38%),
    linear-gradient(145deg, rgba(19,31,34,.58), rgba(5,12,14,.30));
  border:1px solid rgba(126,200,32,.12);
  box-shadow:0 34px 96px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.05);
  border-radius:38px;
  z-index:0;
}
body.auth-premium-body .page-wrap.auth-fit-page:not(:has([data-signup-form])) .auth-card,
body.auth-premium-body .admin-auth-page:not(.admin-signup-page) .auth-card{
  position:relative;
  z-index:2;
}
body.auth-premium-body .auth-fit-page .logo img,
body.auth-premium-body .admin-auth-page .logo img{
  width:clamp(120px,12vw,170px) !important;
  height:auto !important;
  max-width:none !important;
  object-fit:contain;
}
@media(max-width:940px){
  body.auth-premium-body .page-wrap.auth-fit-page:not(:has([data-signup-form])) .right-panel::before,
  body.auth-premium-body .admin-auth-page:not(.admin-signup-page) .right-panel::before{
    top:22px !important;
    right:12px !important;
    bottom:22px !important;
    left:12px !important;
    border-radius:30px;
  }
}
@media(max-width:560px){
  body.auth-premium-body .page-wrap.auth-fit-page:not(:has([data-signup-form])) .right-panel::before,
  body.auth-premium-body .admin-auth-page:not(.admin-signup-page) .right-panel::before{
    top:12px !important;
    right:8px !important;
    bottom:12px !important;
    left:8px !important;
    border-radius:24px;
  }
  body.auth-premium-body .auth-fit-page .logo img,
  body.auth-premium-body .admin-auth-page .logo img{
    width:132px !important;
  }
}


/* 2026-05 uploaded original auth logo override */
body.auth-premium-body .auth-fit-page .logo img,
body.auth-premium-body .admin-auth-page .logo img{
  width:160px !important;
  height:auto !important;
  max-width:160px !important;
  object-fit:contain;
  display:block;
}
@media(max-width:560px){
  body.auth-premium-body .auth-fit-page .logo img,
  body.auth-premium-body .admin-auth-page .logo img{
    width:130px !important;
    max-width:130px !important;
  }
}


/* 2026-05 old-project logo + sign-in fit/background patch */
body.auth-premium-body .page-wrap.auth-fit-page{
  grid-template-columns:minmax(300px,.9fr) minmax(420px,1.05fr) !important;
  column-gap:clamp(18px,2vw,34px);
}
body.auth-premium-body .left-panel{
  padding:24px clamp(20px,3.2vw,44px) 28px !important;
  overflow:hidden;
}
body.auth-premium-body .right-panel{
  padding:24px clamp(20px,3.2vw,44px) 28px !important;
}
body.auth-premium-body .hero-copy{
  width:min(100%,510px) !important;
  margin:36px 0 0 !important;
}
body.auth-premium-body .auth-fit-page .logo{
  padding:8px 12px;
  width:fit-content;
}
body.auth-premium-body .auth-fit-page .logo img,
body.auth-premium-body .admin-auth-page .logo img{
  width:155px !important;
  max-width:155px !important;
  height:auto !important;
  display:block;
  object-fit:contain;
}
/* Sign-in page glass background box */
body.auth-premium-body .page-wrap.auth-fit-page:not(:has([data-signup-form])) .right-panel::before{
  top:18px !important;
  right:4px !important;
  bottom:18px !important;
  left:4px !important;
  min-height:auto !important;
  border-radius:34px !important;
  background:
    radial-gradient(circle at 78% 8%, rgba(160,224,64,.16), transparent 30%),
    radial-gradient(circle at 15% 36%, rgba(255,255,255,.05), transparent 36%),
    linear-gradient(145deg, rgba(17,29,34,.58), rgba(5,12,14,.22)) !important;
  border:1px solid rgba(126,200,32,.10) !important;
  box-shadow:0 24px 80px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
body.auth-premium-body .page-wrap.auth-fit-page:not(:has([data-signup-form])) .auth-card{
  width:min(100%,460px) !important;
  max-width:460px !important;
  margin:0 auto !important;
}
@media(max-width:1180px){
  body.auth-premium-body .page-wrap.auth-fit-page{
    grid-template-columns:minmax(280px,.86fr) minmax(400px,1fr) !important;
  }
  body.auth-premium-body .hero-copy{width:min(100%,470px) !important;}
  body.auth-premium-body .hero-title{font-size:clamp(50px,5.8vw,72px) !important;}
}
@media(max-width:940px){
  body.auth-premium-body .page-wrap.auth-fit-page{grid-template-columns:1fr !important;}
  body.auth-premium-body .left-panel{display:none !important;}
  body.auth-premium-body .right-panel{padding:24px 16px 26px !important;}
  body.auth-premium-body .page-wrap.auth-fit-page:not(:has([data-signup-form])) .right-panel::before{
    top:12px !important; right:0 !important; bottom:12px !important; left:0 !important; border-radius:26px !important;
  }
}
@media(max-width:560px){
  body.auth-premium-body .auth-fit-page .logo img,
  body.auth-premium-body .admin-auth-page .logo img{
    width:132px !important;
    max-width:132px !important;
  }
  body.auth-premium-body .page-wrap.auth-fit-page:not(:has([data-signup-form])) .auth-card{
    width:100% !important;
    max-width:100% !important;
  }
}


/* 2026-05 sign-in right-side background box realignment */
body.auth-premium-body .page-wrap.auth-fit-page:not(:has([data-signup-form])) .right-panel{
  position:relative;
  align-items:flex-start;
  justify-content:center;
}
body.auth-premium-body .page-wrap.auth-fit-page:not(:has([data-signup-form])) .right-panel::before{
  left:50% !important;
  right:auto !important;
  top:14px !important;
  bottom:14px !important;
  width:min(100%, 540px) !important;
  min-height:auto !important;
  transform:translateX(-50%) !important;
  border-radius:34px !important;
  background:
    radial-gradient(circle at 78% 8%, rgba(160,224,64,.14), transparent 30%),
    radial-gradient(circle at 18% 26%, rgba(255,255,255,.045), transparent 34%),
    linear-gradient(145deg, rgba(16,28,34,.56), rgba(5,12,14,.22)) !important;
  border:1px solid rgba(126,200,32,.10) !important;
  box-shadow:0 26px 82px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.05) !important;
  z-index:0;
}
body.auth-premium-body .page-wrap.auth-fit-page:not(:has([data-signup-form])) .auth-card{
  position:relative;
  z-index:2;
}
@media(max-width:940px){
  body.auth-premium-body .page-wrap.auth-fit-page:not(:has([data-signup-form])) .right-panel::before{
    width:100% !important;
    left:0 !important;
    right:0 !important;
    transform:none !important;
    top:12px !important;
    bottom:12px !important;
    border-radius:26px !important;
  }
}
@media(max-width:560px){
  body.auth-premium-body .page-wrap.auth-fit-page:not(:has([data-signup-form])) .right-panel::before{
    top:10px !important;
    bottom:10px !important;
    border-radius:22px !important;
  }
}


/* 2026-05 signup tab-group fit inside background box */
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .right-panel,
body.auth-premium-body .admin-signup-page .right-panel{
  position:relative;
  padding-top:22px !important;
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .right-panel::before,
body.auth-premium-body .admin-signup-page .right-panel::before{
  top:10px !important;
  right:8px !important;
  bottom:18px !important;
  left:8px !important;
  border-radius:34px !important;
  min-height:auto !important;
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .auth-card,
body.auth-premium-body .admin-signup-page .auth-card{
  margin-top:0 !important;
  padding-top:10px !important;
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .tab-group,
body.auth-premium-body .admin-signup-page .tab-group{
  position:relative;
  z-index:3;
  width:min(100%, 520px) !important;
  margin:0 auto 22px !important;
}
@media(max-width:940px){
  body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .right-panel::before,
  body.auth-premium-body .admin-signup-page .right-panel::before{
    top:8px !important;
    right:0 !important;
    left:0 !important;
    bottom:12px !important;
    border-radius:26px !important;
  }
}
@media(max-width:560px){
  body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .right-panel{padding-top:14px !important;}
  body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .tab-group,
  body.auth-premium-body .admin-signup-page .tab-group{
    width:100% !important;
    margin:0 auto 18px !important;
  }
}


/* 2026-05 auth logo add/fix */
body.auth-premium-body .auth-fit-page .logo,
body.auth-premium-body .admin-auth-page .logo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:180px;
  min-height:58px;
}
body.auth-premium-body .auth-fit-page .logo img,
body.auth-premium-body .admin-auth-page .logo img{
  width:150px !important;
  max-width:150px !important;
  height:auto !important;
  display:block !important;
  object-fit:contain;
}
@media(max-width:560px){
  body.auth-premium-body .auth-fit-page .logo,
  body.auth-premium-body .admin-auth-page .logo{min-width:160px;min-height:52px;}
  body.auth-premium-body .auth-fit-page .logo img,
  body.auth-premium-body .admin-auth-page .logo img{width:132px !important;max-width:132px !important;}
}


/* 2026-05 lift signup left hero box upward for better fit */
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .left-panel,
body.auth-premium-body .admin-signup-page .left-panel{
  justify-content:flex-start !important;
  gap:18px !important;
  padding-top:16px !important;
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .hero-copy,
body.auth-premium-body .admin-signup-page .hero-copy{
  margin:8px 0 0 !important;
  transform:translateY(-10px);
}
body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .trust-badges,
body.auth-premium-body .admin-signup-page .trust-badges{
  margin-top:10px !important;
}
@media(max-width:1180px){
  body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .hero-copy,
  body.auth-premium-body .admin-signup-page .hero-copy{
    margin-top:0 !important;
    transform:translateY(-6px);
  }
}
@media(max-width:940px){
  body.auth-premium-body .page-wrap.auth-fit-page:has([data-signup-form]) .hero-copy,
  body.auth-premium-body .admin-signup-page .hero-copy{
    transform:none;
  }
}


/* 2026-05 rectangular logo fit on auth pages */
body.auth-premium-body .auth-fit-page .logo,
body.auth-premium-body .admin-auth-page .logo{display:inline-flex;align-items:center;justify-content:center;min-width:190px;min-height:64px;padding:6px 10px;border-radius:16px;background:rgba(4,14,10,.58);border:1px solid rgba(126,200,32,.22);box-shadow:0 0 18px rgba(126,200,32,.12);}
body.auth-premium-body .auth-fit-page .logo img,
body.auth-premium-body .admin-auth-page .logo img{width:170px!important;max-width:170px!important;height:auto!important;object-fit:contain!important;display:block!important;}
@media(max-width:560px){body.auth-premium-body .auth-fit-page .logo,body.auth-premium-body .admin-auth-page .logo{min-width:160px;min-height:56px;padding:5px 8px;}body.auth-premium-body .auth-fit-page .logo img,body.auth-premium-body .admin-auth-page .logo img{width:148px!important;max-width:148px!important;}}
