/* Поиск */

.searchScreen {
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    position: absolute;
    transition: all .5s;
    opacity: 0;
    z-index: 999;
}

.searchInput {
    display: flex;
    align-items: center;
    width: 600px;
    height: 360px;
    background: #0e1219;
    border-radius: 26px;
    padding: 40px 120px 60px;
    position: relative;
    transition: .5s all;
    gap: 20px
}

.sInput {
    position: relative;
    width: 300px;
    text-align: center;
    padding: 2px;
    line-height: 2.5;
    border-radius: 6px;
    border: 0;
    font-family: inherit;
    font-size: 20px;
}

.goSearch {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all .3s;
}

.goSearch:hover {
    transform: scale(.9);
}

.goSearch img {
    width: 40px;
}

.clsSearch {
    right: 40px;
    top: 40px;
}





/* Записаться */
.callbackScreen {
    display: none;
    opacity: 0;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
    position: absolute;
    transition: all .5s;
    z-index: 999;
}

.callInput {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 800px;
    height: 640px;
    padding: 40px 120px 60px;
    border-radius: 26px;
    background: #0e1219;
    transition: .5s all;
    opacity: 1;
}

.cLogo {
    width: 200px;
    margin-bottom: 30px;
    position: absolute;
    top: 160px;
    transition: .3s all;
}

.callInput h1 {
    font-size: 28px;
    font-weight: 400;
    margin: 54px 0 16px 0;
    text-align: center;
}

.callInput p {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    color: gray;
    margin-bottom: 8px;
}

/* Экраны */
.callScreen {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: .3s all;
}

.secondScreen {
    display: flex;
    flex-direction: column;
    align-items: center;
    display: none;
    opacity: 0;
}

/* Кнопка "Отправить" */
.callButton {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 210px;
    height: 50px;
    margin: 10px 0 10px 0;
    border-radius: 24px;
    background: linear-gradient(45deg, #3cfd47, #2aff9b);
    font-size: 20px;
    font-weight: 500;
    color: black;
    transition: .3s all;
    user-select: none;
    cursor: pointer;
}

.callButton:hover {
    scale: .9;
}

/* TextBox */
.cInputBox {
    display: flex;
    gap: 14px;
}

.cInput {
    width: 300px;
    padding: 2px;
    border: 0;
    border-radius: 6px;
    font-family: inherit;
    font-weight: 600;
    text-align: center;
    line-height: 2.5;
}

/* Радио кнопки */
.radioBox {
    display: flex;
    margin-bottom: 16px;
}

.radioBox input[type=radio] {
    display: none;
}

.radioBox label {
    cursor: pointer;
    padding: 8px 12px;
    border: 1px solid #999;
    border-right: none;
    user-select: none;
    transition: .3s all;
}

.radioBox label:first-of-type {
    border-radius: 6px 0 0 6px;
}

.radioBox label:last-of-type {
    border-radius: 0 6px 6px 0;
    border-right: 1px solid #999;
}

.radioBox input[type=radio]:checked+label {
    background: var(--main-color);
    color: black;
    font-weight: 500;
}

.radioBox label:hover {
    color: var(--main-color);
}

/* Кнопка "Закрыть" */
.clsCall {
    right: 40px;
    top: 40px;
}

/* CheckBox */
.checkboxContainer {
    display: flex;
    align-items: center;
    user-select: none;
    margin: 10px 0 10px 0;
}

.checkbox {
    width: 30px;
    height: 30px;
    border: 2px solid gray;
    border-radius: 5px;
    margin-right: 10px;
    position: relative;
    transition: background-color 0.3s, border-color 0.3s;
    cursor: pointer;
}

.checkbox.checked {
    background-color: #3cfd47;
    border-color: #3cfd47;
}

.checkbox.checked::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 2px;
    width: 6px;
    height: 16px;
    border: solid #0e1219;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.chkLabel {
    font-size: 16px;
}

@media (max-width: 767px) {

    /* Поиск */
    .searchInput {
        width: 100%;
        height: 100%;
        padding: 14px;
        flex-direction: column;
        justify-content: center;
        border-radius: 0;
    }


    /* Обратная связь */
    .callbackScreen {
        height: unset;
    }

    .callInput {
        width: unset;
        height: unset;
        padding: 0;
        min-height: 100vh;
        border-radius: 0;
    }

    .secondScreen {
        padding: 60px 10px 10px 10px;
    }

    .cLogo {
        display: none;
    }

    .callInput h1 {
        font-size: 20px;
    }

    .callInput p {
        text-align: center;
    }

    .cInputBox {
        flex-direction: column;
    }

    .radioBox {
        width: 240px;
        flex-direction: column;
    }

    .radioBox label {
        border: 1px solid #999 !important;
        border-radius: 0px !important;
        text-align: center;
    }

    .checkboxContainer {
        flex-direction: column;
    }

    .chkLabel {
        text-align: center;
    }
}