/**
 * Tema: Google Inter fontu + 1920px tam genişlik + tablo hizalama kuralları.
 * a11y.css SONRASI yüklenir (en son sözü alan bu).
 */

/* ---- Inter (lokal, Google Fonts) ---- */
@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:800; font-display:swap; src:url('../fonts/inter-latin-800-normal.woff2') format('woff2'); }

/* ---- Yazı boyutu bir kademe büyük (16 → 17.5px taban) ---- */
html { font-size: 109.375%; }

body, .card, .btn, .form-control, .form-select, .badge, .table,
.dropdown-menu, .nav-link, .alert, code {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
}

code { font-family: 'Inter', ui-monospace, monospace !important; letter-spacing: -0.01em; }

/* ---- 1920px'te tüm yatay alan ---- */
.container-xl {
    max-width: 1872px !important;
    width: 100% !important;
}

/* ---- Tablo kolonları wrap olmaz ---- */
.table > :not(caption) > * > * {
    white-space: nowrap;
    vertical-align: middle;
}

/* ---- Değer/fiyat kolonları sağa dayalı + tabular rakamlar ---- */
.table td:has(> code),
.table td:has(> span.live-price),
.table td:has(span.price-up),
.table td:has(span.price-down),
.td-num {
    text-align: right !important;
    font-variant-numeric: tabular-nums;
}
.table th:has(+ td code),
.table th:has(+ td span.live-price) {
    text-align: right;
}

/* sayı içeren düz metin hücreleri için yardımcı */
.text-end-num {
    text-align: right !important;
    font-variant-numeric: tabular-nums;
}

/* ---- Aktif öneriler tablosu: daha büyük, rahat ---- */
.t-active > :not(caption) > * > * {
    font-size: 1.02rem;
    padding: .7rem .8rem;
}
.t-active .coin-name { font-size: 1.12rem; letter-spacing: .01em; }
.t-active .dur {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    font-size: 1.08rem;
    color: #fbbf24; /* koyu temada 10:1 */
}
[data-bs-theme="light"] .t-active .dur { color: #92400e; }
.t-active .live-price { font-size: 1.15rem; }
#aktif-filter .btn { font-weight: 600; }
#aktif-filter .btn.active { outline: 2px solid currentColor; }
