/* أنماط الإشعارات */
.notification-badge {
    position: relative;
}

.notification-badge .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
}

.notifications-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 350px;
    max-height: 400px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-top: 10px;
}

.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.notifications-header h6 {
    margin: 0;
    font-weight: 600;
}

.notifications-list {
    max-height: 350px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f1f3f5;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.notification-item:hover {
    background-color: #f1f3f5;
}

.notification-item .notification-icon {
    margin-left: 10px;
    font-size: 1.2rem;
    color: #6c757d;
}

.notification-item .notification-content {
    flex-grow: 1;
}

.notification-item .notification-content p {
    margin: 0;
    font-size: 0.9rem;
}

.notification-item .notification-time {
    display: block;
    font-size: 0.7rem;
    color: #868e96;
    margin-top: 0.25rem;
}

.notification-item .btn {
    margin-right: 10px;
}

@media (max-width: 768px) {
    .notifications-dropdown {
        width: 100%;
        max-height: 70vh;
    }
}
