/**
 * NEET Push - Frontend Styles
 * Bell Icon, Popup, Toast Notifications
 */

/* =============================================
   BELL ICON (Bottom Right)
   ============================================= */
#neet-push-bell {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99998;
}

.neet-push-bell-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.neet-push-bell-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
}

.neet-push-bell-pulse {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ef4444;
    animation: neet-pulse 2s infinite;
}

@keyframes neet-pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
    70% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* =============================================
   POPUP
   ============================================= */
#neet-push-popup {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    width: 380px;
    max-width: calc(100vw - 32px);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.neet-push-popup-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.neet-push-popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.15s;
}

.neet-push-popup-close:hover {
    color: #475569;
}

.neet-push-popup-icon {
    margin-bottom: 14px;
}

.neet-push-popup-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}

.neet-push-popup-desc {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 20px;
    line-height: 1.5;
}

.neet-push-popup-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
    width: 100%;
}

.neet-push-popup-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.neet-push-popup-dismiss {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.15s;
}

.neet-push-popup-dismiss:hover {
    color: #475569;
}

/* Popup Animations */
.neet-push-popup-enter {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

.neet-push-popup-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.neet-push-popup-exit {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* =============================================
   TOAST NOTIFICATION
   ============================================= */
.neet-push-toast {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 99999;
    max-width: 360px;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.neet-push-toast-content {
    background: #1e293b;
    color: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.neet-push-toast-enter {
    opacity: 0;
    transform: translateY(10px);
}

.neet-push-toast-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.neet-push-toast-exit {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 480px) {
    #neet-push-bell {
        bottom: 16px;
        right: 16px;
    }

    .neet-push-bell-button {
        width: 48px;
        height: 48px;
    }

    #neet-push-popup {
        bottom: 16px;
        right: 16px;
        left: 16px;
        width: auto;
    }

    .neet-push-toast {
        bottom: 74px;
        right: 16px;
        left: 16px;
        max-width: none;
    }
}

/* =============================================
   IMPORT POPUP TEMPLATES
   =============================================
   Note: Templates are in popup-templates.css loaded separately.
   This file provides styles for 5 popup templates:
     default  — Clean Green Card
     minimal  — Ultra Minimal (underline-link CTA)
     modern   — Glassmorphism Card with shimmer
     urgent   — Red Alert Banner (top-of-page)
     festive  — Celebration / Confetti Style
   ============================================= */
