/* sidebar.css - أنماط الشريط الجانبي فقط */

/* Left Navigation Bar */
.dashboard .left-bar {
    position: fixed; /* ثابت في مكانه */
    top: 0;
    left: 0;
    width: 255px;
    height: 100vh;
    background-color: var(--gray-normal);
    padding: 30px 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-y: auto;
    overflow-x: hidden;
}

.dashboard .div-2 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.dashboard .div-2:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.dashboard .logo-with-logoword {
    width: 40px;
    height: auto;
}

.dashboard .logo-with-logoword-2 {
    width: 60px;
    height: auto;
}

.dashboard .frame-2 {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.dashboard .nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary-red-light);
    font-family: "Inter-SemiBold", Helvetica;
    font-weight: 600;
    font-size: 14px;
    text-align: right;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard .nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.dashboard .nav-item.active {
    background-color: var(--primary-red);
    color: var(--white);
}

.dashboard .nav-item.active img {
    filter: brightness(0) invert(1);
}

.dashboard .nav-item.help {
    margin-top: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard .nav-text {
    flex: 1;
}

.dashboard .home,
.dashboard .chevron-down-3,
.dashboard .question-circle {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

/* Responsive Design for Sidebar */
@media (max-width: 992px) {
    .dashboard .left-bar {
        padding: 20px 10px;
         width: 80px;
    }
    
    .dashboard .div-2 {
        justify-content: center;
        padding: 10px;
    }
    
    .dashboard .logo-with-logoword-2 {
        display: none;
    }
    
    .dashboard .nav-text {
        display: none;
    }
    
    .dashboard .nav-item {
        justify-content: center;
        padding: 15px 10px;
    }
}

@media (max-width: 768px) {
    .dashboard .left-bar {
         display: none;
    }
}