body.site-closure-dialog-open {
    overflow: hidden;
}

.site-closure-dialog {
    box-sizing: border-box;
    width: calc(100% - 48px);
    max-width: 680px;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    margin: auto;
    padding: 64px 56px 48px;
    overflow-y: auto;
    border: 0;
    border-radius: 24px;
    background: #ffffff;
    color: #242624;
    text-align: center;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.15);
}

.site-closure-dialog::backdrop {
    background: rgba(36, 38, 36, 0.4);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.site-closure-dialog .site-closure-dialog__close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #919399;
    cursor: pointer;
}

.site-closure-dialog__close svg {
    color: inherit;
}

.site-closure-dialog h2 {
    margin: 0 0 24px;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    text-wrap: balance;
}

.site-closure-dialog p {
    margin: 0;
    font-size: 18px;
    line-height: 24px;
}

.site-closure-dialog p + p {
    margin-top: 24px;
}

.site-closure-dialog .site-closure-dialog__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    width: 100%;
    margin-top: 32px;
    padding: 16px 32px;
    border-radius: 16px;
    background: #00e183;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color 0.2s;
}

.site-closure-dialog .site-closure-dialog__button:hover {
    background: #055330;
}

.site-closure-dialog__close:focus-visible,
.site-closure-dialog__button:focus-visible {
    outline: 2px solid #055330 !important;
    outline-offset: 4px;
}

@media (max-width: 767px) {
    .site-closure-dialog {
        width: calc(100% - 32px);
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        padding: 64px 24px 28px;
    }

    .site-closure-dialog h2 {
        margin-bottom: 24px;
        font-size: 24px;
    }

    .site-closure-dialog p {
        font-size: 16px;
    }

    .site-closure-dialog p + p {
        margin-top: 24px;
    }

    .site-closure-dialog .site-closure-dialog__button {
        width: 100%;
        margin-top: 32px;
        padding: 14px 16px;
        font-size: 16px;
    }
}
