/* =====================================================
   PROMBIO — ОБЩИЙ СТИЛЬ ФОРМ
   Класс формы: prombio-form
   ===================================================== */


/* КНОПКА ЗАГРУЗКИ ФАЙЛА */

.prombio-form .t-upwidget-container__button,
.prombio-form .uploadcare--widget__button.uploadcare--widget__button_type_open {
    box-sizing: border-box !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
    color: #0179F2 !important;
    background-color: #F2F2F2 !important;
}

.prombio-form .t-upwidget-container__button:hover,
.prombio-form .uploadcare--widget__button.uploadcare--widget__button_type_open:hover {
    color: #FFFFFF !important;
    background-color: #0080FF !important;
}


/* КНОПКА ОТПРАВИТЬ */

.prombio-form .t-submit {
    position: relative !important;
    font-size: 0 !important;
    color: transparent !important;
}

.prombio-form .t-submit::before {
    content: "ОТПРАВИТЬ";

    position: absolute;
    left: 20px;
    top: 50%;

    transform: translateY(-50%);

    color: #FFFFFF;
    font-family: "Rubik", Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;

    white-space: nowrap;
    pointer-events: none;
}

.prombio-form .t-submit::after {
    content: "";

    position: absolute;
    right: 20px;
    top: 50%;

    width: 10px;
    height: 10px;

    transform: translateY(-50%);

    background:
        linear-gradient(#FFFFFF, #FFFFFF)
        center / 1px 10px no-repeat,
        linear-gradient(#FFFFFF, #FFFFFF)
        center / 10px 1px no-repeat;

    pointer-events: none;
}

/* Всплывающие формы подвала. Прокрутка внутри окна при переполнении. */
.t1093 .t-popup:is([data-popup-rec-ids="rec5188026601"], [data-popup-rec-ids="rec5188071001"], [data-popup-rec-ids="rec5188139501"]) > .t-popup__container {
    max-height: 100vh;
    max-height: 100dvh;
    pointer-events: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: none;
}

.t1093 .t-popup:is([data-popup-rec-ids="rec5188026601"], [data-popup-rec-ids="rec5188071001"], [data-popup-rec-ids="rec5188139501"]) > .t-popup__container .t396__artboard {
    position: relative !important;
    overflow: visible !important;
}

.t1093 .t-popup:is([data-popup-rec-ids="rec5188026601"], [data-popup-rec-ids="rec5188071001"], [data-popup-rec-ids="rec5188139501"]) > .t-popup__container::-webkit-scrollbar {
    display: none;
}

html:has(.t1093 .t-popup:is([data-popup-rec-ids="rec5188026601"], [data-popup-rec-ids="rec5188071001"], [data-popup-rec-ids="rec5188139501"]).t-popup_show),
body:has(.t1093 .t-popup:is([data-popup-rec-ids="rec5188026601"], [data-popup-rec-ids="rec5188071001"], [data-popup-rec-ids="rec5188139501"]).t-popup_show) {
    overflow: hidden !important;
    overscroll-behavior: none;
}


/* «Обсудить задачу»: белая панель принимает прокрутку по всей своей площади. */
.t1093 .t-popup[data-popup-rec-ids="rec5187468101"] {
    overflow: hidden !important;
}

.t1093 .t-popup[data-popup-rec-ids="rec5187468101"] > .t-popup__container {
    overflow: visible !important;
    pointer-events: none;
}

.t1093 .t-popup[data-popup-rec-ids="rec5187468101"] #rec5187468101 .t396__artboard {
    position: relative !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    background-color: #fff;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    pointer-events: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: none;
}

.t1093 .t-popup[data-popup-rec-ids="rec5187468101"] #rec5187468101 .t396__artboard::-webkit-scrollbar {
    display: none;
}

.t1093 .t-popup[data-popup-rec-ids="rec5187468101"] #rec5187468101 .t396__artboard > :is(.t396__carrier, .t396__filter, [data-elem-id="1792084026358000001"]) {
    visibility: hidden;
}

.t1093 .t-popup[data-popup-rec-ids="rec5187468101"] #rec5187468101 .t396__artboard > [data-elem-type="form"] {
    padding-bottom: 20px;
}

@media screen and (min-width: 960px) {
    .t1093 .t-popup[data-popup-rec-ids="rec5187468101"] #rec5187468101 .t396__artboard {
        clip-path: inset(0 0 0 50%);
    }
}

html:has(.t1093 .t-popup[data-popup-rec-ids="rec5187468101"].t-popup_show),
body:has(.t1093 .t-popup[data-popup-rec-ids="rec5187468101"].t-popup_show) {
    overflow: hidden !important;
    overscroll-behavior: none;
}
