/* notifications.css - Styles pour les badges de notification */

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 100;
    animation: pulse 1.5s infinite;
}

/* Animation de pulsation pour attirer l'attention */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Style pour les badges par type (si vous voulez des couleurs différentes) */
#notification-message {
    background-color: #2ed573; /* Vert pour les messages */
}

#notification-friends {
    background-color: #1e90ff; /* Bleu pour les amis */
}

#notification-coeur {
    background-color: #ff6b81; /* Rose pour les cœurs */
}

#notification-visite {
    background-color: #ffa502; /* Orange pour les visites */
}

#notification-global {
    background-color: #ff4757; /* Rouge pour les notifications globales */
    /* Faire en sorte que le badge des notifications globales soit légèrement plus grand */
    width: 22px;
    height: 22px;
    font-size: 13px;
    font-weight: bold;
}

/* Ajustements pour les petits écrans */
@media (max-width: 768px) {
    .notification-badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
        top: -6px;
        right: -6px;
    }
}