/* Notifications dropdown */
.notifications-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    transition: background-color 0.2s;
}

.notification-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.notification-item p {
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

/* Custom scrollbar for notifications list */
.notifications-list::-webkit-scrollbar {
    width: 6px;
}

.notifications-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.notifications-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.notifications-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Notification badge */
.notification-badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.4rem;
    transform: translate(25%, -25%) !important;
}

/* Bell icon */
#notifications-menu-button {
    font-size: 1.2rem;
}

#notifications-menu-button:hover {
    color: var(--bs-primary) !important;
}

/* RTL specific adjustments */
[dir="rtl"] .notification-badge {
    transform: translate(-25%, -25%) !important;
}

[dir="rtl"] .dropdown-menu {
    text-align: right;
}
