:root {
    --primary-color: #0795a8;
    --primary-dark: #066273;
    --secondary-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-color: #1e293b;
    --light-bg: #f8fafc;
    --sidebar-bg: #ffffff;
    --navbar-height: 70px;
}

/* Body */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 14px;
    background-color: var(--light-bg) !important;
    color: var(--dark-color);
}

/* Modern Navbar */
.navbar-modern {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    min-height: var(--navbar-height);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 0 30px;
}

.navbar-logo {
    height: 55px !important;
    width: auto !important;
    margin-right: 15px;
}

.navbar-title-desktop {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

.navbar-brand-text {
    color: white;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.navbar-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    margin: 0;
    font-weight: 500;
}

.navbar-title-mobile {
    display: none;
    color: white;
    font-weight: 700;
    font-size: 16px;
    margin-left: 10px;
}

/* Navbar Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

/* Notification Button */
.btn-navbar-icon {
    position: relative;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.btn-navbar-icon:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Notification Dropdown */
.notification-menu {
    width: 380px;
    max-height: 500px;
    overflow-y: auto;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 0;
}

.notification-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 15px 20px;
    margin: 0;
}

.notification-header h5 {
    color: white;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.notification-item {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.notification-item:hover {
    background: #f8fafc;
}

.notification-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.notification-text {
    font-size: 13px;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.4;
}

.notification-count {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 5px;
}

.notification-time {
    font-size: 11px;
    color: #64748b;
}

.view-all {
    color: var(--primary-color) !important;
    font-weight: 600;
    padding: 12px 20px;
}

.view-all:hover {
    background: #f0f9ff !important;
}

/* Role Selector */
.role-selector {
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 10px;
    min-width: 150px;
    transition: all 0.3s ease;
}

.role-selector:focus {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    color: white;
    box-shadow: none;
}

.role-selector option {
    background: white;
    color: var(--dark-color);
}

/* User Menu Button */
.btn-user-menu {
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-user-menu:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    color: white;
}

.btn-user-menu .bi-person-circle {
    font-size: 24px;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
}

.user-dept {
    font-size: 11px;
    opacity: 0.9;
}

/* User Dropdown */
.user-menu {
    min-width: 280px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 0;
}

.user-menu-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.user-avatar {
    font-size: 40px;
    color: var(--primary-color);
}

.user-menu .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.user-menu .dropdown-item:hover {
    background: #f0f9ff;
    color: var(--primary-color);
}

.user-menu .dropdown-item i {
    margin-right: 10px;
    width: 20px;
}

/* Sidebar */
.sidebar {
    background: var(--sidebar-bg);
    min-height: calc(100vh - var(--navbar-height) - 60px);
    padding: 20px 0;
    box-shadow: 2px 0 15px rgba(0,0,0,0.05);
}

/* Contact Info Box */
.contact-info-box {
    margin: 20px 15px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #bae6fd;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.contact-header i {
    font-size: 24px;
    color: var(--primary-color);
}

.contact-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-color);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-item i {
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
}

.contact-value {
    font-size: 14px;
    color: var(--dark-color);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--primary-color);
}

/* Main Content */
.main-content {
    padding: 25px;
}

/* Breadcrumbs */
.modern-breadcrumb {
    background: white;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.modern-breadcrumb .breadcrumb-item {
    font-size: 14px;
}

.modern-breadcrumb .breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
.modern-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 15px 0;
    margin-top: auto;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
}

.footer-text {
    color: white;
    margin: 0;
    font-size: 14px;
}

.footer-text a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.footer-text a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 992px) {
    .navbar-title-desktop {
        display: none;
    }
    
    .navbar-title-mobile {
        display: inline-block;
    }
    
    .user-info {
        display: none;
    }
    
    .sidebar {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .navbar-modern {
        padding: 0 15px;
    }
    
    .navbar-actions {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .role-selector {
        width: 100%;
        order: 3;
    }
    
    .contact-info-box {
        margin: 15px auto;
        width: 90%;
    }
    
    .notification-menu {
        width: 320px;
    }
    
    .modern-footer .row {
        text-align: center;
    }
    
    .modern-footer .col-md-6 {
        margin-bottom: 10px;
    }
    
    .modern-footer .text-end {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .btn-navbar-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .navbar-logo {
        height: 45px !important;
    }
}
/* Header Right Section */
.header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon-wrapper {
    display: flex;
    align-items: center;
}

/* Notification Icon Button - Circular White Background */
.header-icon-btn {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-icon-btn i {
    font-size: 20px;
    color: #0795a8;
}

/* Icon Badge */
.icon-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

/* Notification Dropdown */
.notification-dropdown-menu {
    width: 316px;
    max-height: 500px;
    overflow-y: auto;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 0;
    margin-top: 8px;
}

.notification-dropdown-header {
    background: linear-gradient(135deg, #0795a8 0%, #066273 100%);
    padding: 15px 20px;
    margin: 0;
    border-radius: 12px 12px 0 0;
}

.notification-dropdown-header h5 {
    color: white;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-item {
    padding: 12px 20px;
    transition: all 0.2s ease;
}

.notification-item:hover {
    background: #f8fafc;
}

.notification-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.notification-text {
    font-size: 13px;
    color: #1e293b;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

.notification-time {
    font-size: 11px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.view-all-notifications {
    color: #0795a8 !important;
    font-weight: 600;
    padding: 12px 20px;
}

.view-all-notifications:hover {
    background: #f0f9ff !important;
}

/* Role Selector Modern */
.role-selector-modern {
    background: white;
    border: 2px solid rgba(7, 149, 168, 0.2);
    color: #0795a8;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 35px 10px 15px;
    border-radius: 25px;
    min-width: 140px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230795a8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
}

.role-selector-modern:focus {
    outline: none;
    border-color: #0795a8;
    box-shadow: 0 0 0 4px rgba(7, 149, 168, 0.1);
}

.role-selector-modern option {
    padding: 10px;
    font-weight: 500;
}

/* User Menu Button */
.user-menu-btn {
    background: white;
    border: 2px solid rgba(7, 149, 168, 0.15);
    border-radius: 25px;
    padding: 6px 15px 6px 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.user-menu-btn:hover {
    border-color: #0795a8;
    box-shadow: 0 4px 12px rgba(7, 149, 168, 0.15);
}

.user-menu-btn img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #0795a8;
}

.user-info-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.user-name-text {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

.user-role-text {
    font-size: 11px;
    color: #64748b;
    line-height: 1.2;
}

.user-menu-btn .bi-chevron-down {
    font-size: 12px;
    color: #64748b;
}

/* User Dropdown Menu */
.user-dropdown-menu {
    min-width: 250px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 0;
    margin-top: 8px;
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px 12px 0 0;
    border-bottom: 2px solid #bae6fd;
}

.user-avatar-circle {
    flex-shrink: 0;
}

.user-avatar-circle img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.user-info-header {
    flex: 1;
}

.user-info-header strong {
    font-size: 15px;
    color: #1e293b;
    display: block;
    margin-bottom: 4px;
}

.user-info-header p {
    font-size: 12px;
    color: #64748b;
}

.user-dropdown-menu .dropdown-item {
    padding: 12px 20px;
    font-size: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-dropdown-menu .dropdown-item:hover {
    background: #f8fafc;
    color: #0795a8;
}

.user-dropdown-menu .dropdown-item i {
    width: 20px;
    font-size: 16px;
}

.user-dropdown-menu .dropdown-item.text-danger:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Dropdown Divider */
.user-dropdown-menu .dropdown-divider,
.notification-dropdown-menu .dropdown-divider {
    margin: 0;
    border-color: #f1f5f9;
}

/* Responsive */
@media (max-width: 992px) {
    .header-right {
        gap: 10px;
    }
    
    .header-icon-btn {
        width: 40px;
        height: 40px;
    }
    
    .header-icon-btn i {
        font-size: 18px;
    }
    
    .user-info-text {
        display: none;
    }
    
    .role-selector-modern {
        min-width: 120px;
        font-size: 12px;
        padding: 8px 30px 8px 12px;
    }
    
    .user-menu-btn {
        padding: 5px;
    }
    
    .user-menu-btn img {
        width: 34px;
        height: 34px;
    }
    
    .user-menu-btn .bi-chevron-down {
        display: none;
    }
    
    .notification-dropdown-menu {
        width: 316px;
    }
}

@media (max-width: 576px) {
    .header-right {
        gap: 8px;
    }
    
    .header-icon-btn {
        width: 38px;
        height: 38px;
    }
    
    .header-icon-btn i {
        font-size: 16px;
    }
    
    .role-selector-modern {
        min-width: 100px;
        font-size: 11px;
        padding: 7px 28px 7px 10px;
    }
    
    .user-menu-btn img {
        width: 32px;
        height: 32px;
    }
    
    .notification-dropdown-menu {
        width: 280px;
    }
}
/* Custom Select Wrapper */
.custom-select-wrapper {
    position: relative;
    display: inline-block;
}

.select-icon-left {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #0795a8;
    pointer-events: none;
    z-index: 2;
}

.select-icon-right {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #64748b;
    pointer-events: none;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* Enhanced Select */
.role-selector-enhanced {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    background: white;
    border: 2px solid rgba(7, 149, 168, 0.2);
    color: #1e293b;
    font-weight: 600;
    font-size: 13px;
    padding: 11px 42px 11px 44px;
    border-radius: 25px;
    min-width: 180px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    outline: none;
}

.role-selector-enhanced:hover {
    border-color: #0795a8;
    box-shadow: 0 4px 12px rgba(7, 149, 168, 0.2);
}

.role-selector-enhanced:focus {
    border-color: #0795a8;
    box-shadow: 0 0 0 4px rgba(7, 149, 168, 0.15);
}

/* Options Styling - Maximum possible with native select */
.role-selector-enhanced option {
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    background: white !important;
    border-radius: 0 !important;
    line-height: 1.6 !important;
    min-height: 40px !important;
}

/* Selected/Checked Option */
.role-selector-enhanced option:checked,
.role-selector-enhanced option[selected] {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%) !important;
    color: #0795a8 !important;
    font-weight: 700 !important;
}

/* Hover on Option (limited browser support) */
.role-selector-enhanced option:hover {
    background: #f0f9ff !important;
    color: #0795a8 !important;
}

/* Firefox specific option styling */
@-moz-document url-prefix() {
    .role-selector-enhanced option {
        padding: 14px 18px !important;
    }
    
    .role-selector-enhanced option:checked {
        background-color: #e0f2fe !important;
    }
}

/* Webkit browsers (Chrome/Safari) */
@supports (-webkit-appearance: none) {
    .role-selector-enhanced {
        -webkit-tap-highlight-color: rgba(7, 149, 168, 0.1);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .role-selector-enhanced {
        min-width: 150px;
        font-size: 12px;
        padding: 10px 38px 10px 40px;
    }
    
    .role-selector-enhanced option {
        font-size: 13px !important;
    }
}
/* Dropdown Menu Base */
.dropdown-menu {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu.show {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}

/* Notification Dropdown */
.notification-dropdown-menu {
    width: 380px;
    max-height: 500px;
    overflow-y: auto;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 0;
    margin-top: 8px;
}

.notification-dropdown-header {
    background: linear-gradient(135deg, #0795a8 0%, #066273 100%);
    padding: 15px 20px;
    margin: 0;
    border-radius: 12px 12px 0 0;
}

.notification-dropdown-header h5 {
    color: white;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-item {
    padding: 12px 20px;
    transition: all 0.2s ease;
    display: block;
    text-decoration: none;
}

.notification-item:hover {
    background: #f8fafc;
}

.notification-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.notification-text {
    font-size: 13px;
    color: #1e293b;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

.notification-time {
    font-size: 11px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.view-all-notifications {
    color: #0795a8 !important;
    font-weight: 600;
    padding: 12px 20px;
    display: block;
    text-decoration: none;
}

.view-all-notifications:hover {
    background: #f0f9ff !important;
}

/* Notification Badge Animation */
.icon-badge {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Scrollbar */
.notification-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.notification-dropdown-menu::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 0 12px 12px 0;
}

.notification-dropdown-menu::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.notification-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Responsive */
@media (max-width: 576px) {
    .notification-dropdown-menu {
        width: 320px;
    }
}

@media (max-width: 400px) {
    .notification-dropdown-menu {
        width: 280px;
    }
}

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  .dashboard-wrapper {
    padding: 20px;
  }

  /* Stats Cards Section */
  .stats-section {
    margin-bottom: 25px;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .stat-card {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
    border-left: 4px solid;
    display: flex;
    flex-direction: column;
  }

  .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

  .stat-card.yellow {
    border-left-color: #fe9365;
  }

  .stat-card.pink {
    border-left-color: #fe5d70;
  }

  .stat-card.green {
    border-left-color: #0ac282;
  }

  .stat-card.blue {
    border-left-color: #01a9ac;
  }

  .stat-card-body {
    padding: 20px;
    flex: 1;
  }

  .stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
  }

  .stat-content h4 {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1;
  }

  .stat-content h4 a {
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .stat-card.yellow h4 a {
    color: #fe9365;
  }

  .stat-card.pink h4 a {
    color: #fe5d70;
  }

  .stat-card.green h4 a {
    color: #0ac282;
  }

  .stat-card.blue h4 a {
    color: #01a9ac;
  }

  .stat-content h4 a:hover {
    opacity: 0.8;
  }

  .stat-content h6 {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .stat-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .stat-card.yellow .stat-icon-wrapper {
    background: linear-gradient(135deg, #feb47b 0%, #fe9365 100%);
  }

  .stat-card.pink .stat-icon-wrapper {
    background: linear-gradient(135deg, #ff8a9b 0%, #fe5d70 100%);
  }

  .stat-card.green .stat-icon-wrapper {
    background: linear-gradient(135deg, #0be09b 0%, #0ac282 100%);
  }

  .stat-card.blue .stat-icon-wrapper {
    background: linear-gradient(135deg, #01dbdf 0%, #01a9ac 100%);
  }

  .stat-icon-wrapper svg {
    width: 30px;
    height: 30px;
    stroke: white;
  }

  .stat-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
  }

  .stat-card-footer a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
  }

  .stat-card-footer a:hover {
    color: #333;
    gap: 8px;
  }

  .stat-card-footer a::after {
    content: '→';
    transition: transform 0.3s ease;
  }

  .stat-card-footer a:hover::after {
    transform: translateX(3px);
  }

  /* Chart Section */
  .chart-section {
    margin-bottom: 25px;
  }

  .main-chart-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }

  .chart-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
  }

  .chart-header h5 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
  }

  /* Two Column Section */
  .two-column-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
  }

  .card-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
  }

  .card-header-custom {
    padding: 20px;
    border-bottom: 2px solid #f0f0f0;
  }

  .card-header-custom h5 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
  }

  .card-body-custom {
    padding: 20px;
  }

  /* Weekly Report Table */
  .weekly-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
  }

  .weekly-table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
  }

  .weekly-table thead th:first-child {
    border-radius: 8px 0 0 0;
  }

  .weekly-table thead th:last-child {
    border-radius: 0 8px 0 0;
  }

  .weekly-table tbody td {
    padding: 14px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
  }

  .weekly-table tbody tr:hover {
    background-color: #f8f9fa;
  }

  .weekly-table tbody td a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .weekly-table tbody td a:hover {
    color: #764ba2;
  }

  /* Category List */
  .category-scroll {
    max-height: 450px;
    overflow-y: auto;
    padding-right: 10px;
  }

  .category-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
  }

  .category-item:hover {
    background: #e9ecef;
    border-left-color: #667eea;
    transform: translateX(5px);
  }

  .category-icon {
    width: 45px;
    height: 45px;
    margin-right: 15px;
    flex-shrink: 0;
  }

  .category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .category-details {
    flex: 1;
  }

  .category-name {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
  }

  .category-count {
    font-size: 20px;
    font-weight: 700;
  }

  .category-count a {
    color: #e94904;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .category-count a:hover {
    color: #c73d03;
  }

  /* Bottom Charts Grid */
  .charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
  }

  /* Pending Complaints */
  .pending-scroll {
    max-height: 450px;
    overflow-y: auto;
    padding-right: 10px;
  }

  .complaint-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    margin-bottom: 15px;
    background: #fff5f5;
    border-radius: 10px;
    border-left: 4px solid #fe5d70;
    transition: all 0.3s ease;
  }

  .complaint-item:hover {
    background: #ffe9e9;
    box-shadow: 0 4px 12px rgba(254, 93, 112, 0.15);
  }

  .complaint-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    flex-shrink: 0;
  }

  .complaint-icon img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
  }

  .complaint-content {
    flex: 1;
  }

  .complaint-content a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
  }

  .complaint-content h6 {
    margin: 5px 0;
    color: #666;
    font-size: 13px;
    font-weight: 500;
  }

  .complaint-days {
    color: #fe5d70;
    font-weight: 600;
    font-size: 13px;
    margin-top: 8px;
    display: inline-block;
  }

  /* Scrollbar Styling */
  .category-scroll::-webkit-scrollbar,
  .pending-scroll::-webkit-scrollbar {
    width: 6px;
  }

  .category-scroll::-webkit-scrollbar-track,
  .pending-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }

  .category-scroll::-webkit-scrollbar-thumb,
  .pending-scroll::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
  }

  .category-scroll::-webkit-scrollbar-thumb:hover,
  .pending-scroll::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
  }

  /* Responsive */
  @media (max-width: 1024px) {
    .two-column-section {
      grid-template-columns: 1fr;
    }

    .charts-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 768px) {
    .stats-grid {
      grid-template-columns: 1fr;
    }

    .dashboard-wrapper {
      padding: 10px;
    }
  }


/* Forget Password  Remove default body margins and set full viewport */


/* Background and Container */
.forgot-password-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow-y: auto;
    overflow-x: hidden;
}

.forgot-password-container {
    display: flex;
    max-width: 1000px;
    width: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin: auto;
}

/* Left Side - Illustration */
.forgot-left-side {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.forgot-left-side::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.forgot-left-side::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
}

.forgot-illustration {
    position: relative;
    z-index: 1;
    text-align: center;
}

.forgot-icon {
    font-size: 100px;
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.forgot-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.forgot-subtitle {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Right Side - Form */
.forgot-right-side {
    flex: 1;
    padding: 50px 45px;
    background: white;
    overflow-y: auto;
    max-height: 100%;
}

.forgot-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.forgot-form-header h4 {
    font-size: 26px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
}

.forgot-form-header p {
    color: #718096;
    font-size: 14px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.form-group label i {
    margin-right: 8px;
    color: #667eea;
}

.form-control {
    height: 48px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: #cbd5e0;
}

/* Button Styles */
.btn-submit {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

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

/* Back to Login Link */
.back-to-login {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.back-to-login a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
}

.back-to-login a:hover {
    color: #764ba2;
    text-decoration: none;
}

.back-to-login a i {
    margin-right: 8px;
    font-size: 16px;
}

/* Alert Messages */
.alert {
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 20px;
    font-size: 13px;
    border: none;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

/* Help Text */
.help-block {
    color: #e53e3e;
    font-size: 12px;
    margin-top: 5px;
}

/* Info Box */
.info-box {
    background: #f7fafc;
    border-left: 4px solid #667eea;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.info-box p {
    margin: 0;
    color: #4a5568;
    font-size: 13px;
    line-height: 1.5;
}

.info-box i {
    color: #667eea;
    margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .forgot-password-wrapper {
        padding: 10px;
        overflow-y: auto;
    }
    
    .forgot-password-container {
        flex-direction: column;
        max-width: 100%;
        min-height: auto;
    }
    
    .forgot-left-side {
        padding: 30px 20px;
        min-height: auto;
    }
    
    .forgot-icon {
        font-size: 70px;
        margin-bottom: 15px;
    }
    
    .forgot-title {
        font-size: 22px;
    }
    
    .forgot-subtitle {
        font-size: 13px;
    }
    
    .forgot-right-side {
        padding: 30px 25px;
    }
    
    .forgot-form-header h4 {
        font-size: 22px;
    }
}

@media (max-height: 650px) {
    .forgot-icon {
        font-size: 70px;
    }
    
    .forgot-left-side {
        padding: 30px;
    }
    
    .forgot-right-side {
        padding: 30px;
    }
}

/* Loading Animation */
.btn-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-submit.loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Scrollbar for right side */
.forgot-right-side::-webkit-scrollbar {
    width: 6px;
}

.forgot-right-side::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.forgot-right-side::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 3px;
}

.forgot-right-side::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

/*=====Main css====*/
       /* Footer Styling */
:root {
    --primary-color: #0795a8;
    --primary-dark: #066273;
    --secondary-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --dark-color: #1e293b;
    --light-bg: #f8fafc;
    --sidebar-bg: #ffffff;
    --navbar-height: 70px;
    --sidebar-width: 260px;
}

/* Body */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 14px;
    background-color: var(--light-bg) !important;
    color: var(--dark-color);
    margin: 0;
    padding: 0;
}

/* ============================================
   HEADER STYLES
   ============================================ */

.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
   background: linear-gradient(180deg, #a179ff 0%, #1d328f 100%)!important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 1050;
    gap: 15px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.header-logo i {
    font-size: 36px;
}

.header-title h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.header-title p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
}

.sidebar-toggle {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: auto;
}

.sidebar-toggle:hover {
    background: rgba(255,255,255,0.3);
}

.sidebar-toggle i {
    font-size: 24px;
}

/* Header Right Section */
.header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon-wrapper {
    display: flex;
    align-items: center;
}

/* Notification Icon Button */
.header-icon-btn {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-icon-btn:hover {
    transform: scale(1.05);
}

.header-icon-btn i {
    font-size: 20px;
    color: #0795a8;
}

.icon-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}

/* User Menu Button */
.user-menu-btn {
    background: white;
    border: 2px solid rgba(7, 149, 168, 0.15);
    border-radius: 25px;
    padding: 6px 15px 6px 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.user-menu-btn:hover {
    border-color: #0795a8;
    box-shadow: 0 4px 12px rgba(7, 149, 168, 0.15);
}

.user-menu-btn img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #0795a8;
    object-fit: cover;
}

.user-info-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.user-name-text {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

.user-role-text {
    font-size: 11px;
    color: #64748b;
    line-height: 1.2;
}

.user-menu-btn .bi-chevron-down {
    font-size: 12px;
    color: #64748b;
    transition: transform 0.3s ease;
}

/* ============================================
   DROPDOWN MENUS
   ============================================ */

.dropdown-menu {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu.show {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}

/* Notification Dropdown */
.notification-dropdown-menu {
    width: 380px;
    max-height: 500px;
    overflow-y: auto;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 0;
    margin-top: 8px;
}

.notification-dropdown-header {
    background: linear-gradient(135deg, #0795a8 0%, #066273 100%);
    padding: 15px 20px;
    margin: 0;
    border-radius: 12px 12px 0 0;
}

.notification-dropdown-header h5 {
    color: white;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-item {
    padding: 12px 20px;
    transition: all 0.2s ease;
    display: block;
    text-decoration: none;
}

.notification-item:hover {
    background: #f8fafc;
}

.notification-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.notification-text {
    font-size: 13px;
    color: #1e293b;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

.notification-time {
    font-size: 11px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.view-all-notifications {
    color: #0795a8 !important;
    font-weight: 600;
    padding: 12px 20px;
    display: block;
    text-decoration: none;
}

.view-all-notifications:hover {
    background: #f0f9ff !important;
}

/* User Dropdown Menu */
.user-dropdown-menu {
    min-width: 250px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 0;
    margin-top: 8px;
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px 12px 0 0;
    border-bottom: 2px solid #bae6fd;
}

.user-avatar-circle img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    object-fit: cover;
}

.user-info-header strong {
    font-size: 15px;
    color: #1e293b;
    display: block;
    margin-bottom: 4px;
}

.user-info-header p {
    font-size: 12px;
    color: #64748b;
}

.user-dropdown-menu .dropdown-item {
    padding: 12px 20px;
    font-size: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-dropdown-menu .dropdown-item:hover {
    background: #f8fafc;
    color: #0795a8;
}

.user-dropdown-menu .dropdown-item i {
    width: 20px;
    font-size: 16px;
}

.user-dropdown-menu .dropdown-item.text-danger:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* ============================================
   SIDEBAR STYLES
   ============================================ */

.sidebar-overlay {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: var(--sidebar-width);
    height: calc(100vh - var(--navbar-height));
    background: var(--sidebar-bg);
    box-shadow: 2px 0 15px rgba(0,0,0,0.05);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1045;
    transition: transform 0.3s ease;
}

/* Sidebar Navigation Menu */
.nav-menu {
    list-style: none;
    padding: 15px 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 5px;
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    gap: 12px;
}

.nav-link:hover {
    background: #f0f9ff;
    color: var(--primary-color);
}

.nav-link.active {
    background: linear-gradient(90deg, #e0f2fe 0%, transparent 100%);
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
}

.nav-link i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

/* Submenu Styles */
.submenu-toggle {
    cursor: pointer;
}

.submenu-arrow {
    margin-left: auto;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.submenu-toggle.submenu-open .submenu-arrow {
    transform: rotate(180deg);
}

.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8fafc;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.submenu.open {
    max-height: 500px;
}

.submenu .nav-link {
    padding-left: 56px;
    font-size: 13px;
    
}

.nav-item-logout {
    margin-top: 20px;
    border-top: 1px solid #e2e8f0;
    padding-top: 10px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    margin-left: var(--sidebar-width);
    margin-top: var(--navbar-height);
    padding: 25px;
    min-height: calc(100vh - var(--navbar-height) - 60px);
    transition: margin-left 0.3s ease;
}

/* ============================================
   FOOTER
   ============================================ */

.main-footer {
    background: linear-gradient(135deg, #4f3c7c 0%, #061a73 100%);
    color: white;
    padding: 20px 0;
    margin-left: var(--sidebar-width);
    margin-top: 2rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: margin-left 0.3s ease;
}

.main-footer p {
    font-size: 14px;
    margin: 0;
}

.main-footer .footer-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.main-footer .footer-link:hover {
    color: #ffd700;
    border-bottom-color: #ffd700;
}

/* ============================================
   DASHBOARD STATS
   ============================================ */

.dashboard-wrapper {
    padding: 0;
}

.stats-section {
    margin-bottom: 25px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
    border-left: 4px solid;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-card.yellow { border-left-color: #fe9365; }
.stat-card.pink { border-left-color: #fe5d70; }
.stat-card.green { border-left-color: #0ac282; }
.stat-card.blue { border-left-color: #01a9ac; }

.stat-card-body {
    padding: 20px;
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.stat-content h4 {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1;
}

.stat-content h6 {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
}

.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card.yellow .stat-icon-wrapper {
    background: linear-gradient(135deg, #feb47b 0%, #fe9365 100%);
}

.stat-card.pink .stat-icon-wrapper {
    background: linear-gradient(135deg, #ff8a9b 0%, #fe5d70 100%);
}

.stat-card.green .stat-icon-wrapper {
    background: linear-gradient(135deg, #0be09b 0%, #0ac282 100%);
}

.stat-card.blue .stat-icon-wrapper {
    background: linear-gradient(135deg, #01dbdf 0%, #01a9ac 100%);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Desktop - Sidebar Hidden State */
@media (min-width: 993px) {
    .sidebar.sidebar-hidden {
        transform: translateX(-100%);
    }
    
    .sidebar.sidebar-hidden ~ .main-content,
    .sidebar.sidebar-hidden ~ .main-footer {
        margin-left: 0;
    }
}

/* Tablet and Mobile */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .main-footer {
        margin-left: 0;
    }
    
    .user-info-text {
        display: none;
    }
    
    .header-title h4 {
        font-size: 16px;
    }
    
    .header-title p {
        font-size: 11px;
    }
    
    .notification-dropdown-menu {
        width: 320px;
    }
}

@media (max-width: 768px) {
    .top-header {
        padding: 0 15px;
    }
    
    .header-logo i {
        font-size: 28px;
    }
    
    .header-title h4 {
        font-size: 14px;
    }
    
    .header-title p {
        display: none;
    }
    
    .header-icon-btn {
        width: 40px;
        height: 40px;
    }
    
    .header-icon-btn i {
        font-size: 18px;
    }
    
    .user-menu-btn {
        padding: 5px;
    }
    
    .user-menu-btn img {
        width: 34px;
        height: 34px;
    }
    
    .user-menu-btn .bi-chevron-down {
        display: none;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .notification-dropdown-menu {
        width: 280px;
    }
}

@media (max-width: 576px) {
    .header-right {
        gap: 8px;
    }
    
    .header-icon-btn {
        width: 38px;
        height: 38px;
    }
    
    .header-icon-btn i {
        font-size: 16px;
    }
    
    .user-menu-btn img {
        width: 32px;
        height: 32px;
    }
}





