/* ==========================================================================
   Fethiyede.com — T4791-G Blok 1 (G0001–G0045): Giriş & Kayıt (auth.php)
   Çok Boyutlu Kişiselleştirme + Gelişmiş Rehber & Kategori Asistanı Arayüzü
   Dosya: css/auth-t4791.css (YENİ DOSYA — Taban: YOK, auth.php 8570f54a salt-okunur)
   Kapsam: Yalnız :where(main.auth-page) ve auth asistan çekmecesi; site geneli sızıntı = 0.
   Kural: viewport="width=1280" sabit; hreflang/dil şeridi/NL/reklam dokunulmaz;
          CSS content ile metin/kategori üretimi = 0; tüm renk çiftleri WCAG 2.2 AA (>=4.5:1).
   ========================================================================== */

/* [G0001 & G0004] Temel Tasarım Tokenları (:where(main.auth-page) kapsamında, --fd-* ve anadolu-bakir bağlı) */
:where(main.auth-page) {
  --auth-font-sans: var(--fd-font-sans, Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  --auth-bg: var(--fd-surface-bg, var(--site-bg, #faf5ec));
  --auth-surface: var(--fd-surface-card, var(--site-surface, #ffffff));
  --auth-surface-2: var(--fd-surface-subtle, #f5efe4);
  --auth-surface-elevated: #ffffff;
  --auth-text: var(--fd-text-primary, var(--site-text, #18202b));
  --auth-muted: var(--fd-text-muted, var(--site-muted, #475569));
  --auth-accent: var(--fd-color-brand-700, var(--primary, #702d3b));
  --auth-accent-2: var(--fd-color-accent-600, var(--accent, #9a4722));
  --auth-accent-hover: var(--fd-color-brand-800, var(--primary-600, #58212d));
  --auth-accent-on: #ffffff;
  --auth-accent-soft: rgba(112, 45, 59, 0.10);
  --auth-welcome-bg: linear-gradient(140deg, var(--auth-accent) 0%, var(--auth-accent-2) 100%);
  --auth-welcome-fg: #ffffff;
  --auth-welcome-muted: rgba(255, 255, 255, 0.92);
  --auth-border: var(--fd-border-strong, #cbd5e1);
  --auth-border-subtle: var(--fd-border-subtle, #e2e8f0);
  --auth-focus-ring: var(--fd-focus-ring, #1d4ed8);
  --auth-placeholder: #526071;

  --auth-error-bg: var(--fd-status-err-bg, #fef2f2);
  --auth-error-fg: var(--fd-status-err-fg, #7f1d1d);
  --auth-error-bd: #dc2626;
  --auth-success-bg: var(--fd-status-ok-bg, #dcfce7);
  --auth-success-fg: var(--fd-status-ok-fg, #14532d);
  --auth-success-bd: #15803d;
  --auth-info-bg: #f1f5f9;
  --auth-info-fg: #1e293b;
  --auth-info-bd: #94a3b8;

  --auth-verify-tc-bg: #1e3a8a;
  --auth-verify-tc-on: #ffffff;
  --auth-verify-wa-bg: #047857;
  --auth-verify-wa-on: #ffffff;
  --auth-verify-sms-bg: #0369a1;
  --auth-verify-sms-on: #ffffff;
  --auth-verify-tg-bg: #006699;
  --auth-verify-tg-on: #ffffff;

  --auth-radius-card: 20px;
  --auth-radius-panel: 16px;
  --auth-radius-input: 12px;
  --auth-radius-btn: 12px;
  --auth-radius-pill: 999px;
  --auth-border-w: 1.5px;
  --auth-head-weight: 700;
  --auth-shadow-card: 0 20px 50px rgba(24, 32, 43, 0.12);
  --auth-shadow-btn: 0 8px 20px rgba(112, 45, 59, 0.22);
  --auth-space-1: 4px;
  --auth-space-2: 8px;
  --auth-space-3: 12px;
  --auth-space-4: 16px;
  --auth-space-5: 20px;
  --auth-space-6: 24px;
  --auth-space-8: 32px;
}

/* [G0004] Anadolu Bakır site teması vurgu uyumu */
body.site-ai-theme[data-theme="anadolu-bakir"] :where(main.auth-page),
body.site-ai-theme :where(main.auth-page) {
  --auth-accent: #702d3b;
  --auth-accent-2: #9a4722;
  --auth-accent-hover: #58212d;
  --auth-accent-on: #ffffff;
  --auth-accent-soft: rgba(154, 71, 34, 0.12);
  --auth-verify-tc-bg: #702d3b;
}

/* [G0002 & G0037] Açık (data-fzh="l") ve Koyu (data-fzh="d") Tema Paletleri (>= 4.5:1) */
html[data-fzh="l"] :where(main.auth-page) {
  --auth-bg: #faf5ec;
  --auth-surface: #ffffff;
  --auth-surface-2: #f4efe6;
  --auth-surface-elevated: #ffffff;
  --auth-text: #18202b;
  --auth-muted: #475569;
  --auth-placeholder: #526071;
  --auth-border: #cbd5e1;
  --auth-border-subtle: #e2e8f0;
  --auth-focus-ring: #1d4ed8;
}

html[data-fzh="d"] :where(main.auth-page),
html[data-theme="dark"] :where(main.auth-page),
body.dark-mode :where(main.auth-page) {
  --auth-bg: #0b1120;
  --auth-surface: #111827;
  --auth-surface-2: #1e293b;
  --auth-surface-elevated: #1f2937;
  --auth-text: #f8fafc;
  --auth-muted: #cbd5e1;
  --auth-placeholder: #94a3b8;
  --auth-accent: #f59e0b;
  --auth-accent-2: #fb923c;
  --auth-accent-hover: #fbbf24;
  --auth-accent-on: #0f172a;
  --auth-accent-soft: rgba(245, 158, 11, 0.16);
  --auth-welcome-bg: linear-gradient(145deg, #1e1b4b 0%, #3b1d2e 55%, #451a03 100%);
  --auth-welcome-fg: #f8fafc;
  --auth-welcome-muted: #e2e8f0;
  --auth-border: #475569;
  --auth-border-subtle: #334155;
  --auth-focus-ring: #38bdf8;
  --auth-error-bg: #3b1219;
  --auth-error-fg: #fecaca;
  --auth-error-bd: #f87171;
  --auth-success-bg: #0f2e22;
  --auth-success-fg: #bbf7d0;
  --auth-success-bd: #4ade80;
  --auth-info-bg: #1e293b;
  --auth-info-fg: #e2e8f0;
  --auth-info-bd: #475569;
  --auth-verify-tc-bg: #93c5fd;
  --auth-verify-tc-on: #0f172a;
  --auth-verify-wa-bg: #34d399;
  --auth-verify-wa-on: #052e16;
  --auth-verify-sms-bg: #38bdf8;
  --auth-verify-sms-on: #082f49;
  --auth-verify-tg-bg: #7dd3fc;
  --auth-verify-tg-on: #082f49;
  --auth-shadow-card: 0 24px 56px rgba(0, 0, 0, 0.55);
  --auth-shadow-btn: 0 8px 22px rgba(0, 0, 0, 0.45);
}

/* [G0005] Cihaz Varyantları (html[data-fzd=iphone|android|samsung|tablet|fuzyon]) */
html[data-fzd="fuzyon"] :where(main.auth-page) {
  --auth-radius-card: 20px;
  --auth-radius-panel: 18px;
  --auth-radius-input: 12px;
  --auth-radius-btn: 12px;
  --auth-shadow-card: 0 0 0 1px rgba(112, 45, 59, 0.14), 0 22px 48px rgba(15, 23, 42, 0.14);
}
html[data-fzd="iphone"] :where(main.auth-page) {
  --auth-radius-card: 26px;
  --auth-radius-panel: 22px;
  --auth-radius-input: 14px;
  --auth-radius-btn: 999px;
  --auth-shadow-card: 0 16px 40px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
html[data-fzd="iphone"] :where(main.auth-page) :is(.auth-main-card, aside.auth-guide) {
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
html[data-fzd="android"] :where(main.auth-page) {
  --auth-radius-card: 14px;
  --auth-radius-panel: 12px;
  --auth-radius-input: 8px;
  --auth-radius-btn: 10px;
  --auth-shadow-card: 0 2px 6px rgba(0, 0, 0, 0.14), 0 8px 20px rgba(0, 0, 0, 0.08);
}
html[data-fzd="samsung"] :where(main.auth-page) {
  --auth-radius-card: 30px;
  --auth-radius-panel: 26px;
  --auth-radius-input: 18px;
  --auth-radius-btn: 999px;
  --auth-shadow-card: 0 18px 42px rgba(15, 23, 42, 0.16);
}
html[data-fzd="tablet"] :where(main.auth-page) {
  --auth-radius-card: 24px;
  --auth-radius-panel: 20px;
  --auth-radius-input: 14px;
  --auth-radius-btn: 14px;
  --auth-shadow-card: 10px 10px 24px rgba(15, 23, 42, 0.12), -6px -6px 18px rgba(255, 255, 255, 0.75);
}
html[data-fzh="d"][data-fzd="tablet"] :where(main.auth-page) {
  --auth-shadow-card: 10px 10px 26px rgba(0, 0, 0, 0.55), -4px -4px 14px rgba(255, 255, 255, 0.04);
}

/* [G0006] Tarz Varyantları (html[data-fzt=zarif|dengeli|guclu]) */
html[data-fzt="zarif"] :where(main.auth-page) {
  --auth-head-weight: 600;
  --auth-border-w: 1px;
  --auth-radius-input: 16px;
  --auth-accent: #86198f;
  --auth-accent-2: #6d28d9;
  --auth-accent-hover: #701a75;
  --auth-accent-on: #ffffff;
}
html[data-fzh="d"][data-fzt="zarif"] :where(main.auth-page) {
  --auth-accent: #e879f9;
  --auth-accent-2: #c084fc;
  --auth-accent-hover: #f0abfc;
  --auth-accent-on: #1e1028;
}
html[data-fzt="dengeli"] :where(main.auth-page) {
  --auth-head-weight: 700;
  --auth-border-w: 1.5px;
}
html[data-fzt="guclu"] :where(main.auth-page) {
  --auth-head-weight: 800;
  --auth-border-w: 2px;
  --auth-radius-card: 10px;
  --auth-radius-panel: 10px;
  --auth-radius-input: 6px;
  --auth-radius-btn: 6px;
  --auth-shadow-card: 5px 5px 0 rgba(15, 23, 42, 0.85);
}
html[data-fzh="d"][data-fzt="guclu"] :where(main.auth-page) {
  --auth-shadow-card: 5px 5px 0 rgba(248, 250, 252, 0.28);
}

/* [G0007] Meslek Varyantları (YALNIZ mevcut 6 meslek: esnaf, turizm, teknoloji, basin, ogrenci, saglik; metin üretimi = 0) */
html[data-fzm="esnaf"] :where(main.auth-page) {
  --auth-accent: #9a3412; --auth-accent-2: #b45309; --auth-accent-hover: #7c2d12; --auth-accent-on: #ffffff;
  --auth-accent-soft: rgba(180, 83, 9, 0.12); --auth-welcome-bg: linear-gradient(135deg, #7c2d12 0%, #b45309 100%);
}
html[data-fzm="turizm"] :where(main.auth-page) {
  --auth-accent: #0e7490; --auth-accent-2: #0f766e; --auth-accent-hover: #155e75; --auth-accent-on: #ffffff;
  --auth-accent-soft: rgba(14, 116, 144, 0.12); --auth-welcome-bg: linear-gradient(135deg, #164e63 0%, #0e7490 60%, #0d9488 100%);
}
html[data-fzm="teknoloji"] :where(main.auth-page) {
  --auth-accent: #5b21b6; --auth-accent-2: #4338ca; --auth-accent-hover: #4c1d95; --auth-accent-on: #ffffff;
  --auth-accent-soft: rgba(109, 40, 217, 0.12); --auth-welcome-bg: linear-gradient(135deg, #312e81 0%, #5b21b6 65%, #1d4ed8 100%);
}
html[data-fzm="basin"] :where(main.auth-page) {
  --auth-accent: #991b1b; --auth-accent-2: #b91c1c; --auth-accent-hover: #7f1d1d; --auth-accent-on: #ffffff;
  --auth-accent-soft: rgba(185, 28, 28, 0.12); --auth-welcome-bg: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 100%);
}
html[data-fzm="ogrenci"] :where(main.auth-page) {
  --auth-accent: #166534; --auth-accent-2: #15803d; --auth-accent-hover: #14532d; --auth-accent-on: #ffffff;
  --auth-accent-soft: rgba(21, 128, 61, 0.12); --auth-welcome-bg: linear-gradient(135deg, #14532d 0%, #15803d 65%, #0f766e 100%);
}
html[data-fzm="saglik"] :where(main.auth-page) {
  --auth-accent: #115e59; --auth-accent-2: #0f766e; --auth-accent-hover: #134e4a; --auth-accent-on: #ffffff;
  --auth-accent-soft: rgba(15, 118, 110, 0.12); --auth-welcome-bg: linear-gradient(135deg, #134e4a 0%, #0f766e 65%, #0369a1 100%);
}
html[data-fzh="d"][data-fzm="esnaf"] :where(main.auth-page) {
  --auth-accent: #fbbf24; --auth-accent-2: #f59e0b; --auth-accent-hover: #fde68a; --auth-accent-on: #1c1004; --auth-accent-soft: rgba(251, 191, 36, 0.16);
}
html[data-fzh="d"][data-fzm="turizm"] :where(main.auth-page) {
  --auth-accent: #22d3ee; --auth-accent-2: #2dd4bf; --auth-accent-hover: #67e8f9; --auth-accent-on: #042026; --auth-accent-soft: rgba(34, 211, 238, 0.16);
}
html[data-fzh="d"][data-fzm="teknoloji"] :where(main.auth-page) {
  --auth-accent: #c084fc; --auth-accent-2: #818cf8; --auth-accent-hover: #d8b4fe; --auth-accent-on: #1a0933; --auth-accent-soft: rgba(192, 132, 252, 0.16);
}
html[data-fzh="d"][data-fzm="basin"] :where(main.auth-page) {
  --auth-accent: #fca5a5; --auth-accent-2: #f87171; --auth-accent-hover: #fecaca; --auth-accent-on: #2a0707; --auth-accent-soft: rgba(248, 113, 113, 0.16);
}
html[data-fzh="d"][data-fzm="ogrenci"] :where(main.auth-page) {
  --auth-accent: #4ade80; --auth-accent-2: #34d399; --auth-accent-hover: #86efac; --auth-accent-on: #052e16; --auth-accent-soft: rgba(74, 222, 128, 0.16);
}
html[data-fzh="d"][data-fzm="saglik"] :where(main.auth-page) {
  --auth-accent: #2dd4bf; --auth-accent-2: #38bdf8; --auth-accent-hover: #5eead4; --auth-accent-on: #042f2e; --auth-accent-soft: rgba(45, 212, 191, 0.16);
}

/* [G0003] Özel Temalar (html[data-fzx-tema=neon|kor|kece]) */
html[data-fzx-tema="neon"] :where(main.auth-page) {
  --auth-bg: #0b0518; --auth-surface: #130924; --auth-surface-2: #1d0f36; --auth-surface-elevated: #241342;
  --auth-text: #f4eeff; --auth-muted: #d2c2f5; --auth-placeholder: #b7a2e6;
  --auth-accent: #00f0ff; --auth-accent-2: #a855f7; --auth-accent-hover: #67e8f9; --auth-accent-on: #090412;
  --auth-accent-soft: rgba(0, 240, 255, 0.15);
  --auth-welcome-bg: linear-gradient(140deg, #240a4d 0%, #4c1d95 55%, #0e4f6e 100%);
  --auth-welcome-fg: #f4eeff; --auth-welcome-muted: #e9d5ff;
  --auth-border: #5b3494; --auth-border-subtle: #3d2168; --auth-focus-ring: #00f0ff;
  --auth-error-bg: #3b0d26; --auth-error-fg: #fbcfe8; --auth-error-bd: #f472b6;
  --auth-success-bg: #08332c; --auth-success-fg: #99f6e4; --auth-success-bd: #2dd4bf;
  --auth-info-bg: #1d0f36; --auth-info-fg: #ede9fe; --auth-info-bd: #6d28d9;
  --auth-verify-tc-bg: #c4b5fd; --auth-verify-tc-on: #130924;
  --auth-verify-wa-bg: #5eead4; --auth-verify-wa-on: #042f2e;
  --auth-verify-sms-bg: #67e8f9; --auth-verify-sms-on: #082f49;
  --auth-verify-tg-bg: #7dd3fc; --auth-verify-tg-on: #082f49;
  --auth-shadow-card: 0 0 0 1px rgba(157, 78, 221, 0.48), 0 18px 44px rgba(0, 0, 0, 0.72), 0 0 28px rgba(0, 240, 255, 0.14);
}
html[data-fzx-tema="kor"] :where(main.auth-page) {
  --auth-bg: #110c0a; --auth-surface: #18120f; --auth-surface-2: #261c18; --auth-surface-elevated: #2e221d;
  --auth-text: #f7efea; --auth-muted: #decbc0; --auth-placeholder: #bfa99c;
  --auth-accent: #ff8a3d; --auth-accent-2: #f97316; --auth-accent-hover: #fdba74; --auth-accent-on: #160b04;
  --auth-accent-soft: rgba(255, 138, 61, 0.16);
  --auth-welcome-bg: linear-gradient(140deg, #2d140a 0%, #5c2410 60%, #3b1812 100%);
  --auth-welcome-fg: #fff7ed; --auth-welcome-muted: #fed7aa;
  --auth-border: #5c4338; --auth-border-subtle: #433029; --auth-focus-ring: #ff8a3d;
  --auth-error-bg: #3f1313; --auth-error-fg: #fecaca; --auth-error-bd: #f87171;
  --auth-success-bg: #123120; --auth-success-fg: #bbf7d0; --auth-success-bd: #4ade80;
  --auth-info-bg: #261c18; --auth-info-fg: #f5ede8; --auth-info-bd: #6b4e42;
  --auth-verify-tc-bg: #fdba74; --auth-verify-tc-on: #1c0f06;
  --auth-verify-wa-bg: #6ee7b7; --auth-verify-wa-on: #052e16;
  --auth-verify-sms-bg: #7dd3fc; --auth-verify-sms-on: #082f49;
  --auth-verify-tg-bg: #93c5fd; --auth-verify-tg-on: #0c1f3f;
  --auth-shadow-card: 0 18px 42px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
html[data-fzx-tema="kece"] :where(main.auth-page) {
  --auth-bg: #f4ece0; --auth-surface: #fffcf6; --auth-surface-2: #fbf4e6; --auth-surface-elevated: #ffffff;
  --auth-text: #2b1d0e; --auth-muted: #5c4632; --auth-placeholder: #6c543e;
  --auth-accent: #a3122a; --auth-accent-2: #8c2d19; --auth-accent-hover: #7f0d20; --auth-accent-on: #ffffff;
  --auth-accent-soft: rgba(163, 18, 42, 0.10);
  --auth-welcome-bg: linear-gradient(140deg, #7f0d20 0%, #a3122a 65%, #7c2d12 100%);
  --auth-welcome-fg: #fffcf6; --auth-welcome-muted: #fde8e8;
  --auth-border: #cbb696; --auth-border-subtle: #e3d5be; --auth-focus-ring: #a3122a;
  --auth-info-bg: #fbf4e6; --auth-info-fg: #2b1d0e; --auth-info-bd: #cbb696;
  --auth-shadow-card: 0 12px 30px rgba(90, 50, 30, 0.12);
}
html[data-fzx-tema="kece"] :where(main.auth-page) .auth-main-card {
  outline: 1.5px dashed rgba(163, 18, 42, 0.26);
  outline-offset: -7px;
}

/* [G0007] Meslek Görsel Arması (Saf geometrik şerit, metin üretimi YOK) */
html[data-fzm] :where(main.auth-page) .auth-welcome {
  position: relative;
  border-block-start: 6px solid var(--auth-accent);
}

/* [G0008 & G0020 & G0024] Sayfa Yerleşimi, 4/8px Ritim, Kırılımlar ve RTL */
main.auth-page {
  min-height: calc(100vh - 180px);
  min-height: calc(100dvh - 180px);
  background: var(--auth-bg);
  color: var(--auth-text);
  font-family: var(--auth-font-sans);
  padding-block: 40px 56px;
  padding-inline: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: clip;
}
main.auth-page *, main.auth-page *::before, main.auth-page *::after { box-sizing: border-box; }

main.auth-page .auth-wrapper {
  width: 100%; max-width: 1120px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start;
}
@media (min-width: 1024px) {
  main.auth-page .auth-wrapper:has(> aside.auth-guide) {
    max-width: 1240px; grid-template-columns: minmax(0, 1fr) 376px; gap: 24px;
  }
}
main.auth-page .auth-main-card {
  background: var(--auth-surface); border: var(--auth-border-w) solid var(--auth-border-subtle);
  border-radius: var(--auth-radius-card); box-shadow: var(--auth-shadow-card);
  overflow: hidden; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 560px; max-width: 100%;
}
@media (min-width: 1024px) and (max-width: 1199.98px) {
  main.auth-page .auth-wrapper:has(> aside.auth-guide) .auth-main-card { grid-template-columns: minmax(0, 1fr); }
}

/* [G0019] Karşılama Bloğu */
main.auth-page .auth-welcome {
  background: var(--auth-welcome-bg); color: var(--auth-welcome-fg);
  padding-block: 44px; padding-inline: 36px;
  display: flex; flex-direction: column; justify-content: flex-start; padding-block-start: 48px; min-width: 0; max-width: 100%;
}
main.auth-page .auth-welcome h1 {
  font-size: clamp(1.85rem, 3vw, 2.75rem); font-weight: var(--auth-head-weight);
  line-height: 1.18; margin-block: 0 16px; color: var(--auth-welcome-fg);
  overflow-wrap: anywhere; word-break: break-word; text-wrap: balance;
}
main.auth-page .auth-welcome p {
  font-size: clamp(0.95rem, 1.25vw, 1.0625rem); line-height: 1.68; margin-block: 0;
  color: var(--auth-welcome-muted); opacity: 1; overflow-wrap: anywhere; word-break: break-word;
}
main.auth-page .auth-form-section {
  background: var(--auth-surface); color: var(--auth-text);
  padding-block: 36px; padding-inline: 36px;
  display: flex; flex-direction: column; min-width: 0; max-width: 100%;
}

/* [G0009] Sekme Düğmeleri (.auth-tab >=44px) */
main.auth-page .auth-tabs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 6px;
  margin-block: 0 24px; background: var(--auth-surface-2);
  border: 1px solid var(--auth-border-subtle); border-radius: var(--auth-radius-input);
}
main.auth-page .auth-tab {
  min-height: 46px; padding-block: 10px; padding-inline: 16px;
  border-radius: calc(var(--auth-radius-input) - 4px); border: 1.5px solid transparent;
  background: transparent; color: var(--auth-muted); font-family: inherit;
  font-size: 1rem; font-weight: 700; line-height: 1.25; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
main.auth-page .auth-tab:hover { color: var(--auth-text); background: var(--auth-accent-soft); }
main.auth-page .auth-tab.active, main.auth-page .auth-tab[aria-selected="true"] {
  background: var(--auth-accent); color: var(--auth-accent-on); border-color: var(--auth-accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
main.auth-page :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--auth-focus-ring); outline-offset: 2px;
}
main.auth-page .auth-tab-content { display: none; flex: 1; min-width: 0; }
main.auth-page .auth-tab-content.active { display: flex; flex-direction: column; }
main.auth-page .auth-tab-content h2 {
  font-size: clamp(1.35rem, 2vw, 1.65rem); font-weight: var(--auth-head-weight);
  color: var(--auth-text); margin-block: 0 20px; line-height: 1.25;
}

/* [G0025] Kayıt Formu Adım Göstergesi (.auth-progress) */
main.auth-page .auth-progress {
  display: flex; align-items: center; gap: 8px; margin-block: 0 20px; padding: 10px 12px;
  background: var(--auth-surface-2); border-radius: var(--auth-radius-input); border: 1px solid var(--auth-border-subtle);
}
main.auth-page .auth-progress__item {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--auth-muted);
}
main.auth-page .auth-progress__item.is-active { color: var(--auth-text); font-weight: 700; }
main.auth-page .auth-progress__dot {
  width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800; background: var(--auth-border-subtle); color: var(--auth-text); flex-shrink: 0;
}
main.auth-page .auth-progress__item:is(.is-active, .is-done) .auth-progress__dot {
  background: var(--auth-accent); color: var(--auth-accent-on);
}

/* [G0010 & G0020] Form Girdileri (>=44px, 16px, AA placeholder) */
main.auth-page .auth-form-group { margin-block: 0 16px; min-width: 0; position: relative; }
main.auth-page .auth-form-label {
  display: block; margin-block: 0 6px; font-size: 0.875rem; font-weight: 700; line-height: 1.35; color: var(--auth-text);
}
main.auth-page .auth-form-input {
  width: 100%; min-height: 48px; padding-block: 11px; padding-inline: 14px;
  background-color: var(--auth-surface-elevated); color: var(--auth-text);
  border: var(--auth-border-w) solid var(--auth-border); border-radius: var(--auth-radius-input);
  font-family: inherit; font-size: 16px; line-height: 1.4;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
main.auth-page .auth-form-input::placeholder { color: var(--auth-placeholder); opacity: 1; }
main.auth-page .auth-form-input:hover { border-color: var(--auth-muted); }
main.auth-page .auth-form-input:focus {
  outline: none; border-color: var(--auth-accent); box-shadow: 0 0 0 3px var(--auth-accent-soft);
}

/* [G0011 & G0012] Hata ve Başarı Durumları */
main.auth-page .auth-message {
  padding-block: 12px; padding-inline: 16px; border-radius: var(--auth-radius-input);
  margin-block: 0 20px; font-size: 0.9375rem; font-weight: 600; line-height: 1.5;
  display: flex; align-items: flex-start; gap: 10px;
}
main.auth-page :is(.auth-message.error, .auth-message--error) {
  background-color: var(--auth-error-bg); color: var(--auth-error-fg); border: 1.5px solid var(--auth-error-bd);
}
main.auth-page :is(.auth-message.error, .auth-message--error)::before {
  content: ""; width: 20px; height: 20px; flex-shrink: 0; margin-block-start: 2px; background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
main.auth-page .auth-form-input[aria-invalid="true"], main.auth-page .auth-form-input.is-invalid {
  border-color: var(--auth-error-bd); padding-inline-end: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2.2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16h.01'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px 20px;
}
html[dir="rtl"] main.auth-page .auth-form-input[aria-invalid="true"] { background-position: left 12px center; }

main.auth-page :is(.auth-message.success, .auth-message--success) {
  background-color: var(--auth-success-bg); color: var(--auth-success-fg); border: 1.5px solid var(--auth-success-bd);
}
main.auth-page :is(.auth-message.success, .auth-message--success)::before {
  content: ""; width: 20px; height: 20px; flex-shrink: 0; margin-block-start: 2px; background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8.5 12.5 2.3 2.3 4.7-4.8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8.5 12.5 2.3 2.3 4.7-4.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
main.auth-page .auth-form-input[data-verified="true"], main.auth-page .auth-form-input.is-verified {
  border-color: var(--auth-success-bd); padding-inline-end: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='2.4'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8.5 12.5 2.3 2.3 4.7-4.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px 20px;
}
main.auth-page .auth-verified-badge {
  display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 4px 10px;
  border-radius: var(--auth-radius-pill); background: var(--auth-success-bg); color: var(--auth-success-fg);
  border: 1px solid var(--auth-success-bd); font-size: 0.8125rem; font-weight: 700;
}

/* [G0013] Ana Düğme ve Spinner */
main.auth-page .auth-form-button {
  width: 100%; min-height: 48px; padding-block: 12px; padding-inline: 18px;
  background: var(--auth-accent); color: var(--auth-accent-on);
  border: 1.5px solid transparent; border-radius: var(--auth-radius-btn);
  font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1.3; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-block-start: 8px;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
main.auth-page .auth-form-button:hover {
  background: var(--auth-accent-hover); transform: translateY(-1px); box-shadow: var(--auth-shadow-btn);
}
main.auth-page .auth-form-button:active { transform: translateY(0); }
@keyframes authSpinT4791 { to { transform: rotate(360deg); } }
main.auth-page .auth-form-button[aria-busy="true"] { position: relative; pointer-events: none; opacity: 0.92; }
main.auth-page .auth-form-button[aria-busy="true"]::after {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid currentColor; border-block-start-color: transparent;
  display: inline-block; flex-shrink: 0; animation: authSpinT4791 0.75s linear infinite;
}

/* [G0014] Parola Göster/Gizle (.auth-pw-toggle) */
main.auth-page .auth-pw-wrap { position: relative; display: flex; align-items: center; }
main.auth-page .auth-pw-wrap .auth-form-input { padding-inline-end: 52px; }
main.auth-page .auth-pw-toggle {
  position: absolute; inset-inline-end: 4px; inset-block-start: 50%; transform: translateY(-50%);
  min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid transparent;
  border-radius: calc(var(--auth-radius-input) - 2px); background: transparent; color: var(--auth-muted);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 600;
}
main.auth-page .auth-pw-toggle:hover { color: var(--auth-text); background: var(--auth-surface-2); }
main.auth-page .auth-pw-toggle[aria-pressed="true"] {
  color: var(--auth-accent); background: var(--auth-accent-soft); border-color: var(--auth-accent);
}

/* [G0015 & G0016 & G0017] Doğrulama Düğmeleri, 6 Haneli Kod Satırı ve Telegram Adım Kutusu */
main.auth-page :is(.auth-btn--verify-tc, #btnCheckTc) {
  background: var(--auth-verify-tc-bg) !important; color: var(--auth-verify-tc-on) !important;
  font-size: 0.9375rem !important; min-height: 46px; margin-block-start: 10px;
}
main.auth-page :is(.auth-btn--wa, #btnSendPhoneWhatsApp, #btnTelegramSendCode, #btnVerifyPhoneCode, #btnSendEmailCode, #btnVerifyEmailCode) {
  background: var(--auth-verify-wa-bg) !important; color: var(--auth-verify-wa-on) !important;
  font-size: 0.9375rem !important; min-height: 46px;
}
main.auth-page :is(.auth-btn--sms, #btnSendPhoneSms) {
  background: var(--auth-verify-sms-bg) !important; color: var(--auth-verify-sms-on) !important;
  font-size: 0.9375rem !important; min-height: 46px;
}
main.auth-page :is(.auth-btn--tg, #btnSendPhoneTelegram, #telegramBotLink) {
  background: var(--auth-verify-tg-bg) !important; color: var(--auth-verify-tg-on) !important;
  font-size: 0.9375rem !important; min-height: 46px;
}
main.auth-page :is(.auth-btn--wa, .auth-btn--sms, .auth-btn--tg, #btnSendPhoneWhatsApp, #btnSendPhoneSms, #btnSendPhoneTelegram) {
  justify-content: flex-start; text-align: start !important; padding-inline: 16px !important; margin-block-start: 0;
}
main.auth-page .auth-code-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block-start: 12px; }
main.auth-page :is(.auth-code-row .auth-form-input, #phoneCodeInput, #emailCodeInput) {
  flex: 1 1 168px; max-width: 220px !important; min-width: 148px; margin-inline-end: 8px !important;
  font-variant-numeric: tabular-nums; letter-spacing: 0.12em; font-weight: 700; text-align: center;
}
main.auth-page :is(.auth-code-row .auth-form-button, #btnVerifyPhoneCode, #btnVerifyEmailCode) {
  width: auto; flex: 0 0 auto; min-width: 136px; margin-block-start: 0;
}
main.auth-page :is(.auth-steps-box, #telegramStepsBox) {
  margin-block: 0 14px !important; padding: 16px !important;
  background: var(--auth-info-bg) !important; color: var(--auth-info-fg) !important;
  border: 1.5px solid var(--auth-info-bd) !important; border-radius: var(--auth-radius-input) !important;
}
main.auth-page :is(.auth-steps-box, #telegramStepsBox) p { color: var(--auth-info-fg) !important; line-height: 1.5; }

/* [G0018 & G0020 & G0043 & G0044 & G0045] Sosyal Düğmeler, Ayırıcı, OAuth Boş/Nötr Kutu ve Profil Sürekliliği */
main.auth-page .auth-social-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-block: 0 20px; }
main.auth-page .auth-social-btn {
  min-height: 46px; padding: 10px 14px; border-radius: var(--auth-radius-btn); font-size: 0.875rem; font-weight: 700;
  color: #ffffff; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14); transition: transform 0.16s ease, filter 0.16s ease;
}
main.auth-page .auth-social-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
main.auth-page .auth-social-btn--fb { background: #1877f2; }
main.auth-page .auth-social-btn--linkedin { background: #0a66c2; }
main.auth-page .auth-social-btn--google { background: #c5221f; }
main.auth-page .auth-social-btn--x { background: #0f1419; border-color: rgba(255, 255, 255, 0.24); }
main.auth-page .auth-social-btn--instagram { background: linear-gradient(135deg, #c13584 0%, #e1306c 55%, #833ab4 100%); }
main.auth-page .auth-divider {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 12px;
  color: var(--auth-muted); font-size: 0.8125rem; font-weight: 600; margin-block: 12px 4px; text-align: center;
}
main.auth-page .auth-divider::before, main.auth-page .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--auth-border-subtle);
}
main.auth-page :is(.auth-note, .auth-oauth-note, .auth-oauth-empty, #loginTab > p[style], #registerForm p[style]) {
  padding: 12px 14px; border-radius: var(--auth-radius-input); background: var(--auth-surface-2);
  color: var(--auth-muted) !important; border: 1px solid var(--auth-border-subtle);
  font-size: 0.84375rem !important; line-height: 1.5; margin-block: 0 16px !important;
}
:where(main.auth-page, .auth-profile-bridge) .auth-profile-summary {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; border-radius: var(--auth-radius-card, 20px); background: var(--auth-surface, #ffffff);
  color: var(--auth-text, #18202b); border: 1.5px solid var(--auth-border-subtle, #e2e8f0);
}

/* [G0026–G0040] REHBER VE KATEGORİ ASİSTANI (aside.auth-guide) */
main.auth-page aside.auth-guide {
  background: var(--auth-surface); color: var(--auth-text);
  border: var(--auth-border-w) solid var(--auth-border-subtle); border-radius: var(--auth-radius-panel);
  box-shadow: var(--auth-shadow-card); display: flex; flex-direction: column; gap: 16px;
  padding: 20px; min-width: 0; max-width: 100%;
}
@media (min-width: 1024px) {
  main.auth-page aside.auth-guide {
    position: sticky; inset-block-start: 88px; max-height: calc(100dvh - 108px);
    overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
  }
  main.auth-page .auth-guide__toggle { display: none; }
}
main.auth-page .auth-guide__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-block-end: 12px; border-block-end: 1px solid var(--auth-border-subtle);
}
main.auth-page .auth-guide__eyebrow {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--auth-accent); margin-block-end: 2px;
}
main.auth-page .auth-guide__title { font-size: 1.125rem; font-weight: var(--auth-head-weight); line-height: 1.28; margin: 0; color: var(--auth-text); }
main.auth-page .auth-guide__close {
  min-width: 44px; min-height: 44px; padding: 8px; border-radius: var(--auth-radius-btn);
  border: 1px solid var(--auth-border); background: var(--auth-surface-2); color: var(--auth-text);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
main.auth-page .auth-guide__progress { display: flex; flex-direction: column; gap: 6px; }
main.auth-page .auth-guide__progress-meta {
  display: flex; justify-content: space-between; font-size: 0.8125rem; font-weight: 600; color: var(--auth-muted); font-variant-numeric: tabular-nums;
}
main.auth-page .auth-guide__progress-bar {
  width: 100%; height: 8px; border-radius: var(--auth-radius-pill); background: var(--auth-surface-2); overflow: hidden; border: 1px solid var(--auth-border-subtle);
}
main.auth-page .auth-guide__progress-fill {
  height: 100%; width: var(--auth-step-pct, 33%); background: linear-gradient(90deg, var(--auth-accent), var(--auth-accent-2)); border-radius: var(--auth-radius-pill);
}
main.auth-page .auth-guide__search {
  width: 100%; min-height: 46px; padding-block: 10px; padding-inline: 38px 14px;
  border-radius: var(--auth-radius-pill); border: var(--auth-border-w) solid var(--auth-border);
  background-color: var(--auth-surface-elevated);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 13px center; color: var(--auth-text); font-family: inherit; font-size: 16px;
}
html[dir="rtl"] main.auth-page .auth-guide__search { background-position: right 13px center; }
main.auth-page .auth-guide__search::placeholder { color: var(--auth-placeholder); opacity: 1; }
main.auth-page .auth-guide__empty {
  padding: 14px; border-radius: var(--auth-radius-input); background: var(--auth-surface-2);
  border: 1px dashed var(--auth-border); color: var(--auth-muted); font-size: 0.875rem; text-align: center;
}
main.auth-page .auth-guide__empty[hidden] { display: none; }

main.auth-page .auth-guide__steps ol {
  list-style: none; margin: 0; padding: 0; counter-reset: authGuideStep; display: flex; flex-direction: column; gap: 10px;
}
main.auth-page .auth-guide__step {
  counter-increment: authGuideStep; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px;
  align-items: start; padding: 10px 12px; border-radius: var(--auth-radius-input);
  background: var(--auth-surface-2); border: 1px solid var(--auth-border-subtle); color: var(--auth-text); font-size: 0.875rem; line-height: 1.45;
}
main.auth-page .auth-guide__step::before {
  content: counter(authGuideStep); width: 28px; height: 28px; border-radius: 50%;
  background: var(--auth-surface); border: 1.5px solid var(--auth-border); color: var(--auth-muted);
  font-size: 0.8125rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}
main.auth-page .auth-guide__step.is-active { border-color: var(--auth-accent); background: var(--auth-accent-soft); }
main.auth-page .auth-guide__step.is-active::before { background: var(--auth-accent); border-color: var(--auth-accent); color: var(--auth-accent-on); }
main.auth-page .auth-guide__step.is-done { border-color: var(--auth-success-bd); }
main.auth-page .auth-guide__step.is-done::before {
  content: ""; background-color: var(--auth-success-bd); border-color: var(--auth-success-bd);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

main.auth-page .auth-guide__tips-list { display: flex; flex-direction: column; gap: 8px; }
main.auth-page .auth-guide__tips {
  padding: 10px 12px; border-radius: var(--auth-radius-input); background: var(--auth-surface-2);
  border-inline-start: 3px solid var(--auth-border); color: var(--auth-muted); font-size: 0.8125rem; line-height: 1.45;
}
main.auth-page .auth-guide__tips.is-active,
main.auth-page .auth-form-group:focus-within .auth-guide__tips,
main.auth-page:has(input[name="email"]:focus) .auth-guide__tips[data-for="email"],
main.auth-page:has(input[name="password"]:focus, input[name="password_confirm"]:focus) .auth-guide__tips[data-for="password"],
main.auth-page:has(input[name="tc_no"]:focus) .auth-guide__tips[data-for="tc_no"],
main.auth-page:has(input[name="birth_date"]:focus) .auth-guide__tips[data-for="birth_date"],
main.auth-page:has(input[name="phone"]:focus) .auth-guide__tips[data-for="phone"],
main.auth-page:has(#phoneCodeInput:focus, #emailCodeInput:focus) .auth-guide__tips[data-for="code"] {
  border-inline-start-color: var(--auth-accent); background: var(--auth-accent-soft); color: var(--auth-text); font-weight: 600;
}

main.auth-page .auth-guide__section-title {
  font-size: 0.875rem; font-weight: 800; color: var(--auth-text); margin-block: 4px 8px;
  display: flex; align-items: center; justify-content: space-between;
}
main.auth-page .auth-guide__cats ul {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px;
}
main.auth-page .auth-guide__cats a {
  min-height: 44px; padding: 8px 10px; border-radius: 10px; background: var(--auth-surface-2);
  border: 1px solid var(--auth-border-subtle); color: var(--auth-text); font-size: 0.8125rem; font-weight: 600;
  line-height: 1.25; text-decoration: none; display: flex; align-items: center; gap: 8px; min-width: 0;
}
main.auth-page .auth-guide__cats a:hover { border-color: var(--auth-accent); background: var(--auth-accent-soft); }
html[data-fzm="esnaf"] main.auth-page .auth-guide__cats a:is([href*="/ekonomi"], [href*="/halkbank-kobi"], [href*="carsi"], [href*="/otomobil"], [href*="/resmi-ilanlar"]),
html[data-fzm="turizm"] main.auth-page .auth-guide__cats a:is([href*="/turizm"], [href*="/rehber"], [href*="yasam"]),
html[data-fzm="teknoloji"] main.auth-page .auth-guide__cats a:is([href*="/teknoloji"], [href*="/otomobil"], [href*="/dyn-manifesto"]),
html[data-fzm="basin"] main.auth-page .auth-guide__cats a:is([href*="/son-dakika"], [href*="/gundem"], [href*="/siyaset"], [href*="/dunya"], [href*="/secim"], [href*="/3-sayfa"]),
html[data-fzm="ogrenci"] main.auth-page .auth-guide__cats a:is([href*="/teknoloji"], [href*="/spor"], [href*="yasam-rehberi"], [href*="/tum-kategoriler"]),
html[data-fzm="saglik"] main.auth-page .auth-guide__cats a:is([href*="yasam"], [href*="/rehber"], [href*="/kadin"]),
main.auth-page .auth-guide__cats a.is-featured {
  border: 1.5px solid var(--auth-accent); background: var(--auth-accent-soft); font-weight: 800; box-shadow: inset 3px 0 0 var(--auth-accent);
}

main.auth-page .auth-guide__faq { display: flex; flex-direction: column; gap: 8px; }
main.auth-page .auth-guide__faq details {
  border-radius: var(--auth-radius-input); border: 1px solid var(--auth-border-subtle); background: var(--auth-surface-2); overflow: hidden;
}
main.auth-page .auth-guide__faq summary {
  list-style: none; min-height: 46px; padding: 10px 12px; font-size: 0.875rem; font-weight: 700;
  color: var(--auth-text); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
main.auth-page .auth-guide__faq summary::-webkit-details-marker { display: none; }
main.auth-page .auth-guide__faq summary::after {
  content: ""; width: 16px; height: 16px; flex-shrink: 0; background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.18s ease;
}
main.auth-page .auth-guide__faq details[open] summary { border-block-end: 1px solid var(--auth-border-subtle); color: var(--auth-accent); }
main.auth-page .auth-guide__faq details[open] summary::after { transform: rotate(180deg); }
main.auth-page .auth-guide__faq-body { padding: 12px; font-size: 0.8125rem; line-height: 1.55; color: var(--auth-muted); background: var(--auth-surface); }
main.auth-page .auth-guide__faq-body a { color: var(--auth-accent); font-weight: 700; text-decoration: underline; }

main.auth-page .auth-guide__shortcuts {
  display: flex; flex-wrap: wrap; gap: 8px; padding-block-start: 8px; border-block-start: 1px solid var(--auth-border-subtle);
}
main.auth-page .auth-guide__shortcuts a {
  flex: 1 1 auto; min-height: 44px; padding: 8px 12px; border-radius: var(--auth-radius-btn);
  border: 1px solid var(--auth-border); background: var(--auth-surface-2); color: var(--auth-text);
  font-size: 0.8125rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
main.auth-page .auth-guide__shortcuts a:hover { background: var(--auth-accent); color: var(--auth-accent-on); border-color: var(--auth-accent); }

body:has(main.auth-page aside.auth-guide) :is(#fzb.fzb--ortak, .fz-t4640-assistant-dock, .fz-aiw) { display: none !important; }

@media (max-width: 1023.98px) {
  main.auth-page .auth-main-card { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  main.auth-page .auth-welcome { padding: 28px 24px; }
  main.auth-page .auth-form-section { padding: 28px 24px; }
}
@media (max-width: 767.98px) {
  main.auth-page { padding-block: 20px calc(88px + env(safe-area-inset-bottom, 0px)); padding-inline: 12px; }
  main.auth-page .auth-welcome { padding: 24px 18px; }
  main.auth-page .auth-form-section { padding: 22px 18px; }
  main.auth-page .auth-social-buttons { grid-template-columns: minmax(0, 1fr); }
  main.auth-page :is(.auth-code-row .auth-form-input, #phoneCodeInput, #emailCodeInput) { max-width: 100% !important; flex: 1 1 140px; }
  main.auth-page .auth-guide__toggle {
    position: fixed; inset-inline-end: max(12px, env(safe-area-inset-right, 0px));
    inset-block-end: calc(74px + env(safe-area-inset-bottom, 0px)); z-index: 9964;
    min-height: 48px; min-width: 48px; padding: 10px 16px; border-radius: var(--auth-radius-pill);
    border: 1.5px solid var(--auth-accent-on); background: var(--auth-accent); color: var(--auth-accent-on);
    font-family: inherit; font-size: 0.875rem; font-weight: 800; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
    cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  }
  main.auth-page aside.auth-guide.is-drawer {
    position: fixed; inset-inline: 8px; inset-block-end: calc(68px + env(safe-area-inset-bottom, 0px));
    z-index: 9965; max-height: calc(100dvh - 84px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto; overscroll-behavior: contain; padding-block-end: calc(20px + env(safe-area-inset-bottom, 0px));
    transform: translateY(110%); opacity: 0; pointer-events: none; transition: transform 0.24s ease, opacity 0.2s ease;
  }
  main.auth-page aside.auth-guide.is-drawer.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
}
@media (max-width: 420px) {
  main.auth-page .auth-guide__cats ul { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  main.auth-page *, main.auth-page *::before, main.auth-page *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  main.auth-page .auth-form-button[aria-busy="true"]::after { animation: none !important; border-block-start-color: currentColor; opacity: 0.55; }
}
@media (forced-colors: active) {
  main.auth-page :is(.auth-main-card, aside.auth-guide, .auth-form-input, .auth-form-button, .auth-tab, .auth-message, .auth-guide__step, .auth-guide__cats a, .auth-guide__faq details) {
    forced-color-adjust: auto; border: 2px solid ButtonText !important; box-shadow: none !important;
  }
  main.auth-page .auth-tab.active, main.auth-page .auth-form-button {
    background: Highlight !important; color: HighlightText !important; border-color: Highlight !important;
  }
  main.auth-page :is(a, button, input, summary):focus-visible { outline: 3px solid Highlight !important; outline-offset: 2px !important; }
}
@media print {
  body:has(main.auth-page) :is(header, .topbar, section.ticker, #fzTicker, nav.fz-tabbar, .gm-bottom-nav-mobil, footer, #fz-cerez-t4318, .auth-guide__toggle, .site-ad, .site-ad-strip) { display: none !important; }
  main.auth-page { min-height: 0 !important; padding: 0 !important; background: #ffffff !important; color: #000000 !important; display: block !important; }
  main.auth-page .auth-wrapper { max-width: 100% !important; display: block !important; }
  main.auth-page .auth-main-card { display: block !important; box-shadow: none !important; border: 1px solid #000000 !important; min-height: 0 !important; }
  main.auth-page .auth-welcome { background: #ffffff !important; color: #000000 !important; padding: 16px !important; border-bottom: 1px solid #000000 !important; }
  main.auth-page .auth-welcome :is(h1, p) { color: #000000 !important; }
  main.auth-page .auth-form-section { padding: 16px !important; background: #ffffff !important; }
}


/* Miras !important kurallarına (t4525_g13 / dyn-tek-v1) karşı main.auth-page içi kesin kontrast ve >=48px hedef koruması */
main.auth-page .auth-tab {
  color: var(--auth-muted) !important;
  min-height: 46px !important;
}
main.auth-page .auth-tab:hover {
  color: var(--auth-text) !important;
}
main.auth-page .auth-tab.active,
main.auth-page .auth-tab[aria-selected="true"] {
  background: var(--auth-accent) !important;
  color: var(--auth-accent-on) !important;
  border-color: var(--auth-accent) !important;
}
main.auth-page .auth-tab-content h2,
main.auth-page .auth-form-label,
main.auth-page aside.auth-guide h3,
main.auth-page .auth-guide__title,
main.auth-page .auth-guide__section-title,
main.auth-page .auth-guide__step,
main.auth-page .auth-guide__step strong,
main.auth-page .auth-guide__faq summary {
  color: var(--auth-text) !important;
}
main.auth-page .auth-guide__eyebrow {
  color: var(--auth-accent) !important;
}
main.auth-page .auth-form-input,
main.auth-page .auth-guide__search {
  min-height: 48px !important;
  height: auto !important;
  font-size: 16px !important;
  background-color: var(--auth-surface-elevated) !important;
  color: var(--auth-text) !important;
  border-color: var(--auth-border) !important;
}
main.auth-page .auth-form-input::placeholder,
main.auth-page .auth-guide__search::placeholder {
  color: var(--auth-placeholder) !important;
  opacity: 1 !important;
}
main.auth-page .auth-form-input[aria-invalid="true"],
main.auth-page .auth-form-input.is-invalid {
  border-color: var(--auth-error-bd) !important;
}
main.auth-page .auth-form-button:not([id^="btnSend"]):not(#btnCheckTc):not(#btnTelegramSendCode):not(#btnVerifyPhoneCode):not(#btnVerifyEmailCode) {
  background: var(--auth-accent) !important;
  color: var(--auth-accent-on) !important;
  min-height: 48px !important;
}
main.auth-page .auth-guide__cats a {
  color: var(--auth-text) !important;
  background: var(--auth-surface-2) !important;
  min-height: 44px !important;
}
html[data-fzm="esnaf"] main.auth-page .auth-guide__cats a:is([href*="/ekonomi"], [href*="/halkbank-kobi"], [href*="carsi"], [href*="/otomobil"], [href*="/resmi-ilanlar"]),
html[data-fzm="turizm"] main.auth-page .auth-guide__cats a:is([href*="/turizm"], [href*="/rehber"], [href*="yasam"]),
html[data-fzm="teknoloji"] main.auth-page .auth-guide__cats a:is([href*="/teknoloji"], [href*="/otomobil"], [href*="/dyn-manifesto"]),
html[data-fzm="basin"] main.auth-page .auth-guide__cats a:is([href*="/son-dakika"], [href*="/gundem"], [href*="/siyaset"], [href*="/dunya"], [href*="/secim"], [href*="/3-sayfa"]),
html[data-fzm="ogrenci"] main.auth-page .auth-guide__cats a:is([href*="/teknoloji"], [href*="/spor"], [href*="yasam-rehberi"], [href*="/tum-kategoriler"]),
html[data-fzm="saglik"] main.auth-page .auth-guide__cats a:is([href*="yasam"], [href*="/rehber"], [href*="/kadin"]) {
  border: 1.5px solid var(--auth-accent) !important;
  background: var(--auth-accent-soft) !important;
  box-shadow: inset 3px 0 0 var(--auth-accent) !important;
}


/* Arama ikonu iç boşluğu ve tüm koyu/özel temalarda placeholder yüksek kontrast garantisi */
main.auth-page {
  --fd-placeholder: var(--auth-placeholder);
}
html body main.auth-page .auth-guide__search {
  padding-inline-start: 42px !important;
  padding-inline-end: 14px !important;
}
html[dir="rtl"] body main.auth-page .auth-guide__search {
  padding-inline-start: 42px !important;
  padding-inline-end: 14px !important;
}
html body main.auth-page .auth-form-input::placeholder,
html body main.auth-page .auth-form-input::-webkit-input-placeholder,
html body main.auth-page .auth-guide__search::placeholder,
html body main.auth-page .auth-guide__search::-webkit-input-placeholder {
  color: var(--auth-placeholder) !important;
  -webkit-text-fill-color: var(--auth-placeholder) !important;
  opacity: 1 !important;
}
