/* EhliyetSınavı — shared theme CSS */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --bg: #F5F6FA;
  --surface: #FFFFFF;
  --surface-alt: #F0F2F8;
  --text: #1A1D26;
  --text-2: #6B7082;
  --text-3: #9B9FB0;
  --primary: #3B6AED;
  --primary-light: #EBF0FD;
  --primary-dark: #2A4FBD;
  --accent: #10B981;
  --accent-light: #ECFDF5;
  --warning: #F59E0B;
  --warning-light: #FEF9EC;
  --danger: #EF4444;
  --danger-light: #FEF2F2;
  --border: #E5E7EB;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); }

/* ─── Navbar ─── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 clamp(16px, 3vw, 40px);
  backdrop-filter: blur(12px);
}
.nav-logo {
  font-size: 26px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px;
  display: flex; align-items: center; gap: 8px;
  margin-right: 32px; white-space: nowrap;
}
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a { position: relative;
  padding: 8px 14px; border-radius: 8px;
  font-size: 16px; font-weight: 600; color: var(--text-2);
  transition: all 0.2s; text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--primary-light); color: var(--primary); text-decoration: none;
}
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-btn {
  padding: 8px 18px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; border: none; cursor: pointer;
  transition: all 0.2s;
}
.nav-btn--ghost { background: transparent; color: var(--text-2); }
.nav-btn--ghost:hover { background: var(--surface-alt); }
.nav-btn--primary { background: var(--primary); color: #fff; }
.nav-btn--primary:hover { background: var(--primary-dark); }
/* Mobile nav */
.nav-hamburger { display: none; width: 40px; height: 40px; border: none; background: none; cursor: pointer; color: var(--text); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; align-items: center; justify-content: center; }
  .nav-right .nav-btn { display: none; }
}

/* ─── Container ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.container--narrow { max-width: 800px; }

/* ─── Footer ─── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 64px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 32px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-size: 18px; font-weight: 800; color: var(--primary); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.footer-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.footer-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer-links a { font-size: 13px; color: var(--text-2); }
.footer-links a:hover { color: var(--primary); }
.footer-bottom {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-3); flex-wrap: wrap; gap: 8px;
}
.footer-bottom a { color: var(--text-3); margin-left: 16px; }

/* ─── Cards ─── */
.card {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ─── Badges ─── */
.badge {
  display: inline-flex; align-items: center; padding: 3px 10px;
  border-radius: 20px; font-size: 11px; font-weight: 600;
}
.badge--primary { background: var(--primary-light); color: var(--primary); }
.badge--danger { background: var(--danger-light); color: var(--danger); }
.badge--accent { background: var(--accent-light); color: var(--accent); }
.badge--warning { background: var(--warning-light); color: var(--warning); }

/* ─── Section ─── */
.section { padding: 48px 0; }
.section-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.section-sub { font-size: 14px; color: var(--text-2); margin-bottom: 28px; }

/* ─── Stat cards ─── */
.stat-card {
  background: var(--surface); border-radius: var(--radius);
  padding: 20px; text-align: center; box-shadow: var(--shadow);
}
.stat-card__value { font-size: 28px; font-weight: 800; }
.stat-card__label { font-size: 12px; color: var(--text-2); margin-top: 2px; }

/* ─── Chips / filters ─── */
.chip-group { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  padding: 7px 16px; border-radius: 20px; border: none; cursor: pointer;
  font-size: 13px; font-weight: 600; background: var(--surface-alt); color: var(--text-2);
  transition: all 0.2s;
}
.chip.active, .chip:hover { background: var(--primary); color: #fff; }

/* ─── Progress ─── */
.progress { height: 6px; border-radius: 3px; background: var(--surface-alt); overflow: hidden; }
.progress-bar { height: 100%; border-radius: 3px; transition: width 0.6s ease; }

/* ─── Breadcrumb ─── */
.breadcrumb { display: flex; gap: 6px; font-size: 13px; color: var(--text-3); margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-3); }

/* Utility */
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.fw-700 { font-weight: 700; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }

/* ============= ANA SAYFA STILLERI ============= */
/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #6366F1 100%);
    padding: 56px 0 64px;
    position: relative; overflow: hidden;
}
.hero::after {
    content: ''; position: absolute; right: -80px; top: -80px;
    width: 400px; height: 400px; border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.hero::before {
    content: ''; position: absolute; left: -40px; bottom: -120px;
    width: 300px; height: 300px; border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.hero-content { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-text { max-width: 520px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
    padding: 6px 14px; border-radius: 20px;
    font-size: 12px; font-weight: 600; color: #fff; margin-bottom: 16px;
}
.hero-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #34D399; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 12px; }
.hero p { font-size: 15px; color: rgba(255,255,255,0.8); margin-bottom: 24px; line-height: 1.6; }
.hero-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: var(--radius);
    background: #fff; color: var(--primary); font-size: 16px; font-weight: 700;
    border: none; cursor: pointer; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: transform 0.2s; text-decoration: none;
}
.hero-cta:hover { transform: translateY(-2px); text-decoration: none; }
.hero-stats { display: flex; gap: 12px; margin-top: 28px; }
.hero-stat {
    background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
    border-radius: 14px; padding: 16px 24px; text-align: center; min-width: 100px;
    border: 1px solid rgba(255,255,255,0.1);
}
.hero-stat strong { display: block; font-size: 28px; font-weight: 800; color: #fff; }
.hero-stat span { font-size: 12px; color: rgba(255,255,255,0.7); }

@media (max-width: 860px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-stats { justify-content: center; flex-wrap: wrap; }
}

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cat-card {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 20px; border-radius: var(--radius); background: var(--surface);
    box-shadow: var(--shadow); transition: all 0.2s; cursor: pointer;
    border: 1px solid transparent; text-decoration: none; color: inherit;
}
.cat-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.cat-icon {
    width: 48px; height: 48px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; flex-shrink: 0;
}
.cat-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.cat-card p { font-size: 12px; color: var(--text-2); line-height: 1.4; }
.cat-cta {
    margin-top: 8px; display: inline-block; padding: 6px 14px;
    border-radius: 8px; font-size: 12px; font-weight: 600;
    color: #fff; text-decoration: none;
}

/* AI Card */
.ai-card {
    background: linear-gradient(135deg, var(--primary) 0%, #6366F1 100%);
    border-radius: var(--radius); padding: 24px; color: #fff;
    box-shadow: 0 8px 30px rgba(59,106,237,0.25);
}
.ai-card h3 { font-size: 18px; margin-bottom: 8px; font-weight: 800; }
.ai-card p { font-size: 13px; opacity: 0.85; line-height: 1.5; }

/* Quick links grid */
.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 12px; }
.quick-link {
    display: flex; align-items: center; gap: 12px;
    background: var(--surface); padding: 16px; border-radius: var(--radius);
    box-shadow: var(--shadow); transition: transform 0.2s; cursor: pointer;
}
.quick-link:hover { transform: translateY(-2px); }

/* Two column layout */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* Leaderboard */
.leaderboard { background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.leaderboard-header { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.lb-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.lb-row:last-child { border-bottom: none; }
.lb-rank { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.lb-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.lb-name { flex: 1; font-size: 14px; font-weight: 600; }
.lb-score { font-size: 14px; font-weight: 700; color: var(--accent); }

/* Progress bars */
.progress { height: 8px; background: var(--surface-alt); border-radius: 4px; overflow: hidden; }
.progress-bar { height: 100%; border-radius: 4px; }

/* News row */
.news-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.news-mini {
    display: flex; gap: 12px; background: var(--surface);
    border-radius: var(--radius); padding: 14px;
    box-shadow: var(--shadow); transition: transform 0.2s;
    text-decoration: none; color: inherit;
}
.news-mini:hover { transform: translateY(-2px); text-decoration: none; }
.news-thumb { width: 60px; height: 60px; border-radius: var(--radius-sm); background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.news-mini h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.news-meta { display: flex; gap: 8px; font-size: 11px; color: var(--text-3); }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.feature { background: var(--surface); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.feature-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 12px; }
.feature h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature p { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* Section title */
.section-title { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.section-sub { font-size: 14px; color: var(--text-2); margin-bottom: 24px; }

/* Footer */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 40px 0 20px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-logo { font-size: 20px; font-weight: 800; margin-bottom: 12px; color: var(--primary); }
.footer-text { font-size: 13px; color: var(--text-2); line-height: 1.6; }
.footer h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: 6px; }
.footer ul li a { font-size: 13px; color: var(--text-2); text-decoration: none; }
.footer ul li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; font-size: 12px; color: var(--text-3); text-align: center; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* Auth (giris/kayıt) sayfaları */
.auth-page-wrap {
    min-height: calc(100vh - var(--nav-h) - 200px);
    display: flex; align-items: center; justify-content: center;
    padding: 40px 20px;
}
.auth-box {
    background: var(--surface); border-radius: var(--radius);
    padding: 32px; max-width: 440px; width: 100%;
    box-shadow: var(--shadow-md);
}
.auth-box h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; text-align: center; }
.auth-box .auth-sub { font-size: 13px; color: var(--text-2); text-align: center; margin-bottom: 24px; }
.auth-box .form-group { margin-bottom: 14px; }
.auth-box label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.auth-box .input {
    width: 100%; padding: 12px 14px;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-family: var(--font); font-size: 14px;
    background: var(--surface); color: var(--text);
    transition: border-color 0.2s;
}
.auth-box .input:focus { outline: none; border-color: var(--primary); }
.auth-box .btn-primary {
    width: 100%; padding: 13px; background: var(--primary); color: #fff;
    border: none; border-radius: var(--radius-sm); font-weight: 700;
    font-size: 14px; cursor: pointer; transition: background 0.2s;
    margin-top: 4px; font-family: var(--font);
}
.auth-box .btn-primary:hover { background: var(--primary-dark); }
.auth-box .auth-links { display: flex; justify-content: space-between; margin-top: 16px; font-size: 13px; }
.auth-box .auth-links a { color: var(--primary); text-decoration: none; }
.auth-box .alert { padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 14px; font-size: 13px; }
.auth-box .alert-danger { background: var(--danger-light); color: var(--danger); }
.auth-box .alert-success { background: var(--accent-light); color: var(--accent); }

/* Sayfa-içi ortak helpers */
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.fw-700 { font-weight: 700; }

/* Helpers ek */
.section-pt0 { padding-top: 0; }
.section-sub-inline { font-size: 14px; color: var(--text-2); margin-bottom: 0; }
.d-flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.d-flex-col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-10 { gap: 10px; }
.gap-16 { gap: 16px; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 4px; }
.mb-20 { margin-bottom: 20px; }
.text-center { text-align: center; }
.link-bold { font-size: 13px; font-weight: 600; color: var(--primary); text-decoration: none; }
.empty-state { text-align: center; padding: 24px; color: var(--text-3); font-size: 14px; }

.ai-card-wrap { margin-top: -32px; position: relative; z-index: 2; }

.ql-emoji { font-size: 22px; }
.ql-title { font-weight: 600; font-size: 14px; }
.ql-sub { font-size: 12px; color: var(--text-3); }

.info-card { background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); flex: 1; }
.info-card-title { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.kategori-label-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px; }

.check-row { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.check-row .check { color: var(--accent); font-size: 16px; }

.lb-rank-inline { /* renkler inline atanıyor; bu sınıf grid alignment için */ }
/* News/Detay sayfası stilleri */
.news-content { line-height:1.9; font-size:1.05rem; color:#374151; }
.news-content h2 { font-size:1.5rem; font-weight:700; margin-top:2.5rem; margin-bottom:1rem; color:#1e3a5f; border-left:4px solid #2563eb; padding-left:1rem; }
.news-content h3 { font-size:1.2rem; font-weight:600; margin-top:2rem; margin-bottom:.75rem; color:#374151; }
.news-content p { margin-bottom:1.25rem; }
.news-content img { max-width:100%; border-radius:12px; margin:1.5rem 0; box-shadow:0 4px 12px rgba(0,0,0,.1); }
.news-content ul, .news-content ol { padding-left:1.75rem; margin-bottom:1.25rem; }
.news-content li { margin-bottom:.5rem; }
.news-content blockquote { border-left:4px solid #2563eb; padding:1rem 1.5rem; background:#f0f7ff; border-radius:0 8px 8px 0; margin:1.5rem 0; font-style:italic; color:#374151; }
.news-content strong { color:#1e3a5f; }
.news-card { transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.12) !important; }

/* ============= NAV DROPDOWN ============= */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown-trigger {
    background: none; border: none; cursor: pointer;
    color: var(--text); font-family: inherit; font-size: 16px; font-weight: 600;
    padding: 8px 12px; border-radius: 8px;
    display: inline-flex; align-items: center; gap: 4px;
}
.nav-dropdown-trigger:hover { color: var(--primary); background: var(--surface-alt); }

.nav-dropdown-menu {
    position: absolute; top: calc(100% + 8px); left: 0;
    min-width: 220px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-md); padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: all 0.15s ease;
    z-index: 100;
}
.nav-dropdown-menu--right { left: auto; right: 0; }

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block; padding: 12px 16px; border-radius: var(--radius-sm);
    color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600;
    transition: background 0.15s;
}
.nav-dropdown-menu a:hover { background: var(--primary-light); color: var(--primary); }

.nav-dropdown-divider { height: 1px; background: var(--border); margin: 6px 0; }

@media (max-width: 768px) {
    .nav-dropdown-menu { min-width: 100%; position: static; box-shadow: none; border: none; }
    .nav-dropdown-menu--right { right: auto; }
}

/* ============= HERO SM (alt sayfalar için) ============= */
.hero-sm { padding: 40px 0 48px; }
.hero-sm h1 { font-size: clamp(24px, 3vw, 36px); }

/* ============= LEVHA SAYFASI ============= */
.filter-row {
    display: flex; flex-wrap: wrap; gap: 8px;
    justify-content: center; margin-bottom: 32px;
}
.filter-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 50px;
    background: var(--surface); border: 1px solid var(--border);
    font-size: 13px; font-weight: 600; color: var(--text-2);
    text-decoration: none; transition: all 0.15s;
}
.filter-chip:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.filter-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter-count {
    background: rgba(0,0,0,0.1); padding: 1px 8px; border-radius: 20px;
    font-size: 11px; font-weight: 700;
}
.filter-chip.active .filter-count { background: rgba(255,255,255,0.2); }

.levha-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.levha-card {
    background: var(--surface); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border);
}
.levha-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.levha-img-wrap {
    aspect-ratio: 1; background: var(--surface-alt);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.levha-img-wrap img { width: 100%; height: 100%; object-fit: contain; }

.levha-body { padding: 14px; }
.levha-code {
    display: inline-block; padding: 2px 8px; border-radius: 4px;
    background: var(--primary-light); color: var(--primary);
    font-size: 11px; font-weight: 700; margin-bottom: 4px;
}
.levha-cat {
    display: inline-block; padding: 2px 8px; border-radius: 4px;
    background: var(--surface-alt); color: var(--text-2);
    font-size: 11px; font-weight: 600; margin-bottom: 8px;
}
.levha-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.levha-desc { font-size: 12px; color: var(--text-2); line-height: 1.4; }

.empty-state-lg {
    text-align: center; padding: 60px 20px;
    color: var(--text-2);
}
.empty-state-lg p { margin: 16px 0; font-size: 15px; }


/* ============= NAV LINK HOVER UNDERLINE ============= */
.nav-links a {
    position: relative;
    transition: color 0.2s;
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s ease, left 0.25s ease;
    border-radius: 2px;
}
.nav-links a:hover::after,
.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown.open .nav-dropdown-trigger::after {
    width: 100%;
    left: 0;
}
.nav-links a:hover { color: var(--primary); }

.nav-dropdown-trigger {
    position: relative;
}
.nav-dropdown-trigger::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s ease, left 0.25s ease;
    border-radius: 2px;
}

/* Logout form (dropdown ve footer) */
.nav-dropdown-form { margin: 0; padding: 0; }
.nav-dropdown-form button {
    display: block; width: 100%; text-align: left;
    padding: 12px 16px; border-radius: var(--radius-sm);
    color: var(--text); background: none; border: none;
    font-size: 15px; font-weight: 600; font-family: inherit;
    cursor: pointer; transition: background 0.15s;
}
.nav-dropdown-form button:hover { background: var(--danger-light); color: var(--danger); }

.footer-form { margin: 0; padding: 0; display: inline; }
.footer-form button {
    background: none; border: none; padding: 0;
    color: var(--text-2); font-size: 13px; font-family: inherit;
    cursor: pointer; text-align: left;
}
.footer-form button:hover { color: var(--primary); }

/* Cookie banner */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--text);
    color: #fff;
    padding: 12px 16px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.cookie-banner-inner {
    display: flex; align-items: center; gap: 16px;
    flex-wrap: wrap; justify-content: space-between;
}
.cookie-text { flex: 1; min-width: 250px; font-size: 13px; line-height: 1.5; }
.cookie-text a { color: #fbbf24; text-decoration: underline; }
.cookie-btn {
    background: var(--primary);
    color: #fff; border: none;
    padding: 8px 24px; border-radius: 50px;
    font-weight: 700; font-size: 13px;
    cursor: pointer; flex-shrink: 0;
    font-family: inherit;
}
.cookie-btn:hover { background: var(--primary-dark); }

@media (max-width: 600px) {
    .cookie-banner-inner { gap: 8px; }
    .cookie-text { font-size: 12px; }
}

/* Footer credit */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-credit a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.footer-credit a:hover { text-decoration: underline; }
@media (max-width: 600px) {
    .footer-bottom { flex-direction: column; text-align: center; }
}
