/* Giriş sayfası. Masaüstünde iki sütunlu tek pafta: solda ozalit zemin ve kendini çizen kat planı, sağda form.
   Mobilde yalnız form. site.css'ten sonra yüklenir; yalnız .auth altındaki öğeleri etkiler. */
.auth { padding: clamp(16px, 3.5vw, 44px) 0 clamp(28px, 5vw, 64px); }
.auth-sheet { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); max-width: 1120px; margin: 0 auto; min-height: min(640px, calc(100vh - 160px)); border: 1.5px solid var(--ink); border-radius: 8px; overflow: hidden; background: var(--sheet); }

/* sol: ozalit */
.auth-art { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px); border-inline-end: 1.5px solid var(--ink); min-width: 0; }
.auth-mark { display: flex; align-items: center; gap: 10px; margin: 0 0 clamp(18px, 2.4vw, 28px); font-weight: 680; letter-spacing: -0.02em; color: #fff; }
.auth-mark svg { width: 22px; height: 22px; color: #fff; }
.auth-art h2 { margin: 0; max-width: 18ch; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; color: #fff; }
.auth-perks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.auth-perks li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--cyan-line); }
.auth-perks li::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--marker); }
.auth-plan { margin-top: auto; padding-top: 24px; width: 100%; max-width: 310px; align-self: center; color: var(--cyan-line); }
.auth-plan svg { display: block; width: 100%; height: auto; }
.auth-plan .gap { stroke: var(--cyan); }
.auth-plan .hl { fill: var(--marker); opacity: .9; }
.auth-plan .lbl { font-family: inherit; font-weight: 600; font-stretch: 80%; }
.auth-plan .on-hl { fill: var(--ink); }

/* sağ: form */
.auth-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 56px); min-width: 0; }
.auth-form { width: 100%; max-width: 380px; margin: 0 auto; }
.auth-form h1 { margin: 0; font-size: clamp(30px, 2.5vw, 38px); line-height: 1.05; letter-spacing: -0.035em; }
.auth-form .sub { margin: 10px 0 26px; color: var(--graphite); font-size: 16px; line-height: 1.5; }
.auth-form .field label { font-size: 14px; }
.auth-form .btn-primary { width: 100%; }
.auth-form .fine { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--graphite); }
.auth-form .fine a { color: inherit; }
.auth-form .alert { margin-bottom: 18px; }
.auth-form .links { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* adımlar: ince ilerleme çizgisi */
.auth .login-steps { display: flex; gap: 8px; margin: 0 0 30px; padding: 0; border: 0; border-radius: 0; overflow: visible; }
.auth .login-steps li { flex: 1; padding: 9px 0 0; border: 0; border-top: 3px solid var(--rule); background: none; text-align: start; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); }
.auth .login-steps li::before { content: counter(ls) " "; }
.auth .login-steps li:has(~ li[aria-current="step"]) { border-top-color: var(--marker-deep); color: var(--ink); }
.auth .login-steps li[aria-current="step"] { border-top-color: var(--ink); background: none; color: var(--ink); }

/* kendini çizen plan */
@media (prefers-reduced-motion: no-preference) {
  .auth-plan .d { stroke-dasharray: 1; stroke-dashoffset: 1; animation: auth-draw 1.5s cubic-bezier(.65, .05, .25, 1) .15s forwards; }
  .auth-plan g:nth-of-type(3) .d { animation-delay: .55s; }
  .auth-plan g:nth-of-type(6) .d { animation-delay: 1s; animation-duration: 1s; }
  .auth-plan .f { opacity: 0; animation: auth-fade .7s ease 1.3s forwards; }
  .auth-plan .hl { animation: auth-fade-hl .7s ease 1.1s forwards; }
  .auth-art h2, .auth-perks li { animation: auth-rise .7s cubic-bezier(.2, .8, .2, 1) both; }
  .auth-perks li:nth-child(1) { animation-delay: .12s; }
  .auth-perks li:nth-child(2) { animation-delay: .2s; }
  .auth-perks li:nth-child(3) { animation-delay: .28s; }
}
@keyframes auth-draw { to { stroke-dashoffset: 0; } }
@keyframes auth-fade { to { opacity: 1; } }
@keyframes auth-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes auth-fade-hl { from { opacity: 0; } to { opacity: .9; } }

/* alçak masaüstü ekranı: pafta ekrana sığsın */
@media (min-width: 901px) and (max-height: 820px) { .auth-plan { max-width: 240px; } .auth-perks { gap: 6px; } }

/* dar ekran: yalnız form */
@media (max-width: 900px) {
  .auth-sheet { grid-template-columns: 1fr; min-height: 0; max-width: 520px; }
  .auth-art { display: none; }
  .auth-panel { padding: clamp(22px, 6vw, 36px); }
}
