/* Notification Bell FAB Styles */
.notification-bell-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.bell-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(255, 62, 65, 0.4);
    transition: all 0.3s ease;
}

.bell-wrapper:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 62, 65, 0.6);
}

.bell-wrapper .fa-bell {
    font-size: 1.8rem;
    color: #fff;
}

/* Shake Animation */
@keyframes bell-shake {
    0% { transform: rotate(0); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-15deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-10deg); }
    50% { transform: rotate(5deg); }
    60% { transform: rotate(-5deg); }
    70% { transform: rotate(0); }
    100% { transform: rotate(0); }
}

.bell-shake {
    animation: bell-shake 0.8s cubic-bezier(.36,.07,.19,.97) both;
}

/* Red dot/badge */
.notification-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 14px;
    height: 14px;
    background-color: #ff0000;
    border-radius: 50%;
    border: 2px solid #fff;
    display: block;
}

/* Notification Text Label */
.notification-text {
    position: absolute;
    left: 70px;
    background: #fff;
    color: var(--dark);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid #eee;
}

.notification-text.show {
    opacity: 1;
    transform: translateX(0);
}

/* Speech bubble arrow */
.notification-text::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #fff;
}

/* Events Tab Badge Styles */
.badge-events {
    display: inline-block;
    background: #ff0000;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    vertical-align: middle;
    text-transform: uppercase;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

/* Modal Styles (existing) */
.nl-notification-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nl-notification-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.nl-notification-modal-content {
    position: relative;
    background-color: #fff;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    overflow-y: auto;
    max-height: 90vh;
    transform: scale(0.7);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.nl-notification-modal.show .nl-notification-modal-content {
    transform: scale(1);
}

.nl-notification-poster-container {
    width: 100%;
    background: #000;
}

.nl-notification-poster-container img {
    width: 100%;
    height: auto;
    display: block;
}

.nl-notification-info {
    padding: 25px;
    text-align: center;
    color: var(--dark);
}

.nl-notification-info h3 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.nl-notification-info p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #444;
}

.nl-notification-details {
    text-align: left;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.nl-notification-details div {
    margin-bottom: 5px;
    font-size: 13px;
}

.nl-registration-btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 62, 65, 0.3);
    margin-top: 10px;
}

.nl-registration-btn:hover {
    background: #d43538;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 62, 65, 0.5);
}

.nl-notification-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    width: 36px;
    height: 36px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    transition: background 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
}

.nl-notification-close:hover {
    background: rgba(255, 0, 0, 0.8);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .notification-bell-container {
        bottom: 20px;
        left: 20px;
    }
    .bell-wrapper {
        width: 50px;
        height: 50px;
    }
    .bell-wrapper .fa-bell {
        font-size: 1.5rem;
    }
    .nl-notification-modal-content {
        width: 95%;
    }
    .nl-notification-info {
        padding: 20px 15px;
    }
}
