﻿body {
    background-color: var(--background-primary);
}

.row {
    margin: 0;
}

.container {
    padding: 0;
}
.alert-hint
{
    background: var(--background-secondary);
    color: var(--text-secondary);
}

.containImgPoll,
.containImg {
    aspect-ratio: 3 / 2;
    background-color: var(--background-secondary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.containImgPoll {
    aspect-ratio: 3 / 1;
}

.q-box {
    margin-bottom: 8px;
    padding: 13px 16px;
    background-color: var(--background-secondary);
    border-radius: 12px;
    display: flex;
    transition: background-color 0.3s;
    border: 1px solid var(--background-secondary);
}

.q-box-active {
    border: 1px solid var(--background-brand);
}

input[type="radio"],
input[type="checkbox"] {
    display: none;
}

    input[type="radio"] + label,
    input[type="checkbox"] + label {
        cursor: pointer;
        position: relative;
        padding-left: 30px;
    }

    input[type="radio"] + label:before,
    input[type="checkbox"] + label:before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 16px;
        height: 16px;
        border: 2px solid var(--background-brand);
        border-radius: 50%;
        background-color: var(--background-primary);
    }

    input[type="radio"]:checked + label:after,
    input[type="checkbox"]:checked + label:after {
        content: '';
        position: absolute;
        left: 4px;
        top: 50%;
        transform: translateY(-50%);
        background-color: var(--background-brand);
    }

    input[type="radio"]:checked + label:after {
        width: 8px;
        height: 8px;
        border-radius: 50%;
    }

    input[type="checkbox"]:checked + label:before {
        background-color: var(--background-brand);
    }

    input[type="checkbox"]:checked + label:after {
        content: var(--icon-check);
        width: 0;
        height: auto;
        font-size: 1.1em;
        color: var(--text-primary-inverse);
    }

.icon-close {
    font-size: 0px;
    border-radius: 4px;
    background-image: var(--icon-close);
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: center center;
    height: 32px;
    width: 32px;
}

p {
    margin: 0 !important;
}

.progress-bar {
    background-color: var(--background-brand);
}

.progress {
    background-color: var(--background-secondary);
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--background-primary);
    border-radius: 10px;
    font-size: 1.067em;
    color: var(--text-primary);
    background-color: var(--background-primary);
    resize: none;
}

.pollImg {
    height: -webkit-fill-available;
    width: 100%;
    object-fit: contain;
    border-radius: 16px;
}

.containImg {
    aspect-ratio: 7 / 2;
}

.containButton {
    display: flex;
    justify-content: center;
    padding-top: 12px;
    gap: 12px;
}

.btn-blue,
.btn-bluewhite 
{
    margin: 0 !important;
    font-family: system-ui, -apple-system, 'SF-Pro-Bold', Roboto, Ubuntu, 'Helvetica Neue', sans-serif;
    font-weight: 600;
    font-size: 1.133em;
    line-height: 22px;
    letter-spacing: -0.41px;
    word-break: break-word;

    display: flex;
    justify-content: center;
    align-items: center;
}

button 
{
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    width: 100%;
}

.widthBtn 
{
    width: 365px;
    transition-property: top, bottom;
}

.btn-blue 
{
    color: var(--text-primary-inverse);
    background-color: var(--background-brand);
    border-color: var(--background-brand);
    border-radius: 12px;
    padding: 14px 0;
    font-weight: 500;
    font-size: 1em;
    line-height: 20px;
    letter-spacing: -0.5px;
}

    .btn-blue:hover {
        color: var(--text-primary-inverse);
        background-color: var(--background-brand);
        border-color: var(--background-brand);
    }

.btn-bluewhite {
    color: var(--text-brand);
    background-color: var(--background-secondary);
    border-color: var(--background-secondary);
    border-radius: 12px;
    padding: 14px 0;
    font-weight: 500;
    font-size: 1em;
    line-height: 20px;
    letter-spacing: -0.5px;
}

    .btn-bluewhite:hover {
        color: var(--text-brand);
        background-color: var(--background-secondary);
        border-color: var(--background-secondary);
    }

.arrow-left, .arrow-right {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 2px solid;
    border-radius: 2px;
}

.arrow-left {
    transform: rotate(45deg);
    border-color: transparent transparent var(--background-brand) var(--background-brand);
    margin-right: 8px;
}

.arrow-right {
    transform: rotate(45deg);
    border-color: var(--background-brand) var(--background-brand) transparent transparent;
    margin-left: 8px;
}

.btn-one {
    flex: 0 0 50%;
    max-width: 50%;
}

.btn-two {
    flex: 0 0 25%;
    max-width: 25%;
}

.circle {
    width: 100px;
    height: 100px;
    background-color: #3559B51F; /* Light blue background */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.checkmark {
    width: 16px;
    height: 30px;
    border: solid #3559B5;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.checkmark::before {
    content: '';
    display: block;
    width: 10px;
    height: 0;
}

.contentFinish {
    height: 80vh !important;
}
.btnDesk {
    display: block;
}
.btnMobail {
    display:  none;
}

.containButtonMobail {
    position: fixed;
    bottom: 35px;
    width: 100%;
    justify-content: normal;
    padding: 0 16px 0 16px;
}

.header-desc {
    display: flex;
    padding-top: 16px;
}

.header-mobile {
    display: none;
}

.progress-margin {
    margin: 16px 0 16px 0;
}

@media (max-width: 425px) {
    .header-desc {
        display: none;
    }

    .progress-margin {
        margin: 36px 0 16px 0;
    }

    .header-mobile {
        display: flex;
        background: var(--background-primary);
        position: fixed;
        width: 100%;
        z-index: 9999;
        padding: 11px 15px;
    }

    .btnDesk {
        display: none;
    }

    .btnMobail {
        display: block;
    }

    .widthBtn {
        width: 85%;
        position: fixed;
        bottom: 20px;
        word-break: break-word;
    }

    .btn-one {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .btn-two {
        flex: 0 0 30%;
        max-width: 30%;
    }

    .containButton {
        position: fixed;
        bottom: env(safe-area-inset-bottom, 16px);
        left: 0;
        right: 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        z-index: 9999;
    }

    .contentFinish {
        height: 100vh !important;
        padding: 0 15px;
    }

    .containImg {
        aspect-ratio: 3 / 2;
    }
}

/* Только для Safari (iOS) */
@supports (-webkit-touch-callout: none) and (not (hover: hover)) {
    .containButton,
    .containButtonMobail {
        bottom: 70px !important;
    }
}
