/* ====================================================
   Gladiator: Popup styles
   Extracted from _popup.php and _popup-quiz.php
   ==================================================== */

/* ---- Popup base ---- */
.popup {
    border-radius: 15px;
    border: 2px solid var(--linner, #8ED1FC);
    background: var(--back, #232323);
    max-width: 1060px;
    width: 100%;
    padding: 0;
}
.popup-title {
    color: #FFF;
    text-align: center;
    text-shadow: 2px 2px 0 #A312E6, -2px -2px 0 #55F;
    font-family: "RadiotechnikaRegular", sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    text-transform: uppercase;
    background: #D9D9D915;
    padding: 33px 33px;
}
.popup-content {
    padding: 40px 80px 65px;
}
.popup_desc {
    color: #FFF;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 24.3px;
    margin-bottom: 35px;
}
.popup-progress {
    height: 5px;
    background: #FFFFFF30;
}
.popup-progress__fill {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(246deg, #8ED1FC 11.96%, #9B51E0 92.88%);
    box-shadow: 0 4px 15px 0 rgba(155, 81, 224, 0.50);
    transition: width .35s ease;
}
.popup--quiz-progress .popup-progress__fill {
    width: var(--popup-progress, 0%);
}
.popup_form {
    margin-top: 28px;
}
.popup_fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 86px;
    margin-bottom: 35px;
    align-items: end;
}
.popup_field {
    min-width: 0;
}
.popup_label {
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
}
.popup_input,
.popup_select_trigger {
    width: 100%;
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    border: none;
    border-bottom: 1px solid #fff;
    background: transparent;
    padding: 0 0 12px;
}
.popup_input::placeholder {
    color: #FFF;
    opacity: 0.55;
}
.popup_input:focus,
.popup_select_trigger:focus {
    outline: none;
}
.popup_select_wrap {
    position: relative;
}
.popup_select_trigger {
    padding-right: 0;
    cursor: pointer;
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}
.popup_select_icon {
    width: 14px;
    height: 12px;
    pointer-events: none;
    transition: transform .25s ease;
    transform: rotate(0deg);
}
.popup_select_wrap.is-open .popup_select_icon {
    transform: rotate(180deg);
}
.popup_select_options {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    border: 1px solid #FFFFFF4D;
    background: #2A2A2A;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 5;
}
.popup_select_wrap.is-open .popup_select_options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.popup_select_option {
    width: 100%;
    border: 0;
    background: transparent;
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.3;
    padding: 12px 16px;
    text-align: left;
    cursor: pointer;
    transition: background-color .2s ease;
}
.popup_select_option:hover,
.popup_select_option.is-active {
    background: #FFFFFF1F;
}
.popup_checkbox {
    margin-top: 35px;
    margin-bottom: 47px;
}
.popup_checkbox label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.popup_checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.popup_checkbox_box {
    width: 23px;
    height: 23px;
    border: 1px solid #F5F5F5;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 23px;
}
.popup_checkbox_box svg {
    opacity: 0;
    transition: opacity .2s ease;
}
.popup_checkbox label.is-checked .popup_checkbox_box svg,
.popup_checkbox label:has(.popup_checkbox_native:checked) .popup_checkbox_box svg {
    opacity: 1;
}
.popup_checkbox .wpcf7-list-item {
    margin: 0;
}
.popup_checkbox .wpcf7-list-item-label {
    display: none;
}
.popup_checkbox_text {
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
}
.popup_btn {
    display: flex;
    justify-content: center;
}
.popup_btn button {
    font-size: 25px;
    padding: 17px 20px;
}
.popup_footer_text {
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    opacity: .8;
    margin-top: 45px;
}
.popup-close {
    padding: 0;
    top: -80px;
    right: -88px;
}
.popup-close svg {
    width: 70px;
    height: 70px;
}
.popup_success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 66px 24px;
    border-radius: 15px;
    background: #D9D9D915;
    margin: 174px 132px;
    text-align: center;
}
.popup_success_title {
    color: #FFF;
    text-align: center;
    text-shadow: 2px 2px 0 #A312E6, -2px -2px 0 #55F;
    font-family: "RadiotechnikaRegular", sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
    text-transform: uppercase;
}
.popup.is-success .popup-title,
.popup.is-success .popup-progress,
.popup.is-success .popup-content {
    display: none;
}
.wpcf7-response-output {
    display: none;
}

/* ---- Quiz popup ---- */
.popup-quiz .popup_quiz_shell {
    border-radius: 15px;
    border: 2px solid var(--linner, #8ED1FC);
    background: #232323;
    max-width: 1060px;
    width: 100%;
    position: relative;
}
.popup-quiz .popup_quiz_close svg {
    width: 70px;
    height: 70px;
}
.popup-quiz .popup_quiz_title {
    margin: 0;
    color: #FFF;
    text-align: center;
    text-shadow: 2px 2px 0 #A312E6, -2px -2px 0 #55F;
    font-family: "RadiotechnikaRegular", sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 50px;
    text-transform: uppercase;
    background: #D9D9D915;
    padding: 33px;
}
.popup-quiz .popup_quiz_progress {
    height: 5px;
    background: #FFFFFF30;
}
.popup-quiz .popup_quiz_progress_fill {
    display: block;
    width: 20%;
    height: 100%;
    background: linear-gradient(246deg, #8ED1FC 11.96%, #9B51E0 92.88%);
    box-shadow: 0 4px 15px 0 rgba(155, 81, 224, .5);
    transition: width .35s ease;
}
.popup-quiz .popup_quiz_content {
    padding: 40px 80px 65px;
}
.popup-quiz .popup_quiz_step {
    display: none;
}
.popup-quiz .popup_quiz_step.is_active {
    display: block;
}
.popup-quiz .popup_quiz_question {
    margin: 0 0 18px;
    color: #FFF;
    font-family: "RadiotechnikaRegular", sans-serif;
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
    line-height: 50px;
}
.popup-quiz .popup_quiz_grid {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 26px 138px;
}
.popup-quiz .popup_quiz_option {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    min-height: 38px;
}
.popup-quiz .popup_quiz_option_input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.popup-quiz .popup_quiz_option_box {
    width: 31px;
    height: 31px;
    border: 1px solid #F5F5F5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 31px;
    position: relative;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.popup-quiz .popup_quiz_option_box svg {
    position: absolute;
    left: 7px;
    bottom: 3px;
    width: 32px;
    height: 32px;
    opacity: 0;
    transition: opacity .2s ease;
}
.popup-quiz .popup_quiz_option_input:checked + .popup_quiz_option_box {
    border: 1px solid var(--linner, #8ED1FC);
    box-shadow: 0 4px 4px 0 #9B51E0;
}
.popup-quiz .popup_quiz_option_input:checked + .popup_quiz_option_box svg {
    opacity: 1;
}
.popup-quiz .popup_quiz_option_text {
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.35;
}
.popup-quiz .popup_quiz_text_input,
.popup-quiz .popup_quiz_datetime_input {
    width: 100%;
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 400;
    border: 0;
    border-bottom: 1px solid #fff;
    background: transparent;
    padding: 4px 0 10px;
}
.popup-quiz .popup_quiz_text_input::placeholder {
    color: #FFF;
    opacity: .7;
}
.popup-quiz .popup_quiz_datetime {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 38px;
}
.popup-quiz .popup_quiz_datetime_item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}
.popup-quiz .popup_quiz_datetime_label {
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.35;
    text-align: center;
}
.popup-quiz .popup_quiz_datetime_input {
    text-align: center;
    color-scheme: light;
    padding-right: 10px;
}
.popup-quiz input[type="date"].popup_quiz_datetime_input::-webkit-calendar-picker-indicator,
.popup-quiz input[type="time"].popup_quiz_datetime_input::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(2);
    -webkit-filter: invert(1) brightness(2);
    opacity: 1;
    cursor: pointer;
}
.popup-quiz input[type="time"].popup_quiz_datetime_input::-webkit-datetime-edit-ampm-field {
    display: none;
}
.popup-quiz .popup_quiz_error {
    color: #ffb5b5;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    min-height: 20px;
    margin-top: 14px;
}
.popup-quiz .popup_quiz_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 28px;
}
.popup-quiz .popup_quiz_nav_back,
.popup-quiz .popup_quiz_nav_next {
    display: inline-flex;
    align-items: center;
    gap: 23px;
    border: 0;
    cursor: pointer;
    text-transform: uppercase;
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-size: 25px;
    font-style: normal;
    font-weight: 500;
    line-height: 50px;
}
.popup-quiz .popup_quiz_nav_back {
    border-radius: 6px;
    border: 2px solid var(--linner, #8ED1FC);
    background: transparent;
    padding: 3px 25px 3px 14px;
}
.popup-quiz .popup_quiz_nav_next {
    border-radius: 6px;
    background: var(--linner, linear-gradient(180deg, #A312E6 0%, #55F 100%));
    padding: 3px 31px 3px 19px;
    margin-left: auto;
}
.popup-quiz .popup_quiz_nav_back[disabled] {
    opacity: .45;
    pointer-events: none;
}
.popup-quiz .popup_quiz_nav_svg {
    width: 25px;
    height: 30px;
}
.popup-quiz .popup_quiz_final_note {
    color: #FFF;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 14px;
    opacity: .8;
    margin-top: 35px;
}
.popup-quiz .popup_quiz_step[data-step="1"] .popup_quiz_nav_back {
    display: none;
}
.popup-quiz .popup_quiz_step[data-step="5"] .popup_quiz_nav_next {
    display: none;
}
.popup-quiz .popup.is-success .popup_quiz_title,
.popup-quiz .popup.is-success .popup_quiz_progress,
.popup-quiz .popup.is-success .popup_quiz_content {
    display: none;
}
.popup-quiz .wpcf7-response-output {
    display: none;
}
.popup-quiz .wpcf7-acceptance,
.popup-quiz .wpcf7-acceptance .wpcf7-list-item,
.popup-quiz .wpcf7-acceptance .wpcf7-list-item-label {
    display: none !important;
}

/* ---- Responsive ---- */
@media (max-width: 1700px) {
    .home-hero__button, .home-hero__button2 {
        font-size: 18px;
    }
    .popup-close {
        top: -25px;
    }
    .hero_img_item {
        width: 100%;
    }
    .hero_img_item .home-hero__img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 20px;
        aspect-ratio: 631.325 / 600;
        overflow: hidden;
    }
    .home-hero .benefit__icon {
        min-width: 20px;
    }
    .benefit-list__item {
        padding: 16px 16px 25px;
    }
}
@media (max-width: 1440px) {
    .popup {
        max-width: 70%;
    }
}
@media (max-width: 1250px) {
    .benefit_list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .benefit_list .benefit {
        width: auto;
    }
    .hero_categories {
        display: flex;
        gap: 20px;
        align-items: center;
        margin-bottom: 20px;
    }
    .hero_category {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #fff;
        font-family: "Inter", sans-serif;
        font-size: 22px;
        font-weight: 500;
        line-height: 1.2;
        text-transform: none;
        position: relative;
        padding-bottom: 6px;
    }
    .hero_category__icon {
        font-size: 20px;
        line-height: 1;
    }
    .hero_category::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 2px;
        background: rgba(255,255,255,0.6);
    }
    .home-hero__title {
        font-size: 32px;
        margin-bottom: 25px;
    }
    .home-hero__right {
        width: 50%;
    }
    .home-hero__description {
        color: #FFF;
        font-family: "Inter", sans-serif;
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: 50px;
        margin-bottom: 44px;
    }
    .home-hero__button, .home-hero__button2 {
        padding: 15px 30px;
        line-height: 30px;
        text-transform: uppercase;
    }
}
@media (max-width: 993px) {
    .home-hero__body {
        flex-direction: column;
    }
    .home-hero__right {
        width: 100%;
    }
    .popup_fields {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 25px 86px;
        margin-bottom: 35px;
    }
    .popup {
        margin: 30px auto 0;
    }
}
@media (max-width: 900px) {
    .popup-quiz .popup_quiz_content {
        padding: 28px 24px 36px;
    }
    .popup-quiz .popup_quiz_grid,
    .popup-quiz .popup_quiz_datetime {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .popup-quiz .popup_quiz_question {
        font-size: 21px;
        line-height: 1.4;
    }
    .popup-quiz .popup_quiz_nav_back,
    .popup-quiz .popup_quiz_nav_next {
        width: 100%;
        justify-content: center;
        font-size: 20px;
        line-height: 1.3;
        padding: 10px 14px;
    }
}
@media (max-width: 768px) {
    .popup_fields {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .hero_categories {
        display: grid;
        gap: 20px;
        align-items: center;
        margin-bottom: 20px;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        padding: 10px 25px;
    }
}
@media (max-width: 576px) {
    .home-hero__title {
        text-align: center;
        font-size: 25px;
        font-style: normal;
        font-weight: 400;
        line-height: 35px;
        margin-bottom: 10px;
    }
    .hero_categories {
        margin-bottom: 25px;
    }
    .hero_category {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        position: relative;
        white-space: nowrap;
        flex-wrap: nowrap;
        color: #fff;
        font-family: "Inter", sans-serif;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.2;
        text-transform: none;
        padding-bottom: 6px;
    }
    .hero_category__icon {
        font-size: 14px;
        line-height: 1;
        flex: 0 0 auto;
    }
    .hero_category::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 45%;
        height: 2px;
        background: rgba(255, 255, 255, 0.6);
    }
    .home-hero__description {
        font-size: 17px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        text-align: left;
    }
    .home-hero__description span {
        font-size: 16px;
        line-height: 22px;
        width: 100%;
        text-align: end;
    }
    .home-hero__buttons {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 25px;
        flex-direction: column;
    }
    .home-hero__buttons .home-hero__button {
        width: 100%;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 18px;
        padding: 21px 2px;
    }
    .home-hero__button2 {
        width: 100%;
        padding: 21px 2px;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 20px;
    }
    .hero_img_item .home-hero__img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 20px;
        aspect-ratio: 364 / 250;
        overflow: hidden;
    }
    .hero_img_left {
        position: absolute;
        z-index: -1;
        top: -2px;
        left: -2px;
        width: 97px;
        height: 49px;
        border-radius: 20px 0 0 0;
        border-top: 2px solid var(--linner, #8ED1FC);
        border-left: 2px solid var(--linner, #8ED1FC);
        box-shadow: 0 4px 10px 0 #9B51E0;
    }
    .hero_img_right {
        position: absolute;
        z-index: -1;
        bottom: -2px;
        right: -2px;
        width: 97px;
        height: 49px;
        border-radius: 20px 0 0 0;
        border-top: 2px solid var(--linner, #8ED1FC);
        border-left: 2px solid var(--linner, #8ED1FC);
        box-shadow: 0 4px 10px 0 #9B51E0;
    }
    .hero_img_address {
        bottom: -25px;
    }
    .hero_img_address img {
        width: 125px;
    }
    .benefit_list {
        gap: 16px;
    }
    .benefit_list .benefit-list__item {
        height: 100%;
        padding: 10px;
    }
    .benefit_list .benefit__top {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }
    .benefit__content {
        position: static;
        height: auto;
        gap: 10px;
        justify-content: space-between;
    }
    .benefit_list .benefit__title {
        font-size: 10px;
        font-style: normal;
        font-weight: 400;
        line-height: 15px;
    }
    .benefit_list .benefit__description {
        font-size: 13px;
        font-style: normal;
        font-weight: 400;
        line-height: 15px;
    }
    .home-hero .benefit__icon {
        max-width: 23px;
    }
    .home-hero .benefit__icon svg {
        width: 100%;
        object-fit: cover;
    }
    .popup {
        margin: 111px auto 0;
        max-width: 100%;
    }
    .popup-close {
        top: -70px;
        right: -20px;
    }
    .popup-quiz .popup_quiz_close {
        top: -70px;
        right: -20px;
    }
    .popup-title {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 50px;
        text-transform: uppercase;
        padding: 10px;
    }
    .popup-content {
        margin-top: 0;
        padding: 30px 20px 50px;
    }
    .popup_desc {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 24.3px;
    }
    .popup_input, .popup_select_trigger {
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 18px;
    }
    .popup_label {
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 18px;
        margin-bottom: 9px;
    }
    .popup_select_icon {
        width: 9px;
        height: 9px;
    }
    .popup_checkbox_text {
        font-size: 10px;
    }
    .popup_checkbox_box {
        max-width: 20px;
        height: 20px;
    }
    .popup_checkbox_box svg {
        width: 14px;
    }
    .popup_checkbox {
        margin-top: 20px;
        margin-bottom: 30px;
    }
    .popup_btn button {
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 30px;
        text-transform: uppercase;
        padding: 3px 20px;
        width: 100%;
    }
    .popup_checkbox .wpcf7-form-control-wrap {
        display: none;
    }
    .popup_footer_text {
        font-size: 10px;
        font-style: normal;
        font-weight: 400;
        line-height: 14px;
        margin-top: 45px;
    }
    .service_btn .home-hero__button {
        padding: 20px;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 22px;
        text-transform: uppercase;
    }
    .popup_success_title {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 25px;
        text-transform: uppercase;
    }
    .popup.is-success {
        max-height: unset;
        margin: auto;
    }
    .popup_success {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
        border-radius: 15px;
        background: #D9D9D915;
        margin: 44px 20px;
        text-align: center;
        gap: 0;
    }
    .popup-quiz .popup_quiz_title {
        text-align: left;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 50px;
        text-transform: uppercase;
        padding: 10px;
    }
    .popup-quiz .popup_quiz_question {
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 22px;
    }
    .popup-quiz .popup_quiz_option_text {
        font-size: 14px;
        font-style: normal;
        font-weight: 300;
        line-height: 18px;
    }
    .popup-quiz .popup_quiz_option_box {
        max-width: 20px;
        height: 20px;
    }
    .popup-quiz .popup_quiz_option_box svg {
        width: 26px;
        height: 26px;
        left: 4px;
        bottom: 2px;
    }
    .popup-quiz .popup_quiz_grid, .popup-quiz .popup_quiz_datetime {
        gap: 12px;
    }
    .popup-quiz .popup_quiz_option {
        gap: 12px;
    }
    .popup-quiz .popup_quiz_text_input, .popup-quiz .popup_quiz_datetime_input {
        font-size: 14px;
    }
    .popup-quiz .popup_quiz_nav_back, .popup-quiz .popup_quiz_nav_next {
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 18px;
        text-transform: uppercase;
        padding: 8px 10px;
        gap: 15px;
        width: auto;
    }
    .popup-quiz .popup_quiz_nav_back {
        margin-right: auto;
    }
    .popup-quiz .popup_quiz_nav_next {
        margin-left: auto;
    }
    .popup-quiz .popup_quiz_datetime_label {
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 18px;
    }
}
@media (max-width: 380px) {
    .home-hero__title {
        font-size: 22px;
    }
    .hero_category {
        font-size: 14px;
    }
}

/* ====================================================
   Custom styling for Ask Question popup form
   to match the Order Game popup style
   ==================================================== */
.popup-question form {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 25px 86px !important;
    margin-bottom: 35px !important;
    align-items: end !important;
    max-width: 900px !important;
    width: 100% !important;
    margin: 0 auto !important;
}
.popup-question form > * {
    grid-column: span 2 !important;
    width: 100% !important;
}
.popup-question form > .form__col {
    grid-column: span 1 !important;
}
.popup-question form > .form__col:has(textarea),
.popup-question form > .form__col:has(.form__input-textarea),
.popup-question form > .popup_btn {
    grid-column: span 2 !important;
}
.popup-question .form__col {
    position: relative;
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
.popup-question .form__label {
    position: static !important;
    transform: none !important;
    pointer-events: auto !important;
    color: #FFF !important;
    font-family: "Inter", sans-serif !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 50px !important;
    opacity: 1 !important;
    display: block !important;
    margin-bottom: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    left: 0 !important;
    right: auto !important;
    top: auto !important;
    transition: none !important;
}
.popup-question .wpcf7-not-valid-tip {
    position: static !important;
    color: #ff6a6a !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    margin-top: 8px !important;
    display: block !important;
}
.popup-question .form__input,
.popup-question .form__input-textarea {
    width: 100% !important;
    color: #FFF !important;
    font-family: "Inter", sans-serif !important;
    font-size: 20px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 50px !important;
    border: none !important;
    border-bottom: 1px solid #fff !important;
    background: transparent !important;
    padding: 0 0 12px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: border-color 0.25s ease !important;
}
.popup-question .form__input-textarea {
    height: auto !important;
    min-height: 100px !important;
    resize: vertical !important;
    line-height: 1.5 !important;
}
.popup-question .form__input:focus,
.popup-question .form__input-textarea:focus {
    outline: none !important;
    border-bottom-color: var(--linner, #8ED1FC) !important;
}
.popup-question .form__input::placeholder,
.popup-question .form__input-textarea::placeholder {
    color: #FFF !important;
    opacity: 0.55 !important;
}

.popup-question .form__button-place {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 20px !important;
}
.popup-question .form__button,
.popup-question .wpcf7-submit {
    font-family: "Inter", sans-serif !important;
    font-size: 25px !important;
    padding: 17px 40px !important;
    background: var(--linear-background) !important;
    color: #FFF !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-shadow: none !important;
}
.popup-question .form__button-text {
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #FFF !important;
    color: #FFF !important;
    font-weight: 500 !important;
}

@media (max-width: 993px) {
    .popup-question form {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    .popup-question form > * {
        grid-column: span 1 !important;
    }
    .popup-question form > .form__col {
        grid-column: span 1 !important;
    }
    .popup-question form > .form__col:has(textarea),
    .popup-question form > .form__col:has(.form__input-textarea) {
        grid-column: span 1 !important;
    }
    .popup-question .form__label {
        font-size: 14px !important;
        line-height: 35px !important;
    }
    .popup-question .form__input,
    .popup-question .form__input-textarea {
        font-size: 16px !important;
        line-height: 35px !important;
    }
    .popup-question .form__button,
    .popup-question .wpcf7-submit {
        font-size: 18px !important;
        padding: 12px 30px !important;
        width: 100% !important;
    }
}

