/* Notification Bell Component Styles */

/* Bell shake animation when new notification arrives */
@keyframes bell-shake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

.bell-shake {
    animation: bell-shake 0.5s ease-in-out;
    transform-origin: top center;
}

/* Badge positioning for notification count */
.badge-circle {
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 20px;
    text-align: center;
    font-weight: 600;
}

/* Pulse animation for bell icon when connected */
.notification-pulse {
    position: relative;
}

.notification-pulse::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    background-color: var(--bs-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}
