/* ============================================================
   NCKPay — Ana Stil Dosyası
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-variant-numeric: tabular-nums lining-nums;
}

:root {
    --bg:           #080a0f;
    --bg-2:         #0d1017;
    --bg-card:      #111520;
    --bg-input:     #161b27;
    --border:       #1e2535;
    --border-hover: #2d3650;
    --accent:       #4f7cff;
    --accent-dim:   rgba(79,124,255,.1);
    --accent-glow:  rgba(79,124,255,.3);
    --green:        #00e5a0;
    --green-dim:    rgba(0,229,160,.1);
    --red:          #ff4d6a;
    --red-dim:      rgba(255,77,106,.1);
    --yellow:       #ffc93c;
    --yellow-dim:   rgba(255,201,60,.1);
    --purple:       #a855f7;
    --purple-dim:   rgba(168,85,247,.1);
    --text:         #e2e8f5;
    --text-soft:    #8892b0;
    --text: #e2e8f5;
    --radius:       14px;
    --radius-sm:    8px;
    --sidebar-w:    260px;
    --header-h:     64px;
    --font-head:    'Syne', sans-serif;
    --font-mono:    'DM Mono', monospace;
}


/* Light Tema */
body.light {
    --bg:           #f0f2f7;
    --bg-2:         #e8eaf2;
    --bg-card:      #ffffff;
    --bg-input:     #f5f6fa;
    --border:       #d1d9e6;
    --border-hover: #a0aec0;
    --accent:       #4f7cff;
    --accent-dim:   rgba(79,124,255,.12);
    --accent-glow:  rgba(79,124,255,.2);
    --green:        #00a86b;
    --green-dim:    rgba(0,168,107,.1);
    --red:          #e53e5a;
    --red-dim:      rgba(229,62,90,.1);
    --yellow:       #d4900a;
    --yellow-dim:   rgba(212,144,10,.1);
    --purple:       #8b44d4;
    --purple-dim:   rgba(139,68,212,.1);
    --text:         #1a202c;
    --text-soft:    #4a5568;
    --text-muted: #1a202c;
}

/* Tema geçiş animasyonu */
body, body * {
    transition: background-color .2s ease, border-color .2s ease, color .15s ease;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.6;
    min-height: 100vh;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 10px; }

/* ── LAYOUT ── */
.layout { display: flex; min-height: 100vh; }

/* ── SIDEBAR ── */
.sidebar {
    width: var(--sidebar-w);
    background: var(--bg-2);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    z-index: 100;
}
.sidebar-logo {
    padding: 24px 24px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}
.sidebar-logo-icon {
    width: 36px; height: 36px;
    background: var(--accent);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 13px;
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
    flex-shrink: 0;
}
.sidebar-logo-text {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.5px;
}
.sidebar-logo-text span { color: var(--accent); }
.sidebar-nav { flex: 1; padding: 16px 12px; overflow-y: auto; }
.nav-section { margin-bottom: 24px; }
.nav-section-title {
    font-size: 11px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-muted);
    padding: 0 12px;
    margin-bottom: 8px;
    font-weight: 500;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-soft);
    text-decoration: none;
    font-size: 12px;
    transition: all .15s;
    position: relative;
    margin-bottom: 2px;
}
.nav-item:hover { background: var(--bg-card); color: var(--text); }
.nav-item.active { background: var(--accent-dim); color: var(--accent); font-weight: 500; }
.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0; top: 6px; bottom: 6px;
    width: 3px;
    background: var(--accent);
    border-radius: 0 3px 3px 0;
}
.nav-item i { width: 16px; text-align: center; font-size: 13px; flex-shrink: 0; }
.sidebar-footer { padding: 16px; border-top: 1px solid var(--border); }
.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.sidebar-user-avatar {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: var(--accent-dim);
    border: 1px solid rgba(79,124,255,.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
    font-family: var(--font-head);
    flex-shrink: 0;
}
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name {
    font-size: 11px; font-weight: 600;
    color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-user-role { font-size: 9px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.sidebar-user-logout { color: var(--text-muted); font-size: 13px; transition: color .15s; flex-shrink: 0; text-decoration: none; }
.sidebar-user-logout:hover { color: var(--red); }

/* ── MAIN ── */
.main { margin-left: var(--sidebar-w); flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.topbar {
    height: var(--header-h);
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 28px;
    position: sticky; top: 0; z-index: 50;
}
.topbar-title { font-family: var(--font-head); font-size: 16px; font-weight: 200; }
.topbar-time { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); }
.content { padding: 28px; flex: 1; }

/* ── CARDS ── */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: border-color .2s; }
.card:hover { border-color: var(--border-hover); }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.card-title { font-family: var(--font-head); font-size: 14px; font-weight: 700; }

/* ── STAT CARDS ── */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
    position: relative; overflow: hidden;
    transition: border-color .2s, transform .2s;
}
.stat-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.stat-card::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--accent); }
.stat-card.green::after { background: var(--green); }
.stat-card.yellow::after { background: var(--yellow); }
.stat-card.purple::after { background: var(--purple); }
.stat-card.red::after { background: var(--red); }
.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 10px; font-weight: 500; }
.stat-value {  font-size: clamp(14px, 3.5vw, 28px); font-weight: 200; color: var(--text); line-height: 1.2; margin-bottom: 8px; word-break: break-all; overflow-wrap: break-word; }
/*font-family: var(--font-head);*/
.stat-value .unit { font-size: 13px; font-weight: 400; color: var(--text-muted); margin-left: 4px; }
.stat-change { font-size: 11px; color: var(--text-muted); }
.stat-icon { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 32px; opacity: .06; }

/* ── GRID ── */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1200px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* ── TABLE ── */
.table-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.table-wrap-header { display: flex; align-items: center; justify-content: space-between; padding: 5px 20px; border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 12px; }
table { width: 100%; border-collapse: collapse; }
thead th {
    padding: 11px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--text);
    border-bottom: 2px solid var(--border);
    background: rgba(255,255,255,.03);
    white-space: nowrap;
    font-family: var(--font-head);
}
tbody tr { border-bottom: 1px solid var(--border); transition: background .1s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,.02); }
tbody td {
    padding: 13px 16px;
    font-size: 13px;
    color: var(--text-soft);
    vertical-align: middle;
    font-family: var(--font-head);
}
tbody td.highlight { color: var(--text); font-weight: 500; }

/* ── BADGES ── */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 20px; font-size: 10px; font-weight: 500; letter-spacing: .5px; }
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge-success { background: var(--green-dim); color: var(--green); border: 1px solid rgba(0,229,160,.2); }
.badge-danger  { background: var(--red-dim);   color: var(--red);   border: 1px solid rgba(255,77,106,.2); }
.badge-warning { background: var(--yellow-dim); color: var(--yellow); border: 1px solid rgba(255,201,60,.2); }
.badge-info    { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(79,124,255,.2); }
.badge-purple  { background: var(--purple-dim); color: var(--purple); border: 1px solid rgba(168,85,247,.2); }
.badge-secondary { background: rgba(255,255,255,.05); color: var(--text-muted); border: 1px solid var(--border); }

/* ── BUTTONS ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 7px; padding: 8px 18px;
    border-radius: var(--radius-sm); border: none;
    font-family: var(--font-head); font-size: 12px; font-weight: 600;
    cursor: pointer; transition: all .2s;
    text-decoration: none; white-space: nowrap;
}
.btn-primary  { background: var(--accent); color: #fff; box-shadow: 0 4px 14px var(--accent-glow); }
.btn-primary:hover  { background: #6b8fff; transform: translateY(-1px); }
.btn-ghost    { background: var(--bg-input); color: var(--text-soft); border: 1px solid var(--border); }
.btn-ghost:hover    { border-color: var(--border-hover); color: var(--text); }
.btn-danger   { background: var(--red-dim); color: var(--red); border: 1px solid rgba(255,77,106,.2); }
.btn-danger:hover   { background: var(--red); color: #fff; }
.btn-success  { background: var(--green-dim); color: var(--green); border: 1px solid rgba(0,229,160,.2); }
.btn-success:hover  { background: var(--green); color: #000; }
.btn-info     { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(79,124,255,.2); }
.btn-info:hover     { background: var(--accent); color: #fff; }
.btn-sm { padding: 5px 12px; font-size: 11px; }

/* ── FORMS ── */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; text-transform: none;
    letter-spacing: 0; color: var(--text-muted); margin-bottom: 6px; font-weight: 500; }
.form-control {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 9px 12px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    appearance: none; -webkit-appearance: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
select.form-control option { background: var(--bg-card); }
.form-row   { display: grid; gap: 16px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-section { padding: 16px 0; border-top: 1px solid var(--border); margin-top: 8px; }
.form-section-title { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.form-section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── MODAL ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; animation: modalIn .2s ease; }
.modal-lg { max-width: 720px; }
@keyframes modalIn { from { opacity: 0; transform: scale(.96) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal-title { font-family: var(--font-head); font-size: 15px; font-weight: 700; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 18px; cursor: pointer; transition: color .15s; padding: 4px; }
.modal-close:hover { color: var(--red); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

/* ── ALERTS ── */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 12px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: var(--green-dim); color: var(--green); border: 1px solid rgba(0,229,160,.2); }
.alert-danger  { background: var(--red-dim);   color: var(--red);   border: 1px solid rgba(255,77,106,.2); }
.alert-info    { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(79,124,255,.2); }

/* ── PAGINATION ── */
.pagination { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 12px; text-decoration: none; color: var(--text-soft); background: var(--bg-input); border: 1px solid var(--border); transition: all .15s; }
.page-btn:hover { border-color: var(--border-hover); color: var(--text); }
.page-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-btn.disabled { opacity: .3; pointer-events: none; }

/* ── HESAP CHECKBOX ── */
.hesap-label { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 8px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color .15s; }
.hesap-label input { accent-color: var(--accent); }
.hesap-label span { font-size: 12px; color: var(--text-soft); }

/* ── UTILS ── */
.text-muted  { color: var(--text-muted); }
.text-soft   { color: var(--text-soft); }
.text-accent { color: var(--accent); }
.text-green  { color: var(--green); }
.text-red    { color: var(--red); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.small { font-size: 11px; }
.font-head { font-family: var(--font-head); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
/* ── MOBİL DÜZELTME - TEMİZ BAŞLANGIÇ ── */
@media (max-width: 768px) {

    html, body { overflow-x: hidden; }
    .layout { overflow-x: hidden; }
    .main { margin-left: 0 !important; }
    .content { padding: 12px !important; }
    .topbar { padding: 0 12px !important; }
    .topbar-time { display: none; }

    /* Grid tek kolon */
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr !important; }
    .form-row-2, .form-row-3 { grid-template-columns: 1fr !important; }
    .filtre-grid { grid-template-columns: 1fr 1fr !important; }
    .filtre-grid > div:last-child { grid-column: 1 / -1; }

    /* Kart padding küçült */
    .card { padding: 14px !important; }
    .stat-card { padding: 14px 16px !important; }
    .stat-value { font-size: 20px !important; }
    .stat-icon { display: none; }

    /* TABLO: kendi içinde scroll yapsın */
    .table-wrap { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
    .table-wrap table { 
        display: table !important; 
        min-width: 600px; 
        width: 100%;
    }
    .table-wrap thead { display: table-header-group !important; }
    .table-wrap tbody { display: table-row-group !important; }
    .table-wrap tr { display: table-row !important; background: unset !important; border: unset !important; margin: 0 !important; padding: 0 !important; }
    .table-wrap th,
    .table-wrap td { 
        display: table-cell !important; 
        text-align: left !important;
        border-bottom: 1px solid var(--border) !important;
    }
    .table-wrap td::before { display: none !important; }

    /* Hamburger */
    .hamburger { display: flex !important; }
    .sidebar-overlay.open { display: block !important; }

    /* Modal */
    .modal-overlay { padding: 10px !important; }
    .modal { max-width: 100% !important; }

    /* Pagination */
    .pagination { flex-wrap: wrap; }
}

@media (min-width: 769px) {
    .hamburger { display: none !important; }
}

/* ── SİDEBAR MOBİL ── */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform .3s ease;
        z-index: 200;
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.6);
        z-index: 199;
    }
    .sidebar-overlay.open {
        display: block;
    }
    .sidebar-lang { padding: 10px 16px; border-top: 1px solid var(--border); }
    .sidebar-lang .lang-switcher { justify-content: center; }
}
/* ── MOBİL KART ── */
@media (max-width: 768px) {
    .mobile-card-list { display: block; }
    .mobile-card-list .m-card {
        background: var(--bg-2);
        border: 1px solid var(--border-hover);
        border-left: 3px solid var(--accent);
        border-radius: var(--radius-sm);
        padding: 12px 14px;
        margin-bottom: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,.35);
    }
    .mobile-card-list .m-card-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px 0;
        border-bottom: 1px solid rgba(255,255,255,.05);
        font-size: 12px;
        gap: 8px;
    }
    .mobile-card-list .m-card-row:last-child { border-bottom: none; }
    .mobile-card-list .m-card-label {
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: .8px;
        color: var(--text-muted);
        font-weight: 600;
        flex-shrink: 0;
        min-width: 80px;
    }
    .mobile-card-list .m-card-value {
        text-align: right;
        color: var(--text-soft);
        word-break: break-word;
    }

    /* Orijinal tabloyu gizle */
    .table-wrap table { display: none !important; }
    .table-wrap .mobile-card-list { display: block !important; }
}

@media (min-width: 769px) {
    .table-wrap .mobile-card-list { display: none !important; }
    .table-wrap table { display: table !important; }
}

/* ── TEMA TOGGLE BUTONU ── */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
    flex-shrink: 0;
}
.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ── STAT CARD RAKAM TAŞMA DÜZELTMESİ ── */
.stat-value {
    font-size: clamp(16px, 4vw, 28px) !important;
    word-break: break-all;
    line-height: 1.2;
}
.stat-card { overflow: hidden; }

/* ── TOAST BİLDİRİM (eski) ── */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: var(--font-mono);
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    transform: translateX(120%);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
    max-width: 320px;
    border-left: 3px solid;
}
.toast.show { transform: translateX(0); }
.toast-warning {
    background: var(--bg-card);
    border-color: var(--yellow);
    color: var(--yellow);
    border: 1px solid rgba(255,201,60,.3);
    border-left: 3px solid var(--yellow);
}
.toast-success {
    background: var(--bg-card);
    border: 1px solid rgba(0,229,160,.3);
    border-left: 3px solid var(--green);
    color: var(--green);
}
.toast-danger {
    background: var(--bg-card);
    border: 1px solid rgba(255,77,106,.3);
    border-left: 3px solid var(--red);
    color: var(--red);
}
.toast i { font-size: 15px; flex-shrink: 0; }

/* ── DIALOG BİLDİRİM ── */
.dialog-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
}
.dialog-overlay.show {
    opacity: 1;
    pointer-events: all;
}
.dialog-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    transform: scale(.9) translateY(10px);
    transition: transform .25s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.dialog-overlay.show .dialog-box {
    transform: scale(1) translateY(0);
}
.dialog-icon {
    font-size: 40px;
    margin-bottom: 14px;
    display: block;
}
.dialog-icon.warning { color: var(--yellow); }
.dialog-icon.success { color: var(--green); }
.dialog-icon.danger  { color: var(--red); }
.dialog-title {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.dialog-msg {
    font-size: 12px;
    color: var(--text-soft);
    margin-bottom: 22px;
    line-height: 1.6;
}
.dialog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 28px;
    border-radius: var(--radius-sm);
    border: none;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
}
.dialog-btn.warning { background: var(--yellow); color: #000; }
.dialog-btn.success { background: var(--green);  color: #000; }
.dialog-btn.danger  { background: var(--red);    color: #fff; }
.dialog-btn:hover   { opacity: .85; transform: translateY(-1px); }

/* ── ACCORDION MENÜ ── */
.nav-section-title {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}
.nav-section-title .acc-icon {
    font-size: 9px;
    transition: transform .25s;
    color: var(--text-muted);
}
.nav-section.collapsed .acc-icon {
    transform: rotate(-90deg);
}
.nav-section-items {
    overflow: hidden;
    transition: max-height .25s ease, opacity .2s;
    max-height: 300px;
    opacity: 1;
}
.nav-section.collapsed .nav-section-items {
    max-height: 0;
    opacity: 0;
}

.nav-section-items .nav-item {
    padding-left: 24px;
}

/* ── FİLTRE GRID ── */
.filtre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 2fr auto;
    gap: 12px;
    align-items: end;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}

/* Takvim ikonu beyaz */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

