/* ============================================================
CUSTOM CSS - SISTEM INFORMASI PERKULIAHAN FH-UNKRIS
Version: 4.0 (Final - Clean & Responsive)
Framework: Bootstrap 4 Compatible
Font: Poppins + Inter
Last Updated: 2026
============================================================ */

/* ============================================================
1. CSS VARIABLES (Root Theme)
============================================================ */
:root {
    /* Primary Colors */
    --primary-dark: #0f172a;
    --primary: #1e3a8a;
    --primary-light: #1d4ed8;
    --primary-gradient: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1d4ed8 100%);
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    /* Accent Colors */
    --accent: #fbbf24;
    --accent-orange: #f59e0b;
    --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    
    /* Secondary Colors */
    --secondary-blue: #3b82f6;
    --light-blue: #06b6d4;
    
    /* Status Colors */
    --success: #27ae60;
    --success-light: #d1fae5;
    --danger: #e74c3c;
    --danger-light: #fee2e2;
    --warning: #f39c12;
    --warning-light: #fef3c7;
    --info: #3498db;
    --info-light: #dbeafe;
    --purple: #6f42c1;
    --purple-light: #ede9fe;
    
    /* Neutral Colors */
    --dark: #2c3e50;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    
    /* Layout */
    --sidebar-width: 260px;
    --header-height: 70px;
    
    /* Border & Shadow */
    --border-radius: 10px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    
    /* Frontend Specific */
    --frontend-primary: #1e3a8a;
    --frontend-primary-light: #3b82f6;
    --frontend-primary-dark: #0f172a;
    --frontend-success: #27ae60;
    --frontend-info: #3498db;
}

/* ============================================================
2. GLOBAL RESET & BASE
============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fb;
    overflow-x: hidden;
    color: var(--gray-800);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--gray-800);
}

::selection {
    background: var(--primary);
    color: #fff;
}

/* ============================================================
3. SCROLLBAR CUSTOM (Global)
============================================================ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-500);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-600);
}

/* ============================================================
4. PRELOADER
============================================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#preloader .loader {
    width: 50px;
    height: 50px;
    border: 4px solid #e8f0fe;
    border-top: 4px solid var(--primary-light);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================================
5. SIDEBAR / NAVIGATION (Backend)
============================================================ */
        .sidebar-menu {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            bottom: 0 !important;
            width: 260px !important;
            background: linear-gradient(180deg, #0f172a 0%, #1e3a8a 100%);
            box-shadow: 2px 0 20px rgba(0,0,0,0.08);
            z-index: 1000 !important;
            overflow-y: auto;
            overflow-x: hidden;
        }

        .sidebar-menu .sidebar-header {
            background: rgba(0,0,0,0.2);
            padding: 0;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }

        .sidebar-menu .logo-area {
            padding: 22px 20px;
            text-align: center;
        }

        .sidebar-menu .logo-area h3 {
            color: #fff !important;
            font-weight: 700;
            font-size: 20px;
            margin: 0;
            letter-spacing: 0.5px;
        }

        .sidebar-menu .logo-area h3 i {
            color: #fbbf24;
            margin-right: 8px;
        }

        .sidebar-menu .logo-area small {
            color: rgba(255,255,255,0.6) !important;
            font-size: 10px;
            letter-spacing: 2px;
            text-transform: uppercase;
            display: block;
            margin-top: 4px;
        }

.main-menu {
    height: calc(100vh - 90px);
    overflow-y: auto;
    overflow-x: hidden;
}

.metismenu {
    list-style: none !important;
    padding: 15px 0 !important;
    margin: 0 !important;
}

.metismenu li {
    list-style: none !important;
}

.metismenu li a {
    display: flex !important;
    align-items: center;
    padding: 11px 20px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 13.5px !important;
    font-weight: 400;
    text-decoration: none !important;
    border-left: 3px solid transparent;
    transition: all 0.25s ease;
    position: relative;
}

.metismenu li a:hover,
.metismenu li a:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    border-left-color: #fbbf24;
    text-decoration: none !important;
}

.metismenu li a i {
    width: 22px;
    text-align: center;
    margin-right: 10px;
    font-size: 14px;
    opacity: 0.85;
}

.metismenu li a span {
    flex: 1;
}

.metismenu li a.has-arrow::after {
    content: '\f107' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.25s ease;
    border: none !important;
    margin-left: auto;
}

.metismenu li.active > a.has-arrow::after,
.metismenu li.mm-active > a.has-arrow::after {
    transform: rotate(180deg);
    color: #fff;
}

.metismenu > li.active > a,
.metismenu > li.mm-active > a {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    border-left-color: #fbbf24 !important;
    font-weight: 600 !important;
}

.metismenu > li.active > a i,
.metismenu > li.mm-active > a i {
    opacity: 1 !important;
    color: #fbbf24 !important;
}

.metismenu ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: height 0.3s ease;
}

.metismenu ul li.active > a,
.metismenu ul li.mm-active > a {
    background: rgba(251, 191, 36, 0.15) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-left: 3px solid #fbbf24 !important;
    padding-left: 51px !important;
}

.metismenu ul li.active > a::before,
.metismenu ul li.mm-active > a::before {
    background: #fbbf24 !important;
    width: 7px !important;
    height: 7px !important;
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}

.metismenu ul li a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.metismenu ul li a:hover::before {
    background: #fbbf24 !important;
}

.metismenu ul li a {
    padding: 9px 20px 9px 54px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.65) !important;
    border-left: 3px solid transparent !important;
    transition: all 0.25s ease;
}

.metismenu ul li a::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: inline-block;
    margin-right: 10px;
    margin-left: -15px;
    transition: all 0.25s ease;
    vertical-align: middle;
}

.metismenu ul ul li.active > a,
.metismenu ul ul li.mm-active > a {
    background: rgba(251, 191, 36, 0.1) !important;
    color: #fff !important;
    font-weight: 500 !important;
    border-left: 3px solid #fbbf24 !important;
}

.metismenu ul ul li.active > a::before,
.metismenu ul ul li.mm-active > a::before {
    background: #fbbf24 !important;
    box-shadow: 0 0 6px rgba(251, 191, 36, 0.5);
}

.metismenu li.active > a.has-arrow,
.metismenu li:has(ul li.active) > a.has-arrow {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    border-left-color: #fbbf24 !important;
}

.metismenu li.active > a.has-arrow i,
.metismenu li:has(ul li.active) > a.has-arrow i {
    color: #fbbf24 !important;
    opacity: 1 !important;
}

.metismenu li.active > a.has-arrow {
    background: rgba(255, 255, 255, 0.08) !important;
    border-left-color: #fbbf24 !important;
}

.main-menu::-webkit-scrollbar {
    width: 4px;
}

.main-menu::-webkit-scrollbar-track {
    background: transparent;
}

.main-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* ============================================================
6. MAIN CONTENT AREA (Backend)
============================================================ */
        .main-content {
            margin-left: 260px !important;
            min-height: 100vh;
            background: #f5f7fb;
        }

        .main-content-inner {
            padding: 25px;
        }

/* ============================================================
7. HEADER BAR (Backend)
============================================================ */
        .header-area {
            background: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.04);
            padding: 14px 25px;
            position: sticky;
            top: 0;
            z-index: 99;
            border-bottom: 1px solid #eef1f6;
        }

        .page-title h2 {
            font-size: 18px !important;
            font-weight: 700;
            color: #0f172a !important;
            margin: 0 !important;
        }

        .page-title .breadcrumb {
            background: transparent !important;
            padding: 0 !important;
            margin: 3px 0 0 0 !important;
            font-size: 12px;
        }

        .page-title .breadcrumb a {
            color: #6c757d;
        }

        .page-title .breadcrumb .active {
            color: #1e3a8a;
            font-weight: 500;
        }

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--primary-dark);
    cursor: pointer;
    padding: 5px 10px;
}

        /* Sidebar Toggle (Mobile) */
        .sidebar-toggle-btn {
            display: none;
            background: none;
            border: none;
            font-size: 20px;
            color: #0f172a;
            cursor: pointer;
            padding: 5px 10px;
            margin-right: 10px;
        }

.nav-btn {
    color: var(--primary-dark) !important;
    font-size: 20px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-btn:hover {
    background: var(--gray-100);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5); /* Warna gelap transparan */
    backdrop-filter: blur(2px);
    z-index: 998; /* Di bawah sidebar (z-index: 1000) */
    transition: all 0.3s ease;
}

        .user-profile .dropdown-toggle {
            display: flex;
            align-items: center;
            padding: 6px 14px 6px 6px;
            border-radius: 30px;
            background: #f8f9fa;
            text-decoration: none;
            border: 1px solid #e9ecef;
        }

.user-profile .dropdown-toggle:hover {
    background: #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.user-profile .dropdown-toggle::after {
    margin-left: 10px;
    color: #6c757d;
    font-size: 10px;
}

        .user-profile .user-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(135deg, #0f172a, #1e3a8a);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
            margin-right: 10px;
        }

.user-profile .user-info {
    line-height: 1.3;
}

        .user-profile .user-info .user-name {
            font-weight: 600;
            color: #0f172a;
            font-size: 13px;
        }

        .user-profile .user-info .user-role {
            font-size: 11px;
            color: #6c757d;
        }

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 8px 0;
    min-width: 200px;
}

.dropdown-menu .dropdown-item {
    padding: 9px 18px;
    font-size: 13px;
    color: #444;
    transition: all 0.2s ease;
}

.dropdown-menu .dropdown-item:hover {
    background: #f0f4ff;
    color: var(--primary-light);
}

.dropdown-menu .dropdown-item i {
    width: 18px;
    margin-right: 8px;
    color: var(--primary-light);
    font-size: 12px;
}

.dropdown-menu .dropdown-divider {
    margin: 6px 0;
    border-color: var(--gray-200);
}

/* ============================================================
8. CARDS (Global)
============================================================ */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 20px;
    font-weight: 600;
}

.card-header h5,
.card-header h6 {
    margin: 0;
    font-size: 15px;
}

.card-body {
    padding: 20px;
}

.card-footer {
    background: #fff;
    border-top: 1px solid var(--gray-200);
    padding: 12px 20px;
}

/* ============================================================
9. BUTTONS
============================================================ */
.btn {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 8px;
    transition: var(--transition);
    letter-spacing: 0.2px;
}

.btn:focus,
.btn:active {
    box-shadow: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #152c54, var(--primary-dark));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(42, 82, 152, 0.35);
}

.btn-success {
    background: var(--success);
    border: none;
    color: #fff;
}

.btn-success:hover {
    background: #219a52;
    transform: translateY(-1px);
    color: #fff;
}

.btn-danger {
    background: var(--danger);
    border: none;
    color: #fff;
}

.btn-danger:hover {
    background: #c0392b;
    transform: translateY(-1px);
    color: #fff;
}

.btn-warning {
    background: var(--warning);
    border: none;
    color: #fff;
}

.btn-warning:hover {
    background: #e08e0b;
    color: #fff;
    transform: translateY(-1px);
}

.btn-info {
    background: var(--info);
    border: none;
    color: #fff;
}

.btn-info:hover {
    background: #2980b9;
    color: #fff;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ============================================================
10. FORMS
============================================================ */
.form-control {
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    transition: var(--transition);
    background-color: #fff;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.form-control::placeholder {
    color: var(--gray-500);
    font-size: 13px;
}

.form-group label,
.form-label {
    font-weight: 500;
    font-size: 13px;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.custom-select,
select.form-control {
    border-radius: 8px;
    border: 1px solid var(--gray-300);
    font-size: 13px;
    padding: 10px 14px;
}

.custom-select:focus,
select.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.input-group-text {
    background-color: var(--gray-100);
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    border-radius: 8px 0 0 8px;
    font-size: 13px;
}

.input-group .form-control {
    border-radius: 0 8px 8px 0;
}

.custom-file-label {
    border-radius: 8px;
    border: 1px solid var(--gray-300);
    font-size: 13px;
    padding: 10px 14px;
}

.custom-file-input:focus ~ .custom-file-label {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

/* ============================================================
11. TABLES & DATATABLES (Backend) - RESPONSIVE
============================================================ */
.table {
    font-size: 13px;
    width: 100%;
}

.table thead th {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff !important;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    padding: 12px 15px;
    white-space: nowrap;
}

.table thead th:first-child {
    border-top-left-radius: 8px;
}

.table thead th:last-child {
    border-top-right-radius: 8px;
}

.table tbody td {
    padding: 12px 15px;
    vertical-align: middle;
    border-color: var(--gray-200);
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background-color: rgba(42, 82, 152, 0.03);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.015);
}

/* Responsive Table Wrapper */
.table-responsive {
    border-radius: var(--border-radius);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

/* Custom Scrollbar for Tables */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1d4ed8 0%, #1e3a8a 100%);
}

/* DataTables Wrapper */
.dataTables_wrapper {
    padding: 0;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 15px;
}

.dataTables_wrapper .dataTables_length select {
    border-radius: 6px;
    border: 1px solid var(--gray-300);
    padding: 4px 8px;
    font-size: 13px;
}

.dataTables_wrapper .dataTables_filter input {
    border-radius: 6px;
    border: 1px solid var(--gray-300);
    padding: 6px 12px;
    font-size: 13px;
    transition: var(--transition);
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.dataTables_wrapper .dataTables_info {
    font-size: 12px;
    color: var(--gray-600);
    padding-top: 12px;
}

.dataTables_wrapper .dataTables_paginate {
    padding-top: 12px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 6px !important;
    font-size: 12px;
    padding: 5px 12px !important;
    margin: 0 2px;
    border: 1px solid var(--gray-300) !important;
    background: #fff !important;
    color: var(--gray-800) !important;
    transition: var(--transition);
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ============================================================
12. ALERTS
============================================================ */
.alert {
    border: none;
    border-radius: 8px;
    font-size: 13px;
    padding: 12px 18px;
    margin-bottom: 15px;
    border-left: 4px solid;
}

.alert-success {
    background-color: rgba(39, 174, 96, 0.1);
    color: #1a7a42;
    border-left-color: var(--success);
}

.alert-danger {
    background-color: rgba(231, 76, 60, 0.1);
    color: #b52a1c;
    border-left-color: var(--danger);
}

.alert-warning {
    background-color: rgba(243, 156, 18, 0.1);
    color: #9a6e0b;
    border-left-color: var(--warning);
}

.alert-info {
    background-color: rgba(52, 152, 219, 0.1);
    color: #1a6fa8;
    border-left-color: var(--info);
}

.alert .close,
.alert .btn-close {
    font-size: 16px;
    padding: 8px 12px;
}

/* ============================================================
13. BADGES
============================================================ */
.badge {
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

.badge-success { background-color: var(--success); color: #fff; }
.badge-danger { background-color: var(--danger); color: #fff; }
.badge-warning { background-color: var(--warning); color: #fff; }
.badge-info { background-color: var(--info); color: #fff; }
.badge-primary { background-color: var(--primary); color: #fff; }
.badge-secondary { background-color: var(--gray-600); color: #fff; }

/* ============================================================
14. MODALS
============================================================ */
.modal-content {
    border: none;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    border: none;
    padding: 16px 24px;
}

.modal-header .modal-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.modal-header .close {
    color: #fff;
    opacity: 0.8;
    text-shadow: none;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid var(--gray-200);
    padding: 14px 24px;
    background: var(--gray-100);
}

/* ============================================================
15. LIST GROUP
============================================================ */
.list-group-item {
    border-color: var(--gray-200);
    transition: var(--transition);
    padding: 14px 20px;
}

.list-group-item:hover {
    background-color: var(--gray-100);
}

/* ============================================================
16. FOOTER (Backend)
============================================================ */
.footer-area {
    background: #fff !important;
    padding: 18px 25px !important;
    border-top: 1px solid var(--gray-200);
    margin-top: 30px;
    margin-left: var(--sidebar-width);
    transition: all 0.3s ease;
}

.footer-area p,
.footer-area .copyright {
    color: var(--gray-600) !important;
    font-size: 13px;
    margin: 0;
}

.footer-area a {
    color: var(--primary);
}

.footer-area a:hover {
    color: var(--primary-dark);
}

/* ============================================================
17. DASHBOARD - WELCOME BANNER
============================================================ */
.welcome-card,
.dash-welcome {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1d4ed8 100%);
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-card::before,
.dash-welcome::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.welcome-card::after,
.dash-welcome::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, rgba(251, 191, 36, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.welcome-card > *,
.dash-welcome > * {
    position: relative;
    z-index: 2;
}

.welcome-card h3,
.dash-welcome h3 {
    color: #fff;
}

.welcome-card p,
.dash-welcome p {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================================
18. DASHBOARD - STAT CARDS
============================================================ */
.stat-card {
    border-radius: var(--border-radius-lg);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    background: #fff;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.12) !important;
}

.stat-card .card-body {
    padding: 22px !important;
}

.stat-card h6 {
    font-size: 11px;
    letter-spacing: 0.8px;
    font-weight: 600;
    margin-bottom: 6px !important;
}

.stat-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1;
    margin-bottom: 6px !important;
}

.stat-card small {
    font-size: 12px;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-icon.bg-info { background-color: rgba(52, 152, 219, 0.1) !important; color: var(--info) !important; }
.stat-icon.bg-warning { background-color: rgba(243, 156, 18, 0.1) !important; color: var(--warning) !important; }
.stat-icon.bg-primary { background-color: rgba(42, 82, 152, 0.1) !important; color: var(--primary) !important; }
.stat-icon.bg-success { background-color: rgba(39, 174, 96, 0.1) !important; color: var(--success) !important; }
.stat-icon.bg-danger { background-color: rgba(231, 76, 60, 0.1) !important; color: var(--danger) !important; }
.stat-icon.bg-secondary { background-color: rgba(108, 117, 125, 0.1) !important; color: var(--gray-600) !important; }
.stat-icon.bg-dark { background-color: rgba(44, 62, 80, 0.1) !important; color: var(--dark) !important; }

/* ============================================================
19. DASHBOARD - QUICK ACTIONS
============================================================ */
.quick-action-card {
    border-radius: var(--border-radius-lg);
    transition: all 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    background: #fff;
}

.quick-action:hover .quick-action-card {
    transform: translateY(-4px);
    border-color: rgba(29, 78, 216, 0.3) !important;
    box-shadow: 0 12px 24px -10px rgba(29, 78, 216, 0.15) !important;
}

.quick-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.25s ease;
}

.quick-action:hover .quick-icon {
    transform: scale(1.08);
}

.custom-list-item {
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
}

.custom-list-item:last-child {
    border-bottom: none !important;
}

.custom-list-item:hover {
    background-color: #f8fafc;
}

.badge-pill-custom {
    padding: 0.35em 0.75em;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.section-title {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* ============================================================
20. SCHEDULE SCROLL CONTAINER
============================================================ */
.schedule-scroll-wrapper {
    position: relative;
    overflow: hidden;
}

.schedule-scroll-container {
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.schedule-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.schedule-scroll-container::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 10px;
}

.schedule-scroll-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.schedule-scroll-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1d4ed8 0%, #1e3a8a 100%);
}

.scroll-fade-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.95) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.schedule-scroll-wrapper.has-scroll .scroll-fade-indicator {
    opacity: 1;
}

.schedule-scroll-container.at-bottom ~ .scroll-fade-indicator {
    opacity: 0;
}

.schedule-scroll-container .custom-list-item {
    transition: all 0.2s ease;
}

.schedule-scroll-container .custom-list-item:hover {
    background-color: #f0f4ff !important;
    transform: translateX(2px);
}

/* ============================================================
21. CRUD PAGE - PAGE HEADER
============================================================ */
.page-header-custom {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1d4ed8 100%);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.page-header-custom::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.page-header-custom > * {
    position: relative;
    z-index: 2;
}

.page-header-custom h3 {
    color: #fff !important;
    font-weight: 700;
}

.page-header-custom p {
    color: rgba(255, 255, 255, 0.7);
}

.btn-add-custom {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.btn-add-custom:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.data-card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.data-card .card-header {
    background: #fff;
    border-bottom: 1px solid #eef1f6;
    padding: 1.25rem 1.5rem;
}

.data-card .card-body {
    padding: 1.5rem;
}

/* ============================================================
22. CRUD PAGE - ACTION BUTTONS
============================================================ */
.btn-action {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.btn-action-view {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.btn-action-view:hover {
    background: #3b82f6;
    color: #fff;
}

.btn-action-edit {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.btn-action-edit:hover {
    background: #f59e0b;
    color: #fff;
}

.btn-action-delete {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.btn-action-delete:hover {
    background: #ef4444;
    color: #fff;
}

.btn-action.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================================
23. CRUD PAGE - STATUS BADGE
============================================================ */
.status-badge {
    padding: 0.4em 0.85em;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
}

.status-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.status-publish {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border-color: rgba(34, 197, 94, 0.2);
}

.status-publish:hover {
    background: rgba(34, 197, 94, 0.2);
    color: #15803d;
}

.status-unpublish {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
    border-color: rgba(107, 114, 128, 0.2);
}

.status-unpublish:hover {
    background: rgba(107, 114, 128, 0.2);
    color: #4b5563;
}

/* ============================================================
24. CRUD PAGE - LINK BADGE
============================================================ */
.link-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35em 0.75em;
    font-size: 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.link-badge-active {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.link-badge-active:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
}

.link-badge-empty {
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    font-style: italic;
}

/* ============================================================
25. CRUD PAGE - CUSTOM MODAL
============================================================ */
.modal-custom .modal-content {
    border: none;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-custom .modal-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1d4ed8 100%);
    color: #fff;
    border: none;
    padding: 1.25rem 1.5rem;
}

.modal-custom .modal-title {
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
}

.modal-custom .modal-header .close {
    color: #fff;
    opacity: 0.8;
    text-shadow: none;
}

.modal-custom .modal-header .close:hover {
    opacity: 1;
}

.modal-custom .modal-body {
    padding: 1.75rem 1.5rem;
}

.modal-custom .modal-footer {
    background: #f8fafc;
    border-top: 1px solid #eef1f6;
    padding: 1rem 1.5rem;
}

/* ============================================================
26. CRUD PAGE - FORM CUSTOM
============================================================ */
.form-label-custom {
    font-weight: 500;
    color: #374151;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-label-custom i {
    color: #6b7280;
    font-size: 0.8rem;
}

.form-control-custom {
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.form-control-custom:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ============================================================
27. CRUD PAGE - CUSTOM ALERT
============================================================ */
.alert-custom {
    border: none;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid;
}

.alert-custom .alert-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ============================================================
28. CRUD PAGE - TABLE CUSTOM
============================================================ */
.table-custom thead th {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.9rem 1rem;
    border: none;
    white-space: nowrap;
}

.table-custom tbody td {
    padding: 0.9rem 1rem;
    vertical-align: middle;
    font-size: 0.875rem;
    border-color: #f1f5f9;
}

.table-custom tbody tr {
    transition: all 0.2s ease;
}

.table-custom tbody tr:hover {
    background-color: #f8fafc !important;
}

/* ============================================================
29. CRUD PAGE - EMPTY STATE
============================================================ */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state i {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.empty-state h5 {
    color: var(--gray-600);
}

.empty-state p {
    color: var(--gray-500);
}

/* ============================================================
30. LOGIN PAGE (Standalone)
============================================================ */
body.login-page {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.login-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-width: 420px;
    width: 100%;
}

.login-card .card-header-custom {
    background: var(--gray-100);
    padding: 28px 20px;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.login-card .card-header-custom i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 10px;
}

.login-card .card-header-custom h4 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 5px;
}

.login-card .card-header-custom p {
    color: var(--gray-600);
    font-size: 13px;
    margin: 0;
}

.login-card .card-body-custom {
    padding: 30px;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(42, 82, 152, 0.4);
    background: linear-gradient(135deg, #152c54, var(--primary-dark));
    color: #fff;
}

.toggle-password {
    cursor: pointer;
    background: #fff;
    border: 1px solid #ced4da;
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.back-link {
    text-decoration: none;
    color: #6c757d;
    font-size: 14px;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--primary);
}

/* ============================================================
31. UTILITY CLASSES
============================================================ */
.text-primary-custom { color: var(--primary) !important; }
.bg-primary-custom { background: var(--primary-gradient) !important; }
.bg-primary-lighter { background-color: rgba(42, 82, 152, 0.08) !important; }
.bg-success-light { background-color: rgba(39, 174, 96, 0.08) !important; }
.bg-danger-light { background-color: rgba(231, 76, 60, 0.08) !important; }
.bg-warning-light { background-color: rgba(243, 156, 18, 0.08) !important; }
.bg-info-light { background-color: rgba(52, 152, 219, 0.08) !important; }
.bg-purple-light { background-color: rgba(111, 66, 193, 0.08) !important; }
.rounded-xl { border-radius: 14px !important; }
.rounded-xxl { border-radius: 20px !important; }
.shadow-custom { box-shadow: var(--shadow-md) !important; }

.section-title-global {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-800);
}

.section-title-global i {
    margin-right: 8px;
}

.divider {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: 20px 0;
}

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }

/* ============================================================
32. ANIMATIONS
============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp { animation: fadeInUp 0.5s ease forwards; }
.animate-fadeIn { animation: fadeIn 0.4s ease forwards; }
.animate-slideInRight { animation: slideInRight 0.4s ease forwards; }

.stat-card:nth-child(1) { animation-delay: 0.05s; }
.stat-card:nth-child(2) { animation-delay: 0.1s; }
.stat-card:nth-child(3) { animation-delay: 0.15s; }
.stat-card:nth-child(4) { animation-delay: 0.2s; }
.stat-card:nth-child(5) { animation-delay: 0.25s; }
.stat-card:nth-child(6) { animation-delay: 0.3s; }
.stat-card:nth-child(7) { animation-delay: 0.35s; }
.stat-card:nth-child(8) { animation-delay: 0.4s; }

/* ============================================================
33. FILE PREVIEW (Upload Lampiran)
============================================================ */
.file-preview-container {
    padding: 12px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    animation: fadeIn 0.3s ease;
}

.preview-image-card {
    text-align: center;
}

.preview-image-card img {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.preview-info {
    padding: 8px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.preview-pdf-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
    border-radius: 10px;
}

.pdf-icon-large {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
}

.pdf-info {
    flex: 1;
    min-width: 0;
}

.pdf-info strong {
    font-size: 0.9rem;
    word-break: break-word;
}

.current-file-card {
    padding: 10px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
}

.pdf-current-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-radius: 8px;
}

.custom-file-upload-wrapper .form-control-file {
    padding: 8px;
    border: 1.5px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    width: 100%;
    cursor: pointer;
    transition: all 0.25s ease;
}

.custom-file-upload-wrapper .form-control-file:hover {
    border-color: var(--primary);
    background: #fff;
}

.custom-file-upload-wrapper .form-control-file:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ============================================================
34. FRONTEND - NAVBAR & NAVIGATION
============================================================ */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-blue) !important;
    font-size: 1.5rem;
}

.navbar-brand small {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 400;
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    padding: 10px 18px !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.btn-login-nav {
    background: var(--primary-blue);
    color: #fff !important;
    border-radius: 8px;
    padding: 8px 20px !important;
    margin-left: 10px;
}

.btn-login-nav:hover {
    background: var(--dark);
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none !important;
    padding: 8px 12px !important;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    content: "";
    background: no-repeat center center;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(30, 58, 138, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================
35. FRONTEND - HERO SECTION
============================================================ */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--light-blue) 100%);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0) 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge-custom {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--accent-orange);
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-hero-primary {
    background: var(--accent-orange);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-primary:hover {
    background: #d97706;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
    color: #fff;
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-3px);
    color: #fff;
}

.hero-stats {
    margin-top: 50px;
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.stats-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.stats-card h5 {
    color: var(--accent-orange);
    font-weight: 700;
    margin-bottom: 20px;
}

/* ============================================================
36. FRONTEND - SERVICES & CARDS
============================================================ */
.stat-card-frontend {
    background: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.stat-card-frontend:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon-frontend {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.semester-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e5e7eb;
    background: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--frontend-primary);
    color: var(--frontend-primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--frontend-primary);
    border-color: var(--frontend-primary);
    color: #fff;
}

.services-section {
    padding: 100px 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
}

.service-icon.blue { background: rgba(59, 130, 246, 0.1); color: var(--secondary-blue); }
.service-icon.teal { background: rgba(6, 182, 212, 0.1); color: var(--light-blue); }
.service-icon.orange { background: rgba(245, 158, 11, 0.1); color: var(--accent-orange); }
.service-icon.green { background: rgba(39, 174, 96, 0.1); color: #27ae60; }

.service-card h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================================
37. FRONTEND - MODERN CARDS & TABLES
============================================================ */
.modern-card {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: none;
    overflow: hidden;
}

.table-modern {
    width: 100%;
}

.table-modern thead th {
    background: linear-gradient(135deg, var(--frontend-primary-dark) 0%, var(--frontend-primary) 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 15px;
    border: none;
}

.table-modern thead th:first-child {
    border-top-left-radius: 12px;
}

.table-modern thead th:last-child {
    border-top-right-radius: 12px;
}

.table-modern tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.table-modern tbody tr:hover {
    background: #f8fafc;
    transform: translateX(5px);
}

.table-modern tbody td {
    padding: 15px;
    vertical-align: middle;
    border: none;
}

.matkul-info {
    display: flex;
    flex-direction: column;
}

.matkul-code {
    font-weight: 700;
    color: var(--frontend-primary);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.matkul-name {
    color: #334155;
    font-size: 0.95rem;
}

.semester-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(30, 58, 138, 0.1);
    color: var(--frontend-primary);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.sks-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(39, 174, 96, 0.1);
    color: var(--frontend-success);
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.btn-download-rps {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--frontend-primary) 0%, var(--frontend-primary-light) 100%);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
}

.btn-download-rps:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    color: #fff;
    text-decoration: none;
}

/* ============================================================
38. FRONTEND - MATA KULIAH SECTION
============================================================ */
.mata-kuliah-section {
    background: #f8fafc;
    min-height: 100vh;
    padding: 20px 0;
}

.section-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    color: #fff;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.section-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.count-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.table-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.table-header-custom {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff;
    padding: 15px 20px;
}

.table-header-custom h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.mata-kuliah-table {
    width: 100%;
    margin-bottom: 0;
}

.mata-kuliah-table thead th {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 15px;
    border: none;
    white-space: nowrap;
}

.mata-kuliah-table thead th:first-child {
    border-top-left-radius: 8px;
}

.mata-kuliah-table thead th:last-child {
    border-top-right-radius: 8px;
}

.mata-kuliah-table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.mata-kuliah-table tbody tr:hover {
    background: #f8fafc;
}

.mata-kuliah-table tbody tr:last-child {
    border-bottom: none;
}

.mata-kuliah-table tbody td {
    padding: 15px;
    vertical-align: middle;
    border: none;
}

.btn-rps {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
    white-space: nowrap;
}

.btn-rps:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
    color: #fff;
    text-decoration: none;
}

.btn-rps.disabled {
    background: #e2e8f0;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
}

/* ============================================================
39. FRONTEND - ANNOUNCEMENT CARDS (Sempro & Skripsi)
============================================================ */
.announcement-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.announcement-card.inactive {
    text-align: center;
    padding: 50px 30px;
}

.announcement-header {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.announcement-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.announcement-icon.bg-danger {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

.announcement-icon.bg-secondary {
    background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
}

.announcement-title {
    flex: 1;
}

.announcement-title h4 {
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.announcement-image {
    padding: 30px;
    background: #f8fafc;
}

.announcement-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.announcement-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.announcement-date,
.announcement-category {
    display: flex;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

.announcement-date i,
.announcement-category i {
    color: #1e3a8a;
    margin-right: 8px;
}

/* ============================================================
40. FRONTEND - CAROUSEL (Info Terkini)
============================================================ */
.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(30, 58, 138, 0.3);
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #1e3a8a;
    width: 12px;
    height: 12px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(30, 58, 138, 0.8);
    border-radius: 50%;
    padding: 12px;
    transition: all 0.3s ease;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(30, 58, 138, 1);
    transform: scale(1.1);
}

.carousel-item {
    transition: transform 0.8s ease-in-out;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* ============================================================
41. FRONTEND - FOOTER
============================================================ */
.footer-custom {
    background: var(--dark);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

/* ============================================================
42. BULK ACTION STYLES
============================================================ */
.custom-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #1e3a8a;
    margin: 0 auto;
    display: block;
}

.bulk-action-bar {
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

tr.selected-row {
    background-color: rgba(30, 58, 138, 0.08) !important;
}

tr.selected-row td {
    background-color: rgba(30, 58, 138, 0.08) !important;
}

/* ============================================================
43. FORM SECTIONS (Modal)
============================================================ */
.form-section {
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.form-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
}

.font-italic { font-style: italic; }
.font-weight-semibold { font-weight: 600; }

.modal-dialog-scrollable .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

/* ============================================================
44. RESPONSIVE - BACKEND (Admin Panel)
============================================================ */
/* ===== EXTRA LARGE SCREENS (MAX 1200PX) ===== */
@media (max-width: 1200px) {
    .stat-card h3 { 
        font-size: 24px; 
    }
    .stat-icon { 
        width: 48px; 
        height: 48px; 
        font-size: 18px; 
    }
        .carousel-media,
    .col-md-8 > div {
        height: 400px !important;
    } 
}

/* ===== LARGE / TABLET LANDSCAPE (MAX 991PX) ===== */
@media (max-width: 991px) {
    /* Sidebar Navigation Off-Canvas */
    .sidebar-menu {
        left: -260px !important;
        transition: left 0.3s ease-in-out;
        z-index: 1000;
    }

    .sidebar-menu.active {
        left: 0 !important;
    }

    .main-content,
    .footer-area {
        margin-left: 0 !important;
    }
    
    .sidebar-toggle-btn,
    .sidebar-toggle {
        display: inline-block !important;
    }
    .carousel-media,
    .col-md-8 > div {
        height: 400px !important;
    }    
    /* Mobile Overlay Darkening */
    .sidebar-overlay.active {
        display: block !important;
    }
    
    .schedule-scroll-container {
        max-height: 350px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .navbar-collapse {
        background: #ffffff;
        padding: 20px;
        border-radius: 12px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
}

/* ===== MEDIUM / TABLET PORTRAIT (MAX 768PX) ===== */
@media (max-width: 768px) {
    .sidebar-menu {
        left: -260px !important; /* Fixed: Menggunakan -260px agar aman dari variabel undefined */
    }
    
    .sidebar-menu.active {
        left: 0 !important;
    }
    
    .page-title h2 {
        font-size: 16px !important;
    }
    
    /* User Profile Header Adjustments */
    .user-info {
        display: none !important;
    }
    
    .user-profile .dropdown-toggle {
        padding: 6px;
        background: transparent;
    }
    
    .user-profile .dropdown-toggle::after {
        display: none !important;
    }
    
    /* Dashboard Cards Alignment */
    .welcome-card,
    .dash-welcome {
        text-align: center;
    }
    
    .welcome-card .text-md-end,
    .dash-welcome .text-md-end {
        text-align: center !important;
        margin-top: 15px;
    }
    
    .page-header-custom {
        padding: 1.25rem;
    }
    
    .page-header-custom h3 {
        font-size: 1.25rem;
    }
    
    .data-card .card-body {
        padding: 1rem;
    }
    
    /* Tables Responsive Styling */
    .table-custom thead th,
    .table-custom tbody td {
        padding: 0.65rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .table thead th {
        font-size: 11px;
        padding: 10px 12px;
    }
    
    .table tbody td {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .table-modern thead th,
    .table-modern tbody td {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
    
    .matkul-code,
    .matkul-name {
        font-size: 0.85rem;
    }
    
    .table-responsive {
        border: none;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .mata-kuliah-table {
        min-width: 700px;
    }
    
    .mata-kuliah-table thead th {
        font-size: 0.85rem;
        padding: 12px 8px;
        white-space: nowrap;
    }
    
    .mata-kuliah-table tbody td {
        font-size: 0.9rem;
        padding: 12px 8px;
        vertical-align: middle;
    }
    
    /* Footer Adjustments */
    .footer-area {
        text-align: center;
    }
    
    .footer-area .text-md-right {
        text-align: center !important;
        margin-top: 5px;
    }
    
    .schedule-scroll-container {
        max-height: 300px;
    }
    
    .carousel-media,
    .col-md-6 > div {
        height: 120px !important;
    }
    .carousel-media,
    .col-md-7 > div {
        height: 200px !important;
    }
    .carousel-media,
    .col-md-8 > div {
        height: 300px !important;
    }
    .carousel-media,
    .col-md-9 > div {
        height: 400px !important;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 40px;
        height: 40px;
    }
    
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .services-section {
        padding: 60px 0;
    }
    
    /* Horizontal Filter Scroll */
    .semester-filter {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .semester-badge {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .btn-rps {
        padding: 6px 12px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .sks-badge {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    /* Announcement Layout */
    .announcement-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .announcement-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .announcement-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 15px 20px;
    }
    
    .announcement-image {
        padding: 20px;
    }
    
    .announcement-card.inactive {
        padding: 30px 20px;
    }
}

/* ===== SMALL / MOBILE PHONES (MAX 576PX) ===== */
@media (max-width: 576px) {
    .header-area {
        padding: 12px 15px;
    }
    
    .header-area .page-title h2 {
        font-size: 16px;
    }
    
    .main-content-inner {
        padding: 15px;
    }
    
    .stat-card .card-body {
        padding: 15px !important;
    }
    
    .stat-card h3 {
        font-size: 22px;
    }
    
    .quick-icon {
        width: 50px;
        height: 50px;
    }
    
    .quick-icon i {
        font-size: 18px !important;
    }
    
    .mata-kuliah-table thead th {
        font-size: 0.8rem;
        padding: 10px 6px;
    }
    
    .mata-kuliah-table tbody td {
        font-size: 0.85rem;
        padding: 10px 6px;
    }
    
    .section-title h2 {
        font-size: 1.3rem;
    }
    
    .count-badge {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .announcement-title h4 {
        font-size: 1.1rem;
    }
    
    .announcement-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .frontend-section {
        padding: 60px 0 40px;
    }
    
    .table-modern {
        font-size: 0.8rem;
    }
}
/* ============================================================
RUNNING TEXT / NEWS TICKER - FRONTEND
============================================================ */
.news-ticker-wrapper {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    width: 100%;
}

.news-ticker {
    display: flex;
    align-items: center;
    height: 50px;
    position: relative;
    z-index: 2;
}

/* Label "INFO TERKINI" */
.ticker-label {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    padding: 0 25px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 4px 0 15px rgba(0,0,0,0.2);
    position: relative;
    z-index: 10;
}

.ticker-label i {
    font-size: 1rem;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Content Area */
.ticker-content {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

/* Scrolling Content */
.ticker-scroll {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker-scroll 80s linear infinite;
}

.ticker-scroll:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Individual Ticker Item */
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 30px;
    color: #fff;
    font-size: 0.9rem;
}

.ticker-date {
    background: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ticker-date i {
    color: #fbbf24;
}

.ticker-title {
    font-weight: 500;
    letter-spacing: 0.3px;
}

.ticker-link {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 4px 12px;
    border: 1px solid rgba(251, 191, 36, 0.5);
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.ticker-link:hover {
    background: #fbbf24;
    color: #1e3a8a;
    transform: translateY(-2px);
    text-decoration: none;
}

.ticker-separator {
    color: rgba(255,255,255,0.4);
    font-size: 0.6rem;
    margin: 0 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .news-ticker {
        height: 45px;
    }
    
    .ticker-label {
        padding: 0 15px;
        font-size: 0.75rem;
    }
    
    .ticker-label span {
        display: none;
    }
    
    .ticker-item {
        font-size: 0.8rem;
        padding: 0 20px;
    }
    
    .ticker-date {
        display: none;
    }
    
    .ticker-scroll {
        animation-duration: 50s;
    }
}

@media (max-width: 576px) {
    .news-ticker {
        height: 40px;
    }
    
    .ticker-label {
        padding: 0 12px;
    }
    
    .ticker-item {
        font-size: 0.75rem;
        padding: 0 15px;
    }
    
    .ticker-link {
        display: none;
    }
}
/* ============================================================
45. PRINT STYLES
============================================================ */
@media print {
    .sidebar-menu,
    .header-area,
    .footer-area,
    .btn,
    .dataTables_length,
    .dataTables_filter,
    .dataTables_paginate,
    .page-header-custom,
    .no-print {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0 !important;
    }
    
    .main-content-inner {
        padding: 0 !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .table thead th {
        background: #f0f0f0 !important;
        color: #333 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    body {
        background: #fff;
    }
}