:root {
    --th-blue:    #0168fa;
    --th-blue-d:  #0153cc;
    --th-blue-l:  #e8f1ff;
    --th-green:   #10b981;
    --th-green-l: #d1fae5;
    --th-dark:    #111827;
    --th-muted:   #6b7280;
    --th-border:  #e5e7eb;
    --th-bg:      #f3f4f6;
}

body { font-family: 'Inter', sans-serif; background: var(--th-bg); color: var(--th-dark); }

/* ── Navbar ── */
.navbar { background: #0E1C30 !important; box-shadow: 0 2px 8px rgba(0,0,0,.2); padding-top: .6rem; padding-bottom: .6rem; }
.navbar-brand span { font-weight: 700; font-size: 1rem; color: #fff; }
.navbar-brand { margin-right: 2rem; }
.nav-link { font-size: .84rem; font-weight: 600; color: rgba(255,255,255,.85) !important; padding: .45rem .75rem !important; border-radius: 6px; transition: background .15s, color .15s; letter-spacing: -.01em; }
.nav-link:hover { background: rgba(255,255,255,.15); color: #fff !important; }
.nav-link.active { background: rgba(255,255,255,.2); color: #fff !important; }
.nav-link { display: inline-flex !important; align-items: center; gap: 4px; }
.nav-link i { font-size: .88rem; line-height: 1; }

/* ── Page Header ── */
.page-header { background: #fff; border-bottom: 1px solid var(--th-border); padding: .75rem 0 .75rem; }
.page-header h1 { font-size: 1.1rem; font-weight: 700; margin-bottom: .2rem; }
.page-header p  { font-size: .8rem; color: var(--th-muted); margin-bottom: 0; }
.breadcrumb { font-size: .72rem; }
.breadcrumb-item + .breadcrumb-item::before { font-size: .72rem; }
/* ── Cards ── */
.card { border: 1px solid var(--th-border); border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.05); background: #fff; }
.card-header { background: #f8f9fa; border-bottom: 1px solid var(--th-border); padding: .9rem 1.1rem; border-radius: 10px 10px 0 0 !important; }
.card-header h2 { font-size: .9rem; font-weight: 700; margin: 0 0 .6rem; }
.card-header p  { font-size: .78rem; margin: 0; }
.card-header .bi { color: var(--th-blue); }
.section-title { font-size: .9rem; font-weight: 700; margin: 0; }

/* ── Section labels ── */
.section-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: .3rem .75rem; border-radius: 20px; }
.badge-start  { background: var(--th-green-l); color: #065f46; }
.badge-adv    { background: var(--th-blue-l);  color: var(--th-blue); }
.badge-calc   { background: #ede9fe; color: #5b21b6; }
.badge-faq    { background: var(--th-blue-l); color: var(--th-blue); }

/* ── List group custom ── */
.list-group-item { border-color: var(--th-border); padding: .85rem 1rem; }
.list-group-item h5 { font-size: 1.3rem; font-weight: 700; margin: 0 0 .4rem; color: var(--th-dark); }
.list-group-item p  { font-size: .8rem; color: var(--th-muted); margin: 0; }

/* ── Calc inputs ── */
.form-label { font-size: .78rem; font-weight: 600; color: #374151; margin-bottom: .3rem; }
.form-control-sm { font-size: .82rem; }
.form-control:focus { border-color: var(--th-blue); box-shadow: 0 0 0 3px rgba(1,104,250,.12); }

/* ── Hesapla btn ── */
.btn-hesapla { background: var(--th-blue); border: none; color: #fff; font-size: .82rem; font-weight: 600; padding: .45rem 1.25rem; border-radius: 7px; transition: background .15s; cursor: pointer; }
.btn-hesapla:hover { background: var(--th-blue-d); color: #fff; }
.btn-hesapla:disabled { opacity: .65; cursor: default; }

/* ── Result box ── */
.result-box { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px; padding: 1rem; margin-top: .9rem; }
.result-box .val { font-size: 1.4rem; font-weight: 700; color: var(--th-blue); }
.result-box .val-secondary { font-size: 1.4rem; font-weight: 700; color: var(--th-muted); }
.result-box .val-danger    { font-size: 1.2rem; font-weight: 700; color: #dc2626; }
.result-box .lbl { font-size: .72rem; color: var(--th-muted); margin-top: .15rem; }
.result-box .desc { font-size: .78rem; color: #475569; margin-top: .6rem; margin-bottom: 0; }

/* ── Info alert ── */
.info-tip { background: #eff6ff; border-left: 3px solid var(--th-blue); border-radius: 6px; padding: .65rem .9rem; font-size: .78rem; color: #1e40af; }

/* ── Table in result ── */
.tablo-wrap-200  { overflow-y: auto; max-height: 200px; }
.table-sm th, .table-sm td { font-size: .78rem; }

/* ── FAQ accordion ── */
.accordion-button { font-size: .82rem; font-weight: 600; padding: .75rem 1rem; }
.accordion-button:not(.collapsed) { color: var(--th-blue); background: var(--th-blue-l); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }
.accordion-body { font-size: .8rem; color: var(--th-muted); }
.accordion-item { border-color: var(--th-border); }

/* ── SEO details (görsel: minimal; SEO: tam erişilebilir) ── */
.seo-details { border-top: 1px solid var(--th-border); padding-top: .5rem; }
.seo-details summary { font-size: .75rem; color: #9ca3af; cursor: pointer; user-select: none; list-style: none; display: inline-flex; align-items: center; gap: 5px; }
.seo-details summary::after { content: '›'; font-size: .9rem; transition: transform .2s; }
.seo-details[open] summary::after { transform: rotate(90deg); }
.seo-details summary:hover { color: var(--th-muted); }
.seo-details-body { margin-top: .6rem; padding: .75rem 1rem; background: #fff; border-radius: 8px; border: 1px solid var(--th-border); }

/* ── Footer ── */
footer { background: #fff; border-top: 1px solid var(--th-border); }
footer h6 { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--th-dark); }
footer a  { font-size: .8rem; color: var(--th-muted); text-decoration: none; }
footer a:hover { color: var(--th-blue); }
.footer-legal { font-size: .72rem; color: var(--th-muted); }

/* ── Utility: küçük yardımcı sınıflar ── */
.fs-tiny { font-size: .72rem; }
.val-blue { color: #0369a1; }

.navbar-toggler { border-color: rgba(255,255,255,.3); }
.navbar-toggler:focus { box-shadow: none; outline: none; }
.navbar-toggler .bi { color: #fff; }
.navbar-collapse { border-top: 1px solid rgba(255,255,255,.15); margin-top: .5rem; padding-top: .5rem; }
@media (min-width: 992px) { .navbar-collapse { border-top: none; margin-top: 0; padding-top: 0; } }
/* ── Scroll chevron (common.js) ── */
.scroll-chevron { position: absolute; bottom: 8px; right: 10px; color: var(--th-muted); opacity: .6; pointer-events: none; transition: opacity .2s; font-size: 1.3rem; }
.scroll-chevron.hidden { display: none; }

/* ── Ortaklar tablo düzeltmeleri ── */
.table-bordered { border: none !important; }
.table-bordered td, .table-bordered th { border: none !important; border-bottom: 1px solid var(--th-border) !important; }
.table td a { text-decoration: none; }
.table td, .table th { padding: .6rem .75rem; vertical-align: middle; }
.card-table-body { max-height: 400px; overflow-y: auto; position: relative; }


/* ── Progress bar gradient ── */
.progress-bar-gradient { background: linear-gradient(to right, #0168fa, #10b981); }

/* ── Sayısal badge ── */
.badge-num { font-size: .7rem; font-weight: 500; min-width: 52px; text-align: center; display: inline-block; }
