.psm-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    z-index: 999999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
}

.psm-popup-container {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 95%;
    display: flex;
    flex-direction: column;
    animation: psm-fade-in 0.3s ease-out;
}

@keyframes psm-fade-in {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.psm-popup-content {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    line-height: 1.6;
}

.psm-popup-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.psm-popup-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.psm-popup-close:hover {
    background: rgba(0, 0, 0, 0.5);
}

.psm-no-scroll {
    overflow: hidden;
}

@media (max-width: 600px) {
    .psm-popup-container {
        width: 100% !important;
        max-width: 100%;
        border-radius: 8px;
    }
    .psm-popup-content {
        padding: 20px 16px;
    }
}