/* ============================================
   E-RETHA - Main Stylesheet
   Modern, Elegant, Professional
   ============================================ */

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

:root {
    /* Primary Palette */
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #3730a3;
    --primary-50: #eef2ff;
    --primary-100: #e0e7ff;
    --primary-200: #c7d2fe;

    /* Secondary */
    --secondary: #0ea5e9;
    --secondary-light: #38bdf8;
    --secondary-dark: #0284c7;

    /* Success / Warning / Danger */
    --success: #10b981;
    --success-light: #34d399;
    --warning: #f59e0b;
    --warning-light: #fbbf24;
    --danger: #ef4444;
    --danger-light: #f87171;
    --info: #06b6d4;

    /* Neutrals */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Layout */
    --sidebar-width: 270px;
    --sidebar-collapsed: 80px;
    --topbar-height: 65px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;

    /* Light Mode (default) */
    --bg-body: #f0f2f5;
    --bg-card: #ffffff;
    --bg-sidebar: linear-gradient(180deg, #1e1b4b 0%, #312e81 50%, #3730a3 100%);
    --bg-topbar: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.05);
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-body: #0f172a;
    --bg-card: #1e293b;
    --bg-sidebar: linear-gradient(180deg, #0f172a 0%, #1e1b4b 50%, #1e293b 100%);
    --bg-topbar: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: #334155;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.2);
    --shadow: 0 4px 6px rgba(0,0,0,.3);
    --shadow-lg: 0 10px 15px rgba(0,0,0,.3);
    --shadow-xl: 0 20px 25px rgba(0,0,0,.4);
}

[data-theme="dark"] .card,
[data-theme="dark"] .modal-content {
    background: var(--bg-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary);
}

[data-theme="dark"] .table {
    color: var(--text-primary);
}

[data-theme="dark"] .table thead th {
    background: rgba(79,70,229,.15) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .table td,
[data-theme="dark"] .table th {
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background: var(--gray-800);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    background: var(--gray-700);
    border-color: var(--primary);
    color: var(--text-primary);
}

[data-theme="dark"] .dropdown-menu {
    background: var(--bg-card);
    border-color: var(--border-color);
}

[data-theme="dark"] .dropdown-item {
    color: var(--text-primary);
}

[data-theme="dark"] .dropdown-item:hover {
    background: var(--gray-700);
}

[data-theme="dark"] .dataTables_wrapper .dataTables_filter input,
[data-theme="dark"] .dataTables_wrapper .dataTables_length select {
    background: var(--gray-800) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .page-link {
    background: var(--gray-800);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme="dark"] .breadcrumb-item a {
    color: var(--primary-light);
}

/* ============================================
   Global Styles
   ============================================ */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all .2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ============================================
   Layout
   ============================================ */

.app-wrapper {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding-top: var(--topbar-height);
    transition: margin-left .3s ease;
    min-height: 100vh;
}

.content-wrapper {
    padding: 24px;
}

/* ============================================
   Sidebar
   ============================================ */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-sidebar);
    z-index: 1040;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    overflow-x: hidden;
}

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

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

.sidebar-brand {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    gap: 12px;
}

.sidebar-brand-icon {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #a5b4fc;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.sidebar-brand-text {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.sidebar-brand-text small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: rgba(255,255,255,.5);
    letter-spacing: 0;
}

.sidebar-menu {
    padding: 12px 0;
}

.sidebar-menu-label {
    padding: 10px 24px 6px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.35);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sidebar-menu-item {
    list-style: none;
}

.sidebar-menu-link {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: rgba(255,255,255,.65);
    font-size: 13.5px;
    font-weight: 500;
    gap: 12px;
    transition: all .2s ease;
    border-left: 3px solid transparent;
    margin: 2px 8px;
    border-radius: 8px;
    text-decoration: none;
}

.sidebar-menu-link:hover {
    color: #fff;
    background: rgba(255,255,255,.08);
}

.sidebar-menu-link.active {
    color: #fff;
    background: rgba(99,102,241,.35);
    border-left-color: #818cf8;
    font-weight: 600;
}

.sidebar-menu-link i {
    width: 20px;
    text-align: center;
    font-size: 16px;
    flex-shrink: 0;
}

/* ============================================
   Topbar
   ============================================ */

.topbar {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    height: var(--topbar-height);
    background: var(--bg-topbar);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 1030;
    transition: left .3s ease;
    box-shadow: var(--shadow-sm);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-toggle {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all .2s;
    display: none;
}

.topbar-toggle:hover {
    background: var(--gray-100);
    color: var(--text-primary);
}

.topbar-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 16px;
    transition: all .2s;
}

.theme-toggle:hover {
    background: var(--primary-50);
    border-color: var(--primary-200);
    color: var(--primary);
}

.user-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: none;
    cursor: pointer;
    transition: all .2s;
    color: var(--text-primary);
    text-decoration: none;
}

.user-dropdown .dropdown-toggle:hover {
    border-color: var(--primary-200);
    background: var(--primary-50);
}

.user-dropdown .dropdown-toggle::after {
    display: none;
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--primary-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.user-avatar img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: cover;
}

.user-info {
    text-align: left;
}

.user-info-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.user-info-role {
    font-size: 11px;
    color: var(--text-muted);
}

/* ============================================
   Cards
   ============================================ */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all .3s ease;
}

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

.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.card-header h5,
.card-header h6 {
    margin: 0;
    font-weight: 600;
    color: var(--text-primary);
}

.card-body {
    padding: 20px;
}

/* Stat Cards */
.stat-card {
    position: relative;
    overflow: hidden;
    border: none;
}

.stat-card .card-body {
    padding: 24px;
    position: relative;
    z-index: 1;
}

.stat-card .stat-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    opacity: .9;
}

.stat-card .stat-value {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 13px;
    font-weight: 500;
    opacity: .85;
}

.stat-card-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    color: #fff;
}
.stat-card-primary .stat-icon { background: rgba(255,255,255,.2); }

.stat-card-success {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #fff;
}
.stat-card-success .stat-icon { background: rgba(255,255,255,.2); }

.stat-card-info {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    color: #fff;
}
.stat-card-info .stat-icon { background: rgba(255,255,255,.2); }

.stat-card-warning {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: #fff;
}
.stat-card-warning .stat-icon { background: rgba(255,255,255,.2); }

/* ============================================
   Buttons
   ============================================ */

.btn {
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: 13px;
    padding: 8px 16px;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 4px rgba(79,70,229,.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 8px rgba(79,70,229,.4);
    transform: translateY(-1px);
}

.btn-success {
    background: var(--success);
    color: #fff;
    box-shadow: 0 2px 4px rgba(16,185,129,.3);
}

.btn-danger {
    background: var(--danger);
    color: #fff;
    box-shadow: 0 2px 4px rgba(239,68,68,.3);
}

.btn-warning {
    background: var(--warning);
    color: #fff;
}

.btn-info {
    background: var(--info);
    color: #fff;
}

.btn-outline-primary {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 15px;
}

/* ============================================
   Forms
   ============================================ */

.form-control,
.form-select {
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    font-size: 13.5px;
    transition: all .2s;
    color: var(--text-primary);
    background: var(--bg-card);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,.12);
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-text {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   Tables
   ============================================ */

.table {
    font-size: 13px;
}

.table thead th {
    background: var(--primary-50);
    font-weight: 600;
    color: var(--primary-dark);
    border-bottom: 2px solid var(--primary-200);
    padding: 12px 14px;
    white-space: nowrap;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.table td {
    padding: 10px 14px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
}

.table-hover tbody tr:hover {
    background: rgba(79,70,229,.03);
}

/* DataTables override */
.dataTables_wrapper .dataTables_filter input {
    border-radius: var(--border-radius-sm) !important;
    border: 1px solid var(--border-color) !important;
    padding: 6px 12px !important;
    font-size: 13px !important;
}

.dataTables_wrapper .dataTables_length select {
    border-radius: var(--border-radius-sm) !important;
    border: 1px solid var(--border-color) !important;
    padding: 4px 8px !important;
}

.dataTables_wrapper .dataTables_info {
    font-size: 13px;
    color: var(--text-secondary);
}

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

/* ============================================
   Badges
   ============================================ */

.badge {
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11.5px;
}

/* ============================================
   Modal
   ============================================ */

.modal-content {
    border-radius: var(--border-radius-lg);
    border: none;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 18px 24px;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 16px 24px;
}

.modal-title {
    font-weight: 600;
    font-size: 16px;
}

/* ============================================
   Login Page
   ============================================ */

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.85) 0%, rgba(49, 46, 129, 0.85) 40%, rgba(79, 70, 229, 0.85) 100%), url('../img/bg-login.png') center/cover no-repeat;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.login-wrapper::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,.3) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
}

.login-wrapper::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14,165,233,.2) 0%, transparent 70%);
    bottom: -100px;
    left: -50px;
    border-radius: 50%;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,.2);
    position: relative;
    z-index: 1;
    animation: fadeInUp .5s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    margin-bottom: 14px;
    box-shadow: 0 8px 20px rgba(79,70,229,.35);
}

.login-logo h2 {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.login-logo p {
    color: #64748b;
    font-size: 13.5px;
    margin: 4px 0 0;
}

.login-card .form-control {
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 10px;
    background: #f8fafc;
}

.login-card .form-control:focus {
    background: #fff;
}

.login-card .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
}

/* ============================================
   Installer
   ============================================ */

.installer-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    padding: 20px;
}

.installer-card {
    width: 100%;
    max-width: 600px;
    background: rgba(255,255,255,.97);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,.3);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .topbar {
        left: 0;
    }

    .topbar-toggle {
        display: block;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,.5);
        z-index: 1035;
    }

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

@media (max-width: 575.98px) {
    .content-wrapper {
        padding: 16px;
    }

    .stat-card .stat-value {
        font-size: 22px;
    }

    .card-body {
        padding: 16px;
    }
}

/* ============================================
   Utilities
   ============================================ */

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

.hover-lift {
    transition: transform .2s ease, box-shadow .2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* Print Styles */
@media print {
    .sidebar, .topbar, .btn, .no-print, .dataTables_wrapper .dataTables_filter,
    .dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        display: none !important;
    }

    .main-content {
        margin-left: 0 !important;
        padding-top: 0 !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }

    .card {
        border: none !important;
        box-shadow: none !important;
    }
}

/* ============================================
   Print Page (Cetak Notulen)
   ============================================ */

.cetak-wrapper {
    max-width: 210mm;
    margin: 0 auto;
    padding: 20mm;
    background: #fff;
    font-family: 'Times New Roman', serif;
    font-size: 12pt;
    line-height: 1.6;
    color: #000;
}

.cetak-header {
    text-align: center;
    border-bottom: 3px double #000;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.cetak-header img {
    max-height: 70px;
    margin-bottom: 8px;
}

.cetak-header h3 {
    font-size: 16pt;
    font-weight: bold;
    margin: 0;
}

.cetak-header p {
    font-size: 10pt;
    margin: 2px 0;
}

.cetak-title {
    text-align: center;
    margin: 20px 0;
    font-size: 14pt;
    font-weight: bold;
    text-decoration: underline;
}

.cetak-table {
    width: 100%;
    margin-bottom: 16px;
}

.cetak-table td {
    padding: 3px 8px;
    vertical-align: top;
    font-size: 11pt;
}

.cetak-table .label-col {
    width: 150px;
    font-weight: bold;
}

.cetak-section {
    margin: 16px 0;
}

.cetak-section h4 {
    font-size: 12pt;
    font-weight: bold;
    margin-bottom: 8px;
    border-bottom: 1px solid #000;
    padding-bottom: 4px;
}

.cetak-footer {
    margin-top: 40px;
    font-size: 9pt;
    color: #666;
    border-top: 1px solid #ccc;
    padding-top: 8px;
    display: flex;
    justify-content: space-between;
}

/* CKEditor body styling */
.ck-editor__editable {
    min-height: 150px !important;
}

/* Notulen View Detail */
.notulen-view .info-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.notulen-view .info-label {
    width: 180px;
    font-weight: 600;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.notulen-view .info-value {
    flex: 1;
    color: var(--text-primary);
}

/* File Preview */
.file-preview-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all .2s;
}

.file-preview-card:hover {
    border-color: var(--primary-200);
    background: var(--primary-50);
}

.file-preview-icon {
    font-size: 28px;
    width: 40px;
    text-align: center;
}

.file-preview-info {
    flex: 1;
}

.file-preview-name {
    font-weight: 600;
    font-size: 13px;
}

.file-preview-size {
    font-size: 11px;
    color: var(--text-muted);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: .5;
}

.empty-state h5 {
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 13px;
}

/* Loading */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-border-custom {
    width: 48px;
    height: 48px;
    border-width: 4px;
    color: var(--primary);
}
