ı/* Standard UI layer for report pages */
:root {
    --std-surface: #ffffff;
    --std-surface-soft: #f7f9fc;
    --std-border: #e5e9f2;
    --std-title: #1f2b4d;
    --std-muted: #6e82a5;
    --std-accent-a: #1f327d;
    --std-accent-b: #4b66ea;
    --std-shadow: 0 14px 40px rgba(31, 50, 125, 0.08);
}

.dark-mode {
    --std-surface: #1c2536;
    --std-surface-soft: #212b3e;
    --std-border: #364159;
    --std-title: #e5ecff;
    --std-muted: #9db0d6;
    --std-accent-a: #3f66ff;
    --std-accent-b: #3450ba;
    --std-shadow: 0 14px 38px rgba(0, 0, 0, 0.35);
}

.std-content-body {
    animation: std-fade-up 0.35s ease;
}

.std-panel-card {
    background: var(--std-surface);
    border: 1px solid var(--std-border);
    border-radius: 14px;
    box-shadow: var(--std-shadow);
}

.tarih-card {
    border-radius: 14px;
    box-shadow: var(--std-shadow);
    border-color: var(--std-border);
    overflow: hidden;
}

.tarih-card .card-inner {
    background: var(--std-surface);
    padding: 30px;
}

.tarih-header {
    background: linear-gradient(105deg, var(--std-accent-a), var(--std-accent-b));
    color: #fff;
    border-radius: 12px 12px 0 0;
    padding: 20px 0;
    margin-bottom: 0;
}

.tarih-btn {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 10px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tarih-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(75, 102, 234, 0.24);
}

.date-time-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-time-group .date-picker-wrap,
.date-time-group .time-input-wrap {
    flex: 1;
    position: relative;
}

.divider-wrapper {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-wrapper:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--std-border);
}

.divider-text {
    position: relative;
    background: var(--std-surface);
    padding: 0 15px;
    font-weight: 600;
    color: var(--std-muted);
}

.page-header-actions {
    text-align: right;
}

.page-header-actions .tw-btn {
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .std-content-body .nk-block-head .nk-block-between {
        align-items: stretch;
        gap: 10px;
    }

    .page-header-actions {
        text-align: left;
        width: 100%;
    }

    .page-header-actions .tw-btn {
        width: 100%;
        justify-content: center;
    }
}

#lokasyonDataTable {
    border-collapse: separate;
    border-spacing: 0;
}

#lokasyonDataTable thead th {
    color: var(--std-title);
    font-weight: 700;
    border-top: 0;
}

#lokasyonDataTable tbody tr {
    transition: background-color 0.15s ease;
}

#lokasyonDataTable tbody tr:hover {
    background: var(--std-surface-soft);
}

#lokasyonDataTable tfoot th {
    background: var(--std-surface-soft);
    color: var(--std-title);
    font-weight: 700;
}

.dt-btn-excel {
    background: #1ee0ac !important;
    color: #fff !important;
    border: none !important;
}

.dt-btn-pdf {
    background: #e85347 !important;
    color: #fff !important;
    border: none !important;
}

.dt-btn-print {
    background: #6576ff !important;
    color: #fff !important;
    border: none !important;
}

.dt-btn-excel:hover,
.dt-btn-pdf:hover,
.dt-btn-print:hover {
    opacity: 0.92;
}

@media (max-width: 767.98px) {
    .date-time-group {
        flex-direction: row;
        gap: 6px;
    }

    .date-time-group .date-picker-wrap,
    .date-time-group .time-input-wrap {
        width: 50%;
        min-width: 0;
        flex: 1 1 50%;
    }
}

@keyframes std-fade-up {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.std-page-hero {
    border: 1px solid var(--std-border);
    border-radius: 14px;
    background: linear-gradient(120deg, rgba(31, 50, 125, 0.08), rgba(75, 102, 234, 0.03));
    padding: 16px 18px;
    margin-bottom: 16px;
}

.dark-mode .std-page-hero {
    background: linear-gradient(120deg, rgba(63, 102, 255, 0.15), rgba(52, 80, 186, 0.06));
}

.std-page-hero h4,
.std-page-hero h5,
.std-page-hero h6 {
    color: var(--std-title);
    margin-bottom: 6px;
}

.std-page-hero .std-meta {
    color: var(--std-muted);
    font-size: 13px;
}

.std-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--std-border);
    background: var(--std-surface);
    color: var(--std-title);
    font-size: 12px;
    font-weight: 600;
}

.std-info-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.std-form-card {
    border: 1px solid var(--std-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--std-shadow);
}

.std-form-card .card-inner {
    background: var(--std-surface);
}

.std-form-card .form-label {
    color: var(--std-title);
}

.lokasyon-row.is-selected,
.lokasyon-row:has(.lokasyon-checkbox:checked) {
    background: rgba(75, 102, 234, 0.08);
}

.index-prof .stats-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
    min-height: 176px;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.index-prof .stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
}

.index-prof .stats-card .card-inner {
    padding: 1rem !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.index-prof .stats-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 1.05rem;
}

.index-prof .stats-card .progress {
    height: 6px;
    margin-top: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
}

.index-prof .stats-card .progress .progress-bar {
    border-radius: 999px;
}

.index-prof .stats-card .stats-title {
    letter-spacing: 0.5px;
    font-size: .74rem;
    margin-bottom: 2px;
}

.index-prof .stats-card .stats-amount {
    font-size: 1.18rem;
    line-height: 1.15;
    margin-bottom: 2px;
}

.index-prof .stats-prev small {
    opacity: 0.95;
    font-size: .78rem;
    display: block;
    line-height: 1.34;
    white-space: normal;
    word-break: break-word;
}

.index-prof .stats-prev small b {
    display: block;
    margin-top: 2px;
    font-weight: 700;
    color: #ffffff;
}

.index-prof .stats-prev small > span {
    float: right;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 6px !important;
    padding: 1px 6px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
    font-size: .68rem !important;
    font-weight: 700 !important;
    line-height: 1.1;
    white-space: nowrap;
}

.index-prof .stats-title,
.index-prof .stats-amount,
.index-prof .stats-percent,
.index-prof .stats-prev small,
.index-prof .stats-prev small b {
    color: #ffffff !important;
}

.index-prof .stats-percent {
    margin-top: auto;
    font-size: .78rem;
    line-height: 1;
}

.index-prof .index-fin-grid .bg-nakit {
    background: linear-gradient(140deg, #22c55e 0%, #16a34a 52%, #15803d 100%) !important;
}

.index-prof .index-fin-grid .bg-kredi {
    background: linear-gradient(140deg, #06b6d4 0%, #0ea5e9 54%, #2563eb 100%) !important;
}

.index-prof .index-fin-grid .bg-veresiye {
    background: linear-gradient(140deg, #f59e0b 0%, #f97316 55%, #ea580c 100%) !important;
}

.index-prof .index-fin-grid .bg-yemek {
    background: linear-gradient(140deg, #8b5cf6 0%, #7c3aed 55%, #6d28d9 100%) !important;
}

.index-prof .index-fin-grid .bg-ikram {
    background: linear-gradient(140deg, #ef4444 0%, #dc2626 56%, #b91c1c 100%) !important;
}

.index-prof .index-fin-grid .bg-masraf {
    background: linear-gradient(140deg, #f43f5e 0%, #e11d48 58%, #be123c 100%) !important;
}

.index-prof .index-fin-grid .bg-kasa {
    background: linear-gradient(140deg, #2563eb 0%, #1d4ed8 54%, #1e40af 100%) !important;
}

.index-prof .index-fin-grid .bg-toplam {
    background: linear-gradient(140deg, #0891b2 0%, #2563eb 55%, #4f46e5 100%) !important;
}

.index-prof .card.card-bordered {
    border-radius: 14px;
    border-color: var(--std-border);
    box-shadow: var(--std-shadow);
}

.index-prof .card-title .title {
    color: var(--std-title);
}

.index-prof .nk-block-head .nk-block-des small {
    color: var(--std-muted);
}

.index-prof .std-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.index-prof .std-top-actions .btn {
    border-radius: 10px;
}

@media (max-width: 768px) {
    .index-prof .index-fin-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        margin-left: 0;
        margin-right: 0;
    }

    .index-prof .index-fin-grid > [class*="col-"] {
        width: auto;
        max-width: none;
        flex: 0 0 auto;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 0 !important;
    }

    .index-prof .index-fin-grid .stats-card {
        min-height: 156px;
        border-radius: 13px;
    }

    .index-prof .index-fin-grid .stats-card .card-inner {
        padding: .78rem !important;
    }

    .index-prof .index-fin-grid .stats-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        font-size: .9rem;
        margin-right: .52rem;
    }

    .index-prof .index-fin-grid .stats-title {
        font-size: .63rem;
        margin-bottom: 2px;
        letter-spacing: .45px;
    }

    .index-prof .index-fin-grid .stats-amount {
        font-size: 1.08rem;
        text-align: center;
        line-height: 1.2;
    }

    .index-prof .index-fin-grid .stats-percent {
        font-size: .66rem;
    }

    .index-prof .index-fin-grid .stats-prev {
        margin-top: 2px;
        min-height: 30px;
    }

    .index-prof .index-fin-grid .stats-prev small {
        font-size: .64rem !important;
        line-height: 1.28;
    }

    .index-prof .index-fin-grid .stats-prev small > span {
        float: right;
        margin-left: 8px !important;
        font-size: .6rem !important;
        padding: 1px 6px;
    }

    .index-prof .index-fin-grid .d-flex.align-items-center.mb-2 {
        margin-bottom: .45rem !important;
    }

    .index-prof .index-fin-grid .ms-3 {
        margin-left: .45rem !important;
    }

    .index-prof .index-fin-grid .progress {
        height: 5px;
        margin-top: 6px;
    }
}

@media (max-width: 420px) {
    .index-prof .index-fin-grid {
        gap: 8px;
    }

    .index-prof .index-fin-grid .stats-card {
        min-height: 150px;
    }

    .index-prof .index-fin-grid .stats-amount {
        font-size: .98rem;
    }

    .index-prof .index-fin-grid .stats-prev small {
        font-size: .6rem !important;
    }

    .index-prof .index-fin-grid .stats-prev small > span {
        font-size: .56rem !important;
        padding: 1px 5px;
    }
}

.std-compact-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.std-compact-head .title {
    color: var(--std-title);
    margin: 0;
    font-weight: 700;
}

.std-compact-head .meta {
    color: var(--std-muted);
    font-size: 13px;
}

.std-bank-card {
    border: 1px solid var(--std-border);
    border-radius: 16px;
    background: linear-gradient(165deg, var(--std-surface), var(--std-surface-soft));
    box-shadow: var(--std-shadow);
}

.std-filter-grid {
    display: grid;
    gap: 14px;
}

.std-filter-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.std-input-shell {
    border: 1px solid var(--std-border);
    border-radius: 12px;
    padding: 10px 12px;
    background: var(--std-surface);
}

.std-input-shell .form-control,
.std-input-shell .form-select {
    border: 0;
    box-shadow: none;
    padding-left: 30px;
    background: transparent;
}

.location-toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.location-search {
    max-width: 360px;
    min-width: 220px;
}

.location-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--std-border);
    border-radius: 12px;
    background: var(--std-surface);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.location-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(31, 50, 125, 0.08);
}

.location-item.is-selected {
    border-color: var(--std-accent-b);
    background: linear-gradient(140deg, rgba(75, 102, 234, 0.10), rgba(75, 102, 234, 0.03));
}

.location-item-name {
    color: var(--std-title);
    font-weight: 600;
    flex: 1;
}

.location-item-amount {
    color: var(--std-title);
    font-weight: 700;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--std-border);
    background: var(--std-surface-soft);
}

.location-summary {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.location-summary .pill {
    border: 1px solid var(--std-border);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    color: var(--std-title);
    background: var(--std-surface);
}

@media (max-width: 991.98px) {
    .std-filter-grid.two {
        grid-template-columns: 1fr;
    }
}

/* ============ Tailwind-inspired premium layer ============ */
:root {
    --tw-radius: 14px;
    --tw-radius-sm: 10px;
    --tw-ring: 0 0 0 4px rgba(99, 102, 241, 0.18);
    --tw-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --tw-shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
    --tw-shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.10);
    --brand-from: #6366f1;

/* Masaustu: kayit/adet + arama alani premium gorunum */
@media (min-width: 769px) {
    .page-urunbilgisi .dataTables_wrapper .dataTables_length,
    .page-grupbilgisi .dataTables_wrapper .dataTables_length,
    .page-markaciro .dataTables_wrapper .dataTables_length,
    .page-stokgenelhareket .dataTables_wrapper .dataTables_length,
    .page-uruncirodagilimi .dataTables_wrapper .dataTables_length,
    .page-urunkarbilgisi .dataTables_wrapper .dataTables_length,
    .page-ogkrecete .dataTables_wrapper .dataTables_length,
    .page-sarfstokhammadde .dataTables_wrapper .dataTables_length,
    .page-stokbilgisi .dataTables_wrapper .dataTables_length,
    .page-stokfiyatlistesi .dataTables_wrapper .dataTables_length {
        float: left;
        margin: 8px 10px 0 10px;
        padding: 8px 10px;
        border: 1px solid var(--slate-200);
        border-radius: 12px;
        background: linear-gradient(180deg, #fff, #f8fafc);
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    }

    .page-urunbilgisi .dataTables_wrapper .dataTables_filter,
    .page-grupbilgisi .dataTables_wrapper .dataTables_filter,
    .page-markaciro .dataTables_wrapper .dataTables_filter,
    .page-stokgenelhareket .dataTables_wrapper .dataTables_filter,
    .page-uruncirodagilimi .dataTables_wrapper .dataTables_filter,
    .page-urunkarbilgisi .dataTables_wrapper .dataTables_filter,
    .page-ogkrecete .dataTables_wrapper .dataTables_filter,
    .page-sarfstokhammadde .dataTables_wrapper .dataTables_filter,
    .page-stokbilgisi .dataTables_wrapper .dataTables_filter,
    .page-stokfiyatlistesi .dataTables_wrapper .dataTables_filter {
        float: right;
        margin: 8px 10px 0 10px;
        padding: 8px 10px;
        border: 1px solid var(--slate-200);
        border-radius: 12px;
        background: linear-gradient(180deg, #fff, #f8fafc);
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    }

    .page-urunbilgisi .dataTables_wrapper .dataTables_length label,
    .page-grupbilgisi .dataTables_wrapper .dataTables_length label,
    .page-markaciro .dataTables_wrapper .dataTables_length label,
    .page-stokgenelhareket .dataTables_wrapper .dataTables_length label,
    .page-uruncirodagilimi .dataTables_wrapper .dataTables_length label,
    .page-urunkarbilgisi .dataTables_wrapper .dataTables_length label,
    .page-ogkrecete .dataTables_wrapper .dataTables_length label,
    .page-sarfstokhammadde .dataTables_wrapper .dataTables_length label,
    .page-stokbilgisi .dataTables_wrapper .dataTables_length label,
    .page-stokfiyatlistesi .dataTables_wrapper .dataTables_length label {
        margin: 0;
        font-size: 12px;
        color: var(--slate-500);
        font-weight: 600;
    }

    .page-urunbilgisi .dataTables_wrapper .dataTables_filter label,
    .page-grupbilgisi .dataTables_wrapper .dataTables_filter label,
    .page-markaciro .dataTables_wrapper .dataTables_filter label,
    .page-stokgenelhareket .dataTables_wrapper .dataTables_filter label,
    .page-uruncirodagilimi .dataTables_wrapper .dataTables_filter label,
    .page-urunkarbilgisi .dataTables_wrapper .dataTables_filter label,
    .page-ogkrecete .dataTables_wrapper .dataTables_filter label,
    .page-sarfstokhammadde .dataTables_wrapper .dataTables_filter label,
    .page-stokbilgisi .dataTables_wrapper .dataTables_filter label,
    .page-stokfiyatlistesi .dataTables_wrapper .dataTables_filter label {
        margin: 0;
        font-size: 12px;
        color: var(--slate-500);
        font-weight: 600;
    }

    .dark-mode.page-urunbilgisi .dataTables_wrapper .dataTables_length,
    .dark-mode.page-grupbilgisi .dataTables_wrapper .dataTables_length,
    .dark-mode.page-markaciro .dataTables_wrapper .dataTables_length,
    .dark-mode.page-stokgenelhareket .dataTables_wrapper .dataTables_length,
    .dark-mode.page-uruncirodagilimi .dataTables_wrapper .dataTables_length,
    .dark-mode.page-urunkarbilgisi .dataTables_wrapper .dataTables_length,
    .dark-mode.page-ogkrecete .dataTables_wrapper .dataTables_length,
    .dark-mode.page-sarfstokhammadde .dataTables_wrapper .dataTables_length,
    .dark-mode.page-stokbilgisi .dataTables_wrapper .dataTables_length,
    .dark-mode.page-stokfiyatlistesi .dataTables_wrapper .dataTables_length,
    .dark-mode.page-urunbilgisi .dataTables_wrapper .dataTables_filter,
    .dark-mode.page-grupbilgisi .dataTables_wrapper .dataTables_filter,
    .dark-mode.page-markaciro .dataTables_wrapper .dataTables_filter,
    .dark-mode.page-stokgenelhareket .dataTables_wrapper .dataTables_filter,
    .dark-mode.page-uruncirodagilimi .dataTables_wrapper .dataTables_filter,
    .dark-mode.page-urunkarbilgisi .dataTables_wrapper .dataTables_filter,
    .dark-mode.page-ogkrecete .dataTables_wrapper .dataTables_filter,
    .dark-mode.page-sarfstokhammadde .dataTables_wrapper .dataTables_filter,
    .dark-mode.page-stokbilgisi .dataTables_wrapper .dataTables_filter,
    .dark-mode.page-stokfiyatlistesi .dataTables_wrapper .dataTables_filter {
        background: rgba(15, 23, 42, 0.35);
        border-color: rgba(255, 255, 255, 0.08);
        box-shadow: none;
    }
}

/* Masaustu kolon basliklari + kart basliklari: Ilk harf buyuk, devam kucuk */
@media (min-width: 769px) {
    .page-urunbilgisi .nk-tb-list thead .sub-text,
    .page-grupbilgisi .nk-tb-list thead .sub-text,
    .page-markaciro .nk-tb-list thead .sub-text,
    .page-stokgenelhareket .nk-tb-list thead .sub-text,
    .page-uruncirodagilimi .nk-tb-list thead .sub-text,
    .page-urunkarbilgisi .nk-tb-list thead .sub-text,
    .page-ogkrecete .nk-tb-list thead .sub-text,
    .page-sarfstokhammadde .nk-tb-list thead .sub-text,
    .page-stokbilgisi .nk-tb-list thead .sub-text,
    .page-stokfiyatlistesi .nk-tb-list thead .sub-text,
    .page-saatlikdurum .nk-tb-list thead .sub-text,
    .page-departmanbilgisi .nk-tb-list thead .sub-text,
    .page-indirimler .nk-tb-list thead .sub-text,
    .page-silinenleryazilmadan .nk-tb-list thead .sub-text,
    .page-silinenleryazilmis .nk-tb-list thead .sub-text,
    .page-ikramiade .nk-tb-list thead .sub-text,
    .page-musterisayisi .nk-tb-list thead .sub-text,
    .page-guntoplamlari .nk-tb-list thead .sub-text,
    .page-guntoplamlarilokasyon .nk-tb-list thead .sub-text,
    .std-mlist .nk-tb-list thead .sub-text,
    .std-mlist .rep-card-title,
    .std-mlist .rep-card-title span {
        text-transform: capitalize !important;
        letter-spacing: 0.2px !important;
    }
}
    --brand-to: #4f46e5;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-500: #64748b;
    --slate-700: #334155;
    --slate-900: #0f172a;
}

.dark-mode {
    --slate-50: #0f172a;
    --slate-100: #111827;
    --slate-200: #1f2937;
    --slate-300: #374151;
    --slate-500: #94a3b8;
    --slate-700: #cbd5e1;
    --slate-900: #f1f5f9;
    --tw-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --tw-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.45);
    --tw-shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.55);
}

/* Premium brand header */
.tw-brand-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-radius: var(--tw-radius);
    background: linear-gradient(135deg, var(--brand-from), var(--brand-to));
    color: #fff;
    box-shadow: var(--tw-shadow-lg);
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
}

.tw-brand-header::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -20%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255,255,255,0.20), transparent 60%);
    pointer-events: none;
}

.tw-brand-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 22px;
}

.tw-brand-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.2;
    color: #fff;
}

.tw-brand-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2px;
}

/* Tailwind-style buttons */
.tw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--tw-radius-sm);
    border: 1px solid transparent;
    transition: transform .12s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
    box-shadow: var(--tw-shadow-sm);
    line-height: 1.1;
    cursor: pointer;
}

.tw-btn-primary {
    background: linear-gradient(135deg, var(--brand-from), var(--brand-to));
    color: #fff !important;
}

.tw-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--tw-shadow-md);
    color: #fff !important;
}

.tw-btn-primary:focus {
    outline: none;
    box-shadow: var(--tw-ring);
}

.tw-btn-ghost {
    background: transparent;
    color: var(--slate-700) !important;
    border-color: var(--slate-200);
}

.tw-btn-ghost:hover {
    background: var(--slate-100);
}

.tw-btn-soft {
    background: rgba(99, 102, 241, 0.10);
    color: #4f46e5 !important;
}

.dark-mode .tw-btn-soft {
    color: #a5b4fc !important;
}

.tw-btn-soft:hover {
    background: rgba(99, 102, 241, 0.18);
}

.tw-btn-lg {
    padding: 13px 22px;
    font-size: 15px;
    border-radius: 12px;
}

/* Tailwind-style input shell */
.tw-input {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--slate-200);
    background: var(--std-surface);
    border-radius: var(--tw-radius-sm);
    padding: 0 12px;
    transition: border-color .15s, box-shadow .15s;
}

.tw-input:focus-within {
    border-color: var(--brand-from);
    box-shadow: var(--tw-ring);
}

.tw-input > em.icon {
    color: var(--slate-500);
    font-size: 16px;
    margin-right: 8px;
}

.tw-input .form-control,
.tw-input .form-select {
    border: 0 !important;
    background: transparent !important;
    padding: 11px 0 !important;
    box-shadow: none !important;
    color: var(--std-title);
}

.tw-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--slate-500);
    margin-bottom: 6px;
    display: block;
}

/* Polished checkbox row */
.tw-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--slate-200);
    border-radius: var(--tw-radius-sm);
    background: var(--std-surface);
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}

.tw-check:hover {
    border-color: var(--brand-from);
    background: rgba(99, 102, 241, 0.05);
}

.tw-check .tw-check-text {
    color: var(--std-title);
    font-weight: 500;
    font-size: 14px;
}

/* Soft divider with text */
.tw-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0;

/* ===== Detay Modal - Gün Toplamları ===== */
.std-detay-modal .modal-header {
    background: linear-gradient(135deg, var(--brand-from), var(--brand-to));
    color: #fff;
    padding: 20px 24px;
}

.std-detay-modal .modal-header .modal-title {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.std-detay-modal .modal-header .modal-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
}

.std-detay-modal .modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    position: absolute;
    right: 20px;
    top: 20px;
}

.std-detay-modal .modal-header .btn-close:hover {
    opacity: 1;
}

.std-detay-new-layout {
    display: flex;
    gap: 16px;
    padding: 20px;
}

.std-detay-col-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.std-detay-col-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.std-detay-date-block {
    background: linear-gradient(135deg, var(--brand-from), var(--brand-to));
    border-radius: var(--tw-radius);
    padding: 16px;
    color: #fff;
    text-align: center;
}

.std-detay-big-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.std-detay-big-value {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.std-detay-row-pair {
    display: flex;
    gap: 10px;
}

.std-detay-stat-card {
    flex: 1;
    background: var(--std-surface);
    border: 1px solid var(--std-border);
    border-radius: var(--tw-radius-sm);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.std-detay-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--tw-shadow-md);
    border-color: var(--brand-from);
}

.std-detay-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.std-detay-stat-icon.bg-indigo { background: linear-gradient(135deg, var(--brand-from), var(--brand-to)); }
.std-detay-stat-icon.bg-sky { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }
.std-detay-stat-icon.bg-amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
.std-detay-stat-icon.bg-slate { background: linear-gradient(135deg, #64748b, #475569); }

.std-detay-stat-content {
    flex: 1;
}

.std-detay-stat-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--std-muted);
    margin-bottom: 2px;
}

.std-detay-stat-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--std-title);
}

.std-detay-highlight-card {
    border-radius: var(--tw-radius);
    padding: 16px;
    text-align: center;
}

.std-detay-highlight-card.highlight-main {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    border: 2px solid rgba(99, 102, 241, 0.3);
}

.std-detay-highlight-card.highlight-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08));
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.std-detay-highlight-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.highlight-main .std-detay-highlight-header { color: var(--brand-from); }
.highlight-success .std-detay-highlight-header { color: #059669; }

.std-detay-highlight-value {
    font-size: 20px;
    font-weight: 800;
}

.highlight-main .std-detay-highlight-value { color: var(--brand-from); }
.highlight-success .std-detay-highlight-value { color: #059669; }

.std-detay-payments-section {
    background: var(--std-surface);
    border: 1px solid var(--std-border);
    border-radius: var(--tw-radius-sm);
    padding: 14px;
}

.std-detay-payments-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--std-muted);
    margin-bottom: 10px;
    text-align: center;
}

.std-detay-payment-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--std-border);
}

.std-detay-payment-row:last-child {
    border-bottom: none;
}

.std-detay-payment-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--std-surface-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-600);
    font-size: 14px;
}

.std-detay-payment-label {
    flex: 1;
    font-size: 12px;
    font-weight: 500;
    color: var(--slate-600);
}

.std-detay-payment-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--std-title);
}

.dark-mode .std-detay-stat-card,
.dark-mode .std-detay-payments-section {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}

.dark-mode .std-detay-stat-card:hover {
    background: rgba(255,255,255,0.08);
}

.dark-mode .std-detay-stat-label {
    color: #94a3b8;
}

.dark-mode .std-detay-stat-value {
    color: #f1f5f9;
}

.dark-mode .std-detay-payment-row {
    border-bottom-color: rgba(255,255,255,0.06);
}

.dark-mode .std-detay-payment-icon {
    background: rgba(255,255,255,0.08);
    color: #94a3b8;
}

.dark-mode .std-detay-payment-label {
    color: #94a3b8;
}

.dark-mode .std-detay-payment-value {
    color: #f1f5f9;
}

@media (max-width: 480px) {
    .std-detay-new-layout {
        flex-direction: column;
        padding: 16px;
    }
    .std-detay-col-left, .std-detay-col-right {
        width: 100%;
    }
}
    color: var(--slate-500);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.tw-divider::before,
.tw-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--slate-200);
}

/* Date/Time grid for tw-input variant */
.tw-datetime {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 10px;
}

@media (max-width: 575.98px) {
    .tw-datetime {
        grid-template-columns: 1fr 1fr;
    }
}

/* Custom select (period picker) */
.tw-select {
    position: relative;
}

.tw-select-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 14px;
    border-radius: var(--tw-radius-sm);
    border: 1px solid var(--slate-200);
    background: var(--std-surface);
    color: var(--std-title);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
    text-align: left;
}

.tw-select-trigger:hover {
    border-color: var(--brand-from);
}

.tw-select.is-open .tw-select-trigger {
    border-color: var(--brand-from);
    box-shadow: var(--tw-ring);
}

.tw-select-trigger > em.icon {
    color: var(--slate-500);
    font-size: 16px;
}

.tw-select-trigger .tw-select-value {
    flex: 1;
    color: var(--std-title);
}

.tw-select-trigger .tw-select-placeholder {
    color: var(--slate-500);
    font-weight: 400;
}

.tw-select-trigger .tw-caret {
    color: var(--slate-500);
    transition: transform .15s;
}

.tw-select.is-open .tw-caret {
    transform: rotate(180deg);
}

.tw-select-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1050;
    background: var(--std-surface);
    border: 1px solid var(--slate-200);
    border-radius: var(--tw-radius);
    box-shadow: var(--tw-shadow-lg);
    padding: 8px;
    max-height: 360px;
    overflow: hidden;
    display: none;
    flex-direction: column;
}

.tw-select.is-open .tw-select-panel {
    display: flex;
}

.tw-select-mobile-head {
    display: none;
}

.tw-select-close {
    border: 1px solid var(--slate-200);
    background: var(--std-surface);
    color: var(--std-title);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
}

.tw-select-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--slate-200);
    border-radius: var(--tw-radius-sm);
    margin-bottom: 8px;
    background: var(--std-surface);
}

.tw-select-search > em.icon {
    color: var(--slate-500);
    font-size: 14px;
}

.tw-select-search input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: none;
    color: var(--std-title);
    font-size: 13px;
}

.tw-select-list {
    overflow-y: auto;
    flex: 1;
    padding-right: 2px;
}

.tw-select-group {
    padding: 8px 10px 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--slate-500);
}

.tw-select-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--std-title);
    font-size: 13.5px;
    font-weight: 500;
    transition: background-color .12s;
}

.tw-select-option:hover {
    background: rgba(99, 102, 241, 0.08);
}

.tw-select-option.is-active {
    background: linear-gradient(135deg, rgba(99,102,241,0.14), rgba(79,70,229,0.10));
    color: #4f46e5;
}

.dark-mode .tw-select-option.is-active {
    color: #a5b4fc;
}

.tw-select-option .tw-check-icon {
    margin-left: auto;
    color: var(--brand-to);
    opacity: 0;
}

.tw-select-option.is-active .tw-check-icon {
    opacity: 1;
}

.tw-select-list::-webkit-scrollbar {
    width: 6px;
}

.tw-select-list::-webkit-scrollbar-thumb {
    background: var(--slate-200);
    border-radius: 6px;
}

@media (max-width: 768px) {
    .tw-select.is-open .tw-select-panel {
        position: fixed;
        inset: 0;
        z-index: 1200;
        border-radius: 0;
        border: 0;
        max-height: none;
        padding: 14px;
        box-shadow: none;
        background: var(--std-surface);
    }

    .tw-select-mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--slate-200);
        color: var(--std-title);
        font-weight: 700;
    }

    body.tw-select-open-mobile {
        overflow: hidden;
    }

    .tw-brand-header {
        padding: 14px 16px;
        margin-bottom: 12px;
    }

    .tw-brand-name {
        font-size: 15px;
    }

    .tarih-form-compact .mb-4 {
        margin-bottom: .7rem !important;
    }

    .tarih-form-compact .tw-label {
        margin-bottom: 4px;
        font-size: 11px;
    }

    .tarih-form-compact .tw-datetime {
        gap: 6px;
    }

    .tarih-form-compact .tw-divider {
        margin: 2px 0;
        font-size: 10px;
    }

    .tarih-form-compact .row.g-2 {
        --bs-gutter-y: .4rem;
    }

    .tarih-form-compact .tw-check {
        padding: 8px 10px;
    }
}

/* ============ Login Page Theme ============ */
.pg-auth {
    min-height: 100vh;
    background: #ffffff;
}

.pg-auth .nk-main,
.pg-auth .nk-wrap,
.pg-auth .nk-content {
    min-height: 100vh;
}

.pg-auth .nk-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 18px;
}

.pg-auth .nk-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pg-auth .auth-shell {
    width: min(1020px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 384px);
    border-radius: 30px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e7edf5;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.08);
}

.pg-auth .auth-showcase {
    position: relative;
    padding: 46px 44px 40px;
    color: #fff;
    background:
        radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.18), transparent 26%),
        linear-gradient(145deg, #18408d 0%, #245fca 58%, #2d82ef 100%);
    overflow: hidden;
}

.pg-auth .auth-showcase::before,
.pg-auth .auth-showcase::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.pg-auth .auth-showcase::before {
    width: 320px;
    height: 320px;
    top: -160px;
    right: -40px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02) 64%, transparent 70%);
}

.pg-auth .auth-showcase::after {
    width: 150px;
    height: 150px;
    left: -44px;
    bottom: -54px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 72%);
}

.pg-auth .auth-showcase-logo {
    margin: 0 0 24px;
}

.pg-auth .auth-showcase-logo img {
    max-width: 170px;
    height: auto;
}

.pg-auth .auth-showcase-title {
    margin: 0;
    max-width: 500px;
    font-size: clamp(34px, 4.1vw, 50px);
    line-height: 1.05;
    letter-spacing: -1.1px;
    font-weight: 800;
}

.pg-auth .auth-showcase-text {
    margin: 16px 0 0;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.6;
}

.pg-auth .auth-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.pg-auth .auth-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 9px 15px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.pg-auth .auth-feature-list {
    display: grid;
    gap: 16px;
    margin-top: 30px;
}

.pg-auth .auth-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 62px;
    padding: 15px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
}

.pg-auth .auth-feature-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    font-size: 18px;
}

.pg-auth .auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.pg-auth .auth-panel-card {
    width: 100%;
    border-radius: 26px;
    padding: 30px 28px 22px;
    background: #ffffff;
    border: 1px solid #e5edf6;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.pg-auth .auth-panel-logo {
    display: none;
    text-align: center;
    margin: 0 0 22px;
}

.pg-auth .auth-panel-logo img {
    max-width: 150px;
    height: auto;
}

.pg-auth .auth-panel-title {
    margin: 0 0 10px;
    color: #1e293b;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.pg-auth .auth-panel-copy {
    margin: 0 0 22px;
    color: #7b8794;
    font-size: 14px;
    line-height: 1.55;
}

.pg-auth .auth-panel-card .form-group {
    margin-bottom: 16px;
}

.pg-auth .auth-panel-card .form-label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pg-auth .auth-panel-card .form-label-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.pg-auth .auth-panel-card .form-control-lg {
    height: 52px;
    border-radius: 16px;
    border: 1px solid #dbe5f0;
    background: #f8fafc;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    padding-left: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.pg-auth .auth-panel-card .form-control-lg:focus {
    border-color: #5b6cff;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(91, 108, 255, 0.12);
}

.pg-auth .auth-panel-card .passcode-icon {
    color: #9aa8bb;
}

.pg-auth .auth-panel-card .btn-primary {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #375dfb 0%, #5b6cff 55%, #7a6af8 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 18px 34px rgba(77, 92, 255, 0.26);
}

.pg-auth .auth-panel-card .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 36px rgba(77, 92, 255, 0.3);
}

.pg-auth .auth-link-row {
    display: block;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #eef2f7;
}

.pg-auth .auth-panel-card .link-primary {
    color: #7c75f3;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.pg-auth .nk-footer {
    margin-top: 14px;
    padding: 0;
    background: transparent;
    border: 0;
}

.pg-auth .text-soft {
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
}

.pg-auth .alert {
    border-radius: 14px;
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #b91c1c;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-size: 13px;
}

.dark-mode.pg-auth {
    background: #0f172a;
}

.dark-mode .pg-auth .auth-shell {
    background: #111827;
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.3);
}

.dark-mode .pg-auth .auth-panel {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.92) 100%);
}

.dark-mode .pg-auth .auth-panel-card {
    background: rgba(15, 23, 42, 0.88);
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 38px rgba(2, 6, 23, 0.38);
}

.dark-mode .pg-auth .auth-link-row {
    border-top-color: rgba(148, 163, 184, 0.1);
}

.dark-mode .pg-auth .auth-panel-title {
    color: #e2e8f0;
}

.dark-mode .pg-auth .auth-panel-copy,
.dark-mode .pg-auth .text-soft {
    color: #94a3b8;
}

.dark-mode .pg-auth .auth-panel-card .form-label {
    color: #cbd5e1;
}

.dark-mode .pg-auth .auth-panel-card .form-control-lg {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(148, 163, 184, 0.18);
    color: #f8fafc;
}

.dark-mode .pg-auth .auth-panel-card .form-control-lg:focus {
    background: rgba(255, 255, 255, 0.08);
}

.dark-mode .pg-auth .auth-panel-card .link-primary {
    color: #c7d2fe;
}

@media (max-width: 980px) {
    .pg-auth .auth-shell {
        grid-template-columns: 1fr;
    }

    .pg-auth .auth-showcase,
    .pg-auth .auth-panel {
        padding: 26px 22px;
    }
}

@media (max-width: 640px) {
    .pg-auth .nk-wrap {
        padding: 0;
    }

    .pg-auth .auth-shell {
        width: 100%;
        min-height: 100vh;
        border-radius: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
        backdrop-filter: none;
    }

    .pg-auth .auth-showcase {
        display: none;
    }

    .pg-auth .auth-panel {
        min-height: 100vh;
        padding: 24px 16px;
        background: transparent;
    }

    .pg-auth .auth-panel-card {
        max-width: 420px;
        padding: 30px 20px 20px;
        border-radius: 24px;
        margin: auto;
        box-shadow: none;
        border: 0;
    }

    .pg-auth .auth-panel-logo {
        display: block;
    }
}

.rep-card-head .rep-card-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.rep-card-head .rep-card-tools .umc-search {
    min-width: 220px;
    flex: 1 1 220px;
    margin: 0;
    position: relative;
}

.rep-card-head .rep-card-tools .umc-pagesize {
    width: 92px;
    flex: 0 0 92px;
}

.rep-card-head .rep-card-tools .urun-sort-select {
    min-width: 220px;
    flex: 0 1 260px;
}

.rep-card-head .rep-card-tools .umc-search input,
.rep-card-head .rep-card-tools .umc-pagesize,
.rep-card-head .rep-card-tools .urun-sort-select {
    height: 42px;
    border-radius: 12px;
    border: 1px solid #dbe5f0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.rep-card-head .rep-card-tools .umc-search input {
    padding-left: 40px;
    color: #334155;
}

.rep-card-head .rep-card-tools .umc-search em {
    color: #94a3b8;
}

.rep-card-head .rep-card-tools .umc-search input:focus,
.rep-card-head .rep-card-tools .umc-pagesize:focus,
.rep-card-head .rep-card-tools .urun-sort-select:focus {
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.10);
    background: #ffffff;
}

.dark-mode .rep-card-head .rep-card-tools .umc-search input,
.dark-mode .rep-card-head .rep-card-tools .umc-pagesize,
.dark-mode .rep-card-head .rep-card-tools .urun-sort-select {
    border-color: rgba(148, 163, 184, 0.18);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.82) 0%, rgba(15, 23, 42, 0.92) 100%);
    color: #e2e8f0;
    box-shadow: none;
}

.dark-mode .rep-card-head .rep-card-tools .umc-search em {
    color: #94a3b8;
}

.dark-mode .rep-card-head .rep-card-tools .umc-search input:focus,
.dark-mode .rep-card-head .rep-card-tools .umc-pagesize:focus,
.dark-mode .rep-card-head .rep-card-tools .urun-sort-select:focus {
    border-color: rgba(96, 165, 250, 0.55);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

@media (max-width: 768px) {
    .rep-card-head .rep-card-tools {
        justify-content: stretch;
    }

    .rep-card-head .rep-card-tools .umc-search,
    .rep-card-head .rep-card-tools .umc-pagesize,
    .rep-card-head .rep-card-tools .urun-sort-select {
        width: 100%;
        min-width: 0;
        flex: 1 1 100%;
    }
}

/* ============ Report Hero Overrides (central) ============ */
.rep-hero,
.rep-hero-row {
    overflow: visible !important;
}

/* Mobil hero: 1.satır başlık, 2.satır buton, 3.satır saat, 4.satır lokasyon tam genişlik */
@media (max-width: 768px) {
    .std-mlist .rep-hero-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    .std-mlist .rep-hero-text { min-width: 0; }
    .std-mlist .rep-hero-actions { width: 100% !important; margin-left: 0 !important; }
    .std-mlist .rep-hero-actions .btn,
    .std-mlist .rep-hero-actions .chart-toggle-btn { width: 100% !important; justify-content: center !important; }
    .std-mlist .rep-hero-sub {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
    }
    .std-mlist .rep-hero-sub > span,
    .std-mlist .rep-hero-sub .rep-lokasyon-tag { width: 100% !important; display: flex !important; }
    .std-mlist .rep-hero-sub .rep-lokasyon-popover { left: 0 !important; right: auto !important; }
}

/* Global rep-hero styles (markaciro/grupbilgisi parity) */
.rep-hero {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #4338ca 100%);
    color: #fff;
    padding: 16px 18px;
    border-radius: 18px;
    position: relative;
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.18);
    margin-bottom: 12px;
}

.rep-hero::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 60%);
    pointer-events: none;
    z-index: 0;
    border-radius: 18px;
}

.rep-hero-row {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.rep-hero-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.rep-hero-text {
    flex: 1;
    min-width: 0;
}

.rep-hero-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.2px;
    color: #fff;
}

.rep-hero-sub {
    font-size: 12px;
    opacity: 0.92;
    margin-top: 4px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.95);
}

.rep-hero-sub span em.icon {
    margin-right: 4px;
    opacity: 0.85;
}

.rep-hero-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.rep-hero-actions .btn,
.rep-hero-actions .chart-toggle-btn {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.rep-hero-actions .btn:hover,
.rep-hero-actions .chart-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.rep-hero .rep-lokasyon-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 2px 10px;
    color: #fff;
    cursor: default;
}

/* Sadece katman problemini çöz: tasarıma/layout'a müdahale etme */
.rep-hero-row #toggleChartBtn {
    position: relative;
    z-index: 1 !important;
}

.rep-hero .rep-lokasyon-tag {
    position: relative;
    z-index: 50 !important;
}

.rep-hero .rep-lokasyon-popover {
    position: absolute;
    z-index: 100000 !important;
    max-width: min(520px, 88vw);
    white-space: normal;
}

.rep-hero .rep-hero-sub span {
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

/* ============ Scoped Report Forms (ilk 3 rapor stili) ============ */
.page-uruncirodagilimi .nk-content-body > .nk-block-head.nk-block-head-sm,
.page-urunkarbilgisi .nk-content-body > .nk-block-head.nk-block-head-sm,
.page-ogkrecete .nk-content-body > .nk-block-head.nk-block-head-sm,
.page-sarfstokhammadde .nk-content-body > .nk-block-head.nk-block-head-sm,
.page-stokgenelhareket .nk-content-body > .nk-block-head.nk-block-head-sm,
.page-stokbilgisi .nk-content-body > .nk-block-head.nk-block-head-sm,
.page-stokfiyatlistesi .nk-content-body > .nk-block-head.nk-block-head-sm {
    border: 1px solid var(--std-border);
    border-radius: 16px;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 55%, #4338ca 100%);
    box-shadow: 0 18px 44px rgba(79, 70, 229, 0.22);
    padding: 14px 16px;
    margin-bottom: 8px;
}

/* Disari panel YOK: markaciro/grupbilgisi gibi tek kart gorunumu */
.page-uruncirodagilimi .nk-content-body,
.page-urunkarbilgisi .nk-content-body,
.page-ogkrecete .nk-content-body,
.page-sarfstokhammadde .nk-content-body,
.page-stokgenelhareket .nk-content-body,
.page-stokbilgisi .nk-content-body,
.page-stokfiyatlistesi .nk-content-body {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.page-uruncirodagilimi .nk-content-body > .nk-block,
.page-urunkarbilgisi .nk-content-body > .nk-block,
.page-ogkrecete .nk-content-body > .nk-block,
.page-sarfstokhammadde .nk-content-body > .nk-block,
.page-stokgenelhareket .nk-content-body > .nk-block,
.page-stokbilgisi .nk-content-body > .nk-block,
.page-stokfiyatlistesi .nk-content-body > .nk-block {
    margin-top: 0;
}

.dark-mode.page-uruncirodagilimi .nk-content-body,
.dark-mode.page-urunkarbilgisi .nk-content-body,
.dark-mode.page-ogkrecete .nk-content-body,
.dark-mode.page-sarfstokhammadde .nk-content-body,
.dark-mode.page-stokgenelhareket .nk-content-body,
.dark-mode.page-stokbilgisi .nk-content-body,
.dark-mode.page-stokfiyatlistesi .nk-content-body {
    background: transparent;
    box-shadow: none;
    border: 0;
}

.page-uruncirodagilimi .nk-content-body > .nk-block-head.nk-block-head-sm .page-title,
.page-urunkarbilgisi .nk-content-body > .nk-block-head.nk-block-head-sm .page-title,
.page-ogkrecete .nk-content-body > .nk-block-head.nk-block-head-sm .page-title,
.page-sarfstokhammadde .nk-content-body > .nk-block-head.nk-block-head-sm .page-title,
.page-stokgenelhareket .nk-content-body > .nk-block-head.nk-block-head-sm .page-title,
.page-stokbilgisi .nk-content-body > .nk-block-head.nk-block-head-sm .page-title,
.page-stokfiyatlistesi .nk-content-body > .nk-block-head.nk-block-head-sm .page-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.page-uruncirodagilimi .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des,
.page-urunkarbilgisi .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des,
.page-ogkrecete .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des,
.page-sarfstokhammadde .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des,
.page-stokgenelhareket .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des,
.page-stokbilgisi .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des,
.page-stokfiyatlistesi .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des,
.page-uruncirodagilimi .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des p,
.page-urunkarbilgisi .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des p,
.page-ogkrecete .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des p,
.page-sarfstokhammadde .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des p,
.page-stokgenelhareket .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des p,
.page-stokbilgisi .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des p,
.page-stokfiyatlistesi .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des p,
.page-uruncirodagilimi .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des strong,
.page-urunkarbilgisi .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des strong,
.page-ogkrecete .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des strong,
.page-sarfstokhammadde .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des strong,
.page-stokgenelhareket .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des strong,
.page-stokbilgisi .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des strong,
.page-stokfiyatlistesi .nk-content-body > .nk-block-head.nk-block-head-sm .nk-block-des strong {
    color: rgba(255, 255, 255, 0.92) !important;
}

.page-uruncirodagilimi .card.card-stretch,
.page-urunkarbilgisi .card.card-stretch,
.page-ogkrecete .card.card-stretch,
.page-sarfstokhammadde .card.card-stretch,
.page-stokgenelhareket .card.card-stretch,
.page-stokbilgisi .card.card-stretch,
.page-stokfiyatlistesi .card.card-stretch {
    border: 1px solid var(--std-border);
    border-radius: 16px;
    box-shadow: var(--std-shadow);
    overflow: hidden;
}

.page-uruncirodagilimi .card.card-stretch .card-inner,
.page-urunkarbilgisi .card.card-stretch .card-inner,
.page-ogkrecete .card.card-stretch .card-inner,
.page-sarfstokhammadde .card.card-stretch .card-inner,
.page-stokgenelhareket .card.card-stretch .card-inner,
.page-stokbilgisi .card.card-stretch .card-inner,
.page-stokfiyatlistesi .card.card-stretch .card-inner {
    background: var(--std-surface);
}

.page-uruncirodagilimi .nk-tb-list thead tr th,
.page-urunkarbilgisi .nk-tb-list thead tr th,
.page-ogkrecete .nk-tb-list thead tr th,
.page-sarfstokhammadde .nk-tb-list thead tr th,
.page-stokgenelhareket .nk-tb-list thead tr th,
.page-stokbilgisi #grupTreeTable thead tr th,
.page-stokfiyatlistesi #stokFiyatTable thead tr th {
    background: var(--slate-50, #f8fafc);
    color: var(--slate-500, #64748b);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .35px;
    text-transform: uppercase;
}

/* Markaciro/grupbilgisi gibi: tek gorunur kart icteki card.card-stretch */
.page-uruncirodagilimi .report-table-block .card-inner-group,
.page-urunkarbilgisi .report-table-block .card-inner-group,
.page-ogkrecete .report-table-block .card-inner-group,
.page-sarfstokhammadde .report-table-block .card-inner-group,
.page-stokgenelhareket .report-table-block .card-inner-group,
.page-stokbilgisi .report-table-block .card-inner-group,
.page-stokfiyatlistesi .report-table-block .card-inner-group,
.page-uruncirodagilimi .report-table-block .card-inner,
.page-urunkarbilgisi .report-table-block .card-inner,
.page-ogkrecete .report-table-block .card-inner,
.page-sarfstokhammadde .report-table-block .card-inner,
.page-stokgenelhareket .report-table-block .card-inner,
.page-stokbilgisi .report-table-block .card-inner,
.page-stokfiyatlistesi .report-table-block .card-inner {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.report-table-block {
    margin-top: 0;
}

.report-table-block .card.card-stretch {
    border: 1px solid var(--slate-200, #e2e8f0);
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.report-table-block .rep-card-head {
    padding: 14px 18px;
    border-bottom: 1px solid var(--slate-200, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.report-table-block .rep-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--std-title);
    display: flex;
    align-items: center;
    gap: 8px;
}

.report-table-block .rep-card-title em.icon {
    color: #4f46e5;
}

.report-table-block .rep-card-body {
    padding: 4px 6px 10px;
}

.report-table-block .card-inner-group {
    background: var(--std-surface);
}

.report-table-block .card-inner.p-0,
.report-table-block .card-inner {
    background: var(--std-surface);
}

/* Bootstrap .p-0 yan padding'i kaldırıyor; markaciro/grupbilgisi gibi kart kenarları başlık+gövde'ye paddinglerini kendileri versin */
.report-table-block .card-inner.p-0,
.report-table-block .card-inner.p-0.rep-card-body,
.report-table-block .card-inner.rep-card-body {
    padding: 0 !important;
}

.report-table-block .card-inner.rep-card-body > .urun-mobile-controls {
    padding: 12px 16px 4px;
}

.report-table-block .card-inner.rep-card-body > .table-responsive,
.report-table-block .card-inner.rep-card-body > .table-wrap {
    padding: 4px 0 10px;
}

.report-table-block .table-responsive {
    border-top: 0;
    padding-left: 0;
    padding-right: 0;
}

.dark-mode .report-table-block .card.card-stretch {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.dark-mode .report-table-block .table-responsive {
    border-top-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .report-table-block .rep-card-head {
        padding: 10px 12px;
    }

    .report-table-block .card-inner.rep-card-body > .urun-mobile-controls {
        padding: 10px 12px 4px;
    }

    .report-table-block .table-responsive {
        border-top: 0;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 0;
    }

    .report-table-block .table-responsive > .nk-tb-list,
    .report-table-block .table-responsive > table {
        border: 0;
        border-radius: 0;
        overflow: visible;
        background: transparent;
    }

    .dark-mode .report-table-block .table-responsive > .nk-tb-list,
    .dark-mode .report-table-block .table-responsive > table {
        border: 0;
    }
}

@media (max-width: 768px) {
    .page-uruncirodagilimi .nk-content-body,
    .page-urunkarbilgisi .nk-content-body,
    .page-ogkrecete .nk-content-body,
    .page-sarfstokhammadde .nk-content-body,
    .page-stokgenelhareket .nk-content-body,
    .page-stokbilgisi .nk-content-body,
    .page-stokfiyatlistesi .nk-content-body {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
    }

    .page-uruncirodagilimi .nk-content-body > .nk-block-head.nk-block-head-sm,
    .page-urunkarbilgisi .nk-content-body > .nk-block-head.nk-block-head-sm,
    .page-ogkrecete .nk-content-body > .nk-block-head.nk-block-head-sm,
    .page-sarfstokhammadde .nk-content-body > .nk-block-head.nk-block-head-sm,
    .page-stokgenelhareket .nk-content-body > .nk-block-head.nk-block-head-sm,
    .page-stokbilgisi .nk-content-body > .nk-block-head.nk-block-head-sm,
    .page-stokfiyatlistesi .nk-content-body > .nk-block-head.nk-block-head-sm {
        padding: 12px 13px;
        border-radius: 14px;
        margin-bottom: 6px;
    }

    .page-uruncirodagilimi .nk-content-body > .nk-block-head.nk-block-head-sm .page-title,
    .page-urunkarbilgisi .nk-content-body > .nk-block-head.nk-block-head-sm .page-title,
    .page-ogkrecete .nk-content-body > .nk-block-head.nk-block-head-sm .page-title,
    .page-sarfstokhammadde .nk-content-body > .nk-block-head.nk-block-head-sm .page-title,
    .page-stokgenelhareket .nk-content-body > .nk-block-head.nk-block-head-sm .page-title,
    .page-stokbilgisi .nk-content-body > .nk-block-head.nk-block-head-sm .page-title,
    .page-stokfiyatlistesi .nk-content-body > .nk-block-head.nk-block-head-sm .page-title {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .rep-card-body .table-responsive {
        overflow-x: auto !important;
        width: 100%;
        max-width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #urunTable,
    #markaTable,
    #grupTable {
        width: 100% !important;
        table-layout: fixed !important;
    }

    #urunTable .nk-tb-col,
    #markaTable .nk-tb-col,
    #grupTable .nk-tb-col {
        white-space: normal !important;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
}

/* ============ Page: Lokasyon ============ */
.page-lokasyon .center-alert-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(2px);
    padding: 20px;
}

.page-lokasyon .center-alert-overlay.is-visible {
    display: flex;
}

.page-lokasyon .center-alert-box {
    width: min(440px, 92vw);
    border-radius: 14px;
    border: 1px solid rgba(239, 68, 68, 0.28);
    background: linear-gradient(180deg, #ffffff 0%, #fff6f6 100%);
    color: #991b1b;
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.30);
    padding: 18px 18px 14px;
    transform: translateY(8px);
    opacity: 0;
    transition: transform .2s ease, opacity .2s ease;
}

.page-lokasyon .center-alert-overlay.is-visible .center-alert-box {
    transform: translateY(0);
    opacity: 1;
}

.page-lokasyon .center-alert-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 15px;
}

.page-lokasyon .center-alert-head .icon {
    color: #ef4444;
    font-size: 20px;
}

.page-lokasyon .center-alert-message {
    font-size: 14px;
    line-height: 1.45;
    color: #7f1d1d;
    margin-bottom: 12px;
}

.page-lokasyon .center-alert-actions {
    display: flex;
    justify-content: flex-end;
}

.page-lokasyon .center-alert-actions .tw-btn {
    padding: 8px 14px;
    font-size: 13px;
}

.dark-mode.page-lokasyon .center-alert-overlay {
    background: rgba(2, 6, 23, 0.62);
}

.dark-mode.page-lokasyon .center-alert-box {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    border-color: rgba(248, 113, 113, 0.35);
    color: #fecaca;
}

.dark-mode.page-lokasyon .center-alert-head .icon {
    color: #f87171;
}

.dark-mode.page-lokasyon .center-alert-message {
    color: #fca5a5;
}

/* ============ Standard Mobile List (paylaşılan: Ürün/Grup/Marka vb.) ============ */
.std-mlist .urun-mobile-metrics {
    display: none;
}

.std-mlist .urun-sort-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--slate-200, #e2e8f0);
    background: var(--std-surface, #fff);
    color: #4f46e5;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    line-height: 1.2;
}

.std-mlist .urun-sort-toggle:hover {
    background: rgba(99, 102, 241, 0.06);
}

.std-mlist .urun-sort-toggle em.icon {
    font-size: 14px;
    color: #4f46e5;
}

.std-mlist .urun-sort-select {
    min-width: 230px;
    border: 1px solid var(--slate-200, #e2e8f0);
    background: var(--std-surface, #fff);
    color: #4f46e5;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 8px;
    line-height: 1.2;
}

.std-mlist .urun-sort-select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.16);
}

.dark-mode.std-mlist .urun-sort-toggle {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #c7d2fe;
}

.dark-mode.std-mlist .urun-sort-toggle em.icon {
    color: #c7d2fe;
}

.dark-mode.std-mlist .urun-sort-select {
    border-color: rgba(255, 255, 255, 0.12);
    background: #1b2333;
    color: #c7d2fe;
}

.dark-mode.std-mlist .urun-sort-select option {
    background: #1b2333;
    color: #c7d2fe;
}

@media (max-width: 768px) {
    .std-mlist .rep-card-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
    }

    .std-mlist .rep-card-title {
        min-width: 0;
    }

    .std-mlist .rep-stats {
        display: flex !important;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 18px;
        padding-inline: 18px;
        padding-bottom: 4px;
        margin-bottom: 0;
    }

    .std-mlist .rep-stats-shell {
        position: relative;
        margin-bottom: 14px;
    }

    .std-mlist .rep-stats::-webkit-scrollbar {
        display: none;
    }

    .std-mlist .rep-stat {
        flex: 0 0 calc(100% - 36px);
        min-width: calc(100% - 36px);
        scroll-snap-align: start;
        scroll-snap-stop: always;
        margin: 0;
    }

    .std-mlist .rep-stats-nav {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 3;
        pointer-events: none;
    }

    .std-mlist .rep-stats-nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 34px;
        height: 34px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.30);
        background: linear-gradient(145deg, rgba(11, 20, 41, 0.88), rgba(15, 23, 42, 0.72));
        color: #f8fafc;
        font-size: 16px;
        font-weight: 700;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 24px rgba(2, 6, 23, 0.35);
        pointer-events: auto;
    }

    .std-mlist .rep-stats-nav-btn.is-prev {
        left: 4px;
    }

    .std-mlist .rep-stats-nav-btn.is-next {
        right: 4px;
    }

    .std-mlist .rep-stats-nav-btn:disabled {
        opacity: .35;
    }

    .dark-mode.std-mlist .rep-stats-nav-btn {
        border-color: rgba(255, 255, 255, 0.24);
        background: linear-gradient(145deg, rgba(2, 6, 23, 0.9), rgba(15, 23, 42, 0.72));
        color: #e2e8f0;
    }

    .std-mlist .urun-sort-select {
        width: auto;
        min-width: 148px;
        max-width: 172px;
        margin-left: auto;
        padding: 6px 10px;
    }
}

@media (min-width: 768.01px) {
    .std-mlist .rep-stats-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .std-mlist .urun-sort-toggle {
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .std-mlist .std-mlist-table,
    .std-mlist .std-mlist-table tbody,
    .std-mlist .std-mlist-table tfoot {
        display: block !important;
        width: 100% !important;
    }

    .std-mlist .std-mlist-table thead {
        display: none !important;
    }

    .std-mlist .std-mlist-table tbody tr {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        padding: 0px 12px;
        border-bottom: 1px solid var(--slate-100, #f1f5f9);
    }

    .dark-mode.std-mlist .std-mlist-table tbody tr {
        border-bottom-color: rgba(255, 255, 255, 0.10);
    }

    .std-mlist .std-mlist-table tbody tr td {
        display: block !important;
        border: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .std-mlist .std-mlist-table tbody td:nth-child(1) {
        flex: 1 1 auto;
        min-width: 0;
        text-align: left;
    }

    .std-mlist .std-mlist-table tbody td:not(:first-child) {
        display: none !important;
    }

    .std-mlist .std-mlist-table .tb-lead-product {
        display: -webkit-box !important;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.35;
        color: var(--std-title) !important;
        font-weight: 700;
        overflow-wrap: anywhere;
    }

    .std-mlist .urun-mobile-metrics {
        display: flex !important;
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
        flex: 0 0 auto;
        min-width: 110px;
        font-variant-numeric: tabular-nums;
        margin-left: auto;
    }

    /* Tek kolon mobil satır: sol içerik + sağ metrikler yan yana, dikey ortalanmış */
    .std-mlist .urun-row-flex {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
    }
    .std-mlist .urun-row-text {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    .std-mlist .urun-row-text .tur-badge {
        align-self: flex-start;
    }

    /* 2-kolonlu mobil satır (Tarih solda + Metrik sağda) - dikey ortalı */
    .std-mlist table.std-mlist-table > tbody > tr > td.mobile-col {
        vertical-align: middle;
    }
    /* 2. mobil td (metrik td) - sağa yaslı, içerik ortalı */
    .std-mlist table.std-mlist-table > tbody > tr > td.mobile-col.text-end {
        text-align: right;
    }
    .std-mlist .urun-mobile-metrics {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 3px;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
        text-align: right;
    }

    /* 2-kolonlu mobil satırda: 1. td (isim) dikey ortalanmış, 2. td (metrik) sağa yaslı */
    .std-mlist table.std-mlist-table > tbody > tr > td.mobile-col {
        vertical-align: middle;
    }
    .std-mlist table.std-mlist-table > tbody > tr > td.mobile-col.text-end {
        text-align: right;
        white-space: nowrap;
    }

    /* 4-kolonlu mobil satır (ör: Tarih + 3 rakam) - 1. td geniş, 2-3-4. td'ler eşit dar */
    .std-mlist table.std-mlist-table > thead > tr > th.mobile-col:first-child,
    .std-mlist table.std-mlist-table > tbody > tr > td.mobile-col:first-child,
    .std-mlist table.std-mlist-table > tfoot > tr > th.mobile-col:first-child {
        width: 32%;
    }
    .std-mlist table.std-mlist-table > thead > tr > th.mobile-col.text-end,
    .std-mlist table.std-mlist-table > tbody > tr > td.mobile-col.text-end,
    .std-mlist table.std-mlist-table > tfoot > tr > th.mobile-col.text-end {
        width: 22%;
    }

    .std-mlist .urun-mobile-metrics-row {
        display: inline-flex;
        align-items: baseline;
        gap: 6px;
        white-space: nowrap;
        font-size: 13px;
        line-height: 1.2;
    }

    .std-mlist .urun-mobile-metrics .label {
        color: var(--slate-500);
        font-weight: 600;
    }

    .std-mlist .urun-mobile-metrics .value {
        font-weight: 700;
    }

    .std-mlist .urun-mobile-metrics .value-qty {
        color: #2563eb;
    }

    .std-mlist .urun-mobile-metrics .value-amount {
        color: #059669;
    }

    .dark-mode.std-mlist .urun-mobile-metrics .label {
        color: #94a3b8;
    }

    .dark-mode.std-mlist .urun-mobile-metrics .value-qty {
        color: #60a5fa;
    }

    .dark-mode.std-mlist .urun-mobile-metrics .value-amount {
        color: #34d399;
    }

    /* tfoot mobilde gizli; pill özet kullanılır */
    .std-mlist .std-mlist-table tfoot {
        display: none !important;
    }

    /* Mobil kontroller (arama + sayfa boyutu) */
    .std-mlist .urun-mobile-controls {
        display: flex !important;
        gap: 8px;
        align-items: center;
        padding: 10px 12px 0;
    }

    .std-mlist .urun-mobile-controls .umc-search {
        flex: 1 1 auto;
        position: relative;
    }

    .std-mlist .urun-mobile-controls .umc-search em.icon {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--slate-500);
        font-size: 14px;
    }

    .std-mlist .urun-mobile-controls .umc-search input {
        width: 100%;
        padding: 8px 10px 8px 32px;
        border: 1px solid var(--slate-200, #e2e8f0);
        border-radius: 8px;
        background: var(--std-surface, #fff);
        color: var(--std-title);
        font-size: 13px;
        line-height: 1.2;
    }

    .std-mlist .urun-mobile-controls .umc-pagesize {
        flex: 0 0 auto;
        padding: 8px 10px;
        border: 1px solid var(--slate-200, #e2e8f0);
        border-radius: 8px;
        background: var(--std-surface, #fff);
        color: var(--std-title);
        font-size: 13px;
        line-height: 1.2;
        font-weight: 600;
    }

    .dark-mode.std-mlist .urun-mobile-controls .umc-search input,
    .dark-mode.std-mlist .urun-mobile-controls .umc-pagesize {
        background: #1b2333;
        border-color: rgba(255, 255, 255, 0.15);
        color: #e2e8f0;
        color-scheme: dark;
    }

    .dark-mode.std-mlist .urun-mobile-controls .umc-pagesize option {
        background: #1b2333;
        color: #e2e8f0;
    }

    .dark-mode.std-mlist .urun-mobile-controls .umc-search em.icon {
        color: #94a3b8;
    }

    .dark-mode.std-mlist .urun-mobile-controls .umc-search input::placeholder {
        color: #94a3b8;
    }

    /* Mobil pager */
    .std-mlist .urun-mobile-pager {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 8px 12px 12px;
    }

    .std-mlist .urun-mobile-pager .ump-info {
        font-size: 12px;
        color: var(--slate-500);
        font-weight: 600;
    }

    .dark-mode.std-mlist .urun-mobile-pager .ump-info {
        color: #94a3b8;
    }

    .std-mlist .urun-mobile-pager .ump-actions {
        display: inline-flex;
        gap: 6px;
    }

    .std-mlist .urun-mobile-pager .ump-btn {
        border: 1px solid var(--slate-200, #e2e8f0);
        background: var(--std-surface, #fff);
        color: #4f46e5;
        padding: 6px 10px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        line-height: 1.2;
    }

    .std-mlist .urun-mobile-pager .ump-btn:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

    .dark-mode.std-mlist .urun-mobile-pager .ump-btn {
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 255, 255, 0.12);
        color: #c7d2fe;
    }

    /* Mobil pill özet */
    .std-mlist .urun-mobile-summary {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        padding: 4px 12px 14px;
    }

    .std-mlist .urun-mobile-summary .ums-row {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        align-items: stretch;
    }

    .std-mlist .urun-mobile-summary .ums-title {
        flex: 1 0 100%;
        font-size: 11px;
        font-weight: 700;
        color: var(--slate-500);
        text-transform: uppercase;
        letter-spacing: .4px;
        margin: 0 0 2px;
    }

    .std-mlist .urun-mobile-summary .ums-pill {
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        border: 1px solid var(--slate-200, #e2e8f0);
        border-radius: 10px;
        padding: 6px 10px;
        font-size: 12px;
        background: var(--std-surface, #fff);
        color: var(--std-title);
        font-weight: 600;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
        flex: 0 1 auto;
        max-width: 100%;
    }

    .std-mlist .urun-mobile-summary .ums-pill strong {
        font-weight: 700;
        margin-left: 4px;
    }

    .std-mlist .urun-mobile-summary .ums-pill.is-qty strong { color: #2563eb; }
    .std-mlist .urun-mobile-summary .ums-pill.is-amount strong { color: #059669; }

    .dark-mode.std-mlist .urun-mobile-summary .ums-pill {
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(255, 255, 255, 0.12);
        color: #e2e8f0;
    }

    .dark-mode.std-mlist .urun-mobile-summary .ums-title {
        color: #94a3b8;
    }

    .dark-mode.std-mlist .urun-mobile-summary .ums-pill.is-qty strong { color: #60a5fa; }
    .dark-mode.std-mlist .urun-mobile-summary .ums-pill.is-amount strong { color: #34d399; }
}

/* Desktop'ta mobil bileşenleri gizle */
.std-mlist .urun-mobile-controls,
.std-mlist .urun-mobile-pager,
.std-mlist .urun-mobile-summary {
    display: none;
}

/* Mobil hızlı kaydırma (yukarı/aşağı) */
.std-mlist .urun-scroll-fab {
    display: none;
    position: fixed;
    right: 14px;
    bottom: 80px;
    z-index: 1050;
    flex-direction: column;
    gap: 8px;
}

.std-mlist .urun-scroll-fab .usf-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.std-mlist .urun-scroll-fab .usf-btn em.icon {
    font-size: 18px;
    color: #fff;
}

.std-mlist .urun-scroll-fab .usf-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .std-mlist .urun-scroll-fab {
        display: flex;
    }
}

/* =============================================================
   § GLOBAL REP-LOKASYON-POPOVER  (standalone, everywhere)
   ============================================================= */
.rep-lokasyon-popover {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 6px;
    font-size: 13px;
    color: #475569;
    min-width: 220px;
    z-index: 9999;
    max-width: min(520px, 88vw);
    white-space: normal;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.rep-lokasyon-popover.is-visible { display: block; }
.dark-mode .rep-lokasyon-popover {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

/* =============================================================
   § GLOBAL REP-STATS  (özet istatistik kutuları)
   ============================================================= */
.rep-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.rep-stat {
    background: var(--std-surface);
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.rep-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.10);
    border-color: #6366f1;
}
.rep-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.rep-stat.is-indigo  .rep-stat-icon { background: rgba(99, 102, 241, 0.12); color: #4f46e5; }
.rep-stat.is-emerald .rep-stat-icon { background: rgba(16, 185, 129, 0.12); color: #059669; }
.rep-stat.is-amber   .rep-stat-icon { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.rep-stat.is-rose    .rep-stat-icon { background: rgba(248, 113, 113, 0.14); color: #dc2626; }
.rep-stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--slate-500);
}
.rep-stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--std-title);
    margin-top: 2px;
}

/* =============================================================
   § GLOBAL REP-CARD  (tablo sarmalayıcı kart)
   ============================================================= */
.rep-card {
    background: var(--std-surface);
    border: 1px solid var(--slate-200);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}
.rep-card .rep-card-head {
    padding: 14px 18px;
    border-bottom: 1px solid var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.rep-card .rep-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--std-title);
    display: flex;
    align-items: center;
    gap: 8px;
}
.rep-card .rep-card-title em.icon { color: #4f46e5; }
.rep-card .rep-card-body { padding: 4px 6px 10px; }
.dark-mode .rep-card { border-color: rgba(255, 255, 255, 0.08); }
.dark-mode .rep-card .rep-card-head { border-color: rgba(255, 255, 255, 0.08); }

/* =============================================================
   § PREMİUM DATATABLES STİLLERİ
   ============================================================= */
.dataTables_wrapper .dataTables_filter { float: right; padding: 10px 14px; }
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid var(--slate-200);
    border-radius: 10px;
    padding: 8px 12px;
    margin-left: 8px;
    min-width: 220px;
    background: var(--std-surface);
    color: var(--std-title);
    transition: border-color .15s, box-shadow .15s;
}
.dataTables_wrapper .dataTables_filter input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}
.dataTables_wrapper .dataTables_length { padding: 10px 14px; }
.dataTables_wrapper .dataTables_length select {
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    padding: 4px 10px;
    background: var(--std-surface);
    color: var(--std-title);
}
.dataTables_wrapper .dt-buttons {
    padding: 10px 14px 0;
    gap: 6px;
    display: inline-flex;
    flex-wrap: wrap;
}
.dt-btn-excel { background: linear-gradient(135deg, #1ee0ac, #10b981) !important; }
.dt-btn-pdf   { background: linear-gradient(135deg, #f87171, #e85347) !important; }
.dt-btn-print { background: linear-gradient(135deg, #818cf8, #6366f1) !important; }
.dt-btn-excel,
.dt-btn-pdf,
.dt-btn-print {
    border: 0 !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 7px 14px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    margin-right: 4px !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
    transition: transform .12s, box-shadow .15s, opacity .15s !important;
}
.dt-btn-excel:hover,
.dt-btn-pdf:hover,
.dt-btn-print:hover {
    transform: translateY(-1px);
    opacity: 0.95;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14) !important;
}
.dataTables_wrapper .dataTables_info {
    padding: 10px 14px;
    color: var(--slate-500);
    font-size: 12.5px;
}
.dataTables_wrapper .dataTables_paginate { padding: 10px 14px; }
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px !important;
    margin: 0 2px !important;
    padding: 4px 10px !important;
    border: 1px solid transparent !important;
    color: var(--slate-500) !important;
    background: transparent !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(99, 102, 241, 0.08) !important;
    color: #4f46e5 !important;
    border-color: transparent !important;
}
@media (max-width: 768px) {
    .dataTables_wrapper .dataTables_filter { float: none; }
    .dataTables_wrapper .dataTables_filter input {
        width: 100%;
        min-width: 0;
        margin-left: 0;
        margin-top: 4px;
    }
}

/* =============================================================
   § DESKTOP / MOBILE KOLON GÖRÜNÜRLÜĞܠ UTİLİTYLERİ
   ============================================================= */
@media (max-width: 768px) {
    .desktop-col { display: none !important; }
    .mobile-col  { display: table-cell !important; }
}
@media (min-width: 769px) {
    .mobile-col  { display: none !important; }
    .desktop-col { display: table-cell !important; }
}

/* =============================================================
   § KK-MODAL & NM-MODAL  (Ödeme Detay Popup Modalleri)
   ============================================================= */
.kk-modal {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
}
.kk-hero {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #4338ca 100%);
    color: #fff;
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
}
.nm-hero {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: #fff;
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
}
.kk-hero::after,
.nm-hero::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -40px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 60%);
    pointer-events: none;
}
.kk-hero-top {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}
.kk-hero-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.kk-hero-text { flex: 1; }
.kk-hero-title { font-size: 18px; font-weight: 700; letter-spacing: 0.2px; }
.kk-hero-sub   { font-size: 12.5px; opacity: 0.85; margin-top: 2px; }
.kk-hero-close {
    background: rgba(255, 255, 255, 0.16);
    border: 0;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .15s;
}
.kk-hero-close:hover { background: rgba(255, 255, 255, 0.28); }
.kk-hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 16px;
    position: relative;
    z-index: 1;
}
.kk-stat {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 12px 14px;
    backdrop-filter: blur(6px);
}
.kk-stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    opacity: 0.85;
}
.kk-stat-value { font-size: 18px; font-weight: 700; margin-top: 4px; }
.kk-body {
    background: var(--std-surface);
    padding: 18px 20px;
}
.kk-toolbar { margin-bottom: 14px; }
.kk-search   { max-width: 100%; }
.kk-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 4px;
}
.kk-list::-webkit-scrollbar { width: 6px; }
.kk-list::-webkit-scrollbar-thumb { background: var(--slate-200); border-radius: 6px; }
.kk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    background: var(--std-surface);
    transition: transform .12s, box-shadow .15s, border-color .15s;
}
.kk-item:hover {
    transform: translateY(-1px);
    border-color: #6366f1;
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.10);
}
.nm-item:hover {
    border-color: #10b981;
    box-shadow: 0 8px 22px rgba(16, 185, 129, 0.10);
}
.kk-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.10);
    color: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.nm-item-icon {
    background: rgba(16, 185, 129, 0.10);
    color: #059669;
}
.kk-item.is-negative .kk-item-icon {
    background: rgba(232, 83, 71, 0.10);
    color: #e85347;
}
.kk-item-main { flex: 1; min-width: 0; }
.kk-item-name {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--std-title);
    font-weight: 600;
    font-size: 14px;
}
.kk-item-name > span:first-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kk-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 999px;
    text-transform: uppercase;
    white-space: nowrap;
}
.kk-badge-pos   { background: rgba(30, 224, 172, 0.15); color: #0a8f69; }
.kk-badge-erp   { background: rgba(99, 102, 241, 0.14); color: #4f46e5; }
.kk-badge-other { background: rgba(244, 189, 14, 0.18);  color: #b87a08; }
.kk-item-bar {
    margin-top: 6px;
    height: 4px;
    border-radius: 999px;
    background: var(--slate-100);
    overflow: hidden;
}
.kk-item-bar > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #4f46e5);
    border-radius: 999px;
}
.nm-item-bar > span {
    background: linear-gradient(90deg, #10b981, #059669);
}
.kk-item.is-negative .kk-item-bar > span {
    background: linear-gradient(90deg, #f87171, #e85347);
}
.kk-item-amount {
    font-weight: 700;
    color: var(--std-title);
    font-size: 14.5px;
    white-space: nowrap;
}
.kk-empty {
    text-align: center;
    padding: 36px 12px;
    color: var(--slate-500);
}
.kk-empty em.icon {
    font-size: 36px;
    color: var(--slate-300);
    display: block;
    margin-bottom: 10px;
}
.kk-footer {
    border-top: 1px solid var(--slate-200);
    background: var(--std-surface);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
}
.kk-footer-total {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.kk-footer-total span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--slate-500);
}
.kk-footer-total strong { font-size: 18px; color: var(--std-title); }

.dark-mode .kk-modal     { background: var(--std-surface); }
.dark-mode .kk-item-bar  { background: rgba(255, 255, 255, 0.06); }
.dark-mode .kk-item-icon { background: rgba(99, 102, 241, 0.18); color: #a5b4fc; }
.dark-mode .nm-item-icon { background: rgba(16, 185, 129, 0.18); color: #6ee7b7; }
.dark-mode .kk-badge-pos   { background: rgba(30, 224, 172, 0.22); color: #5eead4; }
.dark-mode .kk-badge-erp   { background: rgba(99, 102, 241, 0.24); color: #c7d2fe; }
.dark-mode .kk-badge-other { background: rgba(244, 189, 14, 0.22);  color: #fcd34d; }

/* =============================================================
   § PAGE CONSISTENCY: URUN CIRO DAGILIMI / URUN KAR BILGISI
   (grupbilgisi + urunbilgisi ile görsel parity)
   ============================================================= */
.page-uruncirodagilimi #urunTable.nk-tb-list,
.page-urunkarbilgisi #urunTable.nk-tb-list {
    width: 100% !important;
}

.page-uruncirodagilimi #urunTable thead tr th,
.page-urunkarbilgisi #urunTable thead tr th {
    background: var(--slate-50, #f8fafc);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--slate-500);
    border-bottom: 1px solid var(--slate-200);
    padding: 12px 16px !important;
}

.page-uruncirodagilimi #urunTable tbody tr td,
.page-urunkarbilgisi #urunTable tbody tr td {
    padding: 12px 16px !important;
    border-bottom: 1px solid var(--slate-100, #f1f5f9);
    color: var(--std-title);
}

.page-uruncirodagilimi #urunTable tbody tr:hover td,
.page-urunkarbilgisi #urunTable tbody tr:hover td {
    background: rgba(99, 102, 241, 0.04) !important;
}

.page-uruncirodagilimi #urunTable .tb-lead,
.page-urunkarbilgisi #urunTable .tb-lead {
    font-weight: 600;
    color: var(--std-title);
}

.page-uruncirodagilimi #urunTable .tb-lead-product,
.page-urunkarbilgisi #urunTable .tb-lead-product {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
    max-height: 2.7em;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

.page-uruncirodagilimi #urunTable td.text-end,
.page-uruncirodagilimi #urunTable th.text-end,
.page-urunkarbilgisi #urunTable td.text-end,
.page-urunkarbilgisi #urunTable th.text-end {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.page-uruncirodagilimi #urunTable tfoot tr.table-info th,
.page-urunkarbilgisi #urunTable tfoot tr.table-info th {
    background: rgba(99, 102, 241, 0.08) !important;
    color: #4f46e5 !important;
    border-top: 1px solid var(--slate-200);
    padding: 12px 16px !important;
    font-weight: 700;
}

.page-uruncirodagilimi #urunTable tfoot tr.table-success th,
.page-urunkarbilgisi #urunTable tfoot tr.table-success th {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.10), rgba(16, 185, 129, 0.05)) !important;
    color: #059669 !important;
    padding: 14px 16px !important;
    font-weight: 800;
    font-size: 14px;
}

.dark-mode.page-uruncirodagilimi #urunTable thead tr th,
.dark-mode.page-urunkarbilgisi #urunTable thead tr th {
    background: rgba(255, 255, 255, 0.04);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
}

.dark-mode.page-uruncirodagilimi #urunTable tbody tr td,
.dark-mode.page-urunkarbilgisi #urunTable tbody tr td {
    border-bottom-color: rgba(255, 255, 255, 0.04);
}

.dark-mode.page-uruncirodagilimi #urunTable tbody tr:hover td,
.dark-mode.page-urunkarbilgisi #urunTable tbody tr:hover td {
    background: rgba(99, 102, 241, 0.10) !important;
}

.dark-mode.page-uruncirodagilimi #urunTable tfoot tr.table-info th,
.dark-mode.page-urunkarbilgisi #urunTable tfoot tr.table-info th {
    background: rgba(99, 102, 241, 0.18) !important;
    color: #c7d2fe !important;
}

.dark-mode.page-uruncirodagilimi #urunTable tfoot tr.table-success th,
.dark-mode.page-urunkarbilgisi #urunTable tfoot tr.table-success th {
    background: rgba(16, 185, 129, 0.18) !important;
    color: #6ee7b7 !important;
}

.page-uruncirodagilimi .report-table-block .rep-card-body,
.page-urunkarbilgisi .report-table-block .rep-card-body {
    padding: 0 !important;
}

.page-uruncirodagilimi .report-table-block .rep-card-body > .table-responsive,
.page-urunkarbilgisi .report-table-block .rep-card-body > .table-responsive {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: auto;
}

.page-uruncirodagilimi .report-table-block .rep-card-body > .urun-mobile-controls,
.page-urunkarbilgisi .report-table-block .rep-card-body > .urun-mobile-controls {
    padding: 0 14px;
}

.page-uruncirodagilimi #urunTable .badge-dim.bg-primary,
.page-urunkarbilgisi #urunTable .yuzde-badge {
    background: rgba(99, 102, 241, 0.10) !important;
    color: #4f46e5 !important;
    border: 1px solid rgba(99, 102, 241, 0.20);
}

/* Ortak isim hizasi: hedef raporlarda ilk kolon sola tam yasli olsun */
.page-urunbilgisi #urunTable thead th:first-child,
.page-urunbilgisi #urunTable tbody td:first-child,
.page-grupbilgisi #grupTable thead th:first-child,
.page-grupbilgisi #grupTable tbody td:first-child,
.page-markaciro #markaTable thead th:first-child,
.page-markaciro #markaTable tbody td:first-child,
.page-uruncirodagilimi #urunTable thead th:first-child,
.page-uruncirodagilimi #urunTable tbody td:first-child,
.page-urunkarbilgisi #urunTable thead th:first-child,
.page-urunkarbilgisi #urunTable tbody td:first-child,
.page-ogkrecete #urunTable thead th:first-child,
.page-ogkrecete #urunTable tbody td:first-child {
    padding-left: 2px !important;
}

.page-urunbilgisi #urunTable .tb-lead-product,
.page-grupbilgisi #grupTable .tb-lead-group,
.page-markaciro #markaTable .tb-lead-brand,
.page-uruncirodagilimi #urunTable .tb-lead-product,
.page-urunkarbilgisi #urunTable .tb-lead-product,
.page-ogkrecete #urunTable .tb-lead-product {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: left;
}

.page-uruncirodagilimi #urunTable .progress,
.page-urunkarbilgisi #urunTable .progress {
    height: 18px;
    background: #f4f8fb;
    border-radius: 6px;
    overflow: hidden;
}

.page-uruncirodagilimi #urunTable .progress-bar,
.page-urunkarbilgisi #urunTable .progress-bar {
    background: #6576ff;
    transition: width 0.4s;
}

@media (max-width: 768px) {
    .page-uruncirodagilimi #urunTable,
    .page-urunkarbilgisi #urunTable {
        table-layout: auto;
        width: 100% !important;
    }

    .page-uruncirodagilimi #urunTable .tb-lead-product,
    .page-urunkarbilgisi #urunTable .tb-lead-product {
        line-clamp: 3;
        -webkit-line-clamp: 3;
        max-height: 4.1em;
    }

    .page-uruncirodagilimi #urunTable th,
    .page-uruncirodagilimi #urunTable td,
    .page-urunkarbilgisi #urunTable th,
    .page-urunkarbilgisi #urunTable td {
        white-space: normal;
        word-break: normal;
        overflow-wrap: break-word;
    }
}

/* =============================================================
   § MOBILE HORIZONTAL OVERFLOW GUARD (rapor sayfalari)
   ============================================================= */
@media (max-width: 768px) {
    body.nk-body.std-mlist {
        /* clip stacking context yaratmadan yatay tasmayi kirpar,
           position:fixed cocuklari (header dropdown) clip etmez */
        overflow-x: clip;
    }

    .std-mlist .container-fluid {
        max-width: 100%;
        overflow-x: clip;
    }

    /* nk-wrap zinciri header dropdown'unu kesmesin diye gorunur kalsin */
    .std-mlist .nk-wrap,
    .std-mlist .nk-main,
    .std-mlist .nk-content,
    .std-mlist .nk-content-inner,
    .std-mlist .nk-content-body {
        max-width: 100%;
        overflow: visible !important;
    }

    .page-urunbilgisi .report-table-block,
    .page-grupbilgisi .report-table-block,
    .page-markaciro .report-table-block,
    .page-stokgenelhareket .report-table-block,
    .page-uruncirodagilimi .report-table-block,
    .page-urunkarbilgisi .report-table-block,
    .page-ogkrecete .report-table-block,
    .page-sarfstokhammadde .report-table-block,
    .page-stokbilgisi .report-table-block,
    .page-stokfiyatlistesi .report-table-block,
    .page-urunbilgisi .rep-card,
    .page-grupbilgisi .rep-card,
    .page-markaciro .rep-card,
    .page-stokgenelhareket .rep-card,
    .page-uruncirodagilimi .rep-card,
    .page-urunkarbilgisi .rep-card,
    .page-ogkrecete .rep-card,
    .page-sarfstokhammadde .rep-card,
    .page-stokbilgisi .rep-card,
    .page-stokfiyatlistesi .rep-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .page-urunbilgisi .table-responsive,
    .page-grupbilgisi .table-responsive,
    .page-markaciro .table-responsive,
    .page-stokgenelhareket .table-responsive,
    .page-uruncirodagilimi .table-responsive,
    .page-urunkarbilgisi .table-responsive,
    .page-ogkrecete .table-responsive,
    .page-sarfstokhammadde .table-responsive,
    .page-stokbilgisi .table-responsive,
    .page-stokfiyatlistesi .table-responsive {
        width: 100%;
        max-width: 100%;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .page-urunbilgisi .nk-tb-list,
    .page-grupbilgisi .nk-tb-list,
    .page-markaciro .nk-tb-list,
    .page-stokgenelhareket .nk-tb-list,
    .page-uruncirodagilimi .nk-tb-list,
    .page-urunkarbilgisi .nk-tb-list,
    .page-ogkrecete .nk-tb-list,
    .page-sarfstokhammadde .nk-tb-list,
    .page-stokbilgisi .nk-tb-list,
    .page-stokfiyatlistesi .nk-tb-list {
        width: 100% !important;
        table-layout: auto;
    }

    .page-urunbilgisi .nk-tb-list .tb-lead,
    .page-grupbilgisi .nk-tb-list .tb-lead,
    .page-markaciro .nk-tb-list .tb-lead,
    .page-stokgenelhareket .nk-tb-list .tb-lead,
    .page-uruncirodagilimi .nk-tb-list .tb-lead,
    .page-urunkarbilgisi .nk-tb-list .tb-lead,
    .page-ogkrecete .nk-tb-list .tb-lead,
    .page-sarfstokhammadde .nk-tb-list .tb-lead,
    .page-stokbilgisi .nk-tb-list .tb-lead,
    .page-stokfiyatlistesi .nk-tb-list .tb-lead,
    .page-urunbilgisi .nk-tb-list .sub-text,
    .page-grupbilgisi .nk-tb-list .sub-text,
    .page-markaciro .nk-tb-list .sub-text,
    .page-stokgenelhareket .nk-tb-list .sub-text,
    .page-uruncirodagilimi .nk-tb-list .sub-text,
    .page-urunkarbilgisi .nk-tb-list .sub-text,
    .page-ogkrecete .nk-tb-list .sub-text,
    .page-sarfstokhammadde .nk-tb-list .sub-text,
    .page-stokbilgisi .nk-tb-list .sub-text,
    .page-stokfiyatlistesi .nk-tb-list .sub-text {
        white-space: normal !important;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
}

/* =============================================================
   § URUN CIRO PARITY PACK (hizli uygulanabilir ortak gorunum)
   hedef: urunkarbilgisi, ogkrecete, sarfstokhammadde,
          stokbilgisi, stokfiyatlistesi
   ============================================================= */
.page-urunkarbilgisi .report-table-block,
.page-ogkrecete .report-table-block,
.page-sarfstokhammadde .report-table-block,
.page-stokbilgisi .report-table-block,
.page-stokfiyatlistesi .report-table-block {
    margin-top: 12px;
}

.page-urunkarbilgisi .rep-card,
.page-ogkrecete .rep-card,
.page-sarfstokhammadde .rep-card,
.page-stokbilgisi .rep-card,
.page-stokfiyatlistesi .rep-card {
    border: 1px solid var(--slate-200, #e2e8f0);
    border-radius: 16px;
    background: var(--std-surface, #fff);
    box-shadow: 0 10px 28px rgba(2, 6, 23, 0.06);
    overflow: hidden;
}

.page-urunkarbilgisi .rep-card-head,
.page-ogkrecete .rep-card-head,
.page-sarfstokhammadde .rep-card-head,
.page-stokbilgisi .rep-card-head,
.page-stokfiyatlistesi .rep-card-head {
    padding: 14px 16px;
    border-bottom: 1px solid var(--slate-200, #e2e8f0);
    background: var(--slate-50, #f8fafc);
}

.page-urunkarbilgisi .rep-card-title,
.page-ogkrecete .rep-card-title,
.page-sarfstokhammadde .rep-card-title,
.page-stokbilgisi .rep-card-title,
.page-stokfiyatlistesi .rep-card-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--std-title);
}

.page-urunkarbilgisi .rep-card-body,
.page-ogkrecete .rep-card-body,
.page-sarfstokhammadde .rep-card-body,
.page-stokbilgisi .rep-card-body,
.page-stokfiyatlistesi .rep-card-body {
    padding: 0 !important;
}

.page-urunkarbilgisi .rep-card-body > .table-responsive,
.page-ogkrecete .rep-card-body > .table-responsive,
.page-sarfstokhammadde .rep-card-body > .table-responsive,
.page-stokbilgisi .rep-card-body > .table-responsive,
.page-stokfiyatlistesi .rep-card-body > .table-responsive {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: auto;
}

.dark-mode.page-urunkarbilgisi .rep-card,
.dark-mode.page-ogkrecete .rep-card,
.dark-mode.page-sarfstokhammadde .rep-card,
.dark-mode.page-stokbilgisi .rep-card,
.dark-mode.page-stokfiyatlistesi .rep-card {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 34px rgba(2, 6, 23, 0.42);
}

.dark-mode.page-urunkarbilgisi .rep-card-head,
.dark-mode.page-ogkrecete .rep-card-head,
.dark-mode.page-sarfstokhammadde .rep-card-head,
.dark-mode.page-stokbilgisi .rep-card-head,
.dark-mode.page-stokfiyatlistesi .rep-card-head {
    border-bottom-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 768px) {
    .page-urunkarbilgisi .rep-hero,
    .page-ogkrecete .rep-hero,
    .page-sarfstokhammadde .rep-hero,
    .page-stokbilgisi .rep-hero,
    .page-stokfiyatlistesi .rep-hero {
        margin-bottom: 10px;
    }

    .page-urunkarbilgisi .rep-card-head,
    .page-ogkrecete .rep-card-head,
    .page-sarfstokhammadde .rep-card-head,
    .page-stokbilgisi .rep-card-head,
    .page-stokfiyatlistesi .rep-card-head {
        padding: 12px 12px;
    }

    .page-urunkarbilgisi .rep-card-body > .urun-mobile-controls,
    .page-ogkrecete .rep-card-body > .urun-mobile-controls,
    .page-sarfstokhammadde .rep-card-body > .urun-mobile-controls,
    .page-stokbilgisi .rep-card-body > .urun-mobile-controls,
    .page-stokfiyatlistesi .rep-card-body > .urun-mobile-controls {
        padding: 0 12px;
    }

    /* Bu sayfalar std-mlist kart gorunumunde kolon gizleme yerine tam tablo gorunumu kullanir */
    .page-stokbilgisi .std-mlist-table,
    .page-stokfiyatlistesi .std-mlist-table,
    .page-stokgenelhareket .std-mlist-table {
        display: table !important;
        width: 100% !important;
    }

    .page-stokbilgisi .std-mlist-table thead,
    .page-stokfiyatlistesi .std-mlist-table thead,
    .page-stokgenelhareket .std-mlist-table thead {
        display: table-header-group !important;
    }

    .page-stokbilgisi .std-mlist-table tbody,
    .page-stokfiyatlistesi .std-mlist-table tbody,
    .page-stokgenelhareket .std-mlist-table tbody {
        display: table-row-group !important;
        width: auto !important;
    }

    .page-stokbilgisi .std-mlist-table tbody tr,
    .page-stokfiyatlistesi .std-mlist-table tbody tr,
    .page-stokgenelhareket .std-mlist-table tbody tr {
        display: table-row !important;
        width: auto !important;
        padding: 0 !important;
        border-bottom: none !important;
    }

    .page-stokbilgisi .std-mlist-table tbody td,
    .page-stokfiyatlistesi .std-mlist-table tbody td,
    .page-stokgenelhareket .std-mlist-table tbody td,
    .page-stokbilgisi .std-mlist-table tbody td:not(:first-child),
    .page-stokfiyatlistesi .std-mlist-table tbody td:not(:first-child),
    .page-stokgenelhareket .std-mlist-table tbody td:not(:first-child) {
        display: table-cell !important;
        padding: 10px 12px !important;
        border-bottom: 1px solid var(--slate-100, #f1f5f9) !important;
    }

    .page-stokbilgisi .std-mlist-table tfoot,
    .page-stokfiyatlistesi .std-mlist-table tfoot,
    .page-stokgenelhareket .std-mlist-table tfoot {
        display: table-footer-group !important;
    }
}



/* =============================================================
   u00a7 STD-MLIST HEADER DROPDOWN (rapor sayfalari icin global)
   - Tum std-mlist (rapor) sayfalarinda header dropdown menusu
     icerigin alt katmaninda kalmasin diye z-index ve transform
     guvencesi koyuyor; sadece bu kapsamda etkili.
   ============================================================= */
body.std-mlist .nk-app-root,
body.std-mlist .nk-main,
body.std-mlist .nk-wrap {
    transform: none !important;
    filter: none !important;
    perspective: none !important;
}

body.std-mlist .nk-header,
body.std-mlist .nk-header-fixed {
    z-index: 1100;
}

body.std-mlist .nk-header .dropdown-menu,
body.std-mlist .nk-header .dropdown-menu.show {
    z-index: 1101 !important;
}


/* =============================================================
   SECTION  AUTH SOLO (login showcase'siz, ortalanmis tek kart)
   ============================================================= */
.pg-auth.pg-auth-solo {
    background: radial-gradient(1200px 600px at 18% 10%, rgba(99,102,241,0.10), transparent 60%),
                radial-gradient(900px 600px at 90% 90%, rgba(45,130,239,0.08), transparent 60%),
                linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%);
    min-height: 100vh;
}

.pg-auth.pg-auth-solo .auth-shell {
    width: 100%;
    max-width: 480px;
    grid-template-columns: 1fr;
    border: 0;
    border-radius: 28px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.pg-auth.pg-auth-solo .auth-panel {
    width: 100%;
    padding: 32px 16px;
    background: transparent;
}

.pg-auth.pg-auth-solo .auth-panel-card {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 36px 32px 26px;
    background: #ffffff;
    border: 1px solid #e6edf6;
    border-radius: 26px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.10);
}

.pg-auth.pg-auth-solo .auth-panel-logo {
    display: block;
    text-align: center;
    margin: 0 0 20px;
}

.pg-auth.pg-auth-solo .auth-panel-logo img,
.pg-auth .logo-img-xl {
    max-width: 240px;
    max-height: 80px;
    height: auto;
    width: auto;
}

.pg-auth.pg-auth-solo .auth-panel-title {
    text-align: center;
    font-size: 26px;
}

.pg-auth.pg-auth-solo .auth-panel-copy {
    text-align: center;
    margin-bottom: 24px;
}

.dark-mode.pg-auth.pg-auth-solo {
    background: radial-gradient(1200px 600px at 18% 10%, rgba(99,102,241,0.18), transparent 60%),
                radial-gradient(900px 600px at 90% 90%, rgba(45,130,239,0.12), transparent 60%),
                linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
}

.dark-mode.pg-auth.pg-auth-solo .auth-panel-card {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: 0 22px 50px rgba(2, 6, 23, 0.5);
}

@media (max-width: 640px) {
    .pg-auth.pg-auth-solo .auth-panel-card {
        max-width: 100%;
        padding: 28px 20px 18px;
        border-radius: 22px;
    }
    .pg-auth.pg-auth-solo .auth-panel-logo img,
    .pg-auth .logo-img-xl {
        max-width: 200px;
        max-height: 64px;
    }
}


/* =============================================================
   SECTION  HEADER & FOOTER REFINEMENT (global)
   ============================================================= */
.nk-header.nk-header-fixed {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.dark-mode .nk-header.nk-header-fixed,
.nk-header.nk-header-fixed.is-dark {
    background: rgba(15, 23, 42, 0.78);
    border-bottom-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.35);
}

.nk-header .nk-quick-nav-icon,
.nk-header .user-toggle {
    transition: background-color .15s ease, color .15s ease, transform .15s ease;
    border-radius: 12px;
}

.nk-header .nk-quick-nav-icon:hover {
    background: rgba(99, 102, 241, 0.10);
    color: #4f46e5;
}

.nk-header .user-avatar {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.18);
    transition: transform .15s ease, box-shadow .15s ease;
}

.nk-header .user-toggle:hover .user-avatar {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.28);
}

.nk-header .dropdown-menu {
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.dark-mode .nk-header .dropdown-menu {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
}

/* Footer */
.nk-footer {
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #f6f8fc 60%, #eef2f9 100%) !important;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 -1px 0 rgba(15, 23, 42, 0.02) inset !important;
}

.dark-mode .nk-footer,
.nk-footer.bg-dark {
    background: linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(15,23,42,0.6) 60%, #0b1220 100%) !important;
    border-top-color: rgba(255, 255, 255, 0.06);
}

.nk-footer .nk-footer-wrap {
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nk-footer .nk-footer-copyright {
    font-size: 12.5px;
    color: #64748b;
    letter-spacing: 0.1px;
}

.nk-footer .nk-footer-copyright a {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}

.nk-footer .nk-footer-copyright a:hover {
    text-decoration: underline;
}

.dark-mode .nk-footer .nk-footer-copyright {
    color: #94a3b8;
}

.dark-mode .nk-footer .nk-footer-copyright a {
    color: #c7d2fe;
}

/* === Lokasyon sayfasi rep-hero mobil ayar (1.5.9) === */
@media (max-width: 575.98px) {
    .page-lokasyon .rep-hero {
        padding: 14px 16px;
    }
    .page-lokasyon .rep-hero-row {
        gap: 8px;
    }
    .page-lokasyon .rep-hero-title {
        font-size: 15px;
    }
    .page-lokasyon .rep-hero-sub {
        font-size: 11px;
    }
    .page-lokasyon .rep-hero-actions .btn {
        padding: 6px 10px;
        font-size: 12.5px;
    }
}

/* === Header dropdown sik (1.5.9) === */
.nk-header .dropdown-menu {
    padding: 6px;
}
.nk-header .dropdown-menu .dropdown-inner {
    padding: 6px 0;
}
.nk-header .dropdown-menu .dropdown-inner + .dropdown-inner {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.nk-header .dropdown-menu .user-card {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.05));
    border-radius: 10px;
    margin-bottom: 4px;
}
.nk-header .dropdown-menu .link-list-opt a,
.nk-header .dropdown-menu .link-list a {
    padding: 9px 14px;
    border-radius: 9px;
    margin: 1px 4px;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
    color: #475569;
    font-weight: 500;
}
.nk-header .dropdown-menu .link-list-opt a:hover,
.nk-header .dropdown-menu .link-list a:hover {
    background: rgba(99, 102, 241, 0.10);
    color: #4f46e5;
    transform: translateX(-2px);
}
.nk-header .dropdown-menu .link-list-opt a .icon,
.nk-header .dropdown-menu .link-list a .icon {
    color: #94a3b8;
    transition: color 0.15s ease;
}
.nk-header .dropdown-menu .link-list-opt a:hover .icon,
.nk-header .dropdown-menu .link-list a:hover .icon {
    color: #4f46e5;
}
.nk-header .dropdown-menu .link-list-opt a.text-danger,
.nk-header .dropdown-menu .link-list a.text-danger {
    color: #dc2626 !important;
}
.nk-header .dropdown-menu .link-list-opt a.text-danger:hover,
.nk-header .dropdown-menu .link-list a.text-danger:hover {
    background: rgba(239, 68, 68, 0.10);
    color: #b91c1c !important;
}
.nk-header .dropdown-menu .overline-title {
    padding: 8px 14px 4px;
    font-size: 10.5px;
    letter-spacing: 0.18em;
    color: #94a3b8;
}
.nk-header .user-toggle:after {
    transition: transform 0.2s ease;
}
.nk-header .show > .user-toggle:after,
.nk-header .dropdown.show > .user-toggle:after {
    transform: rotate(180deg);
}

/* Dark mode header dropdown */
.dark-mode .nk-header .dropdown-menu .user-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(139, 92, 246, 0.10));
    border-bottom-color: rgba(255, 255, 255, 0.08);
}
.dark-mode .nk-header .dropdown-menu .dropdown-inner + .dropdown-inner {
    border-top-color: rgba(255, 255, 255, 0.08);
}
.dark-mode .nk-header .dropdown-menu .link-list-opt a,
.dark-mode .nk-header .dropdown-menu .link-list a {
    color: #cbd5e1;
}
.dark-mode .nk-header .dropdown-menu .link-list-opt a:hover,
.dark-mode .nk-header .dropdown-menu .link-list a:hover {
    background: rgba(129, 140, 248, 0.18);
    color: #c7d2fe;
}
.dark-mode .nk-header .dropdown-menu .link-list-opt a:hover .icon,
.dark-mode .nk-header .dropdown-menu .link-list a:hover .icon {
    color: #c7d2fe;
}

/* ====================================================== */
/* === GDM (Güzel Detay Modal) === */
/* ====================================================== */

.gdm-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.gdm-modal.is-open { display: flex; }
.gdm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: gdmFadeIn 0.2s ease;
}
.gdm-dialog {
    position: relative;
    width: 100%;
    max-width: 800px;
    max-height: calc(100vh - 32px);
    background: var(--std-surface, #ffffff);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    animation: gdmSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes gdmFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes gdmSlideUp { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

.gdm-header {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #4338ca 100%);
    color: #fff;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.gdm-header::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 60%);
    pointer-events: none;
}
.gdm-back, .gdm-close {
    position: relative;
    z-index: 2;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255,255,255,0.20);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s, transform 0.12s;
}
.gdm-back:hover, .gdm-close:hover { background: rgba(255,255,255,0.32); color: #fff; }
.gdm-back .icon, .gdm-close .icon { font-size: 18px; line-height: 1; }
.gdm-title-block { position: relative; z-index: 2; flex: 1; min-width: 0; }
.gdm-title { font-size: 18px; font-weight: 800; line-height: 1.2; margin: 0; word-break: break-word; }
.gdm-subtitle { font-size: 13px; opacity: 0.9; margin-top: 2px; }
.gdm-tag { display: inline-block; margin-top: 5px; background: rgba(255,255,255,0.20); padding: 3px 10px; border-radius: 7px; font-size: 11.5px; font-weight: 700; }
.gdm-body { padding: 20px; overflow-y: auto; flex: 1; }

.gdm-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
@media (max-width: 700px) { .gdm-stats-grid { grid-template-columns: repeat(2, 1fr); } }
.gdm-stat-card {
    background: var(--std-surface-soft, #f7f9fc);
    border: 1px solid var(--std-border, #e5e9f2);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.15s ease;
}
.gdm-stat-card:hover { transform: translateY(-2px); }
.gdm-stat-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
}
.gdm-stat-icon.indigo { background: linear-gradient(135deg, #1f327d, #4b66ea); }
.gdm-stat-icon.sky { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }
.gdm-stat-icon.amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
.gdm-stat-icon.slate { background: linear-gradient(135deg, #64748b, #475569); }
.gdm-stat-icon.rose { background: linear-gradient(135deg, #e11d48, #f43f5e); }
.gdm-stat-icon.violet { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.gdm-stat-icon.emerald { background: linear-gradient(135deg, #10b981, #059669); }
.gdm-stat-label { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--std-muted, #6e82a5); letter-spacing: 0.4px; margin-bottom: 1px; display: flex; align-items: center; gap: 4px; }
.gdm-stat-label .gdm-emoji { font-size: 11px; }
.gdm-stat-value { font-size: 16px; font-weight: 800; color: var(--std-title, #1f2b4d); line-height: 1.1; }

.gdm-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
@media (max-width: 600px) { .gdm-highlights { grid-template-columns: 1fr; } }
.gdm-highlight { border-radius: 14px; padding: 18px; text-align: center; position: relative; overflow: hidden; color: #fff; }
.gdm-highlight.main { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); box-shadow: 0 8px 24px rgba(79, 70, 229, 0.25); }
.gdm-highlight.success { background: linear-gradient(135deg, #10b981 0%, #059669 100%); box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25); }
.gdm-highlight::after { content: ""; position: absolute; top: -40px; right: -40px; width: 150px; height: 150px; background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%); pointer-events: none; }
.gdm-highlight-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; opacity: 0.95; }
.gdm-highlight-value { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.1; }

.gdm-payments-card { background: var(--std-surface-soft, #f7f9fc); border: 1px solid var(--std-border, #e5e9f2); border-radius: 12px; overflow: hidden; }
.gdm-payments-header { padding: 14px 18px; background: linear-gradient(90deg, rgba(99, 102, 241, 0.08), rgba(79, 70, 229, 0.04)); border-bottom: 1px solid var(--std-border, #e5e9f2); display: flex; align-items: center; gap: 8px; }
.gdm-payments-header .icon { color: #4b66ea; font-size: 15px; }
.gdm-payments-title { font-size: 12.5px; font-weight: 800; color: var(--std-title, #1f2b4d); text-transform: uppercase; letter-spacing: 0.5px; }
.gdm-payments-list { padding: 4px 0; }
.gdm-payment-item { display: flex; align-items: center; gap: 10px; padding: 10px 18px; }
.gdm-payment-item + .gdm-payment-item { border-top: 1px solid var(--std-border, #e5e9f2); }
.gdm-payment-icon { width: 36px; height: 36px; min-width: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; }
.gdm-payment-icon.nakit { background: linear-gradient(135deg, #10b981, #059669); }
.gdm-payment-icon.kart { background: linear-gradient(135deg, #e11d48, #f43f5e); }
.gdm-payment-icon.veresiye { background: linear-gradient(135deg, #f59e0b, #d97706); }
.gdm-payment-label { flex: 1; font-size: 13.5px; font-weight: 600; color: var(--std-title, #1f2b4d); display: flex; align-items: center; gap: 6px; }
.gdm-payment-value { font-size: 15px; font-weight: 800; color: var(--std-title, #1f2b4d); font-variant-numeric: tabular-nums; }

/* Dark mode */
.dark-mode .gdm-dialog { background: #1e293b; }
.dark-mode .gdm-stat-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
.dark-mode .gdm-stat-label { color: #94a3b8; }
.dark-mode .gdm-stat-value { color: #e5ecff; }
.dark-mode .gdm-payments-card { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); }
.dark-mode .gdm-payments-header { background: rgba(99, 102, 241, 0.12); border-bottom-color: rgba(255,255,255,0.08); }
.dark-mode .gdm-payments-title { color: #e5ecff; }
.dark-mode .gdm-payment-item + .gdm-payment-item { border-top-color: rgba(255,255,255,0.08); }
.dark-mode .gdm-payment-label { color: #cbd5e1; }
.dark-mode .gdm-payment-value { color: #e5ecff; }
