        /* ============================================================
           BRAND TOKENS
        ============================================================ */
        :root {
            --primary: #2BDA8E;
            --primary-dark: #20c07a;
            --primary-light: #e6faf3;
            --dark: #2E3A59;
            --dark-hover: #3a4a70;
            --bg: #F7F8FA;
            --card-bg: #ffffff;
            --text-muted: #6c757d;
            --success: #2BDA8E;
            --warning: #F5A623;
            --danger: #E74C3C;
            --info: #3498DB;
            --sidebar-w: 240px;
            --header-h: 60px;
            --radius: 12px;
            --shadow: 0 2px 12px rgba(0, 0, 0, .08);
            --shadow-hover: 0 6px 24px rgba(0, 0, 0, .13);
        }

        /* ============================================================
           BASE
        ============================================================ */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg);
            color: #1a2236;
            min-height: 100vh;
        }

        a {
            text-decoration: none;
        }

        /* ============================================================
           TOP HEADER
        ============================================================ */
        #top-header {
            position: fixed;
            top: 0;
            left: var(--sidebar-w);
            right: 0;
            height: var(--header-h);
            background: #fff;
            box-shadow: 0 2px 8px rgba(0, 0, 0, .07);
            z-index: 1040;
            display: flex;
            align-items: center;
            padding: 0 1.25rem;
        }

        #top-header .brand {
            display: flex;
            align-items: center;
            gap: .5rem;
            font-weight: 700;
            font-size: 1.05rem;
            color: var(--dark);
            width: calc(var(--sidebar-w) - 1.25rem);
            flex-shrink: 0;
        }

        #top-header .brand .logo-icon {
            width: 34px;
            height: 34px;
            background: var(--primary);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 1.1rem;
        }

        #top-header .header-right {
            margin-left: auto;
            display: flex;
            align-items: center;
            gap: .25rem;
        }

        .header-icon-btn {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: transparent;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #555;
            font-size: 1.15rem;
            cursor: pointer;
            transition: background .15s;
            position: relative;
        }

        .header-icon-btn:hover {
            background: var(--bg);
        }

        .badge-dot {
            position: absolute;
            top: 5px;
            right: 5px;
            width: 8px;
            height: 8px;
            background: var(--danger);
            border-radius: 50%;
            border: 2px solid #fff;
        }

        .header-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            font-weight: 600;
            font-size: .85rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        #hamburger-btn {
            display: none;
            background: transparent;
            border: none;
            font-size: 1.4rem;
            color: var(--dark);
            cursor: pointer;
            padding: 4px 8px;
        }

        /* ============================================================
           SIDEBAR
        ============================================================ */
        #sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-w);
            height: 100vh;
            background: var(--dark);
            overflow-y: auto;
            overflow-x: hidden;
            z-index: 1030;
            transition: transform .25s ease;
            display: flex;
            flex-direction: column;
        }

        #sidebar::-webkit-scrollbar {
            width: 4px;
        }

        #sidebar::-webkit-scrollbar-track {
            background: transparent;
        }

        #sidebar::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, .15);
            border-radius: 2px;
        }

        .sidebar-section-label {
            font-size: .68rem;
            font-weight: 600;
            letter-spacing: .08em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, .38);
            padding: 1.2rem 1.25rem .4rem;
        }

        .sidebar-nav {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .sidebar-nav li a {
            display: flex;
            align-items: center;
            gap: .7rem;
            padding: .65rem 1.25rem;
            color: rgba(255, 255, 255, .75);
            font-size: .88rem;
            font-weight: 500;
            border-left: 3px solid transparent;
            transition: all .15s;
        }

        .sidebar-nav li a i {
            font-size: 1rem;
            flex-shrink: 0;
        }

        .sidebar-nav li a:hover {
            color: #fff;
            background: rgba(255, 255, 255, .07);
        }

        .sidebar-nav li a.active {
            color: var(--primary);
            background: rgba(43, 218, 142, .12);
            border-left-color: var(--primary);
            font-weight: 600;
        }

        .sidebar-footer {
            margin-top: auto;
            padding: 1rem 1.25rem;
            border-top: 1px solid rgba(255, 255, 255, .08);
        }

        .sidebar-footer .user-info {
            display: flex;
            align-items: center;
            gap: .6rem;
        }

        .sidebar-footer .user-info .avatar {
            width: 34px;
            height: 34px;
            background: var(--primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 600;
            font-size: .8rem;
            flex-shrink: 0;
        }

        .sidebar-footer .user-info .name {
            font-size: .82rem;
            color: rgba(255, 255, 255, .85);
            font-weight: 500;
            line-height: 1.2;
        }

        .sidebar-footer .user-info .role {
            font-size: .73rem;
            color: rgba(255, 255, 255, .4);
        }

        #sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, .45);
            z-index: 1029;
        }

        /* ============================================================
           MAIN CONTENT
        ============================================================ */
        #main-wrapper {
            margin-left: var(--sidebar-w);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            transition: margin-left .25s ease;
        }

        #main-content {
            margin-top: var(--header-h);
            padding: 1.75rem;
            flex: 1;
        }

        .page-header {
            margin-bottom: 1.5rem;
        }

        .page-header h1 {
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--dark);
            margin: 0;
        }

        .page-header .breadcrumb {
            font-size: .8rem;
            margin: .25rem 0 0;
        }

        .breadcrumb-item+.breadcrumb-item::before {
            color: var(--text-muted);
        }

        /* ============================================================
           CARDS
        ============================================================ */
        .card {
            border: none;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            background: var(--card-bg);
            transition: box-shadow .2s, transform .2s;
        }

        .card:hover {
            box-shadow: var(--shadow-hover);
        }

        .card-header {
            background: transparent;
            border-bottom: 1px solid rgba(0, 0, 0, .06);
            padding: 1rem 1.25rem;
            font-weight: 600;
            font-size: .95rem;
            color: var(--dark);
        }

        /* ============================================================
           STAT CARDS
        ============================================================ */
        .stat-card {
            padding: 1.3rem 1.5rem;
            border-radius: var(--radius);
            background: var(--card-bg);
            box-shadow: var(--shadow);
            display: flex;
            align-items: center;
            gap: 1rem;
            transition: transform .2s, box-shadow .2s;
            cursor: default;
        }

        .stat-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
        }

        .stat-icon {
            width: 52px;
            height: 52px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            flex-shrink: 0;
        }

        .stat-icon.green {
            background: var(--primary-light);
            color: var(--primary);
        }

        .stat-icon.orange {
            background: #fff4e6;
            color: var(--warning);
        }

        .stat-icon.red {
            background: #fdecea;
            color: var(--danger);
        }

        .stat-icon.blue {
            background: #e8f4fd;
            color: var(--info);
        }

        .stat-icon.purple {
            background: #f0ebff;
            color: #8b5cf6;
        }

        .stat-body .stat-value {
            font-size: 1.65rem;
            font-weight: 700;
            line-height: 1;
            color: var(--dark);
        }

        .stat-body .stat-title {
            font-size: .8rem;
            color: var(--text-muted);
            margin-top: .2rem;
        }

        .stat-body .stat-change {
            font-size: .76rem;
            font-weight: 500;
            margin-top: .3rem;
        }

        .stat-change.up {
            color: var(--primary);
        }

        .stat-change.down {
            color: var(--danger);
        }

        /* ============================================================
           BADGES
        ============================================================ */
        .badge-success {
            background: var(--primary-light);
            color: var(--primary-dark);
        }

        .badge-warning {
            background: #fff4e6;
            color: #c07d00;
        }

        .badge-danger {
            background: #fdecea;
            color: #b53429;
        }

        .badge-info {
            background: #e8f4fd;
            color: #1f6fa4;
        }

        .badge-secondary {
            background: #f0f0f5;
            color: #555;
        }

        .status-pill {
            display: inline-flex;
            align-items: center;
            gap: .3rem;
            padding: .25rem .7rem;
            border-radius: 20px;
            font-size: .76rem;
            font-weight: 600;
        }

        .status-pill .dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        /* ============================================================
           TABLES
        ============================================================ */
        .table-card .card-body {
            padding: 0;
        }

        .table-toolbar {
            padding: 1rem 1.25rem;
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: .6rem;
        }

        .table-toolbar .search-wrap {
            position: relative;
            flex: 1;
            min-width: 180px;
            max-width: 320px;
        }

        .table-toolbar .search-wrap i {
            position: absolute;
            left: .75rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
        }

        .table-toolbar .search-wrap input {
            padding-left: 2.2rem;
            border-radius: 8px;
            border: 1px solid #e0e4ed;
            font-size: .87rem;
            height: 38px;
        }

        .table-toolbar .search-wrap input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(43, 218, 142, .15);
        }

        .table>thead>tr>th {
            background: var(--bg);
            font-size: .78rem;
            font-weight: 600;
            letter-spacing: .03em;
            text-transform: uppercase;
            color: var(--text-muted);
            border-bottom: 1px solid #e8eaf0;
            white-space: nowrap;
            padding: .85rem 1.25rem;
        }

        .table>tbody>tr>td {
            font-size: .875rem;
            padding: .85rem 1.25rem;
            vertical-align: middle;
            border-color: #f0f2f7;
        }

        .table>tbody>tr:hover>td {
            background: #f9fbff;
        }

        /* ============================================================
           FORMS
        ============================================================ */
        .form-label {
            font-size: .85rem;
            font-weight: 500;
            color: #3d4d6a;
        }

        .form-control,
        .form-select {
            border-radius: 8px;
            border: 1px solid #e0e4ed;
            font-size: .88rem;
        }

        .form-control:focus,
        .form-select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(43, 218, 142, .15);
        }

        .form-floating>.form-control,
        .form-floating>.form-select {
            border-radius: 8px;
        }

        .form-floating>label {
            color: var(--text-muted);
            font-size: .87rem;
        }

        /* ============================================================
           BUTTONS
        ============================================================ */
        .btn-primary-brand {
            background: var(--primary);
            color: #fff;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            font-size: .88rem;
            padding: .5rem 1.2rem;
            transition: background .15s, transform .1s;
        }

        .btn-primary-brand:hover {
            background: var(--primary-dark);
            color: #fff;
            transform: translateY(-1px);
        }

        .btn-primary-brand:active {
            transform: translateY(0);
        }

        .btn-outline-brand {
            background: transparent;
            color: var(--primary);
            border: 1.5px solid var(--primary);
            border-radius: 8px;
            font-weight: 600;
            font-size: .88rem;
            padding: .5rem 1.2rem;
            transition: all .15s;
        }

        .btn-outline-brand:hover {
            background: var(--primary);
            color: #fff;
        }

        /* ============================================================
           FOOTER
        ============================================================ */
        #main-footer {
            background: #fff;
            border-top: 1px solid #e8eaf0;
            padding: .75rem 1.75rem;
            font-size: .8rem;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: .5rem;
        }

        /* ============================================================
           RESPONSIVE
        ============================================================ */
        @media (max-width: 991.98px) {

            #top-header {
                left: 0;
            }

            #sidebar {
                top: 0;
                left: 0;
                height: 100vh;
                transform: translateX(-100%);
                z-index: 1050;
            }

            #sidebar.open {
                transform: translateX(0);
            }

            #sidebar-overlay.show {
                display: block;
            }

            #main-wrapper {
                margin-left: 0;
            }

            .sidebar-logo {
                display: flex;
            }

            #hamburger-btn {
                display: block;
            }
        }

        @media (max-width: 575.98px) {
            #main-content {
                padding: 1rem;
            }

            #main-footer {
                flex-direction: column;
                text-align: center;
            }
        }

        /* ============================================================
           CHART CONTAINERS
        ============================================================ */
        .chart-container {
            position: relative;
        }

        /* ============================================================
           SCREENSHOT GALLERY
        ============================================================ */
        .screenshot-thumb {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: var(--shadow);
            background: #e8eaf0;
            aspect-ratio: 16/10;
            position: relative;
            cursor: pointer;
            transition: transform .2s, box-shadow .2s;
        }

        .screenshot-thumb:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-hover);
        }

        .screenshot-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .screenshot-thumb .thumb-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, .45);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity .2s;
        }

        .screenshot-thumb:hover .thumb-overlay {
            opacity: 1;
        }

        .screenshot-meta {
            padding: .6rem .1rem .2rem;
            font-size: .78rem;
            color: var(--text-muted);
        }

        /* ============================================================
           PAGINATION
        ============================================================ */
        .pagination .page-link {
            border-radius: 7px !important;
            margin: 0 2px;
            border: 1px solid #e0e4ed;
            color: var(--dark);
            font-size: .85rem;
            padding: .38rem .7rem;
        }

        .pagination .page-item.active .page-link {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }

        .pagination .page-link:hover {
            background: var(--primary-light);
            border-color: var(--primary);
            color: var(--primary-dark);
        }

        /* ============================================================
           MISC UTILITIES
        ============================================================ */
        .section-title {
            font-size: 1rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 1rem;
        }

        .avatar-sm {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            font-size: .75rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .avatar-sm.orange {
            background: var(--warning);
        }

        .avatar-sm.blue {
            background: var(--info);
        }

        .avatar-sm.red {
            background: var(--danger);
        }

        .avatar-sm.purple {
            background: #8b5cf6;
        }

        .divider {
            height: 1px;
            background: #e8eaf0;
            margin: 1rem 0;
        }

        /* ============================================================
   SIDEBAR LOGO
============================================================ */

        .sidebar-logo {
            height: 60px;
            min-height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
            /* border-bottom: 1px solid rgba(255, 255, 255, .08);
            background: #25314d; */
        }

        .sidebar-logo img {
            max-height: 40px;
            max-width: 180px;
            object-fit: contain;
        }

        .sidebar-logo a {
            display: block;
        }

        /* body {
            min-height: 100vh;
            margin: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f5f7fa;
            font-family: 'Segoe UI', sans-serif;
        } */

        /* Login Page Background Only */
        .login-page {
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;

            background: url(../images/Background.png);
            
        }

        .login-card {
            width: min(430px, calc(100% - 30px));
            border: none;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            background: #fff;
        }

        .login-head {
            text-align: center;
            padding: 30px 25px 20px;
            background: #fff;
            border-bottom: 1px solid #f0f0f0;
        }

        .login-logo {
            width: 65px;
            height: 65px;
            border-radius: 50%;
            background: #2BDA8E;
            color: #fff;
            font-size: 24px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
        }

        .login-head h1 {
            font-size: 24px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
        }

        .login-head p {
            color: #777;
            margin-bottom: 0;
        }

        .login-body {
            padding: 30px;
        }

        .form-label {
            font-weight: 500;
            color: #444;
        }

        .form-control {
            border-radius: 10px;
            /* height: 48px; */
            border: 1px solid #dcdcdc;
        }

        .form-control:focus {
            border-color: #2BDA8E;
            box-shadow: 0 0 0 0.15rem rgba(43, 218, 142, 0.15);
        }

        .btn-login {
            height: 48px;
            border-radius: 10px;
            background: #2BDA8E;
            border: none;
            font-weight: 600;
            color: white;
        }

        .btn-login:hover {
            background: #25c77f;
        }

        .login-footer {
            text-align: center;
            margin-top: 18px;
        }

        .login-footer a {
            text-decoration: none;
            color: #2BDA8E;
            font-weight: 500;
        }

        .empty-table-message {
            text-align: center;
            /* padding: 40px 20px !important; */
            color: var(--text-muted);
            font-size: .9rem;
        }

        .employee-count {
            cursor: pointer;
            font-weight: 600;
            transition: all .2s ease;
        }

        .employee-count:hover {
            color: var(--primary);
        }

        .copy-icon {
    cursor: pointer;
    font-size: 1.1rem;
    color: #6c757d;
    transition: all .2s ease;
}

.copy-icon:hover {
    color: var(--primary);
}

.copy-icon.bi-check-lg {
    color: var(--primary);
}

.action-required {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #ffb950;
    border-radius: 20px;
    background: #fff;
    color: #ffb950;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.action-required:hover {
    background: #ffb950;
    color: #fff;
}

.action-processed {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
}

.action-icon {
    color: #6c757d;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all .2s ease;
}

.action-icon:hover {
    color: var(--primary);
    transform: scale(1.15);
}

.reset-icon:hover {
    color: #f59e0b;
}

