/* ============================================
   LEFT MENU - SIDEBAR NAVIGATION STYLES
   Dedicated CSS for Dashboard Sidebar Menu
   ============================================ */

/* ============================================
   SIDEBAR MENU CONTAINER
   ============================================ */
.sidebar-menu {
    padding: 20px 0;
}

/* ============================================
   MENU ITEMS - COMPACT CARD STYLE
   ============================================ */
.sidebar-menu-item {
    margin: 4px 12px;
    padding: 0;
    border-bottom: none;
}

.sidebar-menu-item:last-child {
    margin-bottom: 15px;
}

.sidebar-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    color: #d1d5db;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============================================
   MENU LINK DECORATIONS
   ============================================ */

/* Left Gradient Bar */
.sidebar-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #00d4ff 0%, #7c3aed 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 3px 3px 0;
}

/* Right Arrow Indicator */
.sidebar-menu-link::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    color: #00d4ff;
    font-size: 11px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

/* ============================================
   HOVER STATE
   ============================================ */
.sidebar-menu-link:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12) 0%, rgba(124, 58, 237, 0.08) 100%);
    color: #00d4ff;
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.15);
}

.sidebar-menu-link:hover::before {
    transform: scaleY(1);
}

.sidebar-menu-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   ACTIVE STATE (CURRENT PAGE)
   ============================================ */
.sidebar-menu-link.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(124, 58, 237, 0.15) 100%);
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sidebar-menu-link.active::before {
    transform: scaleY(1);
}

.sidebar-menu-link.active::after {
    opacity: 1;
    transform: translateX(0);
    animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   MENU ICON STYLING
   ============================================ */
.sidebar-menu-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sidebar-menu-link:hover .sidebar-menu-icon {
    background: rgba(0, 212, 255, 0.2);
    transform: rotate(-5deg) scale(1.05);
    color: #00d4ff;
}

.sidebar-menu-link.active .sidebar-menu-icon {
    background: rgba(0, 212, 255, 0.25);
    color: #00d4ff;
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
}

/* ============================================
   MENU TEXT
   ============================================ */
.sidebar-menu-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media screen and (max-width: 480px) {
    .sidebar-menu-link {
        padding: 10px 12px;
        font-size: 13px;
        gap: 10px;
    }
    
    .sidebar-menu-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .sidebar-menu-item {
        margin: 3px 10px;
    }
}
