:root {
    --primary: #005b7f;
    --primary-600: #005b7f;
    --muted: #ffffff;
    --surface: #ffffff;
    --text: #495057;
}

/* Professional Left Menu Styles */
.professional-sidebar {
    background: var(--surface, #ffffff);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0,91,127,0.06); /* primary with low alpha fallback */
    margin-bottom: 30px;
    position: sticky;
    top: 20px;
}

.sidebar-header {
    background: var(--primary, #005b7f);
    color: #ffffff;
    padding: 25px;
    text-align: center;
    position: relative;
}

.sidebar-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    opacity: 0;
}

.sidebar-header h2 {
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-header .user-icon {
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.professional-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.professional-nav li {
    border-bottom: 1px solid rgba(0,91,127,0.04);
    transition: all 0.3s ease;
}

.professional-nav li:last-child {
    border-bottom: none;
}

.professional-nav li:hover {
    background: rgba(0,91,127,0.03);
    transform: translateX(5px);
}

.professional-nav a {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    color: var(--text, #495057);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.professional-nav a:hover {
    color: var(--primary, #005b7f);
    text-decoration: none;
    background: rgba(0,91,127,0.06);
}

.professional-nav a.active {
    color: var(--muted, #ffffff) !important;
    background: var(--primary, #005b7f);
}

.professional-nav a i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.professional-nav a:hover i {
    transform: scale(1.1);
}

.nav-item-text {
    flex: 1;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.nav-arrow {
    margin-left: auto;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.professional-nav a:hover .nav-arrow {
    opacity: 1;
    transform: translateX(5px);
}

.logout-item {
    margin-top: 10px;
    border-top: 2px solid rgba(0,91,127,0.04);
}

.logout-item a {
    color: var(--primary, #005b7f);
    font-weight: 600;
}

.logout-item:hover {
    background: rgba(0,91,127,0.03);
}

.logout-item a:hover {
    background: var(--primary, #005b7f);
    color: var(--muted, #ffffff);
}

/* Responsive Styles */
@media (max-width: 767px) {
    .professional-sidebar {
        margin-bottom: 20px;
        position: static;
    }
    
    .sidebar-header {
        padding: 20px;
    }
    
    .sidebar-header h2 {
        font-size: 1.3rem;
    }
    
    .professional-nav a {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    
    .professional-nav a i {
        margin-right: 12px;
    }
}

/* Dashboard Grid Integration */
@media (max-width: 767px) {
    .sidebar-section {
        order: 2;
    }
    
    .main-content {
        order: 1;
    }
}
