#pta-siwas-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

#pta-siwas-popup.pta-siwas-visible {
    display: flex;
}

.pta-siwas-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.pta-siwas-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    padding: 8px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.pta-siwas-dialog img {
    display: block;
    width: 100%;
    max-height: 82vh;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
}

.pta-siwas-close {
    position: absolute;
    top: -15px;
    right: -15px;
    z-index: 5;
    width: 38px;
    height: 38px;
    border: 2px solid white;
    border-radius: 50%;
    background: #c62828;
    color: white;
    font-size: 27px;
    cursor: pointer;
}

@media (max-width: 600px) {
    #pta-siwas-popup {
        padding: 15px;
    }

    .pta-siwas-dialog {
        padding: 5px;
    }

    .pta-siwas-close {
        top: -12px;
        right: -10px;
    }
}