

       
        body{
            font-family: 'Cairo', sans-serif;
            background: var(--light-bg);
            transition: .3s;
            min-height: 2000px;
        }

        body.dark-mode{
            background: var(--dark-bg);
            color: #fff;
        }

        .custom-navbar{
            background: var(--main-color);
            border-radius: 18px;
            margin: 15px 20px;
            padding: 10px 15px;
            box-shadow: 0 8px 25px rgba(0,0,0,.15);
            backdrop-filter: blur(10px);
        }

        .navbar-brand{
            font-weight: 700;
            font-size: 1.4rem;
            color: #fff !important;
        }

        .nav-link{
            color: rgba(255,255,255,.9) !important;
            font-weight: 500;
            transition: .3s;
            position: relative;
        }

        .nav-link:hover{
            color: #fff !important;
            transform: translateY(-2px);
        }

        .nav-link::after{
            content: "";
            position: absolute;
            bottom: 0;
            right: 0;
            width: 0%;
            height: 2px;
            background: #fff;
            transition: .3s;
        }

        .nav-link:hover::after{
            width: 100%;
        }

        .btn-login{
            border-radius: 12px;
            padding: 8px 18px;
            font-weight: 600;
        }

        .theme-btn,
        .lang-btn{
            width: 42px;
            height: 42px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero{
            padding-top: 180px;
            text-align: center;
        }

        .hero h1{
            font-size: 3rem;
            font-weight: 800;
        }

        .hero p{
            font-size: 1.2rem;
            opacity: .8;
        }

        body.dark-mode .modal-content{
            background: var(--dark-card);
            color: white;
        }

        body.dark-mode .form-control{
            background: #2b2b2b;
            border-color: #444;
            color: #fff;
        }

        body.dark-mode .dropdown-menu{
            background: #222;
        }

        body.dark-mode .dropdown-item{
            color: #fff;
        }

        body.dark-mode .dropdown-item:hover{
            background: #333;
        }

        @media(max-width:991px){

            .custom-navbar{
                margin: 10px;
            }

            .navbar-collapse{
                margin-top: 15px;
                background: rgba(255,255,255,.1);
                padding: 15px;
                border-radius: 15px;
            }

            .hero h1{
                font-size: 2rem;
            }
        }

   /* ========================================= */
/* تنسيقات قائمة المستخدم الاحترافية (Profile Dropdown) */
/* ========================================= */

/* 1. إخفاء سهم البوتستراب الافتراضي المزعج */
.user-dropdown .dropdown-toggle::after {
    display: none !important;
}

/* 2. تصميم الزر في الشريط العلوي (تأثير الزجاج والتظليل) */
.user-profile-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.user-profile-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* 3. حركة ظهور القائمة المنسدلة بنعومة من الأسفل */
.custom-dropdown-menu {
    animation: fadeInDown 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    border: 1px solid rgba(0,0,0,0.05) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 4. تأثيرات العناصر عند تمرير الماوس (Hover Effects) */
.custom-item, .custom-item-danger {
    transition: all 0.2s ease-in-out;
}

/* تحريك العنصر لليسار قليلاً في الواجهة العربية لإعطاء شعور بالاستجابة */
.custom-item:hover {
    background-color: transparent;
    transform: translateX(-6px);
}

/* تعبئة صندوق الأيقونة باللون الأساسي عند المرور */
.custom-item:hover .icon-box {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(var(--bs-primary-rgb), 0.3);
}

.custom-item-danger:hover {
    background-color: transparent;
    transform: translateX(-6px);
}

.custom-item-danger:hover .icon-box {
    background-color: #dc3545 !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
}

/* انتقال ناعم لألوان صناديق الأيقونات */
.icon-box {
    transition: all 0.3s ease;
}