.siteModalPopUp {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}

.siteModalPopUp.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.siteModalOverlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.65);
    cursor: pointer;
}

.siteModalContent {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 600px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;

    padding: 40px;

    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.siteModalClose {
    position: absolute;
    top: 12px;
    right: 16px;

    width: 40px;
    height: 40px;
    padding: 0;

    border: 0;
    background: transparent;

    font-size: 32px;
    line-height: 1;

    cursor: pointer;
}

body.modal-is-open {
    overflow: hidden;
}

.siteModalClose:focus-visible {
    outline: 2px solid #E8A13B;
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .siteModalPopUp {
        padding: 16px;
    }

    .siteModalContent {
        padding: 40px 24px 24px;
    }
}