/* Copyright (C) 2026 Aedishub+ - All Rights Reserved. Confidential and Proprietary. */
/* Toast Notification Animations */
.toast-item {
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s ease-out;
}

.toast-item.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-item.hide {
    transform: translateX(120%);
    opacity: 0;
}

/* Toast progress bar animation */
@keyframes toast-progress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

.animate-toast-progress {
    animation: toast-progress linear forwards;
}

/* Notification Bell Animations */
@keyframes bell-ring {
    0%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(10deg); }
    20%, 40% { transform: rotate(-10deg); }
    50% { transform: rotate(5deg); }
    60% { transform: rotate(-5deg); }
    70% { transform: rotate(0); }
}

.notification-bell-ring {
    animation: bell-ring 0.5s ease-in-out;
}

/* Pulse animation for badge */
@keyframes notification-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

.notification-badge-pulse {
    animation: notification-pulse 2s infinite;
}

/* Slide in animation for new notifications */
@keyframes notification-slide-in {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.notification-new {
    animation: notification-slide-in 0.3s ease-out;
}

/* Glow effect for unread notifications */
.unread-glow {
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* Notification dropdown fade in */
#notification-dropdown {
    animation: dropdown-fade-in 0.2s ease-out;
}

@keyframes dropdown-fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Type-specific icon animations */
.notification-icon-success {
    animation: icon-bounce-in 0.4s ease-out;
}

.notification-icon-error {
    animation: icon-shake 0.4s ease-out;
}

@keyframes icon-bounce-in {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes icon-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

