/* ===== Site temasi (sadece ogrenci + mentor sayfalari; includes/layout/header.php yukler, admin yuklemez) =====
   Gok mavisi / deniz tonlari, DM Sans govde + Manrope baslik, ust yazi (eyebrow), ince cerceveli kartlar.
   style.css'teki --hm-* ve --primary degiskenlerini ezer; admin paneli eski renklerde kalir. */
:root {
    --th-deep: #083c5c;
    --th-pine: #0b567a;
    --th-sky: #168dbd;
    --th-sky-2: #079ac5;
    --th-aqua: #36c6df;
    --th-pale: #ebf9ff;
    --th-mist: #f4fbff;
    --th-line: #d4ecf6;
    --th-ink: #0b2132;
    --th-text: #536b7b;
    --th-shadow: 0 18px 60px rgba(11, 80, 116, 0.11);

    --primary: #168dbd;
    --primary-dark: #0b567a;
    --primary-light: #ebf9ff;
    --dark: #0b2132;
    --dark-2: #083c5c;
    --secondary: #36c6df;
    --secondary-dark: #168dbd;
    --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --hm-ink: #0b2132;
    --hm-text: #536b7b;
    --hm-muted: #6f8796;
    --hm-paper: #f4fbff;
    --hm-grid: transparent;
    --hm-line: #d4ecf6;
    --hm-mint: #0f9d77;
    --hm-display: 'Manrope', 'DM Sans', system-ui, sans-serif;
}

body { font-family: var(--font); color: var(--th-ink); background: #fff; }
::selection { background: #b7eafa; color: #083e57; }

/* Ust yazi: kucuk, genis aralikli, onunde kisa cizgi */
.eyebrow { display: flex; width: fit-content; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--font); font-size: 12px; font-weight: 800; line-height: 1.3; letter-spacing: 0.2em; text-transform: uppercase; color: #087faa; }
.eyebrow::before { content: ''; flex-shrink: 0; width: 28px; height: 2px; background: var(--th-aqua); }

/* Genel dugmeler (site tarafi) */
.btn { border-radius: 6px; font-weight: 700; }
.btn-primary { background: var(--th-sky); border-color: var(--th-sky); }
.btn-primary:hover { background: var(--th-pine); border-color: var(--th-pine); }
.btn-outline { color: var(--th-pine); border-color: #8fc3d8; }
.btn-outline:hover { background: var(--th-pale); color: var(--th-deep); border-color: var(--th-sky); }

/* ===== Header ===== */
.main-header { background: rgba(255,255,255,0.97); border-bottom: 1px solid #e1eef4; box-shadow: none; }
.header-inner { height: 78px; }
.logo { gap: 10px; }
.logo-mark { border-radius: 12px; }
.logo-title { font-family: var(--hm-display); font-size: 20px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: #064f78; }
.logo-subtitle { margin-top: 2px; font-size: 8.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #3293bc; }
.nav-link { color: var(--th-ink); font-size: 13.5px; font-weight: 700; }
.nav-link:hover { background: transparent; color: var(--th-sky); }
.nav-link.is-active { color: var(--th-sky); font-weight: 800; }
.nav-link:focus-visible, .logo:focus-visible { outline-color: var(--th-aqua); }
.main-nav .nav-btn { min-height: 40px; padding: 0 18px !important; border-radius: 6px; background: var(--th-sky); font-weight: 800; }
.main-nav .nav-btn:hover { background: var(--th-deep); }
.lang-selector-btn { border-color: var(--th-line); border-radius: 6px; }
.lang-selector-btn:hover { border-color: var(--th-sky); background: var(--th-pale); }
.lang-option.active { background: var(--th-pale); color: var(--th-pine); }
.mobile-menu-toggle { color: var(--th-deep); }
@media (min-width: 1101px) {
    .main-nav .nav-link.is-active::after { width: 22px; background: var(--th-aqua); }
    .main-nav .dropdown-menu a:hover { background: var(--th-pale); color: var(--th-pine); }
}
@media (max-width: 1100px) {
    .header-inner { height: 64px; }
    .main-nav { border-bottom-color: var(--th-sky); }
    .main-nav .nav-link.is-active { background: var(--th-pale); }
    .nav-backdrop { background: rgba(8,60,92,0.32); }
}
@media (min-width: 769px) and (max-width: 1100px) {
    .main-nav { border-inline-start-color: var(--th-sky); }
}
@media (max-width: 640px) {
    .logo-title { font-size: 17px; }
    .logo-subtitle { font-size: 7px; }
}

/* Sayfa ust gorseli (admin > Sayfa gorselleri): perdeler deniz tonlarinda */
.has-ph > .ph-media { background: var(--th-mist); }
.ph-light > .ph-media::after { background: linear-gradient(to right, rgba(244,251,255,0.97) 0%, rgba(244,251,255,calc(var(--ph-s, 0.7) * 0.92)) 45%, rgba(244,251,255,calc(var(--ph-s, 0.7) * 0.2)) 100%); }
[dir="rtl"] .ph-light > .ph-media::after { background: linear-gradient(to left, rgba(244,251,255,0.97) 0%, rgba(244,251,255,calc(var(--ph-s, 0.7) * 0.92)) 45%, rgba(244,251,255,calc(var(--ph-s, 0.7) * 0.2)) 100%); }
.ph-dark > .ph-media::after { background: linear-gradient(to right, rgba(6,48,74,calc(0.45 + var(--ph-s, 0.6) * 0.47)) 0%, rgba(8,70,104,calc(0.2 + var(--ph-s, 0.6) * 0.45)) 100%); }
[dir="rtl"] .ph-dark > .ph-media::after { background: linear-gradient(to left, rgba(6,48,74,calc(0.45 + var(--ph-s, 0.6) * 0.47)) 0%, rgba(8,70,104,calc(0.2 + var(--ph-s, 0.6) * 0.45)) 100%); }
.ph-dark .eyebrow { color: #a8e6f5; }
.ph-dark .eyebrow::before { background: var(--th-aqua); }
@media (max-width: 640px) {
    .ph-light > .ph-media::after, [dir="rtl"] .ph-light > .ph-media::after { background: rgba(244,251,255,calc(0.55 + var(--ph-s, 0.7) * 0.4)); }
    .ph-dark > .ph-media::after, [dir="rtl"] .ph-dark > .ph-media::after { background: rgba(6,48,74,calc(0.55 + var(--ph-s, 0.6) * 0.38)); }
}

/* Gorselsiz sayfa basliklari: acik gok mavisi, sagda ince halka */
.hm-hero, .exlist-hero, .lb-hero { position: relative; overflow: hidden; isolation: isolate; background-color: #fff; background-image: radial-gradient(ellipse at 78% 30%, #dff7ff 0, transparent 55%), linear-gradient(120deg, #fff 40%, var(--th-mist)); background-size: auto; }
.hm-hero:not(.has-ph)::before, .exlist-hero:not(.has-ph)::before, .lb-hero:not(.has-ph)::before { content: ''; position: absolute; z-index: -1; top: -220px; inset-inline-end: -240px; width: 640px; height: 640px; border: 1px solid #d3ecf6; border-radius: 50%; pointer-events: none; }
.hm-section-paper { background-image: none; background-color: var(--th-mist); }

/* Ortak baslik boyutlari */
.hm-hero h1, .exlist-hero h1, .lb-hero h1 { font-family: var(--hm-display); font-weight: 800; letter-spacing: -0.045em; color: var(--th-ink); }
.exlist-hero h1, .lb-hero h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; }
.exlist-hero, .lb-hero { padding: 64px 0 52px; }
.exlist-hero p, .lb-hero p { font-size: 17.5px; line-height: 1.75; color: var(--th-text); }
.ph-dark h1, .ph-dark h1 * { color: #fff; }
.ph-dark p { color: rgba(255,255,255,0.88); }

/* ===== Ana sayfa ===== */
.hm-hero { padding: 76px 0 84px; }
.hm-hero h1 { margin-bottom: 22px; font-size: clamp(38px, 5.2vw, 70px); line-height: 1.04; }
.hm-hero h1 span { color: var(--th-sky-2); }
.ph-dark.hm-hero h1 span { color: var(--th-aqua); }
.hm-lead { font-size: 18.5px; line-height: 1.8; color: var(--th-text); }

.hm-btn { min-height: 50px; padding: 0 24px; border-radius: 6px; font-size: 15px; font-weight: 800; transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.hm-btn:focus-visible { outline-color: var(--th-aqua); }
.hm-btn-primary { background: var(--th-sky); color: #fff; border: 1px solid var(--th-sky); }
.hm-btn-outline { background: transparent; color: var(--th-deep); border: 1px solid #8fc3d8; }
.hm-btn-gold { background: var(--th-sky); color: #fff; border: 1px solid var(--th-sky); }
.hm-btn-on-dark { background: #fff; color: var(--th-deep); border: 1px solid #8fc3d8; }
.ph-dark .hm-btn-outline { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.55); }

/* Hero gorseli: halkalar + yuzen bilgi kartlari */
.hm-hero-art { position: relative; margin: 0; padding: 26px; }
.hm-hero-art::before, .hm-hero-art::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.hm-hero-art::before { inset: -6% -4%; border: 1px solid rgba(54,198,223,0.45); background: radial-gradient(circle, rgba(237,250,255,0.65) 30%, transparent 72%); }
.hm-hero-art::after { inset: 4% 6%; border: 1px dashed rgba(22,141,189,0.4); }
.ph-dark .hm-hero-art::before { border-color: rgba(168,230,245,0.35); background: none; }
.ph-dark .hm-hero-art::after { border-color: rgba(168,230,245,0.3); }
.hm-hero-art .hm-hero-photo { position: relative; z-index: 1; }
.hm-hero-photo img { border-radius: 20px; box-shadow: 0 24px 60px -24px rgba(8,60,92,0.45); }
.hm-float { position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 2px; max-width: 220px; padding: 13px 16px; border: 1px solid #d3ecf6; border-radius: 12px; background: #fff; box-shadow: var(--th-shadow); color: var(--th-ink); font-size: 14px; font-weight: 800; line-height: 1.35; }
.hm-float small { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--th-sky); }
.hm-float.is-bottom { bottom: 0; inset-inline-start: 0; }
.hm-float.is-top { top: 4px; inset-inline-end: -6px; }

/* Istatistik bandi (heronun altinda, koyu deniz mavisi) */
.hm-stats { background: var(--th-pine); color: #fff; }
.hm-stats .hm-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 30px 0; border: 0; }
.hm-stats .hm-facts > div { padding: 2px 32px; border-inline-end: 1px solid rgba(255,255,255,0.22); }
.hm-stats .hm-facts > div:first-child { padding-inline-start: 0; }
.hm-stats .hm-facts > div:last-child { border: 0; }
.hm-stats .hm-facts dd { font-family: var(--hm-display); font-size: 34px; font-weight: 800; letter-spacing: -0.04em; color: #fff; }
.hm-stats .hm-facts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #c9ecf7; }

/* Bolum basliklari: sola dayali, ust yazili */
.hm-section { padding: 96px 0; }
.hm-head { max-width: 780px; margin: 0 0 44px; text-align: start; }
.hm-head h2 { font-family: var(--hm-display); font-size: clamp(30px, 3.5vw, 50px); font-weight: 800; line-height: 1.12; letter-spacing: -0.05em; color: var(--th-ink); }
.hm-head p { font-size: 17px; line-height: 1.75; color: var(--th-text); }
.hm-link { color: var(--th-sky); text-decoration-color: var(--th-aqua); }

/* Nasil calisir: numarali asama kartlari (renkli ust: ikon + buyuk soluk numara) */
.hm-steps { gap: 20px; }
.hm-steps::before { display: none; }
.hm-steps li { display: flex; flex-direction: column; overflow: hidden; padding: 0; text-align: start; background: #fff; border: 1px solid var(--th-line); border-radius: 16px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); }
.hm-step-top { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; min-height: 112px; padding: 22px 26px; background: linear-gradient(135deg, #0d618a, #078fba); color: #fff; }
.hm-steps li:nth-child(2) .hm-step-top { background: linear-gradient(135deg, #057eaa, #1ba9cb); }
.hm-steps li:nth-child(3) .hm-step-top { background: linear-gradient(135deg, #0a426f, #066e9e); }
.hm-step-top::after { content: ''; position: absolute; top: -70px; inset-inline-end: -50px; width: 190px; height: 190px; border: 1px solid rgba(255,255,255,0.16); border-radius: 50%; pointer-events: none; }
.hm-step-ico { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,0.3); border-radius: 14px; background: rgba(255,255,255,0.14); font-size: 22px; }
.hm-step-no { position: static; display: block; width: auto; height: auto; margin: 0; border-radius: 0; background: none !important; box-shadow: none; font-family: var(--hm-display); font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: rgba(255,255,255,0.28) !important; }
.hm-steps h3 { margin: 22px 26px 8px; font-family: var(--hm-display); font-size: 21px; font-weight: 800; letter-spacing: -0.025em; color: var(--th-ink); }
.hm-steps p { max-width: none; margin: 0 26px 26px; font-size: 15px; line-height: 1.7; color: var(--th-text); }

/* Olimpiyat kartlari */
.hm-olys { justify-content: start; gap: 20px; }
.hm-oly { overflow: hidden; padding: 0 0 12px; border: 1px solid var(--th-line); border-radius: 16px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); }
.hm-oly-top { margin: 0 0 16px; padding: 24px 24px 20px; background: linear-gradient(135deg, #f9fdff, #e3f5fc); }
.hm-oly-icon { border-radius: 12px; background: linear-gradient(135deg, #05a3d8, #0d5a99); box-shadow: 0 6px 18px rgba(0,110,165,0.2); }
.hm-oly h3 { font-family: var(--hm-display); font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.hm-oly-cats { padding: 0 24px; }
.hm-oly-cats a { border: 1px solid var(--th-line); border-radius: 8px; background: #fff; }
.hm-oly-cats a::after { content: '\2192'; color: var(--th-sky); font-weight: 800; }
.hm-oly > .hm-link { margin: 0 24px; }

/* Sinav kartlari (ana sayfa) */
.hm-exam { overflow: hidden; border: 1px solid var(--th-line); border-radius: 14px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hm-exam-cat { border-radius: 5px; background: var(--th-pale); color: #0579a3; font-size: 11.5px; font-weight: 800; letter-spacing: 0.02em; }
.hm-exam h3 { font-family: var(--hm-display); font-weight: 800; letter-spacing: -0.02em; }
.hm-exam-meta i { color: var(--th-sky); }
.hm-exam-stub { border-top: 1px solid var(--th-line); background: #fbfeff; }
.hm-price { font-family: var(--hm-display); font-weight: 800; color: var(--th-deep); }
.hm-exam-btn { border-radius: 6px; background: var(--th-sky); font-weight: 800; }

/* Neden Atlantia */
.hm-why-photo img { border-radius: 18px; box-shadow: 0 24px 60px -28px rgba(8,60,92,0.4); }
.hm-why-list li { padding: 18px; border: 1px solid var(--th-line); border-radius: 12px; background: #fff; }
.hm-why-list i { border-radius: 10px; background: var(--th-pale); color: var(--th-sky); }
.hm-why-list h3 { font-family: var(--hm-display); font-weight: 800; letter-spacing: -0.015em; }

/* Kapanis: acik gok mavisi seridi */
.hm-cta { padding: 48px 52px; border-radius: 16px; color: var(--th-ink); background-color: transparent; background-image: linear-gradient(115deg, #dff5ff, #f5fbff); background-size: auto; border: 1px solid var(--th-line); }
.hm-cta h2 { max-width: 18em; font-family: var(--hm-display); font-weight: 800; letter-spacing: -0.045em; color: var(--th-ink); }

@media (hover: hover) {
    .btn:hover, .hm-btn:hover { transform: translateY(-2px); }
    .hm-btn-primary:hover, .hm-btn-gold:hover { background: var(--th-deep); border-color: var(--th-deep); color: #fff; }
    .hm-btn-outline:hover { background: var(--th-pale); color: var(--th-deep); }
    .ph-dark .hm-btn-outline:hover { background: rgba(255,255,255,0.16); color: #fff; }
    .hm-btn-on-dark:hover { background: var(--th-pale); color: var(--th-deep); }
    .hm-exam:hover { transform: translateY(-3px); box-shadow: var(--th-shadow); }
    .hm-exam-btn:hover { background: var(--th-deep); }
    .hm-oly-cats a:hover { border-color: var(--th-sky); background: var(--th-pale); }
}
@media (max-width: 1100px) {
    .hm-stats .hm-facts > div { padding: 2px 20px; }
    .hm-section { padding: 76px 0; }
}
@media (max-width: 900px) {
    .hm-hero-art { max-width: 600px; }
    .hm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-steps li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .hm-steps li { display: flex; }
    .hm-stats .hm-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
    .hm-stats .hm-facts > div:nth-child(odd) { padding-inline-start: 0; }
    .hm-stats .hm-facts > div:nth-child(2) { border: 0; }
    .hm-stats .hm-facts dd { font-size: 28px; }
    .hm-cta { padding: 32px 24px; }
}
@media (max-width: 640px) {
    .hm-hero { padding: 40px 0 56px; }
    .hm-hero h1 { font-size: clamp(34px, 10vw, 46px); }
    .hm-section { padding: 60px 0; }
    .hm-steps { grid-template-columns: 1fr; }
    .hm-step-top { min-height: 88px; padding: 18px 22px; }
    .hm-step-no { font-size: 52px; }
    .hm-steps h3 { margin: 18px 22px 6px; }
    .hm-steps p { margin: 0 22px 22px; }
    .hm-hero-art { padding: 14px; }
    .hm-float { padding: 9px 12px; font-size: 12px; }
    .hm-float small { font-size: 9.5px; }
    .hm-float.is-top { inset-inline-end: 0; }
    .hm-stats .hm-facts > div { padding: 0 14px; }
}

/* ===== Sinavlar (public/exams.php) ===== */
.exlist-hero-icon { border-radius: 12px; background: linear-gradient(135deg, #05a3d8, #0d5a99); color: #fff; box-shadow: 0 6px 18px rgba(0,110,165,0.25); }
.exlist-body { padding-top: 36px; }
.exlist-filters { border: 1px solid var(--th-line); border-radius: 14px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); }
.exlist-filter-row + .exlist-filter-row { border-top-color: var(--th-line); }
.exlist-filter-label { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #087faa; }
.exlist-pill, .exlist-chip { border-color: var(--th-line); border-radius: 8px; }
.exlist-pill-icon { border-radius: 6px; background: var(--th-pale); color: var(--th-sky); }
.exlist-pill.is-active, .exlist-chip.is-active { border-color: var(--th-pine); background: var(--th-pine); }
.exlist-search input { border-color: var(--th-line); border-radius: 8px; }
.exlist-search input:focus { border-color: var(--th-sky); box-shadow: 0 0 0 3px rgba(22,141,189,0.15); }
.exlist-clear { color: var(--th-sky); }
.exlist-group-head { border-bottom-color: var(--th-line); }
.exlist-group-icon { border-radius: 10px; background: linear-gradient(135deg, #05a3d8, #0d5a99); }
.exlist-group-title h2 { font-weight: 800; letter-spacing: -0.025em; }
.exlist-group-title p { border-radius: 5px; background: var(--th-pale); color: #0579a3; font-size: 13px; font-weight: 800; }
.exlist-group-count { border-radius: 8px; background: var(--th-pale); color: var(--th-pine); }
.exlist-card { border: 1px solid var(--th-line); border-radius: 14px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.exlist-card h3 { font-family: var(--hm-display); font-weight: 800; letter-spacing: -0.02em; }
.exlist-meta li { border-radius: 5px; background: var(--th-pale); color: #2f5f76; font-size: 13px; font-weight: 700; }
.exlist-meta i { color: var(--th-sky); }
.exlist-progress { border-radius: 10px; background: var(--th-mist); border: 1px solid var(--th-line); }
.exlist-progress-bar { background: rgba(11,86,122,0.12); }
.exlist-card-foot { border-top-color: var(--th-line); }
.exlist-price { font-weight: 800; color: var(--th-deep); }
.exlist-btn { border-radius: 6px; border-color: var(--th-sky); background: var(--th-sky); font-weight: 800; }
.exlist-btn.is-buy { border-color: var(--th-pine); background: var(--th-pine); }
.exlist-btn.is-outline { border-color: #8fc3d8; color: var(--th-deep); }
.exlist-empty { border-radius: 16px; background: var(--th-mist); border: 1px solid var(--th-line); }
.exlist-pill:focus-visible, .exlist-chip:focus-visible, .exlist-btn:focus-visible, .exlist-clear:focus-visible { outline-color: var(--th-aqua); }
@media (hover: hover) {
    .exlist-card:hover { transform: translateY(-3px); box-shadow: var(--th-shadow); }
    .exlist-pill:not(.is-active):hover, .exlist-chip:not(.is-active):hover { border-color: var(--th-sky); background: var(--th-pale); }
    .exlist-btn:hover, .exlist-btn.is-buy:hover { background: var(--th-deep); border-color: var(--th-deep); }
    .exlist-btn.is-outline:hover { background: var(--th-pale); color: var(--th-deep); border-color: var(--th-sky); }
}
@media (max-width: 640px) {
    .exlist-hero, .lb-hero { padding: 40px 0 32px; }
}

/* ===== Siralama (public/leaderboard.php) ===== */
.lb-hero-meta li { padding: 8px 14px; border: 1px solid var(--th-line); border-radius: 8px; background: rgba(255,255,255,0.8); font-size: 14px; }
.lb-hero-meta i { color: var(--th-sky); }
.lb-body { padding-top: 40px; }
.lb-avatar { background: linear-gradient(135deg, #05a3d8, #0d5a99); }
.lb-me { border: 1px solid var(--th-line); border-inline-start: 4px solid var(--th-sky); border-radius: 12px; background: var(--th-mist); }
.lb-podium-card { border: 1px solid var(--th-line); border-radius: 16px; box-shadow: 0 8px 30px rgba(11,80,116,0.06); }
.lb-podium-card.is-rank-1 { background: linear-gradient(160deg, #0d618a, #078fba); border-color: transparent; box-shadow: 0 24px 60px -26px rgba(8,60,92,0.55); }
.lb-podium-card.is-rank-1 h3, .lb-podium-card.is-rank-1 .lb-podium-points strong, .lb-podium-card.is-rank-1 .lb-podium-points span, .lb-podium-card.is-rank-1 .lb-podium-meta, .lb-podium-card.is-rank-1 .lb-podium-meta i { color: #fff; }
.lb-podium-card.is-rank-1 .lb-avatar { box-shadow: 0 0 0 4px rgba(255,255,255,0.25); }
.lb-podium-card.is-me { border-color: var(--th-sky); box-shadow: 0 0 0 1px var(--th-sky), 0 8px 30px rgba(11,80,116,0.08); }
.lb-podium-points strong { font-family: var(--hm-display); font-weight: 800; letter-spacing: -0.03em; }
.lb-list-wrap { border: 1px solid var(--th-line); border-radius: 14px; }
.lb-list-head { background: var(--th-mist); color: #087faa; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-size: 11.5px; }
.lb-row { border-color: var(--th-line); }
.lb-row.is-me { background: var(--th-pale); }
.lb-row-rank { font-family: var(--hm-display); font-weight: 800; color: var(--th-pine); }
.lb-row-points strong { font-family: var(--hm-display); font-weight: 800; color: var(--th-deep); }
.ph-dark .lb-hero-meta li { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22); color: rgba(255,255,255,0.9); }
.ph-dark .lb-hero-meta i { color: #a8e6f5; }

/* ===== Giris / kayit / sifre (public/login|register|mentor-register|forgot-password|reset-password.php) ===== */
.auth-min { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 80% 12%, #dcf5ff 0, transparent 50%), radial-gradient(ellipse at 8% 92%, #e8f8ff 0, transparent 45%), var(--th-mist); }
.auth-min::before, .auth-min::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.auth-min::before { top: -260px; inset-inline-end: -220px; width: 620px; height: 620px; border: 1px solid #cfe9f4; }
.auth-min::after { top: -170px; inset-inline-end: -130px; width: 440px; height: 440px; border: 1px dashed #b9dcec; }
.auth-min-card { position: relative; overflow: hidden; padding: 44px 38px 34px; border: 1px solid var(--th-line); border-radius: 16px; box-shadow: 0 24px 70px -30px rgba(8,60,92,0.3); }
.auth-min-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--th-sky), var(--th-aqua)); }
.auth-min-mark { width: 50px; height: 50px; border-radius: 13px; background: linear-gradient(135deg, #05a3d8, #0d5a99); color: #fff; font-size: 19px; box-shadow: 0 8px 20px rgba(0,110,165,0.25); }
.auth-min-head h1 { font-family: var(--hm-display); font-size: 28px; font-weight: 800; letter-spacing: -0.04em; color: var(--th-ink); }
.auth-min-head p { font-size: 15px; line-height: 1.65; color: var(--th-text); }
.auth-field label { font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em; color: var(--th-deep); }
.auth-field input, .auth-field select, .auth-field textarea { border-color: #cfe4ee; border-radius: 8px; background: #fbfeff; }
.auth-field input:focus, .auth-field select:focus, .auth-field textarea:focus { border-color: var(--th-sky); background: #fff; box-shadow: 0 0 0 3px rgba(22,141,189,0.15); }
.auth-field-top a, .auth-min-foot a { color: var(--th-sky); font-weight: 700; }
.auth-min-btn { height: 50px; border-radius: 6px; background: var(--th-sky); font-weight: 800; letter-spacing: 0.01em; transition: background 0.2s ease, transform 0.2s ease; }
.auth-min-btn:hover { background: var(--th-deep); }
.auth-min-btn:focus-visible { outline-color: var(--th-aqua); }
.auth-social { border-color: #cfe4ee; border-radius: 6px; }
.auth-social:hover { background: var(--th-pale); border-color: #9fcfe2; }
.auth-min-alert { border-radius: 8px; }
.auth-min-alert.is-success { background: #e4f7f1; color: #0b6b50; }
@media (hover: hover) { .auth-min-btn:hover { transform: translateY(-2px); } }
@media (max-width: 640px) {
    .auth-min-card { padding: 34px 22px 26px; }
    .auth-min-head h1 { font-size: 24px; }
    .auth-min::before, .auth-min::after { display: none; }
}

/* ===== Ortak sayfa baslik bantlari (panel, hesabim, profil, sonuclar, rozetler, sinav baslangici, kampanyalar, page-hero) ===== */
.page-hero, .dsh-hero, .acct-hero, .pf-hero, .bdg-hero, .rs-hero, .es-hero, .cmp-hero { position: relative; overflow: hidden; isolation: isolate; padding: 52px 0 44px; background-color: #fff; background-image: radial-gradient(ellipse at 80% 20%, #dff7ff 0, transparent 55%), linear-gradient(120deg, #fff 40%, var(--th-mist)); background-size: auto; border-bottom: 1px solid #e3f1f7; }
.page-hero:not(.has-ph)::before, .dsh-hero:not(.has-ph)::before, .acct-hero:not(.has-ph)::before, .pf-hero:not(.has-ph)::before, .bdg-hero:not(.has-ph)::before, .rs-hero:not(.has-ph)::before, .es-hero:not(.has-ph)::before, .cmp-hero:not(.has-ph)::before { content: ''; position: absolute; z-index: -1; top: -260px; inset-inline-end: -200px; width: 560px; height: 560px; border: 1px solid #d3ecf6; border-radius: 50%; pointer-events: none; }
.page-hero h1, .dsh-hero h1, .acct-hero h1, .pf-hero h1, .bdg-hero h1, .rs-hero h1, .es-hero h1, .cmp-hero h1 { font-family: var(--hm-display); font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -0.045em; color: var(--th-ink); }
.page-hero p, .dsh-hero p, .acct-hero p, .bdg-hero p, .es-hero p, .cmp-hero p { font-size: 17px; line-height: 1.7; color: var(--th-text); }
.ph-dark.page-hero h1, .ph-dark.dsh-hero h1, .ph-dark.acct-hero h1, .ph-dark.pf-hero h1, .ph-dark.bdg-hero h1, .ph-dark.rs-hero h1, .ph-dark.es-hero h1, .ph-dark.cmp-hero h1 { color: #fff; }
.ph-dark.page-hero p, .ph-dark.dsh-hero p, .ph-dark.acct-hero p, .ph-dark.bdg-hero p, .ph-dark.es-hero p, .ph-dark.cmp-hero p { color: rgba(255,255,255,0.88); }
/* Geri baglantisi ("Hesabim") ust yazi gibi */
.page-hero-back, .pf-back { min-height: 36px; margin-bottom: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #087faa; }
.page-hero-back i, .pf-back i { color: var(--th-aqua); }
.ph-dark .page-hero-back, .ph-dark .pf-back { color: #a8e6f5; }
@media (hover: hover) { .page-hero-back:hover, .pf-back:hover { color: var(--th-deep); } }
@media (max-width: 640px) {
    .page-hero, .dsh-hero, .acct-hero, .pf-hero, .bdg-hero, .rs-hero, .es-hero, .cmp-hero { padding: 34px 0 28px; }
    .page-hero:not(.has-ph)::before, .dsh-hero:not(.has-ph)::before, .acct-hero:not(.has-ph)::before, .pf-hero:not(.has-ph)::before, .bdg-hero:not(.has-ph)::before, .rs-hero:not(.has-ph)::before, .es-hero:not(.has-ph)::before, .cmp-hero:not(.has-ph)::before { display: none; }
}

/* Ortak hesap alani dugmeleri: koseli, gok mavisi */
.dsh-btn, .pf-btn, .acct-btn, .nt-btn { border-radius: 6px; font-weight: 800; }
.dsh-btn-primary, .pf-btn-primary, .acct-btn-primary { background: var(--th-sky); border-color: var(--th-sky); color: #fff; }
.dsh-btn-outline, .acct-btn-outline { border-color: #8fc3d8; color: var(--th-deep); }
.nt-btn { border-color: var(--th-line); }
.dsh-btn:focus-visible, .pf-btn:focus-visible, .dsh-link:focus-visible, .dsh-result:focus-visible, .dsh-links a:focus-visible { outline-color: var(--th-aqua); }
@media (hover: hover) {
    .dsh-btn-primary:hover, .pf-btn-primary:hover, .acct-btn-primary:hover { background: var(--th-deep); border-color: var(--th-deep); color: #fff; }
    .dsh-btn-outline:hover, .acct-btn-outline:hover { background: var(--th-pale); color: var(--th-deep); }
    .nt-btn:hover { border-color: var(--th-sky); }
}

/* ===== Panel (public/dashboard.php) ===== */
.dsh-stat { border: 1px solid var(--th-line); border-radius: 14px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); }
.dsh-stat dt { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hm-muted); }
.dsh-stat dt i { color: var(--th-sky); }
.dsh-stat dd { font-weight: 800; letter-spacing: -0.04em; color: var(--th-deep); }
.dsh-stat.is-points { border-color: transparent; background: linear-gradient(135deg, #0d618a, #078fba); box-shadow: 0 20px 50px -26px rgba(8,60,92,0.6); }
.dsh-stat.is-points dt { color: #c9ecf7; }
.dsh-stat.is-points dt i { color: #fff; }
.dsh-stat.is-points dd { color: #fff; }
.dsh-card { border: 1px solid var(--th-line); border-radius: 16px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); }
.dsh-card-head { padding-bottom: 12px; border-bottom: 1px solid var(--th-line); }
.dsh-card-head h2 { font-weight: 800; letter-spacing: -0.025em; }
.dsh-link { color: var(--th-sky); font-weight: 700; }
.dsh-result, .dsh-links a { border-radius: 10px; }
.dsh-score { border-radius: 6px; }
.dsh-bar { background: var(--th-pale); }
.dsh-bar span { background: linear-gradient(90deg, var(--th-sky), var(--th-aqua)); }
.dsh-link-icon { border-radius: 8px; background: var(--th-pale); color: var(--th-sky); }
.dsh-empty-icon { background: var(--th-pale); color: var(--th-sky); }
@media (hover: hover) { .dsh-result:hover, .dsh-links a:hover { background: var(--th-mist); } }

/* ===== Sinav sonuclarim (public/my-results.php) ===== */
.rs-item { border: 1px solid var(--th-line); border-radius: 14px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); }
.rs-item > i { border-radius: 10px; background: var(--th-pale); color: var(--th-sky); }
.rs-item strong { font-family: var(--hm-display); font-weight: 800; letter-spacing: -0.03em; color: var(--th-deep); }
.rs-item span { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hm-muted); }
.result-group { border: 1px solid var(--th-line); border-radius: 16px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); }
.rg-head { border-bottom-color: var(--th-line); background: linear-gradient(135deg, #fbfeff, #eef9fe); }
.rg-title { font-family: var(--hm-display); font-weight: 800; letter-spacing: -0.02em; color: var(--th-ink); }
.rg-cat i { color: var(--th-sky); }
.rg-stat { border: 1px solid var(--th-line); border-radius: 8px; background: #fff; }
.rg-stat strong { font-family: var(--hm-display); font-weight: 800; color: var(--th-deep); }
.attempt-list-head { background: var(--th-mist); color: #087faa; font-weight: 800; letter-spacing: 0.1em; }
.attempt-row { border-top-color: var(--th-line); }
.attempt-row:hover { background: var(--th-mist); }
.attempt-time i, .attempt-date i { color: var(--th-sky); }
.results-section .rg-retake, .results-section .attempt-detail, .results-section .rg-more .btn { border-radius: 6px; font-weight: 800; }
.results-section .rg-retake { border-color: var(--th-sky); background: var(--th-sky); }
@media (hover: hover) { .results-section .rg-retake:hover { background: var(--th-deep); border-color: var(--th-deep); } }

/* ===== Bildirimler (public/notifications.php) ===== */
.nt-tabs { background: var(--th-pale); border-radius: 8px; }
.nt-tab { border-radius: 6px; }
.nt-total span, .nt-tab span { background: var(--th-pale); color: var(--th-pine); }
.nt-item { border-color: var(--th-line); border-radius: 12px; box-shadow: 0 6px 22px rgba(11,80,116,0.04); }
.nt-item.is-new { border-color: #a9dcef; background: var(--th-mist); box-shadow: inset 4px 0 0 var(--th-sky); }
[dir="rtl"] .nt-item.is-new { box-shadow: inset -4px 0 0 var(--th-sky); }
.nt-icon { border-radius: 10px; background: var(--th-pale); color: var(--th-sky); }
.nt-icon.is-info { background: var(--th-pale); color: var(--th-sky); }
.nt-title { font-family: var(--hm-display); font-weight: 800; letter-spacing: -0.015em; }
.nt-unread { border-radius: 5px; background: var(--th-sky); }
.nt-support { border: 1px solid var(--th-line); border-radius: 12px; background: var(--th-mist); }
.nt-empty { border-color: #bfe2ef; border-radius: 14px; background: var(--th-mist); }
.nt-empty i { color: var(--th-aqua); }
a.nt-title:focus-visible, .nt-icon-btn:focus-visible, .nt-btn:focus-visible, .nt-tab:focus-visible { outline-color: var(--th-sky); }
@media (hover: hover) { a.nt-title:hover { color: var(--th-sky); } .nt-icon-btn:hover { background: var(--th-pale); } }

/* ===== Profil (public/profile.php) ===== */
.pf-card { border: 1px solid var(--th-line); border-radius: 16px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); }
.pf-card-title { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--th-line); font-weight: 800; letter-spacing: -0.025em; }
.pf-card-title::before { content: ''; flex-shrink: 0; width: 4px; height: 18px; border-radius: 2px; background: linear-gradient(var(--th-sky), var(--th-aqua)); }
.pf-side .pf-card { position: relative; overflow: hidden; }
.pf-side .pf-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--th-sky), var(--th-aqua)); }
.pf-side .pf-avatar { border: 3px solid #fff; background: var(--th-pale); color: #8fc3d8; box-shadow: 0 0 0 1px var(--th-line), 0 10px 26px -12px rgba(8,60,92,0.35); }
.pf-name { font-family: var(--hm-display); font-weight: 800; letter-spacing: -0.02em; color: var(--th-ink); }
.pf-field label { font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em; color: var(--th-deep); }
.pf-field input, .pf-field select { border-color: #cfe4ee; border-radius: 8px; background: #fbfeff; }
.pf-field input:focus, .pf-field select:focus { border-color: var(--th-sky); background: #fff; box-shadow: 0 0 0 3px rgba(22,141,189,0.15); }
.pf-field input:disabled { background: var(--th-pale); }
.pf-card .pf-forgot a { color: var(--th-sky); }

/* ===== Hesabim (public/account.php) ===== */
.acct-card { border: 1px solid var(--th-line); border-radius: 16px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); }
.acct-row-icon { border-radius: 8px; background: var(--th-pale); color: var(--th-sky); }

/* ===== Koyu lacivert dugme / secili durumlar -> gok mavisi, koseli (ogrenci + mentor sayfalari) ===== */
.lb-me-empty .btn, .lb-empty .btn, .rs-btn, .es-start, .pay-unavailable-link, .support-section .sp-submit, .support-section .st-new, .support-section .sp-topic, .support-section .st-filter, .pay-page .pay-button { border-radius: 6px; font-weight: 800; }
.lb-me-empty .btn, .lb-empty .btn, .rs-btn-primary, .es-start, .pay-unavailable-link, .support-section .sp-submit, .support-section .st-new, .pay-page .pay-button, .ck-btn-solid { border-color: var(--th-sky); background: var(--th-sky); color: #fff; }
.pay-page .pay-button { box-shadow: 0 14px 30px -16px rgba(8,60,92,0.7); }
.rs-chip.is-active, .support-section .sp-topic[aria-pressed="true"], .support-section .st-filter.is-active, .mt-tab.is-active { border-color: var(--th-pine); background: var(--th-pine); color: #fff; }
.support-section .sp-new-icon { border-radius: 12px; background: linear-gradient(135deg, #05a3d8, #0d5a99); color: #fff; }
.support-chat-page .support-msg.is-mine .support-bubble { border-color: transparent; background: linear-gradient(135deg, #0d618a, #078fba); }
.support-chat-page .support-send-btn { background: var(--th-sky); border-radius: 10px; }
.pay-page .pay-radio::after, .cookie-switch input:checked + span { background: var(--th-sky); }
.logo-icon { background: linear-gradient(135deg, #05a3d8, #0d5a99); color: #fff; }
.tour-btn { border-radius: 6px; border-color: var(--th-sky); background: var(--th-sky); font-weight: 800; }
.ck-btn, .ck-btn-solid, .ck-btn-ghost { border-radius: 6px; }
.cookie-banner-title i { color: var(--th-sky); }
@media (hover: hover) {
    .lb-me-empty .btn:hover, .lb-empty .btn:hover, .rs-btn-primary:hover, .es-start:hover, .pay-unavailable-link:hover, .support-section .sp-submit:hover, .support-section .st-new:hover, .support-chat-page .support-send-btn:hover, .ck-btn-solid:hover { border-color: var(--th-deep); background: var(--th-deep); color: #fff; }
    .pay-page .pay-button:hover { background: var(--th-deep); }
}

/* Destek kartlari */
.support-section .support-card { border-color: var(--th-line); border-radius: 16px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); }
.support-section .sp-new-head { background: linear-gradient(135deg, #fbfeff, #eef9fe); border-bottom-color: var(--th-line); }
.support-section .support-ticket-item { border-radius: 10px; }

/* ===== Hakkimizda (public/about.php): deniz mavisi bant, altin yerine su yesili ===== */
.about-hero { background: radial-gradient(900px 420px at 50% -30%, rgba(54,198,223,0.35), transparent 65%), radial-gradient(600px 300px at 100% 110%, rgba(22,141,189,0.3), transparent 60%), linear-gradient(160deg, #0a4467 0%, #083c5c 55%, #072f47 100%); }
.about-hero h1 { font-family: var(--hm-display); letter-spacing: -0.045em; }
.about-eyebrow { border-radius: 0; border: 0; background: none; padding: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.2em; color: #a8e6f5; }
.about-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--th-aqua); }
.about-eyebrow i { display: none; }
.about-stats { border-color: var(--th-line); border-radius: 16px; box-shadow: var(--th-shadow); }
.about-stat i { color: var(--th-sky); }
.about-stat .stat-number { font-family: var(--hm-display); letter-spacing: -0.04em; color: var(--th-deep); }
.about-stat-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hm-muted); }
.home-eyebrow { border-radius: 0; background: none; padding: 0; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.2em; color: #087faa; }
.home-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--th-aqua); }
.home-eyebrow i { display: none; }
.home-heading h2, .about-story h2, .about-mv-card h3 { font-family: var(--hm-display); letter-spacing: -0.045em; color: var(--th-ink); }
.about-mv-card h3 { color: #fff; }
.about-checks i { background: var(--th-pale); color: var(--th-sky); }
.about-story-visual img { border-radius: 18px; }
.about-story-badge { border: 1px solid var(--th-line); border-radius: 12px; }
.about-story-badge > i { border-radius: 10px; background: linear-gradient(135deg, #05a3d8, #0d5a99); color: #fff; }
.about-mv-card { border-radius: 16px; }
.about-mv-card.is-mission { background: linear-gradient(135deg, #0d618a, #078fba); }
.about-mv-card.is-vision { background: linear-gradient(135deg, #0a426f, #072f47); }
.about-mv-icon { border-radius: 12px; color: #fff; }
.about-values-wrap { background: var(--th-mist); }
.about-value { border-color: var(--th-line); border-radius: 14px; }
.about-value-icon { border-radius: 10px; }
.about-value h3, .about-olympiad-text strong { font-family: var(--hm-display); font-weight: 800; letter-spacing: -0.02em; }
.about-olympiad { border-color: var(--th-line); border-radius: 12px; }
.home-btn { border-radius: 6px; font-weight: 800; }
.home-btn-primary { background: var(--th-sky); box-shadow: none; }
.home-btn-primary:hover { background: var(--th-deep); box-shadow: none; }
.home-btn-light { color: var(--th-deep); }
.home-btn-light:hover { background: var(--th-pale); color: var(--th-deep); }
.home-cta { border-radius: 16px; background: radial-gradient(ellipse at 90% 0%, rgba(54,198,223,0.3), transparent 50%), linear-gradient(120deg, #0b567a, #083c5c); }
.home-cta h2 { font-family: var(--hm-display); letter-spacing: -0.045em; }

/* ===== Mentor paneli (public/mentor*.php, my-mentor.php, messages.php) ===== */
.mt-hero-avatar { border: 3px solid #fff; background: var(--th-pale); color: #8fc3d8; box-shadow: 0 0 0 1px var(--th-line), 0 10px 26px -12px rgba(8,60,92,0.35); }
.mt-card { border: 1px solid var(--th-line); border-radius: 16px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); }
.mt-card > h2, .mt-card-head h2 { font-weight: 800; letter-spacing: -0.025em; }
.mt-card > h2 i, .mt-card-head h2 i { color: var(--th-sky); }
.mt-stat { border: 1px solid var(--th-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 30px rgba(11,80,116,0.05); }
.mt-stat dt { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.mt-stat dd { font-weight: 800; letter-spacing: -0.04em; color: var(--th-deep); }
.mt-stat.is-warn { border-color: transparent; background: linear-gradient(135deg, #0d618a, #078fba); }
.mt-stat.is-warn dt { color: #c9ecf7; }
.mt-stat.is-warn dd { color: #fff; }
.mt-avatar { background: var(--th-pale); color: #6fb3cf; }
.mt-pill, .mt-count, .mm-unread { border-radius: 5px; }
.mt-pill { background: var(--th-pale); color: #2f5f76; font-weight: 700; }
.mt-pill.is-score { background: var(--th-pale); color: var(--th-pine); }
.mt-btn { border-radius: 6px; font-weight: 800; }
.mt-btn-primary { background: var(--th-sky); }
.mt-btn-primary:hover { background: var(--th-deep); }
.mt-btn-outline { border-color: #8fc3d8; color: var(--th-deep); }
.mt-btn-outline:hover { background: var(--th-pale); color: var(--th-deep); }
.mt-btn:focus-visible, .mt-tab:focus-visible { outline-color: var(--th-aqua); }
.mt-search input { border-color: var(--th-line); border-radius: 8px; }
.mt-search input:focus { border-color: var(--th-sky); box-shadow: 0 0 0 3px rgba(22,141,189,0.15); }
.mt-search i { color: var(--th-sky); }
.mt-tab { border-color: var(--th-line); border-radius: 8px; font-weight: 700; }
.mt-topic-bar { border-radius: 4px; }
.mm-conv { border-radius: 10px; }
.mm-conv:hover { background: var(--th-mist); }
.mm-conv.is-active { background: var(--th-pale); box-shadow: inset 3px 0 0 var(--th-sky); }
.mc-bubble { background: var(--th-mist); border: 1px solid var(--th-line); }
.mc-msg.is-mine .mc-bubble { border-color: transparent; background: linear-gradient(135deg, #0d618a, #078fba); }
.oe-panel-item:hover { background: var(--th-mist); }
.oe-panel-cover { border-radius: 8px; }
/* Mentor kayit adimlari */
.mo-steps li.is-done:not(:last-child)::after { background: var(--th-sky); }
.mo-steps li.is-done .mo-dot { border-color: var(--th-sky); background: var(--th-sky); }
.mo-steps li.is-current .mo-dot { border-color: var(--th-sky); color: var(--th-sky); box-shadow: 0 0 0 4px var(--th-pale); }

/* ===== Sayfa turu penceresi (mentor sayfalari) ===== */
.tour-card { border: 1px solid var(--th-line); border-radius: 14px; }
.tour-progress { height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--th-sky) var(--p, 0%), var(--th-pale) var(--p, 0%)); }
.tour-btn:hover { border-color: var(--th-deep); background: var(--th-deep); color: #fff; }
.tour-btn-ghost { border-color: #8fc3d8; background: #fff; color: var(--th-deep); }
.tour-btn-ghost:hover { background: var(--th-pale); color: var(--th-deep); border-color: var(--th-sky); }
.tour-card h3, .tour-title { font-family: var(--hm-display); font-weight: 800; letter-spacing: -0.02em; }
.tour-step, .tour-count { color: #087faa; }
.header-tour { color: var(--th-sky); }

/* ===== Sinav ekrani (public/exam-take.php; header kullanmaz, temayi kendisi yukler) ===== */
.exam-body { background: radial-gradient(ellipse at 85% 0%, #e3f7ff 0, transparent 45%), var(--th-mist); }
.exam-topbar { border-bottom-color: #dcecf3; box-shadow: 0 1px 0 rgba(255,255,255,0.6), 0 6px 24px -18px rgba(8,60,92,0.35); }
.exam-topbar::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--th-sky), var(--th-aqua), var(--th-sky)); }
.exam-topbar-left h2 { font-weight: 800; letter-spacing: -0.02em; }
.exam-topbar-left h2 i { color: var(--th-sky); }
.exam-topbar .exam-category-badge { border-radius: 5px; background: var(--th-pale); color: #0579a3; font-size: 12px; font-weight: 800; letter-spacing: 0.02em; }
.exam-timer { border-radius: 8px; background: linear-gradient(135deg, #0b567a, #083c5c); font-family: var(--hm-display); font-weight: 800; letter-spacing: -0.02em; }
.exam-timer i { color: var(--th-aqua); }
.exam-timer.warning { background: var(--hm-gold); }
.exam-timer.warning i { color: var(--th-ink); }
.exam-integrity-status { border-color: var(--th-line); border-radius: 8px; }
.exam-integrity-status i { color: var(--th-sky); }
.exam-topbar-right .btn { border-radius: 6px; font-weight: 800; }
.exam-progress-text { font-weight: 600; }

.exam-nav-panel { border-right-color: #dcecf3; }
.exam-nav-panel h4 { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #087faa; }
.q-nav-btn { border-color: var(--th-line); border-radius: 8px; font-weight: 700; }
.q-nav-btn.current { border-color: var(--th-sky); background: var(--th-sky); box-shadow: 0 6px 16px -8px rgba(22,141,189,0.8); }
.legend-dot.current { background: var(--th-sky); }

.question-number { border-color: var(--th-line); border-radius: 6px; color: #087faa; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.question-text { color: var(--th-ink); }
.option-item { border-color: #d4e8f1; border-radius: 10px; transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease; }
.option-letter { border-radius: 8px; background: var(--th-pale); color: var(--th-pine); font-family: var(--hm-display); font-weight: 800; }
.option-item.selected { border-color: var(--th-sky); background: #effaff; box-shadow: 0 0 0 1px var(--th-sky), 0 10px 26px -18px rgba(22,141,189,0.9); }
.option-item.selected .option-letter { background: var(--th-sky); color: #fff; }
.question-actions { border-top-color: var(--th-line); }
.question-actions .btn { border-radius: 6px; font-weight: 800; }
.question-actions .btn-primary { border-color: var(--th-sky); background: var(--th-sky); }
.question-actions .btn-outline { border-color: #8fc3d8; color: var(--th-deep); }
.exam-nav-toggle { border-color: var(--th-line); border-radius: 8px; }
@media (hover: hover) {
    .option-item:not(.selected):hover { border-color: #8fc3d8; background: #fbfeff; }
    .q-nav-btn:not(.current):hover { border-color: var(--th-sky); }
    .question-actions .btn-primary:hover { background: var(--th-deep); border-color: var(--th-deep); }
    .question-actions .btn-outline:hover { background: var(--th-pale); color: var(--th-deep); }
}

/* Kalem modu */
.pen-toggle { border-radius: 10px; background: var(--th-sky); }
.pen-toggle[aria-pressed="true"] { background: var(--th-deep); }
.pen-tool { border-color: var(--th-line); border-radius: 10px; }
.pen-tool.is-active, .pen-size.is-active { border-color: var(--th-sky); }
.pen-tool.is-active { background: var(--th-sky); }
.pen-size.is-active { background: var(--th-pale); box-shadow: 0 0 0 1px var(--th-sky); }
.pen-size i { background: var(--th-deep); }
.pen-hint { border-radius: 8px; background: var(--th-deep); }
.pen-toggle:focus-visible, .pen-panel button:focus-visible { outline-color: var(--th-aqua); }

/* Pencereler (bitir onayi, kural ihlali) - site tarafi */
.modal-overlay { background: rgba(6,40,62,0.5); }
.modal-content, .exam-body .modal-content { border-radius: 14px; border: 1px solid var(--th-line); box-shadow: 0 30px 80px -30px rgba(8,60,92,0.6); }
.modal-header { border-bottom-color: var(--th-line); }
.modal-header h3 { font-family: var(--hm-display); font-weight: 800; letter-spacing: -0.02em; }
.modal-actions { border-top-color: var(--th-line); background: var(--th-mist); border-radius: 0 0 14px 14px; }
.modal-actions .btn, .exam-body .modal-actions .btn { border-radius: 6px; font-weight: 800; }
.exam-body .modal-actions .btn-outline { border-color: #8fc3d8; color: var(--th-deep); }

/* ===== Sinav baslangici (public/exam-start.php) ===== */
/* style.css'teki admin .es-lang kurali (select kutusu) ogrenci etiketine de uyuyordu: cift cerceve */
.es-langs .es-lang { position: relative; display: block; width: auto; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.es-back { min-height: 36px; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #087faa; }
.es-back i { color: var(--th-aqua); }
.es-meta { font-weight: 700; color: #0579a3; }
.es-facts > div { border: 1px solid var(--th-line); border-radius: 14px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); }
.es-facts dt { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.es-facts dt i { color: var(--th-sky); }
.es-facts dd { font-weight: 800; letter-spacing: -0.03em; color: var(--th-deep); }
.es-card { border: 1px solid var(--th-line); border-radius: 16px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); }
.es-card h2 { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.025em; }
.es-card h2::before { content: ''; flex-shrink: 0; width: 4px; height: 18px; border-radius: 2px; background: linear-gradient(var(--th-sky), var(--th-aqua)); }
.es-lang-card { border-color: #d4e8f1; border-radius: 10px; }
.es-lang-card i { color: var(--th-sky); }
.es-lang input:checked + .es-lang-card { border-color: var(--th-sky); background: #effaff; box-shadow: 0 0 0 1px var(--th-sky); }
.es-lang input:focus-visible + .es-lang-card, .es-start:focus-visible, .es-back:focus-visible { outline-color: var(--th-aqua); }
.es-rules li::before { background: var(--th-sky); }
.es-rules li.is-strict { border-radius: 8px; }
@media (hover: hover) {
    .es-lang-card:hover { border-color: #8fc3d8; }
    .es-back:hover { color: var(--th-deep); }
}

/* ===== Olimpiyat basvurulari (public/olympiad-events.php, olympiad-event.php, mentor-olympiad.php) ===== */
.oe-reg-state { border-radius: 5px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.oe-card { border: 1px solid var(--th-line); border-radius: 16px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.oe-card h2 { letter-spacing: -0.035em; color: var(--th-ink); }
.oe-card-sub { color: var(--th-sky); }
.oe-card-meta i { color: var(--th-sky); }
.oe-card-go { color: var(--th-sky); font-weight: 800; }
@media (hover: hover) { .oe-card:hover { transform: translateY(-3px); box-shadow: var(--th-shadow); } }

.oed-kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.2em; color: #087faa; }
.oed-kicker i { color: var(--th-aqua); }
.oed-sub { color: var(--th-pine) !important; }
.oed-fee strong { font-weight: 800; letter-spacing: -0.04em; color: var(--th-deep); }
.oed-reg-facts div { border-top-color: var(--th-line); }
.oed-side .mt-card { position: relative; overflow: hidden; }
.oed-side .mt-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--th-sky), var(--th-aqua)); }
/* Asamalar: numara rozetleri deniz tonlarinda, liste acik su mavisi */
.oed-stage-no { border-radius: 12px; background: linear-gradient(135deg, #0d618a, #078fba); color: #fff; font-family: var(--hm-display); font-weight: 800; box-shadow: 0 8px 18px -10px rgba(8,60,92,0.7); }
.pay-campaign-badge { border-radius: 5px; background: var(--th-pale); color: #0579a3; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.oed-stage:nth-child(2) .oed-stage-no { background: linear-gradient(135deg, #057eaa, #1ba9cb); }
.oed-stage:nth-child(3) .oed-stage-no { background: linear-gradient(135deg, #0a426f, #066e9e); }
.oed-stage-label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; color: #087faa; }
.oed-stage-body h3 { font-weight: 800; letter-spacing: -0.025em; }
.oed-stage-meta i { color: var(--th-sky); }
.oed-stage-list { border: 1px solid var(--th-line); border-radius: 10px; background: var(--th-mist); }
.oed-stage-list li::before { background: var(--th-aqua); }
.oed-content h2 { font-weight: 800; letter-spacing: -0.035em; }
.oed-faq details { border-color: var(--th-line); border-radius: 10px; }
.oed-faq details[open] { background: var(--th-mist); border-color: #a9dcef; }
.oed-faq summary i { color: var(--th-sky); }
.oed-cover { border-color: var(--th-line); border-radius: 16px; }
.oed-link { color: var(--th-sky); }

/* ===== Destek talebi sohbeti (public/support-ticket.php) + talep listesi ===== */
.support-section .st-filter i { color: var(--th-sky); }
.support-section .st-filter.is-active i { color: #fff; }
.support-status { border-radius: 5px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.04em; }
.support-chat-page { background: radial-gradient(ellipse at 85% 0%, #e3f7ff 0, transparent 45%), var(--th-mist); }
.support-chat-page .support-chat { position: relative; overflow: hidden; border-color: var(--th-line); border-radius: 16px; box-shadow: 0 20px 50px -30px rgba(8,60,92,0.45); }
.support-chat-page .support-chat::before { content: ''; position: absolute; z-index: 1; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--th-sky), var(--th-aqua)); }
.support-chat-page .support-chat-header { border-bottom-color: var(--th-line); }
.support-chat-page .support-chat-title { font-weight: 800; letter-spacing: -0.02em; }
.support-chat-page .support-messages { background: #f7fcfe; }
.support-chat-page .support-bubble { border: 1px solid var(--th-line); border-radius: 12px; box-shadow: none; }
.support-chat-page .support-bubble-author { color: #087faa; font-weight: 800; }
.support-chat-page .support-composer { border-top-color: var(--th-line); }
.support-chat-page .support-composer textarea { border-color: #d4e8f1; border-radius: 10px; background: #fbfeff; }
.support-chat-page .support-composer textarea:focus { border-color: var(--th-sky); box-shadow: 0 0 0 3px rgba(22,141,189,0.15); }

/* ===== Kampanyalar (public/campaigns.php, campaign.php) - vurgu rengi --cmp-color admin secimi, korunur ===== */
.cmp-body, .cmpd-body { background: #fff; }
.cmp-section-title { font-family: var(--hm-display); font-weight: 800; letter-spacing: -0.03em; color: var(--th-ink); }
.cmp-section-title i { color: var(--th-sky); }
.cmp-card { border: 1px solid var(--th-line); border-radius: 16px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.cmp-cover.is-empty, .cmp-body .cmp-cover.is-empty { background: radial-gradient(ellipse at 80% 10%, rgba(54,198,223,0.45), transparent 55%), linear-gradient(135deg, #0d618a, #083c5c); color: rgba(255,255,255,0.9); }
.cmp-off { border-radius: 5px; font-size: 12px; letter-spacing: 0.04em; }
.cmp-type { font-size: 11.5px; letter-spacing: 0.14em; }
.cmp-badge, .cmpd-badge { border-radius: 5px; background: var(--th-pale); color: #0579a3; font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.cmp-card h3 { font-family: var(--hm-display); letter-spacing: -0.03em; color: var(--th-ink); }
.cmp-exams li { border-radius: 8px; background: var(--th-mist); }
.cmp-price { border-top-color: var(--th-line); }
.cmp-price strong, .cmpd-buy-price strong { font-family: var(--hm-display); letter-spacing: -0.04em; color: var(--th-deep); }
.cmp-price strong.is-text, .cmpd-buy-price strong.is-text { font-family: var(--hm-display); letter-spacing: -0.03em; }
.cmp-meta i, .cmpd-buy-end i { color: var(--th-sky); }
.cmp-saving { border-radius: 5px; }
.cmp-note { border-radius: 8px; background: var(--th-mist); color: var(--th-pine); }
.cmp-btn, .cmp-mini-btn, .cmp-body .cmp-btn, .cmpd-body .cmp-btn, .cmpd-body .cmp-mini-btn { border-radius: 6px; font-weight: 800; }
.cmp-empty { border-color: #bfe2ef; border-radius: 16px; background: var(--th-mist); }
.cmp-empty-icon { border-radius: 14px; background: var(--th-pale); color: var(--th-sky); }
@media (hover: hover) { .cmp-card:hover { transform: translateY(-3px); box-shadow: var(--th-shadow); } }

.cmpd-hero:not(.has-cover) { background-color: #fff; background-image: radial-gradient(ellipse at 80% 20%, #dff7ff 0, transparent 55%), linear-gradient(120deg, #fff 40%, var(--th-mist)); background-size: auto; border-bottom: 1px solid #e3f1f7; }
.cmpd-hero.has-cover { background: #072f47; }
.cmpd-hero-cover::after { background: linear-gradient(180deg, rgba(6,48,74,0.55), rgba(6,40,62,0.9)); }
.cmpd-hero h1 { font-weight: 800; letter-spacing: -0.045em; }
.cmpd-back { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.cmpd-hero:not(.has-cover) .cmpd-back { color: #087faa; }
.cmpd-type { border-radius: 5px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.cmpd-title { font-family: var(--hm-display); letter-spacing: -0.03em; color: var(--th-ink); }
.cmpd-exam { border-color: var(--th-line); border-radius: 12px; box-shadow: 0 6px 22px rgba(11,80,116,0.04); }
.cmpd-exam-icon { border-radius: 10px; }
.cmpd-exam h3 { font-family: var(--hm-display); font-weight: 800; letter-spacing: -0.02em; color: var(--th-ink); }
.cmpd-exam-meta li { border-radius: 5px; background: var(--th-pale); color: #2f5f76; font-weight: 700; }
.cmpd-exam-price strong { color: var(--th-deep); }
.cmpd-terms { border-top-color: var(--th-line); }
.cmpd-buy { position: relative; overflow: hidden; border-color: var(--th-line); border-radius: 16px; box-shadow: var(--th-shadow); }
.cmpd-buy::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--th-sky), var(--th-aqua)); }
.cmpd-buy-label { color: #087faa; letter-spacing: 0.14em; }

/* Rozet ilerleme halkasi + odeme sayfasi sinav kapagi zemini */
.bdg-ring { background: conic-gradient(var(--th-sky) 0, var(--th-aqua) calc(var(--pct) * 1%), var(--th-pale) 0); }
.bdg-ring strong { font-weight: 800; letter-spacing: -0.04em; color: var(--th-deep); }
.pay-exam-cover { border-radius: 10px; background: var(--th-pale); }

/* Cerez penceresi ikonu */
.cookie-dialog-mark { border-radius: 10px; background: var(--th-pale); color: var(--th-sky); }

/* ===== Yasal belgeler / sozlesmeler (public/legal.php) ===== */
.legal-hero .legal-breadcrumb a.page-hero-back { color: #087faa; }
@media (hover: hover) { .legal-hero .legal-breadcrumb a.page-hero-back:hover { color: var(--th-deep); } }
.legal-hero .legal-meta-row span { border-color: var(--th-line); border-radius: 6px; background: rgba(255,255,255,0.85); color: #2f5f76; font-size: 13px; font-weight: 600; }
.legal-hero .legal-meta-row i { color: var(--th-sky); }
.legal-section .legal-article { position: relative; overflow: hidden; border-color: var(--th-line); border-radius: 16px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); }
.legal-section .legal-article::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--th-sky), var(--th-aqua)); }
.legal-section .legal-article-actions .btn { border-radius: 6px; border-color: #8fc3d8; color: var(--th-deep); font-weight: 800; }
.legal-section .legal-content { color: #22384a; }
.legal-section .legal-content h2 { position: relative; padding-inline-start: 16px; font-family: var(--hm-display); font-weight: 800; letter-spacing: -0.03em; color: var(--th-ink); border-top-color: var(--th-line); }
.legal-section .legal-content h2::before { content: ''; position: absolute; inset-inline-start: 0; bottom: 5px; width: 4px; height: 20px; border-radius: 2px; background: linear-gradient(var(--th-sky), var(--th-aqua)); }
.legal-section .legal-content h3 { font-family: var(--hm-display); font-weight: 800; letter-spacing: -0.02em; color: var(--th-pine); }
.legal-section .legal-content h2:target, .legal-section .legal-content h3:target { color: var(--th-sky); }
.legal-section .legal-content li::marker { color: var(--th-sky); }
.legal-section .legal-content strong { color: var(--th-ink); }
.legal-section .legal-content a { color: var(--th-sky); text-decoration-color: rgba(22,141,189,0.4); }
.legal-section .legal-content hr { border-top-color: var(--th-line); }
.legal-section .legal-content blockquote { margin: 0 0 16px; padding: 12px 16px; border-inline-start: 4px solid var(--th-sky); border-radius: 0 8px 8px 0; background: var(--th-mist); }
.legal-section .legal-content table { width: 100%; margin: 0 0 16px; border-collapse: collapse; font-size: 15px; }
.legal-section .legal-content th, .legal-section .legal-content td { padding: 8px 10px; border: 1px solid var(--th-line); text-align: start; }
.legal-section .legal-content th { background: var(--th-mist); color: var(--th-deep); }

.legal-section .legal-aside-card { border-color: var(--th-line); border-radius: 14px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); }
.legal-section .legal-aside-card h4 { font-size: 11.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #087faa; }
/* Icindekiler: ince dikey cizgi uzerinde maddeler */
.legal-section .legal-toc ol { border-inline-start: 2px solid var(--th-line); }
.legal-section .legal-toc a { margin-inline-start: -2px; border-inline-start: 2px solid transparent; border-radius: 0 8px 8px 0; }
.legal-section .legal-doc-nav a { border-radius: 8px; }
.legal-section .legal-doc-nav a i { color: var(--th-sky); }
.legal-section .legal-doc-nav a.active { background: var(--th-pale); color: var(--th-deep); font-weight: 800; box-shadow: inset 3px 0 0 var(--th-sky); }
[dir="rtl"] .legal-section .legal-doc-nav a.active { box-shadow: inset -3px 0 0 var(--th-sky); }
.legal-section .legal-doc-nav a.active i { color: var(--th-sky); }
.legal-toc-mobile { border-color: var(--th-line); border-radius: 10px; background: var(--th-mist); }
.legal-toc-mobile summary { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #087faa; }
.legal-toc-mobile summary::after { color: var(--th-sky); }
.legal-toc-mobile a { border-radius: 8px; }
@media (hover: hover) {
    .legal-section .legal-toc a:hover { border-inline-start-color: var(--th-sky); background: var(--th-mist); color: var(--th-deep); }
    .legal-section .legal-doc-nav a:hover { background: var(--th-mist); color: var(--th-deep); }
    .legal-toc-mobile a:hover { background: #fff; color: var(--th-deep); }
    .legal-section .legal-article-actions .btn:hover { background: var(--th-pale); color: var(--th-deep); }
}

/* Belge listesi (legal.php, belge secilmemis) */
.legal-section .legal-card { position: relative; overflow: hidden; border-color: var(--th-line); border-radius: 16px; box-shadow: 0 8px 30px rgba(11,80,116,0.05); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.legal-section .legal-card-icon { border-radius: 12px; background: linear-gradient(135deg, #05a3d8, #0d5a99); color: #fff; box-shadow: 0 6px 18px rgba(0,110,165,0.22); }
.legal-section .legal-card h3 { font-family: var(--hm-display); font-weight: 800; letter-spacing: -0.03em; color: var(--th-ink); }
.legal-section .legal-card-footer { border-top-color: var(--th-line); }
.legal-section .legal-card-link { color: var(--th-sky); font-weight: 800; }
@media (hover: hover) { .legal-section .legal-card:hover { transform: translateY(-3px); border-color: #a9dcef; box-shadow: var(--th-shadow); } }
@media print {
    .site-footer, .nav-backdrop, .page-hero::before { display: none !important; }
    .page-hero { border-bottom: 0; background: none !important; }
    .legal-section .legal-article { border: 0 !important; box-shadow: none !important; }
    .legal-section .legal-article::before, .legal-section .legal-content h2::before { display: none; }
    .legal-section .legal-content h2 { padding-inline-start: 0; }
}

/* ===== Footer: koyu deniz mavisi ===== */
.site-footer { position: relative; background: radial-gradient(ellipse at 90% 0%, rgba(54,198,223,0.12) 0, transparent 45%), #072f47; border-top: 0; color: #cfe4ee; }
.site-footer::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--th-sky), var(--th-aqua), var(--th-sky)); }
.sf-logo { color: #fff; font-family: var(--hm-display); font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; font-size: 19px; }
.sf-logo img { padding: 4px; border-radius: 10px; background: #fff; }
.sf-logo > span { display: flex; flex-direction: column; line-height: 1.1; }
.sf-logo small { margin-top: 4px; font-family: var(--font); font-size: 8.5px; font-weight: 800; letter-spacing: 0.14em; color: #7fd6ea; }
/* Misafir cagri bandi (footer ustu) */
.sf-cta { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin: 0 0 40px; padding: 34px 38px; border: 1px solid rgba(168,230,245,0.22); border-radius: 16px; background: radial-gradient(ellipse at 95% 0%, rgba(54,198,223,0.28), transparent 55%), linear-gradient(120deg, #0b567a, #083c5c); }
.sf-cta::after { content: ''; position: absolute; top: -120px; inset-inline-end: -80px; width: 300px; height: 300px; border: 1px dashed rgba(168,230,245,0.28); border-radius: 50%; pointer-events: none; }
.sf-cta .eyebrow { margin-bottom: 10px; color: #a8e6f5; }
.sf-cta h2 { max-width: 18em; margin: 0; font-family: var(--hm-display); font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; line-height: 1.15; letter-spacing: -0.045em; color: #fff; }
.sf-cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; }
.sf-cta-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid #fff; border-radius: 6px; background: #fff; color: var(--th-deep); font-size: 14.5px; font-weight: 800; text-decoration: none; transition: transform 0.2s ease, background 0.2s ease; }
.sf-cta-btn.is-ghost { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
@media (hover: hover) {
    .sf-cta-btn:hover { transform: translateY(-2px); background: var(--th-pale); color: var(--th-deep); }
    .sf-cta-btn.is-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
}
@media (max-width: 640px) {
    .sf-cta { padding: 26px 20px; margin-bottom: 28px; }
    .sf-cta-actions, .sf-cta-btn { width: 100%; }
}
.sf-brand p, .sf-contact address, .sf-bottom p, .sf-legal a, .sf-legal button, .sf-credit { color: #9fc3d4; }
.sf-social a { border-color: rgba(255,255,255,0.2); color: #fff; border-radius: 8px; }
.sf-col h2 { font-size: 11.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #7fd6ea; }
.sf-col ul a { color: #d6e9f1; }
.sf-mail, .sf-pay-label, .sf-credit a { color: #fff; }
.sf-pay, .sf-credit { border-color: rgba(255,255,255,0.14); }
.sf-pay-label i, .sf-pay-list li i { color: var(--th-aqua); }
.sf-pay-list li { border-color: transparent; background: #fff; }
.site-footer a:focus-visible, .site-footer button:focus-visible { outline-color: var(--th-aqua); }
@media (hover: hover) {
    .sf-col ul a:hover, .sf-legal a:hover, .sf-legal button:hover, .sf-mail:hover, .sf-credit a:hover { color: var(--th-aqua); }
    .sf-social a:hover { border-color: var(--th-aqua); }
}

@media (prefers-reduced-motion: reduce) {
    .btn, .hm-btn, .hm-exam, .exlist-card, .auth-min-btn { transition: none; }
    .btn:hover, .hm-btn:hover, .hm-exam:hover, .exlist-card:hover, .auth-min-btn:hover { transform: none; }
}


/* ---- Ogrenci paneli: ders ve sinif performansi (public/dashboard.php, userSubjectPerformance) ---- */
.dpf { margin-top: 20px; }
.dpf-desc { margin: 4px 0 0; font-size: 14px; color: var(--hm-muted, #5b6b82); }
.dpf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 16px; }
.dpf-item { display: flex; flex-direction: column; gap: 14px; padding: 16px; border: 1px solid var(--th-line, #e3e9f2); border-radius: 14px; background: var(--white, #fff); min-width: 0; }
.dpf-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.dpf-title { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dpf-title strong { font-size: 16.5px; line-height: 1.3; color: var(--hm-ink, #14213d); overflow-wrap: anywhere; }
.dpf-grade { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--th-pale, #eaf4fb); color: var(--th-sky, #0b5074); font-size: 12.5px; font-weight: 700; }
.dpf-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.dpf-stats > div { padding: 10px; border-radius: 10px; background: var(--hm-paper, #f5f8fc); text-align: center; }
.dpf-stats dt { font-size: 11.5px; color: var(--hm-muted, #5b6b82); line-height: 1.3; }
.dpf-stats dd { margin: 4px 0 0; font-size: 17px; font-weight: 800; color: var(--hm-ink, #14213d); }
.dpf-stats .dpf-avg.is-high { background: #e6f7f0; } .dpf-stats .dpf-avg.is-high dd { color: #0a7250; }
.dpf-stats .dpf-avg.is-mid { background: #fff4d1; } .dpf-stats .dpf-avg.is-mid dd { color: #6b4f00; }
.dpf-stats .dpf-avg.is-low { background: #fdeeee; } .dpf-stats .dpf-avg.is-low dd { color: #b4232a; }
.dpf-block h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13.5px; font-weight: 700; color: var(--hm-ink, #14213d); }
.dpf-stack { display: flex; height: 12px; overflow: hidden; border-radius: 999px; background: var(--hm-paper, #f5f8fc); }
.dpf-stack span { display: block; height: 100%; }
.dpf-stack .is-ok, .dpf-legend .is-ok, .dpf-topic-bar .is-ok { background: #17a673; }
.dpf-stack .is-bad, .dpf-legend .is-bad, .dpf-topic-bar .is-bad { background: #e2574c; }
.dpf-stack .is-empty, .dpf-legend .is-empty { background: #c3ccd9; }
.dpf-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--hm-muted, #5b6b82); }
.dpf-legend li { display: inline-flex; align-items: center; gap: 6px; }
.dpf-legend i { width: 10px; height: 10px; border-radius: 3px; }
.dpf-legend strong { color: var(--hm-ink, #14213d); }
.dpf-trend { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.dpf-trend.is-up { background: #e6f7f0; color: #0a7250; }
.dpf-trend.is-down { background: #fdeeee; color: #b4232a; }
.dpf-trend.is-flat { background: var(--hm-paper, #f5f8fc); color: var(--hm-muted, #5b6b82); }
.dpf-spark { display: flex; align-items: flex-end; gap: 6px; margin: 0; padding: 0; list-style: none; }
.dpf-spark li { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.dpf-bar-area { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 64px; }
.dpf-bar-area span { display: block; width: 100%; max-width: 34px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--th-aqua, #34c3d6), var(--th-sky, #0b5074)); }
.dpf-spark small { margin-top: 4px; font-size: 11px; color: var(--hm-muted, #5b6b82); }
.dpf-topics { display: grid; gap: 12px; }
.dpf-topic-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dpf-topic-list li { display: grid; grid-template-columns: minmax(0, 1fr) 90px 42px; align-items: center; gap: 10px; font-size: 13.5px; }
.dpf-topic-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; line-height: 1.35; color: var(--hm-ink, #14213d); }
.dpf-topic-bar { height: 8px; overflow: hidden; border-radius: 999px; background: var(--hm-paper, #f5f8fc); }
.dpf-topic-bar span { display: block; height: 100%; border-radius: 999px; }
.dpf-topic-rate { text-align: end; font-weight: 700; color: var(--hm-ink, #14213d); }
.dpf-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--th-line, #e3e9f2); }
.dpf-foot small { color: var(--hm-muted, #5b6b82); font-size: 12.5px; }
.dpf-foot .dsh-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
@media (max-width: 640px) {
    .dpf-item { padding: 14px; }
    .dpf-topic-list li { grid-template-columns: minmax(0, 1fr) 64px 40px; }
}

/* ---- Olimpiyat sinavi giris kartlari (public/olympiad-card.php, includes/olympiad/olympiad-cards.php) ---- */
.oxc-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.oxc-how { flex: 1 1 320px; margin: 0; font-size: 14px; color: var(--hm-muted, #5b6b82); }
.oxc-how i { color: var(--th-sky, #0b5074); margin-inline-end: 4px; }
.oxc-group + .oxc-group { margin-top: 28px; }
.oxc-student-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; }
.oxc-student-links h2 { flex: 1 1 100%; display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; }
.oxc-student-links .mt-btn { min-height: 44px; }
.oxc-group-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.oxc-group-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 18px; color: var(--hm-ink, #14213d); }
.oxc-group-head h2 i { color: var(--th-sky, #0b5074); }
.oxc-wait { display: flex; align-items: center; gap: 12px; }
.oxc-wait i { font-size: 22px; color: var(--th-sky, #0b5074); }
.oxc-wait p { margin: 0; color: var(--hm-muted, #5b6b82); }
.oxc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(380px, 100%), 1fr)); gap: 20px; }
.oxc-item { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.oxc-card { aspect-ratio: 856 / 540; border-radius: 18px; box-shadow: 0 18px 40px -22px rgba(11,37,69,0.65); overflow: hidden; }
.oxc-card svg { display: block; width: 100%; height: 100%; }
.oxc-item figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.oxc-item figcaption > span { display: flex; flex-direction: column; min-width: 0; }
.oxc-item figcaption small { color: var(--hm-muted, #5b6b82); overflow-wrap: anywhere; }
.oxc-item figcaption .mt-btn { min-height: 44px; }
.oxc-dash { margin-bottom: 20px; }
.oxc-dash-group + .oxc-dash-group { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--th-line, #e3e9f2); }
.oxc-dash .oxc-toolbar strong { font-size: 15.5px; color: var(--hm-ink, #14213d); }
.oxc-dash .oxc-grid { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.oxc-dash-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.oe-card-btn { margin-top: 10px; min-height: 44px; }
.oe-cards-all, .oed-card-btn { display: flex; justify-content: center; margin-top: 10px; min-height: 44px; }
.ox-code-line { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--hm-muted, #5b6b82); }
.ox-code-line code { padding: 3px 8px; border-radius: 6px; background: var(--hm-paper, #f5f8fc); color: var(--hm-ink, #14213d); font-weight: 700; letter-spacing: 1.5px; font-size: 13.5px; }
@media (max-width: 640px) {
    .oxc-toolbar .mt-btn, .oxc-item figcaption .mt-btn { width: 100%; justify-content: center; }
}
/* Baski: sadece kartlar, gercek kart boyutunda (85,6 x 54 mm), A4'e ikiserli; kesim icin aralikli */
@media print {
    @page { size: A4; margin: 10mm; }
    body:has(.oxc-page) * { visibility: hidden !important; }
    .oxc-page, .oxc-page .oxc-grid, .oxc-page .oxc-grid * { visibility: visible !important; }
    .oxc-page { position: absolute; inset: 0 auto auto 0; width: 100%; padding: 0 !important; background: none !important; }
    .oxc-page > .container { max-width: none; padding: 0; }
    .oxc-page .oxc-toolbar, .oxc-page .oxc-group-head, .oxc-page .oxc-wait, .oxc-page .mt-empty { display: none !important; }
    .oxc-page .oxc-group + .oxc-group { margin-top: 8mm; }
    .oxc-page .oxc-grid { display: grid; grid-template-columns: repeat(2, 85.6mm); gap: 8mm 10mm; }
    .oxc-page .oxc-item { break-inside: avoid; page-break-inside: avoid; }
    .oxc-page .oxc-item figcaption { display: none !important; }
    .oxc-page .oxc-card { width: 85.6mm; height: 54mm; border-radius: 3.2mm; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
