#spp-popup-overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9999999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#spp-popup {
    background: #fff;
    border-radius: 6px;
    max-width: 720px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    padding: 22px;
    box-sizing: border-box;
    position: relative;
}

#spp-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

#spp-close:hover {
    background: #f0f0f0;
    color: #666;
}

#spp-close:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

#spp-popup-content {
    margin-bottom: 16px;
    color: #222;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

#spp-popup-actions {
    text-align: center;
}

#spp-popup-actions button {
    background: #333;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

@media (max-width: 480px) {
    #spp-popup {
        padding: 16px;
    }
    #spp-popup-content {
        font-size: 14px;
    }
}

#spp-popup-overlay { display:none; opacity:0; transition:opacity .15s; pointer-events:none; }
#spp-popup-overlay.show { display:flex; align-items:center; justify-content:center; opacity:1; pointer-events:auto; }
#spp-popup-overlay.show.bottom { align-items:flex-end; padding-bottom:24px; }

