/* Styles pour les notifications dans la navbar */

/* Style du compteur de notifications */
.nav-notif .count {
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #ff0000;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 18px;
    display: none;
}

.nav-notif .count.active {
    display: block;
}

/* Style pour les notifications non lues */
.dropdown-item.preview-item.unread {
    background-color: rgba(0, 123, 255, 0.05);
    font-weight: 500;
}

.dropdown-item.preview-item.unread .preview-subject {
    font-weight: 600;
}

/* Style pour le menu déroulant des notifications */
.navbar-dropdown.preview-list {
    max-height: 400px;
    overflow-y: auto;
}

/* Style pour les éléments de notification */
.preview-item {
    display: flex;
    padding: 0.65rem 1.5rem;
    margin-bottom: 0;
    border-bottom: 1px solid #f3f3f3;
}

.preview-item:hover {
    background-color: #f8f9fa;
}

.preview-thumbnail {
    margin-right: 1rem;
}

.preview-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-icon i {
    color: #ffffff;
}

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

.preview-subject {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.small-text {
    font-size: 0.75rem;
}
