/* تنسيقات قائمة الهواتف */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9);
        transition: 0.3s;
        z-index: 9999;
        overflow-y: auto;
        padding-bottom: 60px;
    }

    .navbar-collapse.show {
        right: 0;
    }

    .mobile-menu-logo {
        text-align: center;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 1rem;
    }

    .mobile-menu-logo img {
        max-width: 120px;
        height: auto;
        border-radius: 50%;
    }

    /* تنسيقات النص */
    .navbar-nav .nav-link,
    .navbar-nav .dropdown-toggle {
        color: white !important;
        padding: 0.8rem 1.5rem;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .dropdown-toggle:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .navbar-nav .nav-link.active,
    .navbar-nav .dropdown-toggle.active {
        background-color: var(--primary-color);
    }

    /* تحسين السكرول */
    .navbar-nav {
        height: calc(100vh - 180px);
        overflow-y: auto;
        padding-bottom: 2rem;
    }

    /* تنسيق شريط السكرول */
    .navbar-nav::-webkit-scrollbar {
        width: 5px;
    }

    .navbar-nav::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
    }

    .navbar-nav::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 5px;
    }

    .navbar-nav::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5);
    }

    /* تحسين عرض القوائم المنسدلة */
    .dropdown-menu {
        border: none;
        background: rgba(0, 0, 0, 0.95);
        padding: 0.5rem 0;
        margin: 0;
    }

    .dropdown-item {
        color: white !important;
        padding: 0.5rem 2rem;
    }

    .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .dropdown-item.active, 
    .dropdown-item:active {
        background-color: var(--primary-color);
    }

    /* تنسيقات معلومات المستخدم */
    .user-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        margin-top: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .user-info a {
        display: flex;
        align-items: center;
        text-decoration: none;
        margin-bottom: 0.5rem;
    }

    .user-image {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        object-fit: cover;
    }

    .user-name {
        color: white;
        font-size: 0.9rem;
        margin-right: 0.5rem;
    }

    .powered-by {
        color: #dc3545;
        font-size: 0.8rem;
        font-style: italic;
    }
}
