.spm-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spm-popup-overlay.spm-show {
    opacity: 1;
}

.spm-popup-content-wrap {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    position: relative;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.spm-popup-overlay.spm-show .spm-popup-content-wrap {
    transform: translateY(0);
}

.spm-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    border: none;
    background: none;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
}

.spm-popup-close:hover {
    color: #000;
}

.spm-popup-content {
    font-size: 16px;
    line-height: 1.6;
}
