.qwalls-program-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none
}

.qwalls-program-modal.is-open {
    display: block
}

.qwalls-program-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65)
}

.qwalls-program-modal__panel {
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(1200px, calc(100vw - 40px));
    padding: 60px 40px;
    background: rgba(0, 0, 0, .70);
    border: 2px solid rgba(255, 255, 255, .25);
    box-shadow: 18px 49px 56.3px rgba(0, 0, 0, .25);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px)
}

.qwalls-program-modal__close {
    position: absolute;
    width: 14px;
    height: 14px;
    right: 24px;
    top: 24px;
    opacity: .6;
    display: block;
    z-index: 3
}

.qwalls-program-modal__close:before, .qwalls-program-modal__close:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 1px;
    background: #fff;
    transform-origin: center
}

.qwalls-program-modal__close:before {
    transform: translate(-50%, -50%) rotate(45deg)
}

.qwalls-program-modal__close:after {
    transform: translate(-50%, -50%) rotate(-45deg)
}

.qwalls-program-modal__content {
    display: flex;
    flex-direction: column;
    gap: 34px
}

.qwalls-program-modal__title {
    font-family: 'Golos Text', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 34px;
    line-height: 110%;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #fff;
    max-width: 460px
}

.qwalls-program-modal__form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px
}

.qwalls-program-modal__grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 26px
}

.qwalls-program-modal__col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0
}

.qwalls-program-modal__field {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px
}

.qwalls-program-modal__input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Golos Text', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #fff;
    opacity: .85;
    padding: 0
}

.qwalls-program-modal__input::placeholder {
    color: #fff;
    opacity: .6
}

.qwalls-program-modal__line {
    width: 100%;
    height: 0;
    opacity: .2;
    border-top: 1px solid #fff;
    display: block
}

.qwalls-program-modal__checks {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    margin-top: 14px
}

.qwalls-program-modal__check {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    flex: 1;
    min-width: 0
}

.qwalls-program-modal__check input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.qwalls-program-modal__box {
    width: 14px;
    height: 14px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .6);
    flex: 0 0 14px;
    margin-top: 2px
}

.qwalls-program-modal__check input:checked + .qwalls-program-modal__box {
    background: #fff
}

.qwalls-program-modal__check-text {
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 120%;
    color: #fff;
    opacity: .6;
    max-width: 520px
}

.qwalls-program-modal__submit {
    width: 100%;
    height: 51px;
    border: none;
    background: #fff;
    font-family: 'Golos Text', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    text-transform: uppercase;
    color: #000;
    cursor: pointer;
    margin-top: 10px
}

.qwalls-select {
    position: relative;
    width: 100%
}

.qwalls-select__btn {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer
}

.qwalls-select__label {
    font-family: 'Golos Text', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #fff;
    opacity: .6;
    text-align: left
}

.qwalls-select.is-filled .qwalls-select__label {
    opacity: .85
}

.qwalls-select__chev {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid rgba(255, 255, 255, .8);
    flex: 0 0 auto;
    transform: translateY(1px)
}

.qwalls-select.is-open .qwalls-select__chev {
    transform: translateY(1px) rotate(180deg)
}

.qwalls-select__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    background: rgba(0, 0, 0, .92);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
    padding: 8px;
    display: none;
    max-height: 260px;
    overflow: auto;
    z-index: 10
}

.qwalls-select.is-open .qwalls-select__menu {
    display: block
}

.qwalls-select__opt {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Golos Text', sans-serif;
    font-size: 14px;
    line-height: 120%;
    padding: 10px 10px;
    opacity: .9;
    cursor: pointer;
    border-radius: 8px
}

.qwalls-select__opt:hover, .qwalls-select__opt:focus {
    outline: none;
    background: rgba(255, 255, 255, .08)
}

@media (max-width: 1024px) {
    .qwalls-program-modal__panel {
        padding: 40px 24px
    }

    .qwalls-program-modal__title {
        font-size: 28px
    }

    .qwalls-program-modal__grid {
        grid-template-columns:1fr;
        gap: 20px
    }

    .qwalls-program-modal__checks {
        flex-direction: column;
        gap: 12px
    }

    .qwalls-program-modal__check-text {
        max-width: none
    }
}

@media (max-width: 640px) {
    .qwalls-program-modal__panel {
        width: calc(100vw - 24px);
        padding: 24px 16px;
        max-height: calc(100vh - 24px);
        overflow: auto
    }

    .qwalls-program-modal__close {
        right: 16px;
        top: 16px
    }

    .qwalls-program-modal__title {
        font-size: 22px
    }
}
