/* ============================================= */
/*                   ПЕРЕМЕННЫЕ                  */
/* VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV */



/* ============================================= */
/*                ОБЩАЯ СТИЛИЗАЦИЯ               */
/* VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV */

._1_registration_cl {
    width: 100vw;
    height: 100vh;
    background-image: url(./image/fon.png);
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

/* ========== Блок входа и регистрации ========== */

.main_blue_text_reg_cl {
    width: 100%;
    font-size: 3.5vh;
    font-weight: bold;
    color: rgb(12, 96, 241);
    text-align: center;
}

.register_button_cl {
    font-size: 2.5vh;
    color: rgb(12, 96, 241);
    margin-top: 2vh;
    margin-bottom: 2vh;
}

.register_button_cl:hover {
    cursor: pointer;
}

/* ========== Ввод пароли для входа или регистрации ========== */

#code_entry_lock_id {
    display: none;
}

.password_input_box_cl {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.password_input_box_cl > span:nth-child(1) {
    font-size: 2.5vh;
    color: rgb(12, 96, 241);
    margin-top: 2vh;
    margin-bottom: 2vh;
}

.password_input_box_cl > section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.password_input_box_cl > section > input {
    width: 5.25vh;
    height: 8vh;
    padding-left: 2.75vh;
    border: 2px solid black;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5vh;
    font-weight: bold;
    color: black;
}

.password_input_box_cl > span:nth-child(3), .password_input_box_cl > span:nth-child(4) {
    font-size: 2.5vh;
    color: gray;
}

.password_input_box_cl > span:nth-child(5) {
    font-size: 3vh;
    font-weight: bold;
    color: red;
}

/* ========== Выбор типа аккаунта ========== */

#account_type_selection_cl {
    display: none;
}

.account_selection_box_cl {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}

.account_selection_box_cl>span{
    font-size: 2.5vh;
    font-weight: bold;
    color: black;
}

.account_selection_box_cl>div{
    width: calc(100% - 20px);
    padding: 10px;
    /* padding-left: 20px;
    padding-right: 20px; */
    border-radius: 10px;
    background-color: gray;
    transition: 500ms all;
    text-align: center;
}

.account_selection_box_cl>div:hover {
    cursor: pointer;
    background-color: #0071D0;
}

/* ========== Регистрация ========== */

#registration_unit_id {
    display: none;
}

/* ========== Ввод данных водителя ========== */

#driver_data_entry_id {
    display: none;
}

/* ========== Ввод данных организации ========== */

#entry_of_organ_data_id {
    display: none;
}

.country_selection_box_cl {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.country_selection_box_cl>span {
    font-size: 2.5vh;
    font-weight: bold;
    color: black;
}

.country_selection_box_cl>div{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.dividing_line_cl {
    width: 100%;
    height: 1px;
    border-bottom: 2px solid gray;
    margin-top: 3vh;
    margin-bottom: 3vh;
}

.agreement_block_cl {
    width: 20vw;
    padding: 20px;
    height: 50vh;
    overflow-y: scroll;
}

/* ========== Соглашение ========== */

#agreement_block_id {
    width: 50vw;
    display: none;
}

.agreement_text_cl {
    height: 50vh;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.agreement_text_cl>span:nth-child(1){
    font-size: 3.5vh;
    font-weight: bold;
    color: black;
}

.agreement_text_cl>span:nth-child(2){
    font-size: 2vh;
    color: black;
}

/* --- текст ощибки --- */

#regis_unit_warring_text_id {
    font-size: 2.5vh;
    color: red;
}


/* ============================================= */
/*           АДАПТИВНАЯ ВЕРСТКА (800px)          */
/* VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV */

@media (max-width: 800px) {
    ._0_start_cl {
        background-image: url(./image/fon_mob.png);
    }

    .password_input_box_cl>span:nth-child(1) {
        text-align: center;
    }

    .password_input_box_cl>section>input {
        width: 5vh;
        height: 8.5vh;
    }

    #agreement_block_id {
        width: 85vw;
        margin: 10px;
    }
}