/* billing_popup.css — Billing App Global Styles */
/* These styles are for the 600x400 centered popup modal notification */
/* The JS also injects these styles inline; this file acts as a fallback */

@keyframes snsPopupFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes snsPopupFadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.95); }
}

@keyframes snsTimerPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

#snsBannerBackdrop {
    position: fixed;
    inset: 0;
    z-index: 2147483639;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: snsPopupFadeIn 0.3s ease-out both;
}

#snsBannerBackdrop.snsHide {
    animation: snsPopupFadeOut 0.25s ease-in both;
}

#snsBillingPopup {
    width: 600px;
    max-width: 90vw;
    min-height: 400px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: "Inter", -apple-system, sans-serif;
    overflow: hidden;
}

#snsPopupImage {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #f1f5f9;
}

#snsPopupContent {
    padding: 24px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

#snsPopupClose {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
}

#snsPopupClose:hover {
    background: rgba(0, 0, 0, 0.8);
}

#snsPopupTitle {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 12px 0;
}

#snsPopupText {
    font-size: 15px;
    color: #475569;
    line-height: 1.5;
    margin: 0 0 24px 0;
}

#snsPopupTimerWrap {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 24px;
    display: inline-block;
    width: 100%;
    max-width: 400px;
}

#snsPopupTimerLabel {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

#snsPopupTimer {
    display: block;
    font-family: "SF Mono", monospace;
    font-size: 28px;
    font-weight: 800;
    color: #ef4444;
    letter-spacing: 2px;
    animation: snsTimerPulse 2s infinite;
}
