﻿/* CostAnalysis Admin: giriş sayfası ve telefon/tablet düzenlemeleri */
.caa-auth { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; min-height: 100vh; background: linear-gradient(160deg, #111827 0%, #1f2937 55%, #374151 100%); display: flex; align-items: center; justify-content: center; padding: 16px; }
.caa-auth-wrap { width: 100%; max-width: 420px; }
.caa-auth-brand { display: flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 16px; }
.caa-auth-brand b { display: block; font-size: 1.25rem; } .caa-auth-brand small { opacity: .7; }
.caa-logo { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.12); display: inline-flex; align-items: center; justify-content: center; font-size: 24px; }
.caa-auth-card { border: 0; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.caa-auth p.text-muted { color: rgba(255,255,255,.6) !important; } .caa-auth-card p.text-muted { color: var(--vz-secondary-color) !important; }
.caa-top-title { font-weight: 600; font-size: 15px; margin-left: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55vw; }

/* Pano kutuları */
.caa-stat { border-radius: 14px; padding: 16px; background: var(--vz-secondary-bg); border: 1px solid var(--vz-border-color); height: 100%; }
.caa-stat span { display: block; color: var(--vz-secondary-color); font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
.caa-stat b { font-size: 1.6rem; line-height: 1.2; }
.caa-stat small { color: var(--vz-secondary-color); }
.caa-flag-ok { color: #0ab39c; } .caa-flag-no { color: #f7b84b; }

/* Telefon: tablolar yatay kaydırılır, düğmeler büyür, başlık sıkışmaz */
@media (max-width: 767.98px) {
    .page-content { padding: calc(70px + 12px) 4px 60px; }
    .card-body { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .card-body > table, .card-body .table { min-width: 560px; }
    .table td, .table th { white-space: nowrap; }
    .btn { min-height: 40px; }
    .btn-sm { min-height: 34px; }
    .page-title-box h4 { font-size: 1.05rem; }
    .nav-pills { flex-wrap: nowrap !important; overflow-x: auto; }
    .nav-pills .nav-link { white-space: nowrap; }
    .footer { display: none; }
}

/* ── Tablo sıralama (ca-sort.js) ── */
th.ca-sortable { cursor: pointer; user-select: none; white-space: nowrap; }
th.ca-sortable::after { content: "\2195"; opacity: .3; font-size: .85em; margin-left: .3em; }
th.ca-sortable[data-sort-dir="asc"]::after { content: "\2191"; opacity: .9; }
th.ca-sortable[data-sort-dir="desc"]::after { content: "\2193"; opacity: .9; }
th.ca-sortable:hover, th.ca-sortable:focus-visible { color: var(--vz-primary, #405189); outline: none; }