/* ===== TOP NAVBAR ===== */
.navbar {
    background-color: #1a1a2e !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.navbar .navbar-brand {
    color: #fff !important;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.3px;
}
.navbar .nav > li > a {
    color: #ccc !important;
}
.navbar .nav > li > a:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.08) !important;
}
.navbar .bars,
.navbar .bars:before,
.navbar .bars:after { background: #fff !important; }

/* ===== SIDEBAR ===== */
.sidebar {
    background: #fff !important;
    box-shadow: 2px 0 8px rgba(0,0,0,0.08) !important;
}

/* User Info */
.sidebar .user-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    padding: 20px 16px !important;
}
.sidebar .user-info .info-container .name {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}
.sidebar .user-info .info-container .email {
    color: rgba(255,255,255,0.8) !important;
    font-size: 12px !important;
}
.sidebar .user-info .info-container .btn-group i {
    color: rgba(255,255,255,0.9) !important;
}

/* Section Headers */
.sidebar .menu .list .header {
    color: #aaa !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    padding: 16px 16px 6px !important;
    background: transparent !important;
}

/* Menu Links */
.sidebar .menu .list li > a {
    color: #4a4a4a !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 10px 16px !important;
    border-left: 3px solid transparent !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}
.sidebar .menu .list li > a:hover {
    background: #f0f4ff !important;
    color: #1565c0 !important;
    border-left-color: #1565c0 !important;
}
.sidebar .menu .list li.active > a {
    background: #e8f0fe !important;
    color: #1565c0 !important;
    border-left-color: #1565c0 !important;
    font-weight: 600 !important;
}

/* Icon Badges */
.nav-icon-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
}
.nav-icon-badge i {
    font-size: 15px !important;
    color: #fff !important;
    line-height: 1 !important;
}

/* Badge Colors */
.icon-blue   { background: #1565c0 !important; }
.icon-green  { background: #2e7d32 !important; }
.icon-orange { background: #e65100 !important; }
.icon-purple { background: #6a1b9a !important; }
.icon-cyan   { background: #00838f !important; }
.icon-red    { background: #c62828 !important; }
.icon-teal   { background: #00695c !important; }
.icon-indigo { background: #283593 !important; }
.icon-pink   { background: #ad1457 !important; }

/* ===== CONTENT AREA ===== */
.content { background: #f5f6fa !important; }
.block-header { background: transparent !important; padding: 16px 20px 0 !important; }
.block-header h2 {
    color: #333 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* ===== CARDS ===== */
.card {
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07) !important;
    border: 1px solid #eee !important;
}
.card .header {
    border-radius: 10px 10px 0 0 !important;
    padding: 14px 20px !important;
}
.card .header h2 { font-size: 15px !important; font-weight: 600 !important; }
.card .body { padding: 20px !important; }

/* ===== STAT CARDS ===== */
.stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    border: 1px solid #eee;
    border-left: 5px solid #ddd;
    margin-bottom: 20px;
}
.stat-card.border-blue   { border-left-color: #1565c0; }
.stat-card.border-red    { border-left-color: #c62828; }
.stat-card.border-green  { border-left-color: #2e7d32; }
.stat-card.border-purple { border-left-color: #6a1b9a; }
.stat-card .stat-label {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: #888; margin-bottom: 6px;
}
.stat-card .stat-value { font-size: 32px; font-weight: 700; color: #222; line-height: 1; margin-bottom: 4px; }
.stat-card .stat-sub { font-size: 12px; color: #aaa; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 24px; }
.form-group .form-line {
    border-bottom: 2px solid #e0e0e0 !important;
    padding-bottom: 4px;
}
.form-group .form-line:after { background-color: #1565c0 !important; }
.form-group.focused .form-label { color: #1565c0 !important; }
.form-group .form-control {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 4px 0 !important;
    font-size: 14px !important;
}
.form-group .form-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #888 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.help-block.error { color: #c62828 !important; font-size: 12px !important; }

/* ===== BUTTONS ===== */
.btn { border-radius: 6px !important; font-weight: 500 !important; }
.btn i { margin-right: 5px; }
.btn-primary { background-color: #1565c0 !important; border-color: #1565c0 !important; color: #fff !important; }
.btn-primary:hover { background-color: #0d47a1 !important; }

/* ===== TABLES ===== */
.table thead tr th { font-size: 13px; font-weight: 600; letter-spacing: 0.3px; }
.table tbody tr td { font-size: 13px; vertical-align: middle; }

/* ===== PAGE LOADER ===== */
.page-loader-wrapper { background: #1a1a2e !important; }
