.shb-subpop {
    position: fixed;
    inset: 0;
    z-index: 1999999999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 100px 16px 24px;
    box-sizing: border-box;
}

.shb-subpop[hidden] {
    display: none !important;
}

.shb-subpop.is-open {
    display: flex;
}

.shb-subpop__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.shb-subpop__dialog {
    position: relative;
    z-index: 1;
    width: min(640px, 100%);
    max-height: calc(100vh - 124px);
    overflow: auto;
    background: #fff;
    border: 8px solid #000;
    border-radius: 3px;
    box-shadow: 0 0 30px #020202;
    padding: 18px;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.shb-subpop.is-open .shb-subpop__dialog {
    opacity: 1;
    transform: translateY(0);
}

.shb-subpop__close {
    position: absolute;
    top: -13px;
    right: -13px;
    width: 26px;
    height: 26px;
    border-radius: 26px;
    border: 2px solid #fff;
    background: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 24px;
    line-height: 22px;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 0 15px 1px rgba(2, 2, 2, 0.75);
    z-index: 2;
}

.shb-subpop__close:hover,
.shb-subpop__close:focus-visible {
    filter: brightness(1.15);
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.shb-subpop__content .gform_wrapper {
    margin: 0;
}

.shb-subpop__content .gform_title {
    margin-top: 0;
}

body.shb-subpop-lock {
    overflow: hidden;
}

@media (max-width: 640px) {
    .shb-subpop {
        padding-top: 48px;
    }

    .shb-subpop__dialog {
        max-height: calc(100vh - 72px);
    }
}
