/* WooBD Protect — Checkout Popup v1.2 */

/* Overlay — hidden by default via opacity+pointer-events, not display:none
   so jQuery fadeIn isn't needed and CSS transitions work cleanly */
#woobd-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    pointer-events: none;
    opacity: 0;
    transition: background 0.25s ease, opacity 0.25s ease;
}

#woobd-popup-overlay.woobd-open {
    background: rgba(0, 0, 0, 0.58);
    opacity: 1;
    pointer-events: auto;
}

/* Prevent body scroll when popup is open */
body.woobd-noscroll {
    overflow: hidden;
}

/* Popup box */
#woobd-popup-box {
    background: #ffffff;
    border-radius: 14px;
    padding: 40px 32px 32px;
    max-width: 480px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    transform: translateY(-24px);
    transition: transform 0.25s ease;
}

#woobd-popup-overlay.woobd-open #woobd-popup-box {
    transform: translateY(0);
}

/* Close button */
#woobd-popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

#woobd-popup-close:hover {
    background: #ddd;
    color: #222;
}

/* Icon */
#woobd-popup-icon {
    font-size: 54px;
    margin-bottom: 12px;
    line-height: 1;
}

/* Title */
#woobd-popup-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e1f2e;
    margin: 0 0 16px;
    line-height: 1.35;
}

/* Body content */
#woobd-popup-body {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
}

#woobd-popup-body p {
    margin: 0 0 10px;
}

#woobd-popup-body p:last-child {
    margin-bottom: 0;
}

#woobd-popup-body strong {
    color: #5b6af0;
}

#woobd-popup-body a {
    color: #5b6af0;
    font-weight: 600;
}

/* Mobile */
@media (max-width: 480px) {
    #woobd-popup-box {
        padding: 32px 18px 24px;
    }

    #woobd-popup-title {
        font-size: 17px;
    }

    #woobd-popup-icon {
        font-size: 44px;
    }
}
