/* Global Notification Bell Style */
.notif-bell-wrapper {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--white);
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.notif-bell-wrapper:hover {
    background: var(--gray-50);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.notif-bell-wrapper i {
    font-size: 1.25rem;
}

.notif-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    z-index: 5;
}

/* =====================================================
   SIMPULO Notification System
   Premium glassmorphism toast notifications
   ===================================================== */

/* SweetAlert2 z-index override - ensure it appears above modals */
.swal2-container {
    z-index: 99999 !important;
}

.swal2-popup {
    z-index: 99999 !important;
}

/* Notification Bell */
.notif-bell-wrapper.has-notif i {
    animation: bell-swing 2s infinite ease-in-out;
}

@keyframes bell-swing {

    0%,
    100% {
        transform: rotate(0);
    }

    10%,
    30% {
        transform: rotate(10deg);
    }

    20%,
    40% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(0);
    }
}

.notif-bell-wrapper.has-notif .notif-badge {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    animation: pulse-notif 2s infinite;
}

@keyframes pulse-notif {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}