/* ============================================================
   SISTEM INVENTARIS DINAS LUAR PEGAWAI
   Kanwil Ditjenpas Sulawesi Utara
   Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary:       #07213D;
    --primary-light: #0d3460;
    --primary-dark:  #051829;
    --secondary:     #EEBF63;
    --secondary-dark:#d4a94d;
    --bg:            #F0F4F8;
    --white:         #FFFFFF;
    --sidebar-w:     260px;
    --text-dark:     #1a2636;
    --text-muted:    #6b7a8d;
    --border:        #dce3ec;
    --success:       #1aad6b;
    --danger:        #e53935;
    --warning:       #f9a825;
    --info:          #0288d1;
    --shadow-sm:     0 2px 8px rgba(7,33,61,.08);
    --shadow-md:     0 4px 20px rgba(7,33,61,.12);
    --shadow-lg:     0 8px 32px rgba(7,33,61,.16);
    --radius:        12px;
    --radius-sm:     8px;
    --transition:    all .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.6;
    /* FIX: Cegah body melebar melebihi viewport */
    overflow-x: hidden;
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #07213D 0%, #0d3460 50%, #07213D 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.login-wrapper::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(238,191,99,.12) 0%, transparent 70%);
    top: -200px; right: -200px;
    border-radius: 50%;
}
.login-wrapper::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(238,191,99,.08) 0%, transparent 70%);
    bottom: -100px; left: -100px;
    border-radius: 50%;
}

.login-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,.3);
    padding: 48px 44px;
    width: 100%;
    max-width: 460px;
    position: relative;
    z-index: 1;
}

.login-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}
.login-logos img {
    height: 72px;
    width: auto;
    object-fit: contain;
}
.login-logos .logo-divider {
    width: 1px; height: 60px;
    background: var(--border);
}

.login-title {
    text-align: center;
    margin-bottom: 32px;
}
.login-title h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: .3px;
    line-height: 1.4;
    text-transform: uppercase;
}
.login-title p {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}
.login-title .divider-gold {
    display: block;
    width: 48px; height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    margin: 12px auto 0;
}

.login-form .form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 6px;
}

.login-form .input-group {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.login-form .input-group-text {
    background: var(--primary);
    color: var(--secondary);
    border: none;
    padding: 0 14px;
}
.login-form .form-control {
    border: 1.5px solid var(--border);
    border-left: none;
    padding: 11px 14px;
    font-size: 14px;
    border-radius: 0;
    transition: var(--transition);
}
.login-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}
.login-form .btn-toggle-pass {
    border: 1.5px solid var(--border);
    border-left: none;
    background: var(--white);
    color: var(--text-muted);
    cursor: pointer;
    padding: 0 12px;
}
.login-form .btn-toggle-pass:hover { color: var(--primary); }

.btn-login {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    padding: 13px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    width: 100%;
    letter-spacing: .5px;
    text-transform: uppercase;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(7,33,61,.3);
}
.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(7,33,61,.4);
    color: var(--secondary);
}

/* ============================================================
   LAYOUT ADMIN
   ============================================================ */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    /* FIX: Cegah wrapper melebar */
    overflow-x: hidden;
    width: 100%;
}

/* SIDEBAR */
.sidebar {
    width: var(--sidebar-w);
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    z-index: 1000;
    transition: var(--transition);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.1) transparent;
}

.sidebar-brand {
    padding: 20px 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    gap: 12px;
}
.sidebar-brand img {
    height: 38px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}
.sidebar-brand-text {
    flex: 1;
    min-width: 0;
}
.sidebar-brand-text h6 {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: .4px;
    line-height: 1.3;
    margin: 0;
}
.sidebar-brand-text small {
    font-size: 9px;
    color: rgba(255,255,255,.5);
    display: block;
    margin-top: 1px;
    line-height: 1.2;
}

.sidebar-nav { padding: 16px 0; flex: 1; }

.nav-section-title {
    font-size: 9.5px;
    font-weight: 600;
    color: rgba(255,255,255,.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 20px 4px;
    margin-top: 8px;
}

.nav-item-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 20px;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    border-left: 3px solid transparent;
}
.nav-item-link i { font-size: 17px; flex-shrink: 0; }
.nav-item-link:hover {
    color: var(--white);
    background: rgba(255,255,255,.07);
    border-left-color: var(--secondary);
}
.nav-item-link.active {
    color: var(--white);
    background: rgba(238,191,99,.12);
    border-left-color: var(--secondary);
    font-weight: 600;
}
.nav-item-link.active i { color: var(--secondary); }

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255,255,255,.06);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}
.sidebar-user-avatar {
    width: 34px; height: 34px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; color: var(--primary); flex-shrink: 0;
}
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-info span {
    display: block;
    font-size: 12px; font-weight: 600;
    color: var(--white);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-user-info small {
    font-size: 10px; color: rgba(255,255,255,.45);
}
.btn-logout {
    display: flex; align-items: center; justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 9px;
    background: rgba(229,57,53,.15);
    color: #ff8a80;
    border: 1px solid rgba(229,57,53,.25);
    border-radius: var(--radius-sm);
    font-size: 12.5px; font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}
.btn-logout:hover {
    background: var(--danger);
    color: var(--white);
    border-color: var(--danger);
}

/* MAIN CONTENT */
.main-content {
    margin-left: var(--sidebar-w);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: var(--transition);
    /* FIX: Kunci lebar agar tidak bisa melebar melebihi sisa ruang */
    min-width: 0;
    width: calc(100% - var(--sidebar-w));
    overflow-x: hidden;
}

/* TOPBAR */
.topbar {
    background: var(--white);
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    position: sticky; top: 0;
    z-index: 900;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.btn-sidebar-toggle {
    background: none; border: none;
    color: var(--primary); font-size: 22px;
    cursor: pointer; padding: 4px;
    display: none;
    line-height: 1;
}
.topbar-title {
    font-size: 16px; font-weight: 700; color: var(--primary);
}
.topbar-right { display: flex; align-items: center; gap: 12px; }
.realtime-badge {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}
.realtime-badge #realtime-clock { color: var(--primary); font-weight: 700; }

/* PAGE CONTENT */
.page-content {
    padding: 28px 24px;
    flex: 1;
    /* FIX: Konten halaman tidak boleh melebar */
    min-width: 0;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.page-header-left h5 {
    font-size: 20px; font-weight: 700; color: var(--primary); margin: 0;
}
.page-header-left .breadcrumb {
    margin: 0; font-size: 12px;
}
.page-header-left .breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* CARDS */
.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    border: 1px solid transparent;
    height: 100%;
    /* FIX: Stat card tidak boleh melebar */
    min-width: 0;
    overflow: hidden;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(7,33,61,.06);
}
.stat-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; flex-shrink: 0;
}
.stat-icon.primary { background: rgba(7,33,61,.09); color: var(--primary); }
.stat-icon.secondary { background: rgba(238,191,99,.15); color: var(--secondary-dark); }
.stat-icon.success { background: rgba(26,173,107,.12); color: var(--success); }
.stat-icon.danger { background: rgba(229,57,53,.1); color: var(--danger); }
.stat-icon.info { background: rgba(2,136,209,.1); color: var(--info); }
.stat-icon.warning { background: rgba(255,193,7,.15); color: #ffc107; }

.stat-info {
    /* FIX: Teks info tidak mendorong card */
    min-width: 0;
    flex: 1;
}
.stat-info h3 {
    font-size: 28px; font-weight: 700; color: var(--primary); line-height: 1; margin: 0;
}
.stat-info p {
    font-size: 12.5px; color: var(--text-muted); margin: 4px 0 0; font-weight: 500;
    /* FIX: Teks panjang dipotong */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* DATA CARD */
.data-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(7,33,61,.04);
    overflow: hidden;
    /* FIX: Data card tidak boleh mendorong layout */
    min-width: 0;
}
.data-card-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.data-card-header h6 {
    font-size: 15px; font-weight: 700; color: var(--primary);
    margin: 0; display: flex; align-items: center; gap: 8px;
}
.data-card-body { padding: 22px; }

/* TABLES */
.table-responsive {
    border-radius: 0;
    /* FIX: Tabel scroll horizontal di dalam card, bukan melebar ke luar */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}
.table { margin: 0; font-size: 13.5px; }
.table thead th {
    background: rgba(7,33,61,.04);
    color: var(--primary);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .4px;
    border-bottom: 2px solid var(--border);
    padding: 12px 14px;
    white-space: nowrap;
}
.table tbody td {
    padding: 12px 14px;
    vertical-align: middle;
    border-color: var(--border);
    color: var(--text-dark);
}
.table tbody tr:hover { background: rgba(7,33,61,.025); }

/* BADGES */
.badge-status {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 10px; border-radius: 20px;
    font-size: 11px; font-weight: 600;
    /* FIX: Badge tidak membungkus teks secara aneh */
    white-space: nowrap;
}
.badge-aktif { background: rgba(26,173,107,.12); color: var(--success); }
.badge-selesai { background: rgba(2,136,209,.1); color: var(--info); }
.badge-full { background: rgba(7,33,61,.09); color: var(--primary); }
.badge-half { background: rgba(238,191,99,.2); color: #b8860b; }
.badge-aktif-peg { background: rgba(26,173,107,.12); color: var(--success); }
.badge-nonaktif { background: rgba(229,57,53,.1); color: var(--danger); }
.badge-menunggu { background: rgba(234,179,8,.15); color: #b45309; border: 1px solid rgba(234,179,8,.3); }
/* BUTTONS */
.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 600;
    display: inline-flex; align-items: center; gap: 7px;
    transition: var(--transition);
    cursor: pointer; text-decoration: none;
    /* FIX: Tombol tidak melar */
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-primary-custom:hover {
    background: var(--primary-light);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(7,33,61,.25);
}

.btn-sm-action {
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}
.btn-sm-action.detail { background: rgba(2,136,209,.1); color: var(--info); }
.btn-sm-action.edit { background: rgba(238,191,99,.18); color: #a07a20; }
.btn-sm-action.hapus { background: rgba(229,57,53,.1); color: var(--danger); }
.btn-sm-action:hover { opacity: .8; transform: scale(1.05); }

/* FORMS */
.form-label {
    font-size: 12.5px; font-weight: 600; color: var(--text-dark);
    margin-bottom: 5px;
}
.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 9px 13px;
    font-size: 13.5px;
    color: var(--text-dark);
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(7,33,61,.08);
}

/* SEARCH */
.search-box { position: relative; }
.search-box .form-control { padding-left: 36px; }
.search-box i {
    position: absolute; left: 11px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted); font-size: 15px;
}

/* RADIO JENIS DINAS */
.jenis-dinas-group {
    display: flex; gap: 12px; flex-wrap: wrap;
}
.jenis-dinas-opt {
    flex: 1; min-width: 120px;
}
.jenis-dinas-opt input[type="radio"] { display: none; }
.jenis-dinas-opt label {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13.5px; font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
    text-align: center;
}
.jenis-dinas-opt input[type="radio"]:checked + label {
    border-color: var(--primary);
    background: rgba(7,33,61,.05);
    color: var(--primary);
}
.jenis-dinas-opt:nth-child(2) input[type="radio"]:checked + label {
    border-color: var(--secondary-dark);
    background: rgba(238,191,99,.1);
    color: #8a6800;
}

/* EMPTY STATE */
.empty-state {
    text-align: center; padding: 60px 20px;
}
.empty-state i { font-size: 56px; color: var(--border); margin-bottom: 16px; display: block; }
.empty-state h6 { color: var(--text-muted); font-weight: 600; }
.empty-state p { color: var(--text-muted); font-size: 13px; }

/* FOOTER */
.admin-footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
}
.footer-logos { display: flex; align-items: center; gap: 14px; }
.footer-logos img { height: 32px; width: auto; object-fit: contain; }
.footer-logos .sep { width: 1px; height: 24px; background: var(--border); }
.footer-text { font-size: 11px; color: var(--text-muted); text-align: right; line-height: 1.5; }

/* PAGINATION */
.pagination .page-link {
    color: var(--primary);
    border-color: var(--border);
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 6px !important;
    margin: 0 2px;
}
.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

/* NUMBER CIRCLE */
.no-circle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(7,33,61,.07);
    color: var(--primary); font-size: 12px; font-weight: 700;
}

/* DETAIL PAGE */
.detail-group {
    display: flex; gap: 8px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}
.detail-group:last-child { border-bottom: none; }
.detail-label {
    min-width: 180px; font-size: 12px; font-weight: 700;
    color: var(--text-muted); text-transform: uppercase; letter-spacing: .3px;
    padding-top: 1px;
}
.detail-value { font-size: 14px; font-weight: 500; color: var(--text-dark); flex: 1; min-width: 0; }

/* CHART WRAPPER */
.chart-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.chart-wrapper canvas {
    max-width: 100% !important;
    display: block;
}
/* Pastikan canvas mengikuti parent container */
canvas {
    max-width: 100% !important;
}

/* OVERLAY SIDEBAR */
.sidebar-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 999;
}

/* ============================================================
   FIX GLOBAL: Bootstrap .row col tidak boleh melebar
   Ini penyebab utama layout stretch saat DevTools dibuka
   ============================================================ */
.row > [class*="col-"] {
    min-width: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
        z-index: 1001;
    }
    .sidebar.open { transform: translateX(0); }
    .sidebar-overlay.open { display: block; }
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    .btn-sidebar-toggle { display: flex; }
    .page-content { padding: 20px 16px; }
    .topbar { padding: 0 16px; }
    .stat-card { padding: 18px 14px; }
    .stat-info h3 { font-size: 22px; }
    .detail-label { min-width: 130px; font-size: 11px; }
}

@media (max-width: 575px) {
    .login-card { padding: 32px 24px; }
    .login-logos img { height: 54px; }
    .topbar-title { font-size: 13px; }
    .realtime-badge { display: none; }
    .page-header { flex-direction: column; align-items: flex-start; }
    .data-card-header { flex-direction: column; align-items: flex-start; }
    .footer-logos { gap: 10px; }
    .footer-logos img { height: 24px; }
    .admin-footer { flex-direction: column; text-align: center; }
    .footer-text { text-align: center; }
    .detail-group { flex-direction: column; gap: 3px; }
    .detail-label { min-width: unset; }
    .jenis-dinas-group { flex-direction: column; }
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(7,33,61,.2); border-radius: 3px; }

/* MODAL */
.modal-header {
    background: var(--primary);
    color: var(--white);
    border-bottom: none;
}
.modal-header .btn-close { filter: brightness(0) invert(1); }
.modal-title { font-weight: 700; font-size: 15px; }
.modal-footer { border-top-color: var(--border); }

/* ALERT */
.alert { border-radius: var(--radius-sm); font-size: 13.5px; border: none; }
.alert-danger { background: rgba(229,57,53,.1); color: #c62828; }
.alert-success { background: rgba(26,173,107,.12); color: #1b5e20; }

/* ============================================================
   5-COLUMN GRID HELPER (dashboard stat cards)
   ============================================================ */
@media (min-width: 1200px) {
    .col-xl-2-4 {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* ============================================================
   GLOBAL PRINT STYLES
   Berlaku di semua halaman saat Ctrl+P / Cetak
   ============================================================ */
@media print {
    code {
        background: none !important;
        color: #000000 !important;
        font-family: Arial, sans-serif !important;
        font-size: inherit !important;
        padding: 0 !important;
        border-radius: 0 !important;
        border: none !important;
    }
    .badge-status,
    .badge-full, .badge-half,
    .badge-aktif, .badge-selesai,
    .badge-aktif-peg, .badge-nonaktif {
        background: none !important;
        color: #000000 !important;
        border: none !important;
        padding: 0 !important;
        font-weight: 700 !important;
    }
}
/* OPERATOR DASHBOARD — Tambahan CSS */
.stat-card-icon { width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#fff;flex-shrink:0; }
.stat-card-body { flex:1;min-width:0; }
.stat-card-value { font-size:26px;font-weight:700;color:#07213D;line-height:1;margin-bottom:4px; }
.stat-card-label { font-size:12px;color:#6c757d;font-weight:500; }
.card-box { background:#fff;border-radius:14px;padding:20px 22px;box-shadow:0 2px 8px rgba(7,33,61,.07);border:1px solid rgba(7,33,61,.06); }
.card-box-title { font-size:14px;font-weight:600;color:#07213D;margin-bottom:0;display:flex;align-items:center;padding-bottom:12px;border-bottom:1px solid rgba(7,33,61,.07); }
.table-custom { width:100%;border-collapse:collapse;font-size:13px; }
.table-custom th { padding:10px 12px;font-weight:600;font-size:12px;color:#6c757d;text-transform:uppercase;border-bottom:2px solid rgba(7,33,61,.07);white-space:nowrap; }
.table-custom td { padding:10px 12px;color:#07213D;border-bottom:1px solid rgba(7,33,61,.05);vertical-align:middle; }
.table-custom tbody tr:hover { background:rgba(7,33,61,.025); }
.table-custom .badge-status.aktif { background:rgba(26,173,107,.12);color:#1aad6b; }
.table-custom .badge-status.selesai { background:rgba(2,136,209,.1);color:#0288d1; }
/* ====================================================
   FIX: 6 kartu sejajar di layar besar
==================================================== */
@media (min-width: 1200px) {
    .stat-card {
        padding: 14px 10px;
    }
    .stat-icon {
        width: 38px;
        height: 38px;
        font-size: 17px;
        border-radius: 10px;
    }
    .stat-info h3 {
        font-size: 20px;
    }
    .stat-info p {
        font-size: 10.5px;
    }
}
