

/* Start:/bitrix/components/etrn/form/templates/.default/style.css?1767019391947*/
.modal-form-order .nbs-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.form-content {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
}

.modal-form-order form {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
}

.form-heading {
    display: flex;
    justify-content: space-between;
}

.title-form-product {
    font-size: 25px;
    font-weight: 600;
}

.close-icon {
    position: absolute;
    top: -25px;
    right: -5px;
    font-size: 35px;
    cursor: pointer;
}

#product-selected {
    font-weight: 400;
}

.blackout.active {
    z-index: 9999;
    display: flex;
}

.captcha-modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 99999; align-items: center; justify-content: center;
}
/* End */


/* Start:/bitrix/components/etrn/form/templates/order/style.css?17670955793133*/
.modal-form-order .nbs-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.form-content {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
}

.modal-form-order form {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
}

.form-heading {
    display: flex;
    justify-content: space-between;
}

.title-form-product {
    font-size: 25px;
    font-weight: 600;
}

.close-icon {
    position: absolute;
    top: -25px;
    right: -5px;
    font-size: 35px;
    cursor: pointer;
}

#product-selected {
    font-weight: 400;
}

.blackout.active {
    z-index: 9999;
    display: flex;
}

.captcha-modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 99999; align-items: center; justify-content: center;
}

/* Скрываем стандартный стрелочный индикатор */
.custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 0.5em 2.5em 0.5em 0.5em; /* оставляем место для стрелки справа */
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
}

/* Контейнер с position: relative для псевдоэлемента стрелки */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

/* Кастомная стрелка справа */
.custom-select-wrapper::after {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 50%;
    right: 1em;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333; /* цвет стрелки */
    transform: translateY(-50%);
}

/* Адаптация формы на мобильных */
@media (max-width: 768px) {
    #tariff-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .form-heading {
        background: white;
        padding: 0 16px;
        border-bottom: 1px solid #eee;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .close-icon.js-close-modal {
        font-size: 24px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .form-content {
        padding: 20px 16px 80px;
    }

    /* Поля формы */
    input, select {
        width: 100%;
        height: 48px;
        font-size: 16px;
        padding: 0 12px;
        box-sizing: border-box;
    }

    .title-form-product {
        font-size: 22px;
    }
}

/* Фикс для iOS */
@supports (-webkit-touch-callout: none) {
    #tariff-modal {
        height: -webkit-fill-available;
    }
}
/* End */
/* /bitrix/components/etrn/form/templates/.default/style.css?1767019391947 */
/* /bitrix/components/etrn/form/templates/order/style.css?17670955793133 */
