/* Notifications Dropdown - Exact Match Design */

/* قائمة الإشعارات */
.ball-drop .dropdown-menu {
    background-color: #333333;
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    min-width: 380px !important;
    max-width: 420px !important;
    height: auto !important;
    max-height: 400px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 0;
    margin-top: 8px;
    z-index: 1000;
}

/* أيقونة الجرس بيضاء */
.ball-drop .nav-link img {
    filter: brightness(0) invert(1);
    width: 20px;
    height: 20px;
}

/* Header الإشعارات */
.ball-drop .drop-head {
    background-color: #DE5700;
    color: white;
    padding: 14px 18px;
    font-weight: 600;

    font-size: 15px;
    margin: 0;
    border-radius: 8px 8px 0 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* عناصر الإشعارات - النمط الافتراضي أسود */
.ball-drop .dropdown-item {
    background-color: #333333;
    color: #ffffff;
    padding: 15px 18px;
    border: none;

    text-decoration: none;
    display: block;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s ease;
    position: relative;
    word-wrap: break-word !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
}

/* hover effect للإشعارات العادية */
.ball-drop .dropdown-item:hover {
    background-color: #444444;
    color: #ffffff;
    text-decoration: none;
    transform: translateX(3px);
}

/* الإشعارات غير المقروءة - نفس اللون الأسود */
.ball-drop .dropdown-item.unread {
    background-color: #333333;
    color: #ffffff;
    font-weight: 500;

}
.ball-drop .dropdown-menu li a.dropdown-item {
    border-bottom: none !important;
}

/* hover للإشعارات غير المقروءة */
.ball-drop .dropdown-item.unread:hover {
    background-color: #444444;
    color: #ffffff;
    transform: translateX(3px);
}

/* آخر عنصر */
.ball-drop .dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

/* النص الصغير للتاريخ */
.ball-drop .dropdown-item small {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    margin-top: 5px;
    font-weight: 300;
}

.ball-drop .dropdown-item.unread small {
    color: rgba(255, 255, 255, 0.95);
}

/* إزالة li styling */
.ball-drop li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Custom scrollbar - clean dark style */
.ball-drop .dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.ball-drop .dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.ball-drop .dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.ball-drop .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* رسالة "لا توجد إشعارات" */
.ball-drop .dropdown-item:only-of-type {

    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    padding: 30px 18px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .ball-drop .dropdown-menu {
        min-width: 320px !important;
        max-width: 95vw !important;
        right: -10px;
    }

    .ball-drop .dropdown-item {
        padding: 16px 18px;
        font-size: 14px;
    }

    .ball-drop .drop-head {
        padding: 16px 18px;
        font-size: 15px;
    }

    .ball-drop .dropdown-item small {
        font-size: 12px;
        margin-top: 6px;
    }
}
