/* Auth sahnesi — yalnızca login/register (header/footer site temasıyla kalır) */
body.auth-on .auth-page{
  position:relative;
  min-height:clamp(620px, calc(100dvh - 148px), 900px);
  display:grid;
  place-items:center;
  padding:3rem 16px 3.5rem;
  background:transparent;
}
body.auth-on .mainnav{border-bottom-color:transparent}
body.auth-on .footer{margin-top:0;border-top:0;position:relative;z-index:2;background:var(--card)}
body.auth-on .auth-bg{
  position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;
  mask-image:linear-gradient(180deg,transparent 0%,#000 14%,#000 100%);
  -webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 14%,#000 100%);
}
body.auth-on .auth-bg-pic{
  position:absolute;inset:0;width:100%;height:100%;max-width:none;
  object-fit:cover;object-position:center 48%;filter:blur(2px);transform:scale(1.04);
}
body.auth-on .auth-bg-veil{
  position:absolute;inset:0;background:
    radial-gradient(120% 90% at 50% 0%,rgba(var(--primary-rgb),.22),transparent 62%),
    linear-gradient(180deg,rgba(12,12,14,.22) 0%,rgba(12,12,14,.42) 45%,rgba(12,12,14,.62) 82%,rgba(12,12,14,.78) 100%);
}
html[data-theme="light"] body.auth-on .auth-bg-veil{
  background:
    radial-gradient(120% 90% at 50% 0%,rgba(var(--primary-rgb),.14),transparent 60%),
    linear-gradient(180deg,rgba(255,255,255,.28) 0%,rgba(255,255,255,.4) 45%,rgba(255,255,255,.58) 82%,rgba(255,255,255,.72) 100%);
}
body.auth-on .auth-page::after{
  content:"";position:absolute;left:0;right:0;bottom:0;z-index:1;pointer-events:none;
  height:180px;
  background:linear-gradient(180deg,transparent 0%,var(--card) 100%);
}
body.auth-on .auth-bg-grid{
  position:absolute;inset:0;opacity:.45;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:56px 56px;
  mask-image:radial-gradient(70% 60% at 50% 40%,#000,transparent 80%);
  -webkit-mask-image:radial-gradient(70% 60% at 50% 40%,#000,transparent 80%);
}
html[data-theme="light"] body.auth-on .auth-bg-grid{
  background-image:linear-gradient(rgba(16,20,30,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(16,20,30,.05) 1px,transparent 1px);
}
body.auth-on .auth-shell{
  width:min(430px,92%);position:relative;z-index:2;
  display:flex;flex-direction:column;gap:1.4rem;
  animation:auth-in .6s cubic-bezier(.2,.8,.2,1) both;
}
body.auth-on .auth-shell-wide{width:min(470px,92%)}
@keyframes auth-in{from{opacity:0;transform:translateY(18px)}}
body.auth-on .auth-head{text-align:center;display:flex;flex-direction:column;gap:.5rem;align-items:center}
body.auth-on .auth-head .logo{justify-content:center;margin:0;flex:none}
body.auth-on .auth-head .logo img{height:30px;width:auto;display:block}
body.auth-on .auth-head h1{font-size:1.9rem;font-weight:800;letter-spacing:-.02em;line-height:1.15;color:var(--text)}
body.auth-on .auth-head .auth-sub{color:var(--text-muted);font-size:.88rem;margin:0}
body.auth-on .auth-card{
  width:100%;padding:1.7rem 1.6rem;border-radius:22px;
  background:rgba(22,26,36,.78);border:1px solid rgba(255,255,255,.16);
  box-shadow:0 36px 90px -32px rgba(0,0,0,.65);color:var(--text);
  backdrop-filter:blur(24px) saturate(170%);-webkit-backdrop-filter:blur(24px) saturate(170%);
  display:flex;flex-direction:column;gap:.95rem;
}
html[data-theme="light"] body.auth-on .auth-card{
  background:rgba(255,255,255,.84);border-color:rgba(16,20,30,.12);
  box-shadow:0 28px 70px -28px rgba(16,20,30,.28);
}
body.auth-on .auth-card form{display:flex;flex-direction:column;gap:.95rem}
body.auth-on .auth-page .form-group{margin:0}
body.auth-on .auth-page .form-group label{display:block;font-size:.8rem;font-weight:600;margin-bottom:.4rem;color:var(--text)}
body.auth-on .auth-field{position:relative}
body.auth-on .auth-field-ico{position:absolute;left:0;top:0;bottom:0;width:42px;display:grid;place-items:center;z-index:2;color:var(--text-muted);pointer-events:none}
body.auth-on .auth-field-ico svg{display:block;width:17px;height:17px}
body.auth-on .auth-eye{position:absolute;right:4px;top:50%;transform:translateY(-50%);z-index:2;width:36px;height:36px;display:grid;place-items:center;border:0;background:transparent;color:var(--text-muted);cursor:pointer;border-radius:10px}
body.auth-on .auth-eye svg{display:block;width:17px;height:17px}
body.auth-on .auth-eye .auth-eye-off{display:none}
body.auth-on .auth-eye.show .auth-eye-on{display:none}
body.auth-on .auth-eye.show .auth-eye-off{display:block}
body.auth-on .auth-eye:hover{color:var(--text);background:rgba(255,255,255,.06)}
body.auth-on .auth-page .form-control{background:var(--input-bg);border:1px solid var(--border);height:48px;border-radius:13px}
body.auth-on .auth-field .form-control{padding-left:42px}
body.auth-on .auth-field .form-control.auth-has-eye{padding-right:44px}
body.auth-on .auth-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body.auth-on .auth-tel{
  display:flex;align-items:stretch;height:48px;border-radius:13px;
  background:var(--input-bg);border:1px solid var(--border);overflow:hidden;transition:.2s;
}
body.auth-on .auth-tel:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}
body.auth-on .auth-tel-cc{
  display:flex;align-items:center;gap:7px;flex:none;padding:0 10px 0 14px;color:var(--text);user-select:none;
}
body.auth-on .auth-tel-flag{display:block;line-height:0;border-radius:2px;overflow:hidden;box-shadow:0 0 0 1px rgba(255,255,255,.1)}
body.auth-on .auth-tel-flag svg{display:block}
body.auth-on .auth-tel-caret{
  width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;
  border-top:5px solid var(--text-muted);margin-left:-1px;
}
body.auth-on .auth-tel-code{font-weight:600;font-size:.92rem;letter-spacing:.01em}
body.auth-on .auth-tel-cc::after{content:"";width:1px;height:22px;background:var(--border);margin-left:6px}
body.auth-on .lp-tel{
  background:var(--input-bg);border:1px solid var(--border);height:48px;border-radius:13px;
}
body.auth-on .lp-tel-err{font-size:.76rem}
body.auth-on .auth-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;font-size:.82rem}
body.auth-on .auth-check{display:flex;align-items:flex-start;gap:.5rem;margin:0;font-size:.82rem;line-height:1.55;cursor:pointer;color:var(--text-muted);user-select:none}
body.auth-on .auth-check input{appearance:none;-webkit-appearance:none;width:17px;height:17px;margin-top:.15rem;flex:none;border:1px solid var(--border);border-radius:5px;background:var(--input-bg);cursor:pointer;display:grid;place-items:center}
body.auth-on .auth-check input::after{content:"";width:9px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) translate(0,-1px);opacity:0}
body.auth-on .auth-check input:checked{background:var(--primary);border-color:var(--primary)}
body.auth-on .auth-check input:checked::after{opacity:1}
body.auth-on .auth-check.auth-check-inline{align-items:center}
body.auth-on .auth-check.auth-check-inline input{margin-top:0}
body.auth-on .auth-check a{color:var(--primary);font-weight:600}
body.auth-on .auth-check a:hover{text-decoration:underline;text-underline-offset:3px}
body.auth-on .auth-page .btn.btn-block{width:100%;height:auto;padding:.95rem;border-radius:13px;font-size:1rem}
body.auth-on .auth-forgot-btn{color:var(--primary);font-size:.82rem;font-weight:600;white-space:nowrap}
body.auth-on .auth-forgot-btn:hover{text-decoration:underline;text-underline-offset:3px}
body.auth-on .auth-divider{display:flex;align-items:center;gap:.9rem;margin:.2rem 0 0;color:var(--text-muted);font-size:.74rem;text-transform:uppercase;letter-spacing:.08em}
body.auth-on .auth-divider:before,body.auth-on .auth-divider:after{content:'';flex:1;height:1px;background:var(--border)}
body.auth-on .auth-divider span{color:var(--text-muted);font-size:.74rem;font-weight:600}
body.auth-on .auth-google-btn{display:flex;align-items:center;justify-content:center;gap:.55rem;width:100%;height:auto;padding:.8rem;box-sizing:border-box;border-radius:13px;background:var(--input-bg);border:1px solid var(--border);color:var(--text);font-size:.86rem;font-weight:600;transition:background .2s,transform .15s,border-color .2s}
body.auth-on .auth-google-btn:hover{transform:translateY(-1px);border-color:var(--primary)}
body.auth-on .auth-google-ico{flex-shrink:0;display:block}
body.auth-on .auth-foot{text-align:center;margin:0;font-size:.85rem;color:var(--text-muted)}
body.auth-on .auth-foot a{color:var(--primary);font-weight:700}
body.auth-on .auth-foot a:hover{text-decoration:underline;text-underline-offset:3px}
body.auth-on .auth-foot-home{margin-top:8px}
body.auth-on .auth-page .alert{margin:0;border-radius:13px;padding:.8rem 1rem;font-size:.85rem;font-weight:600;border:1px solid transparent}
body.auth-on .auth-card .alert-ok{background:rgba(45,212,160,.08);color:var(--green);border-color:rgba(45,212,160,.4)}
body.auth-on .auth-pw-bars{display:flex;gap:.3rem;margin-top:.2rem}
body.auth-on .auth-pw-bars span{height:4px;flex:1;border-radius:2px;background:var(--border);transition:background .25s}
body.auth-on .auth-pw-bars span.s1{background:#ff6b6b}
body.auth-on .auth-pw-bars span.s2{background:#ff8a3d}
body.auth-on .auth-pw-bars span.s3{background:#ffb01f}
body.auth-on .auth-pw-bars span.s4{background:var(--green)}
body.auth-on .auth-pw-mismatch{color:var(--primary);font-size:.76rem;font-weight:600;display:none}
body.auth-on .auth-pw-mismatch.show{display:block}
body.auth-on .auth-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem}
body.auth-on .auth-chip{display:flex;align-items:center;gap:.45rem;padding:.42rem .8rem .42rem .42rem;border-radius:999px;border:1px solid var(--border);background:var(--header-bg);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);font-size:.78rem;font-weight:600;color:var(--text);transition:border-color .25s,transform .25s,background .25s}
body.auth-on .auth-chip .ic{width:22px;height:22px;border-radius:50%;overflow:hidden;flex:none;background:var(--input-bg)}
body.auth-on .auth-chip .ic img{width:100%;height:100%;object-fit:cover}
body.auth-on .auth-chip:hover{border-color:var(--primary);transform:translateY(-2px);background:rgba(var(--primary-rgb),.12)}
body.auth-on .auth-chips-hint{text-align:center;font-size:.74rem;color:var(--text-muted);letter-spacing:.04em;margin:0}
body.auth-on .lp-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media (max-width:640px){
  body.auth-on .auth-page{min-height:auto;padding:2rem 14px 2.6rem}
  body.auth-on .auth-head h1{font-size:1.55rem}
  body.auth-on .auth-card{padding:1.4rem 1.15rem}
  body.auth-on .auth-grid-2{grid-template-columns:1fr}
  body.auth-on .auth-row{flex-wrap:wrap}
  body.auth-on .auth-chips,body.auth-on .auth-chips-hint{display:none}
}
@media (prefers-reduced-motion:reduce){
  body.auth-on .auth-shell{animation:none}
}
