/* Giriş sayfası: sakin kâğıt zeminde form + çerçeveli turuncu vitrin. Mobil uygulama bandı en altta. */

.auth {
  --paper: oklch(98.4% .006 60);
  --ink: oklch(21% .012 265);
  --ink-2: oklch(42% .012 265);
  --line: oklch(90% .008 60);
  --field: oklch(96.2% .008 60);
  --orange: rgb(250, 115, 21);           /* vitrin görselinin zeminiyle birebir */
  --on-orange: oklch(99% .01 60);
  min-height: 100vh; display: grid; grid-template-columns: minmax(380px, 5fr) 7fr; gap: 0;
  background: var(--paper); color: var(--ink);
}
[data-bs-theme="dark"] .auth {
  --paper: oklch(16% .008 265); --ink: oklch(95% .006 60); --ink-2: oklch(72% .01 265);
  --line: oklch(27% .01 265); --field: oklch(21% .01 265);
}

/* ── Sol: form ─────────────────────────────────────────── */
.auth-side { display: flex; flex-direction: column; padding: 36px clamp(28px, 4.5vw, 72px) 28px; min-height: 100vh; }
.auth-brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink-2); align-self: flex-start; }
.auth-brand img { height: 24px; }
.auth-brand span { font-size: 15px; font-weight: 500; padding-left: 10px; border-left: 1px solid var(--line); line-height: 1; }
[data-bs-theme="dark"] .auth-brand img { filter: brightness(0) invert(1); }

.auth-form { width: 100%; max-width: 392px; margin: auto 0; padding: 40px 0; }
.auth-form h1 { font-size: clamp(34px, 3vw, 44px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin: 0 0 10px; }
.auth-lead { color: var(--ink-2); font-size: 15px; margin: 0 0 36px; }

/* Etiket alanın içinde; yazınca yukarı küçülür */
.fld { position: relative; margin-bottom: 14px; }
.fld input { width: 100%; height: 60px; padding: 24px 18px 8px; border: 1px solid transparent; border-radius: 14px; background: var(--field); color: var(--ink); font: 500 15.5px Poppins, sans-serif; outline: 0; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.fld label { position: absolute; left: 19px; top: 19px; font-size: 15px; color: var(--ink-2); pointer-events: none; transform-origin: left top; transition: transform .22s cubic-bezier(.22, 1, .36, 1), color .2s; }
.fld input:focus, .fld input:not(:placeholder-shown) { background: var(--paper); border-color: var(--line); }
.fld input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px color-mix(in oklch, var(--orange) 16%, transparent); }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.76); color: var(--ink-2); }
.fld input:focus + label { color: var(--orange); }
.fld-eye { position: absolute; right: 8px; top: 10px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); }
.fld-eye:hover { color: var(--ink); background: color-mix(in oklch, var(--ink) 6%, transparent); }
.fld:has(.fld-eye) input { padding-right: 56px; }

.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 26px; font-size: 14px; }
.auth-row a { color: var(--ink-2); text-decoration: none; }
.auth-row a:hover { color: var(--orange); }
.chk { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.chk input { appearance: none; width: 20px; height: 20px; margin: 0; border-radius: 6px; border: 1.5px solid var(--line); background: var(--paper); display: grid; place-items: center; cursor: pointer; transition: background-color .15s, border-color .15s; }
.chk input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .15s; }
.chk input:checked { background: var(--orange); border-color: var(--orange); }
.chk input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.chk input:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.auth-btn { width: 100%; height: 58px; border: 0; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; background: var(--ink); color: var(--paper); font: 600 16px Poppins, sans-serif; transition: background-color .2s, transform .12s; }
.auth-btn .ico { width: 20px; height: 20px; transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
.auth-btn:hover { background: var(--orange); color: #fff; }
.auth-btn:hover .ico { transform: translateX(4px); }
.auth-btn:active { transform: scale(.99); }
.auth-btn:disabled { opacity: .6; }
.login-err { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 11px 14px; border-radius: 12px; font-size: 14px; color: oklch(55% .19 25); background: oklch(55% .19 25 / .08); }

.auth-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.auth-app { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.auth-app img { width: 30px; height: 30px; border-radius: 8px; }
.auth-app:hover { color: var(--orange); }
.auth-foot nav { display: flex; gap: 18px; }
.auth-foot nav a { color: var(--ink-2); text-decoration: none; }
.auth-foot nav a:hover { color: var(--orange); }

/* ── Sağ: çerçeveli vitrin ─────────────────────────────── */
.showcase { position: relative; overflow: hidden; margin: 14px 14px 14px 0; border-radius: 28px; background: var(--orange); color: var(--on-orange); padding: clamp(28px, 3.6vw, 52px); display: flex; flex-direction: column; }
.showcase-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pill-tag { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 99px; background: color-mix(in oklch, #fff 18%, transparent); font-size: 13px; font-weight: 600; }
.showcase-meta { font-size: 12.5px; font-weight: 500; opacity: .9; white-space: nowrap; }
.showcase h2 { margin: clamp(28px, 6vh, 64px) 0 14px; font-size: clamp(34px, 3.6vw, 58px); font-weight: 700; line-height: 1.04; letter-spacing: -.035em; max-width: 13em; }
.showcase h2, .showcase p, .showcase-top { position: relative; z-index: 2; }
.showcase p { margin: 0; max-width: 34ch; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.55; font-weight: 500; opacity: .94; }
/* Görsel 1600:1250; alta yaslı, ortalı, metin alanına taşmaz */
.showcase-img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 900px, calc((100vh - 310px) * 1.28)); height: auto; pointer-events: none; user-select: none; }

/* ── Açılış hareketi (sakin, sıralı) ───────────────────── */
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes img-in { from { opacity: 0; transform: translate(-50%, 28px); } }
.auth-form > * { animation: rise-in .7s cubic-bezier(.22, 1, .36, 1) both; }
.auth-form > :nth-child(2) { animation-delay: .05s; } .auth-form > :nth-child(3) { animation-delay: .1s; }
.auth-form > :nth-child(4) { animation-delay: .15s; } .auth-form > :nth-child(5) { animation-delay: .2s; }
.auth-form > :nth-child(n+6) { animation-delay: .25s; }
.showcase h2, .showcase p { animation: rise-in .8s .1s cubic-bezier(.22, 1, .36, 1) both; }
.showcase-img { animation: img-in 1s .2s cubic-bezier(.22, 1, .36, 1) both; }
@media (prefers-reduced-motion: reduce) { .auth *, .auth *::before { animation: none !important; transition: none !important; } }

@media (max-width: 1240px) { .showcase-meta { display: none; } }
@media (max-width: 980px) {
  .auth { grid-template-columns: 1fr; }
  .showcase { display: none; }
  .auth-form { max-width: 440px; margin: auto; }
  .auth-side { padding: 24px 20px; }
}

/* ── Mobil uygulama bandı ──────────────────────────────── */
.app-sheet { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 3000; background: var(--panel); border-radius: 22px; padding: 18px; box-shadow: 0 -4px 60px rgba(0, 0, 0, .22), 0 0 0 1px var(--border); animation: sheet-up .28s cubic-bezier(.2, .9, .3, 1); }
@keyframes sheet-up { from { transform: translateY(110%); } }
.app-sheet .row1 { display: flex; gap: 14px; align-items: center; }
.app-sheet img { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.app-sheet b { display: block; font-size: 16px; }
.app-sheet small { display: block; color: var(--muted); font-size: 13px; line-height: 1.45; }
.app-sheet .x { margin-left: auto; align-self: flex-start; }
.app-sheet ul { list-style: none; padding: 0; margin: 14px 0 16px; display: grid; gap: 8px; font-size: 13.5px; color: var(--fg2); }
.app-sheet li { display: flex; gap: 10px; align-items: center; }
.app-sheet li .ico { color: var(--accent); width: 18px; height: 18px; }
.app-sheet .get { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 14px; background: var(--primary); color: var(--on-primary); font-weight: 600; text-decoration: none; }
.app-sheet .later { display: block; width: 100%; margin-top: 8px; border: 0; background: none; color: var(--muted); font-size: 14px; padding: 10px; }
