.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.popup-window {
    position: relative;
    background: #fff;
    border-radius: 8px;
    width: 480px;
    max-width: 95vw;
    padding: 0;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    color: #fff;
    transition: color 0.2s;
    z-index: 10;
}

.popup-close:hover {
    color: #fed116;
}

.popup-loader {
    text-align: center;
    padding: 40px 0;
    color: #1e6377;
    font-size: 16px;
}

.popup-success {
    text-align: center;
    padding: 30px 0;
    color: #1e6377;
    font-size: 18px;
    font-weight: 500;
}

