/* 
   SIAKAD Premium Theme - Global Overlay
   Midnight Blue & Indigo Aesthetics
*/

:root {
    --theme-primary: #2c3e7a;
    --theme-secondary: #4a90d9;
    --theme-dark: #1a2552;
    --theme-light: #f0f4ff;
}

/* 1. Global Accents */
a, a:hover, .btn-link { color: var(--theme-primary); }

.btn-primary {
    background: linear-gradient(135deg, #2c3e7a, #4a90d9) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(44, 62, 122, 0.2) !important;
}

/* 2. Sidebar Premium Style */
.page-wrapper.compact-wrapper .page-body-wrapper .sidebar-wrapper {
    background: linear-gradient(180deg, #1a2552 0%, #2c3e7a 100%) !important;
    box-shadow: 5px 0 20px rgba(0,0,0,0.15) !important;
}

.sidebar-wrapper .sidebar-links .nav-menu .nav-link.active {
    background: rgba(255, 255, 255, 0.1) !important;
    border-left: 4px solid var(--theme-secondary) !important;
    text-shadow: 0 0 10px rgba(74, 144, 217, 0.5);
}

.sidebar-links li .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
    transition: 0.3s;
}

/* 3. Card & Dashboard Widgets Enhancement */
.card {
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05) !important;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(44, 62, 122, 0.1) !important;
}

/* Glassmorphism effect for Widgets */
.card-header {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem !important;
}

/* Modern Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb {
    background: #2c3e7a66;
    border-radius: 10px;
}

/* Custom Table Decoration */
.table thead th {
    background-color: #f7f9ff !important;
    color: var(--theme-primary) !important;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    border: none !important;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    color: #333 !important;
    background-color: #f4f7fa !important;
}
