/* Mobile sidebar styles */
@media (max-width: 767.98px) {
    .dashboard__left {
        display: none !important;
    }
    
    .mobile-menu-btn {
        position: fixed;
        top: 98px;
        left: 0;
        z-index: 1040;
        background: linear-gradient(135deg, #0faebd 0%, #0a8a96 100%);
        color: white;
        border: none;
        border-radius: 0 12px 12px 0;
        padding: 8px 14px 8px 10px;
        box-shadow: 0 4px 12px rgba(15, 174, 189, 0.3);
        display: flex;
        align-items: center;
        gap: 6px;
        font-weight: 600;
        font-size: 13px;
        transition: all 0.3s ease;
        opacity: 0.8;
        clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
    }
    
    .mobile-menu-btn:hover,
    .mobile-menu-btn:focus {
        background: linear-gradient(135deg, #0d8a96 0%, #086e78 100%);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(15, 174, 189, 0.4);
        opacity: 1;
    }
    
    .mobile-menu-btn i {
        font-size: 16px;
    }
    
    .dashboard__content {
        margin-top: 60px;
    }
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

/* Enhanced Mobile Sidebar Styles */
#mobileSidebar.offcanvas-start {
    width: 300px;
    max-width: 85vw;
}

#mobileSidebar .offcanvas-header {
    background: linear-gradient(135deg, #0faebd 0%, #0a8a96 100%);
    color: white;
    padding: 20px;
    border-bottom: none;
}

#mobileSidebar .offcanvas-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

#mobileSidebar .offcanvas-header .btn-close {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 8px;
    opacity: 1;
    transition: all 0.3s ease;
}

#mobileSidebar .offcanvas-header .btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

#mobileSidebar .offcanvas-body {
    padding: 0;
    background: #f8f9fa;
}

/* Mobile Sidebar User Info Section */
.mobile-sidebar-user {
    background: linear-gradient(135deg, #0faebd 0%, #0a8a96 100%);
    padding: 25px 20px;
    color: white;
    text-align: center;
    margin-bottom: 0;
}

.mobile-sidebar-user-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 30px;
    font-weight: bold;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.mobile-sidebar-user-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.mobile-sidebar-user-role {
    font-size: 13px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced Navigation Links for Mobile - Scoped to offcanvas */
#mobileSidebar .mobile-sidebar-nav {
    padding: 15px 10px;
}

#mobileSidebar .mobile-sidebar-nav .dashboard__sidebar {
    background: transparent;
}

#mobileSidebar .mobile-sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#mobileSidebar .mobile-sidebar-nav .nav-item {
    margin-bottom: 8px;
}

#mobileSidebar .mobile-sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: white;
    margin-bottom: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    font-weight: 500;
    font-size: 15px;
    border: none;
    width: 100%;
}

#mobileSidebar .mobile-sidebar-nav .nav-link:hover {
    background: linear-gradient(135deg, #0faebd 0%, #0a8a96 100%);
    color: white !important;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(15, 174, 189, 0.25);
}

#mobileSidebar .mobile-sidebar-nav .nav-link.active {
    background: linear-gradient(135deg, #0faebd 0%, #0a8a96 100%);
    color: white !important;
    box-shadow: 0 4px 12px rgba(15, 174, 189, 0.3);
}

#mobileSidebar .mobile-sidebar-nav .nav-link svg {
    margin-right: 15px;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

#mobileSidebar .mobile-sidebar-nav .nav-link:hover svg,
#mobileSidebar .mobile-sidebar-nav .nav-link.active svg {
    transform: scale(1.1);
}

#mobileSidebar .mobile-sidebar-nav .nav-link:hover svg path,
#mobileSidebar .mobile-sidebar-nav .nav-link.active svg path {
    fill: white !important;
}

#mobileSidebar .mobile-sidebar-nav .nav-link span[id="emp-unread"] {
    margin-left: auto;
    background: #dc3545;
    color: white;
    border-radius: 12px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

#mobileSidebar .mobile-sidebar-nav .nav-link:hover span[id="emp-unread"],
#mobileSidebar .mobile-sidebar-nav .nav-link.active span[id="emp-unread"] {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

