/* Styles pour les badges de notification */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    animation: badgePulse 2s infinite;
}

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

/* Position relative pour les conteneurs des badges */
.login-btn,
.desktop-nav-link {
    position: relative;
}

/* Styles spécifiques pour le header mobile */
.header .login-btn .notification-badge {
    top: -6px;
    right: -6px;
    min-width: 16px;
    height: 16px;
    font-size: 10px;
}

/* Styles spécifiques pour la navigation desktop */
.desktop-nav-link .notification-badge {
    top: -3px;
    right: -3px;
    min-width: 16px;
    height: 16px;
    font-size: 10px;
}

/* Masquer le badge quand il n'y a pas de notifications */
.notification-badge[style*="display: none"] {
    animation: none;
}

/* Responsive */
@media (max-width: 768px) {
    .notification-badge {
        min-width: 14px;
        height: 14px;
        font-size: 9px;
        top: -5px;
        right: -5px;
        padding: 1px;
    }
}
