.zindex {

    z-index: 9999;
}

.maintext {
    text-shadow: 1px 1px 2px black, 0 0 1em #F5E8C2;
}

@media (max-width: 768px) {
    #rec804951696.uc-anketa-popup .t-popup {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: auto !important;
        height: 50vh !important;
        width: 100% !important;
        max-height: 50vh !important;
        transform: none !important;
        animation: none !important;
        background: #ffffff !important;
        box-shadow: 0 -8px 30px rgba(0,0,0,0.15) !important;
        transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        overflow: hidden !important;
        z-index: 9999 !important;
        pointer-events: auto !important;
    }

    #rec804951696.uc-anketa-popup .t-popup__container {
        height: 100% !important;
        max-height: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        background: transparent !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    #rec804951696.uc-anketa-popup .t702__wrapper {
        height: 100% !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 20px 20px 20px !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        display: flex !important;
        flex-direction: column !important;
    }

    #rec804951696.uc-anketa-popup .t-popup__bg {
        display: none !important;
    }

    #rec804951696.uc-anketa-popup .t-popup__close {
        position: sticky;
        top: 0 !important;
        right: 0 !important;
        z-index: 100 !important;
        float: right !important;
        background: transparent !important;
        padding: 5px !important;
        margin: 10px !important;
        width: 20px !important;
        height: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #rec804951696.uc-anketa-popup .t-popup__close-icon g {
        fill: #3a2b24 !important;
    }

    #rec804951696.uc-anketa-popup .t-popup__container::before {
        content: '';
        display: block;
        width: 60px;
        height: 5px;
        position: absolute;
        top: 10px;
        left: 50%;
        z-index: 50;
    }

    #rec804951696.uc-anketa-popup .t-popup__container::after {
        content: '';
        display: block;
        text-align: center;
        font-size: 12px;
        color: #999;
        position: absolute;
        top: 22px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 50;
        background: transparent;
        padding: 0 10px;
        white-space: nowrap;
        opacity: 0.7;
        pointer-events: none;
    }

    #rec804951696.uc-anketa-popup.active .t-popup {
        height: 95vh !important;
        max-height: 95vh !important;
        border-radius: 0 !important;
    }

    #rec804951696.uc-anketa-popup.active .t-popup__container::after {
        content: '';
        opacity: 0.5;
        font-size: 11px;
    }

    #rec804951696.uc-anketa-popup .t-input {
        font-size: 16px !important;
    }

    #rec804951696.uc-anketa-popup .t-input-group {
        margin-bottom: 20px !important;
    }

    #rec804951696.uc-anketa-popup .t-input-title {
        font-size: 15px !important;
        margin-bottom: 10px !important;
    }

    #rec804951696.uc-anketa-popup .t-radio__item {
        padding: 8px 0 !important;
    }

    #rec804951696.uc-anketa-popup .t-form__submit {
        position: sticky !important;
        bottom: 0 !important;
        background: #ffffff !important;
        padding: 15px 0 5px !important;
        margin-top: 10px !important;
        z-index: 10 !important;
        border-top: 1px solid #f0ece8 !important;
    }

    #rec804951696.uc-anketa-popup .t-submit {
        width: 100% !important;
        justify-content: center !important;
    }
}

@media (max-width: 560px) {
    #rec804951696.uc-anketa-popup .t-popup__container {
        width: 100% !important;
    }
    
    #rec804951696.uc-anketa-popup .t702__wrapper {
        padding: 20px 20px 100px !important;
    }
}