/* ============================================================ */
/*                     ГЛОБАЛЬНЫЕ ПЕРЕМЕННЫЕ                    */
/* VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV */

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat.ttf') format('truetype');
}

/* ============================================================ */
/*                     ГЛОБАЛЬНЫЕ СТИЛИЗАЦИЯ                    */
/* VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV */

/* --- Синяя кнопка --- */

.blue_button_cl {
    padding: 10px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 10px;
    background-color: #0071D0;
    font-size: 3vh;
    font-weight: bold;
    color: white;
}

.blue_button_cl:hover {
    cursor: pointer;
}

/* --- Синяя кнопка (Средняя) --- */

.blue_button_medium_cl {
    padding: 7.5px;
    padding-left: 22.5px;
    padding-right: 22.5px;
    border-radius: 7.5px;
    background-color: #0071D0;
    font-size: 2.5vh;
    font-weight: bold;
    color: white;
}

.blue_button_medium_cl:hover {
    cursor: pointer;
}

/* --- Синяя кнопка (маленькая) --- */

.blue_button_mini_cl {
    padding: 5px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 5px;
    background-color: #0071D0;
    font-size: 1.75vh;
    font-weight: bold;
    color: white;
}

.blue_button_mini_cl:hover {
    cursor: pointer;
}

/* --- Серая кнопка --- */

.gray_button_cl {
    padding: 10px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 10px;
    background-color: rgba(128, 128, 128, 0.25);
    font-size: 3vh;
    font-weight: bold;
    color: black;
}

.gray_button_cl:hover {
    cursor: pointer;
}

/* --- Серая кнопка (средняя) --- */

.gray_button_medium_cl {
    padding: 7.5px;
    padding-left: 22.5px;
    padding-right: 22.5px;
    border-radius: 7.5px;
    background-color: rgba(128, 128, 128, 0.25);
    font-size: 2.5vh;
    font-weight: bold;
    color: black;
}

.gray_button_medium_cl:hover {
    cursor: pointer;
}

/* --- Серая кнопка (маленькая) --- */

.gray_button_mini_cl {
    padding: 5px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 5px;
    background-color: rgba(128, 128, 128, 0.25);
    font-size: 2vh;
    font-weight: bold;
    color: black;
}

.gray_button_mini_cl:hover {
    cursor: pointer;
}

/* --- Кнопка с рамкой --- */

.bezel_button_cl {
    padding: 8px;
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 5px;
    border: 2px solid gray;
    font-size: 2.5vh;
    font-weight: bold;
    color: gray;
    transition: 500ms all;
}

.bezel_button_cl:hover {
    cursor: pointer;
    color: black;
    border-color: black;
    background-color: green;
}

/* --- Кнопка с рамкой (средняя) --- */

.bezel_button_medium_cl {
    padding: 7.5px;
    padding-left: 22.5px;
    padding-right: 22.5px;
    border-radius: 7.5px;
    border: 2px solid gray;
    font-size: 2.5vh;
    font-weight: bold;
    color: gray;
    transition: 500ms all;
}

.bezel_button_medium_cl:hover {
    cursor: pointer;
    color: black;
    border-color: black;
    background-color: green;
}

/* Блок со спаренными кнопками */

.keypad_cl {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* --- Блок модального окна --- */

.main_block_regist_cl {
    padding: 30px;
    border-radius: 2vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: 500ms all;
}

/* --- Блок ввода текстов --- */

.input_unit_cl {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
}

.input_unit_cl > span {
    font-size: 2.5vh;
    font-weight: bold;
    color: black;
}

.input_unit_cl > input {
    width: calc(100% - 10px);
    padding: 5px;
    border-radius: 10px;
    border: 2px solid gray;
    font-size: 2.5vh;
    color: black;
}

.input_unit_cl > input:focus {
    outline: none;
}

.input_unit_cl > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    border-radius: 10px;
    border: 2px solid gray;
}

.input_unit_cl > div > input {
    width: 80%;
    font-size: 2.5vh;
    color: black;
    border: none;
}

.input_unit_cl > div > input:focus {
    outline: none;
}

.input_unit_cl > div > div {
    width: 4vh;
    height: 4vh;
    background-image: url(./image/password_hiding.png);
    background-size: cover;
}

.input_unit_cl > div > div:hover {
    cursor: pointer;
}

.input_unit_cl > section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 20px;
}

.input_unit_cl > section > div {
    width: 4vh;
    height: 4vh;
    border: 1px solid black;
    border-radius: 5px;
    background-size: cover;
}

.input_unit_cl > section > div:hover {
    cursor: pointer;
}

.input_unit_cl > section > span {
    font-size: 2.5vh;
    color: black;
}

/* ============================================================ */
/*                      ЛОКАЛЬНАЯ СТИЛИЗАЦИЯ                    */
/* VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV */

body, html {
    width: 100vw;
    height: 100vh;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/* =============== МОДАЛЬНОЕ ОКНО ЗАГРУЗКИ =============== */

#loading_block_id {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    /* z-index: 50000; */
}

#loading_block_id>div{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

#loading_block_id>div>div{
    width: 5vh;
    height: 5vh;
    background-image: url(./image/loading.gif);
    background-size: cover;
}

#loading_block_id>div>span{
    font-size: 4vh;
    font-weight: bold;
    color: white;
}

/* =============== МОДАЛЬНОЕ ОКНО ВЫХОДА ИЗ АККАУНТА =============== */

#output_block_id {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 500ms all;
}

#output_block_id > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 10px;
}

#output_block_id > div > span {
    font-size: 3vh;
    font-weight: bold;
    color: white;
    margin-bottom: 10vh;
    text-align: center;
}

/* ========== ПРОФИЛЬ ПОЛЬЗОВАТЕЛЯ ========== */

.profile_block_main_cl {
    position: fixed;
    top: 0;
    left: -100vw;
    width: calc(25% - 40px);
    height: calc(100vh - 40px);
    padding: 20px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    z-index: 101;
    transition: 1000ms all;
    overflow-y: scroll;
}

.profile_data_cl {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* шапка профиля */

.profile_header_cl {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-self: start;
    gap: 10px;
    padding: 10px;
    background-color: #003B95;
    border-radius: 1vh;
    border-bottom-right-radius: 4vh;
    margin-top: 10px;
    padding-bottom: 25px;
}

.profile_header_cl:hover {
    cursor: pointer;
}

.profile_header_cl>div{
    width: 3vh;
    height: 3vh;
    background-image: url(./image/arrow_left.png);
    background-size: cover;
}

.profile_header_cl>span{
    font-size: 2.5vh;
    font-weight: bold;
    color: white;
}

/* изменение изображения профиля */

.profile_picture_cl {
    width: 30vh;
    height: 30vh;
    border-radius: 50%;
    background-image: url(./image/profile_icon.webp);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile_picture_cl>div{
    width: 100%;
    height: 100%;
    font-size: 10vh;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 0;
    transition: 500ms all;
}

.profile_picture_cl:hover>div{
    opacity: 1;
    cursor: pointer;
}

/* текст ввода профиля */

.profile_input_text_cl {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 10px;
    border-bottom: 2px solid gray;
    padding-bottom: 5px;
}

.profile_input_text_cl>div{
    width: 4vh;
    height: 4vh;
    background-size: cover;
}

.profile_input_text_cl>input{
    border: none;
    font-size: 2.5vh;
    color: gray;
}

.profile_input_text_cl>span {
    font-size: 2.5vh;
    color: gray;
}

.profile_input_text_cl>span:nth-child(1) {
    font-weight: bold;
    color: black;
}

/* статистика пользователя */

.user_statistics_profile_cl {
    width: calc(100% - 20px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
}

.user_statistics_profile_cl>div:nth-child(1) {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user_statistics_profile_cl>div:nth-child(1)>div {
    width: 5vh;
    height: 5vh;
    background-image: url(./profile/star.png);
    background-size: cover;
}

.user_statistics_profile_cl>div:nth-child(1)>span {
    font-size: 2.5vh;
    color: black;
}

.user_statistics_profile_cl>div:nth-child(2) {
    width: 65%;
    padding: 10px;
    border: 2px dashed gray;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    gap: 25px;
}

.user_statistics_profile_cl>div:nth-child(2)>div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user_statistics_profile_cl>div:nth-child(2)>div>div {
    width: 5vh;
    height: 5vh;
    background-image: url(./profile/star.png);
    background-size: cover;
}

.user_statistics_profile_cl>div:nth-child(2)>div>span {
    font-size: 2.5vh;
    color: black;
    text-align: center;
}

.user_statistics_profile_cl>div:nth-child(2)>div>span:nth-child(1) {
    font-size: 2vh;
}

/* =============== МОДАЛЬНОЕ ОКНО ВЫБОРА ЯЗЫКА =============== */

#lan_sel_window_id {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 500ms all;
}

#lan_sel_window_id>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2vh;
    padding: 40px;
    border-radius: 1vh;
    background-color: rgba(0, 0, 0, 0.75);
    margin: 10px;
}

#lan_sel_window_id>div>span {
    font-size: 4vh;
    font-weight: bold;
    color: white;
}

#lan_sel_window_id>div>section{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 20px;
}

#lan_sel_window_id>div>section>div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 20px;
}

#lan_sel_window_id>div>section>div:hover {
    cursor: pointer;
}

#lan_sel_window_id>div>section>div>div{
    width: 4vh;
    height: 4vh;
    border-radius: 50%;
    background-size: cover;
}

#lan_sel_window_id>div>section>div>span{
    font-size: 3vh;
    color: white;
    text-decoration: underline;
}

#cl_modal_lan_win_id {
    position: absolute;
    width: 8vh;
    height: 8vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5vh;
    font-weight: bold;
    color: white;
    border-radius: 50%;
    background-color: black;
    transform: translateX(21vh) translateY(-12vh);
}

#cl_modal_lan_win_id:hover{
    cursor: pointer;
}

/* =============== МОДАЛЬНОЕ ОКНО НАСТРОЙКИ =============== */

#settings_window_id {
    position: fixed;
    top: 0;
    left: -25%;
    width: calc(25% - 40px);
    height: calc(100vh - 40px);
    padding: 20px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    z-index: 101;
    transition: 1000ms all;
    overflow-y: scroll;
}

/* --- Тумблер --- */

.toggle_switch_cl {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5vh;
}

.toggle_switch_cl>span {
    font-size: 2.5vh;
    font-weight: bold;
    color: black;
}

.toggle_switch_cl>div {
    width: 70px;
    height: 30px;
    padding: 5px;
    background-color: rgba(128, 128, 128, 0.25);
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    transition: 500ms all;
}

.toggle_switch_cl>div:hover {
    cursor: pointer;
}

.toggle_switch_cl>div>div {
    width: 20px;
    height: 20px;
    border-radius: 15px;
    background-color: white;
    transition: 500ms all;
    padding: 5px;
}

/* --- показ данных настройки --- */

.dis_of_set_data_cl {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.dis_of_set_data_cl:hover {
    cursor: pointer;
}

.dis_of_set_data_cl>div{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.dis_of_set_data_cl>div>div {
    width: 4vh;
    height: 4vh;
    font-size: 3vh;
    font-weight: bold;
    color: gray;
    border: 2px solid gray;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dis_of_set_data_cl>div>span{
    font-size: 2.5vh;
    font-weight: bold;
    color: black;
}

.dis_of_set_data_cl>span{
    font-size: 3vh;
    font-weight: bold;
    color: black;
}

/* =============== О ПРИЛОЖЕНИИ =============== */

.modal_window_cl {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.modal_window_cl>div{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    margin: 10px;
    border-radius: 2vh;
    background-color: white;
    gap: 25px;
}

.modal_window_cl>div>span:nth-child(1){
    font-size: 3vh;
    font-weight: bold;
    color: black;
}

.modal_window_cl>div>span:nth-child(2){
    font-size: 2.5vh;
    font-weight: bold;
    color: #0071D0;
}

#cl_cur_sel_win_id {
    position: absolute;
    width: 8vh;
    height: 8vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5vh;
    font-weight: bold;
    color: white;
    border-radius: 50%;
    background-color: black;
    transform: translateX(15vh) translateY(-25vh);
}

#cl_cur_sel_win_id:hover{
    cursor: pointer;
}


@media (max-width: 800px) {
    .modal_window_cl>div {
        padding: 20px;
    }
    #cl_cur_sel_win_id {
        transform: translateX(12vh) translateY(-22vh);
    }
}

/* =============== МОДАЛЬНОЕ ОКНО НАСТРОЙКИ =============== */

#payment_methods_id {
    position: fixed;
    top: 0;
    left: -25%;
    width: calc(25% - 40px);
    height: calc(100vh - 40px);
    padding: 20px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    z-index: 101;
    transition: 1000ms all;
    overflow-y: scroll;
}

.pay_met_card_cl {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
    margin-bottom: 4vh;
}

.pay_met_card_cl>span{
    font-size: 2.5vh;
    font-weight: bold;
    color: black;
}

.pay_met_card_cl>section {
    width: 90%;
    padding: 20px;
    border: 1px dashed black;
    border-radius: 3vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    transition: 500ms all;
}

.pay_met_card_cl>section:hover {
    cursor: pointer;
    background-color: rgba(128, 128, 128, 0.25);
}

.pay_met_card_cl>section>div:nth-child(1) {
    width: 8vh;
    height: 8vh;
    background-image: url(./cust_list/card.png);
    background-size: cover;
}

.pay_met_card_cl>section>div:nth-child(2) {
    width: 75%;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.pay_met_card_cl>section>div:nth-child(2)>span:nth-child(1) {
    font-size: 2vh;
    font-weight: bold;
    color: black;
}

.pay_met_card_cl>section>div:nth-child(2)>span:nth-child(2) {
    font-size: 1.75vh;
    color: gray;
}

.pay_met_card_sel_cl {
    width: 90%;
    padding: 10px;
    border: 1px dashed black;
    border-radius: 3vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    transition: 500ms all;
    gap: 20px;
}

.pay_met_card_sel_cl:hover {
    cursor: pointer;
    background-color: rgba(128, 128, 128, 0.25);
}

.pay_met_card_sel_cl>div:nth-child(1) {
    width: 7vh;
    height: 6vh;
    background-image: url(./cust_list/card.png);
    background-size: cover;
}

.pay_met_card_sel_cl>div:nth-child(2) {
    width: 75%;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.pay_met_card_sel_cl>div:nth-child(2)>span {
    font-size: 2vh;
    font-weight: bold;
    color: black;
}

/* =============== ОПЛАТА КАРТОЙ =============== */

#card_add_date_id {
    padding: 40px;
    border-radius: 1vh;
    background-color: #003B95;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#card_add_date_id>input{
    width: calc(100% - 15px);
    height: 5vh;
    border: none;
    border-radius: 5px;
    outline: none;
    padding-left: 15px;
    font-size: 3vh;
    font-weight: bold;
    color: black;
}

#card_add_date_id>div{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

#card_add_date_id>div>input{
    width: 45%;
    height: 5vh;
    border: none;
    border-radius: 5px;
    outline: none;
    padding-left: 15px;
    font-size: 3vh;
    font-weight: bold;
    color: black;
}

/* =============== предыдущие заказы =============== */

#previous_orders_id {
    position: fixed;
    top: 0;
    left: -25%;
    width: calc(25% - 40px);
    height: calc(100vh - 40px);
    padding: 20px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    z-index: 101;
    transition: 1000ms all;
    overflow-y: scroll;
}

.list_previous_orders_cl {
    width: calc(100% - 40px);
    height: 60vh;
    border: 2px solid black;
    border-radius: 1.5vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.list_previous_orders_cl>div{
    width: 100%;
    border: 2px dashed black;
    border-radius: 0.75vh;
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
}

.list_previous_orders_cl>div>div{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 5px;
}

.list_previous_orders_cl>div>div>span:nth-child(1){
    font-size: 1.75vh;
    font-weight: bold;
    color: black;
}

.list_previous_orders_cl>div>div>span:nth-child(2){
    font-size: 1.75vh;
    color: black;
}

/* =============== список оплаты =============== */

#payment_list_id {
    position: fixed;
    top: 0;
    left: -25%;
    width: calc(25% - 40px);
    height: calc(100vh - 40px);
    padding: 20px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    z-index: 101;
    transition: 1000ms all;
    overflow-y: scroll;
}

.list_payment_list_cl {
    width: calc(100% - 40px);
    height: 60vh;
    border: 2px solid black;
    border-radius: 1.5vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.list_payment_list_cl>section {
    width: 100%;
    padding: 10px;
    border: 2px solid green;
    border-radius: 2vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.list_payment_list_cl>section>div:nth-child(1){
    width: calc(100% - 10px);
    border: 1px dashed green;
    border-radius: 1vh;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 5px;
    gap: 5px;
}

.list_payment_list_cl>section>div:nth-child(1)>div{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 5px;
}

.list_payment_list_cl>section>div:nth-child(1)>div>span:nth-child(1){
    font-size: 1.75vh;
    font-weight: bold;
    color: black;
}

.list_payment_list_cl>section>div:nth-child(1)>div>span:nth-child(2){
    font-size: 1.75vh;
    color: black;
}

.list_payment_list_cl>section>div:nth-child(2) {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.list_payment_list_cl>section>div:nth-child(2)>div{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.list_payment_list_cl>section>div:nth-child(2)>div>span{
    font-size: 1.75vh;
    font-weight: bold;
    color: green;
}

/* =============== список отзывов =============== */

#list_of_reviews_id {
    position: fixed;
    top: 0;
    left: -25%;
    width: calc(25% - 40px);
    height: calc(100vh - 40px);
    padding: 20px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    z-index: 101;
    transition: 1000ms all;
    overflow-y: scroll;
}

.list_of_reviews_cl {
    width: calc(100% - 10px);
    height: 60vh;
    /* border: 2px solid black;
    border-radius: 1.5vh; */
    padding: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.list_of_reviews_cl>section{
    width: calc(100% - 20px);
    padding: 10px;
    border: 2px solid black;
    border-radius: 1vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.list_of_reviews_cl>section>div:nth-child(1){
    width: 22.5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.list_of_reviews_cl>section>div:nth-child(1)>div:nth-child(1){
    width: 50px;
    height: 50px;
    background-image: url(./testimonial_images/ban.png);
    background-size: cover;
}
.list_of_reviews_cl>section>div:nth-child(1)>span:nth-child(2){
    font-size: 2vh;
    font-weight: bold;
    color: green;
}

.list_of_reviews_cl>section>div:nth-child(1)>div:nth-child(3){
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    font-size: 1.75vh;
    color: #003B95;
}

.list_of_reviews_cl>section>div:nth-child(2){
    width: 77.5%;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
}

.list_of_reviews_cl>section>div:nth-child(2)>div{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.list_of_reviews_cl>section>div:nth-child(2)>div>span:nth-child(1){
    font-size: 2vh;
    font-weight: bold;
    color: black;
}

.list_of_reviews_cl>section>div:nth-child(2)>div>span:nth-child(2){
    font-size: 2vh;
    font-weight: bold;
    color: #003B95;
}

.list_of_reviews_cl>section>div:nth-child(2)>span{
    font-size: 2vh;
    color: black;
}

/* Описание заказа */

.order_description_cl {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid gray;
}

.order_description_cl > span {
    font-size: 2.5vh;
    font-weight: bold;
    color: gray;
}

.order_description_cl > div {
    width: calc(95% - 20px);
    height: 250px;
    border-radius: 2vh;
    border: 2px dashed gray;
    padding: 10px;
}

.order_description_cl > section {
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 2px solid #0071D0;
}

.order_description_cl > section:hover {
    cursor: pointer;
}

.order_description_cl > section > div {
    width: 30px;
    height: 30px;
    background-image: url(./order_processing/message.png);
    background-size: cover;
}

.order_description_cl > section > span {
    font-size: 3vh;
    color: #0071D0;
    text-decoration: underline;
}

/* =============== РАБОТА С КЛИЕНТАМИ И ВОДИТЕЛЯМИ =============== */

/* УСПЕШНАЯ ДОСТАВКА ГРУЗА */

#successful_delivery_id {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    transition: 300ms all;
}

#successful_delivery_id>div{
    padding: 20px;
    border-radius: 2vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background-color: white;
    margin: 10px;
}

#successful_delivery_id>div>div {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-image: url(./order_processing/final.png);
    background-size: cover;
}

#successful_delivery_id>div>span{
    font-size: 2.5vh;
    font-weight: bold;
    color: #003B95;
}

.final_data_cl{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 2px dashed #003B95;
    border-radius: 1vh;
}

.final_data_cl>:nth-child(1) {
    width: 80px;
    height: 80px;
    border: 2px solid #003B95;
    border-radius: 50%;
    background-image: url(./image/profile_icon.webp);
    background-size: cover;
    background-position: 50% 50%;
}

.final_data_cl>:nth-child(2) {
    font-size: 2.5vh;
    font-weight: bold;
    color: black;
}

.final_data_cl>:nth-child(3) {
    font-size: 2.25vh;
    font-weight: bold;
    color: gray;
}

.final_data_cl>:nth-child(4) {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.final_data_cl>:nth-child(4)>div{
    width: 30px;
    height: 30px;
    background-image: url(./profile/gray_star.png);
    background-size: cover;
}

.final_data_cl>:nth-child(4)>div:hover {
    cursor: pointer;
}

/* =============== ПОЛЗУНОК УПРАВЛЕНИЯ КАРТОЙ =============== */

#control_slider_id {
    position: absolute;
    top: 50vh;
    right: 25px;
    width: 50px;
    height: 175px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    z-index: 199;
}

#control_slider_id>:nth-child(1) {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: white;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 70%;
}

#control_slider_id>:nth-child(1):hover {
    cursor: pointer;
}

#control_slider_id>:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
    border-radius: 10px;
    background-color: white;
}

#control_slider_id>:nth-child(2)>div{
    width: 40px;
    height: 40px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 70%;
}

#control_slider_id>:nth-child(2)>div:hover{
    cursor: pointer;
}

#control_slider_id>:nth-child(2)>:nth-child(1){
    border-bottom: 2px solid rgba(128, 128, 128, 0.25);
}

/* =============== ВАШИ ЗАКАЗЫ =============== */

#your_orders_id {
    display: none;
}

#your_orders_block_id {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 202;
}

#your_orders_block_id>div{
    padding: 20px;
    margin: 10px;
    border-radius: 2vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

#your_orders_block_id>div>span{
    font-size: 2.5vh;
    font-weight: bold;
    color: black;
}

#your_orders_block_id>div>section{
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    overflow-y: scroll;
}

.your_orders_card_cl {
    width: 35vw;
    padding: 15px;
    border: 1px dashed #0071D0;
    border-radius: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.your_orders_card_cl>div:nth-child(1) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.your_orders_card_cl>div:nth-child(1)>div{
    width: 60px;
    height: 60px;
    background-image: url(./image/profile_icon.webp);
    background-size: cover;
    background-position: 50% 50%;
    border-radius: 50%;
}

.your_orders_card_cl>div:nth-child(1)>span{
    font-size: 2vh;
    color: black;
}

.your_orders_card_cl>div:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
}

.your_orders_card_cl>div:nth-child(2)>span{
    font-size: 2vh;
    font-weight: bold;
    color: black;
}

/* =============== ОТМЕНИТЬ ЗАКАЗ =============== */

#cancel_order_id {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 300ms all;
    z-index: 204;
}

#cancel_order_id>div{
    padding: 20px;
    margin: 10px;
    border-radius: 2vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

#cancel_order_id>div>span{
    font-size: 2.5vh;
    font-weight: bold;
    color: black;
}

#cancel_order_id>div>textarea{
    width: 30vw;
    height: 15vh;
    padding: 10px;
    border: 2px solid gray;
    border-radius: 1vh;
    font-size: 2.5vh;
    font-weight: bold;
    color: black;
    margin-top: 15px;
    margin-bottom: 15px;
}

#cancel_order_id>div>select{
    width: 30vw;
    padding: 10px;
    border: 2px solid gray;
    border-radius: 1vh;
    font-size: 2.5vh;
    font-weight: bold;
    color: black;
    margin-top: 15px;
    margin-bottom: 15px
}

/* =============== СИСТЕМА ПЕРЕПИСОК =============== */

#corre_system_id {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 300ms all;
    z-index: 102;
}

#corre_system_id > div {
    padding: 20px;
    margin: 10px;
    border-radius: 2vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    gap: 15px;
}

#corre_system_id > div > span {
    font-size: 3vh;
    font-weight: bold;
    color: gray;
}

#corre_system_id > div > section:nth-child(2) {
    width: 30vw;
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    overflow-y: scroll;
}

#corre_system_id > div > section:nth-child(3) {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

#message_input_id {
    width: calc(100% - 20px);
    padding: 10px;
    border: 2px solid gray;
    border-radius: 15px;
    outline: hidden;
    font-size: 2.5vh;
    color: black;
}

/* мое сообщение */

.your_message_cl {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: start;
    gap: 10px;
}

.your_message_cl>div:nth-child(1){
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-image: url(./image/profile_icon.webp);
    background-size: cover;
    background-position: 50% 50%;
}

.your_message_cl>div:nth-child(2){
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
}

.your_message_cl>div:nth-child(2)>span:nth-child(1) {
    font-size: 2.5vh;
    color: black;
}

.your_message_cl>div:nth-child(2)>span:nth-child(2) {
    font-size: 1.75vh;
    color: blue;
}

/* его сообщение */

.his_message_cl {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: end;
    gap: 10px;
}

.his_message_cl>div:nth-child(2){
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-image: url(./image/profile_icon.webp);
    background-size: cover;
    background-position: 50% 50%;
}

.his_message_cl>div:nth-child(1){
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 5px;
}

.his_message_cl>div:nth-child(1)>span:nth-child(1) {
    font-size: 2.5vh;
    color: black;
}

.his_message_cl>div:nth-child(1)>span:nth-child(2) {
    font-size: 1.75vh;
    color: #0071D0;
}

#message_indicator_id {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: red;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 2vh;
    color: black;
    transform: translateY(30px) translateX(20px);
}

/* ============================================= */
/*           АДАПТИВНАЯ ВЕРСТКА (800px)          */
/* VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV */

@media (max-width: 800px) {
    .main_block_regist_cl {
        padding: 10px;
        margin: 10px;
    }

    .your_orders_card_cl {
        width: 75vw;
    }

    .modal_window_cl>div {
        padding: 10px;
    }

    #card_add_date_id {
        padding: 10px;
    }

    #control_slider_id {
        height: 130px;
        right: 10px;
        top: 40vh;
    }

    #control_slider_id>:nth-child(1) {
        width: 40px;
        height: 40px;
    }

    #control_slider_id>:nth-child(2)>div{
        width: 30px;
        height: 30px;
    }

    #previous_orders_id {
        width: 90vw;
        z-index: 202;
        left: -100%;
    }

    #payment_methods_id {
        width: 90vw;
        z-index: 202;
        left: -100%;
    }

    .modal_window_cl {
        z-index: 203;
    }

    #settings_window_id {
        width: 90vw;
        z-index: 202;
        left: -100%;
    }

    #lan_sel_window_id {
        z-index: 203;  
    }

    #payment_list_id {
        width: 90vw;
        z-index: 202;
        left: -100%;
    }

    #my_cars_button_id {
        display: none;
    }

    #profile_block_main_id {
        width: 90vw;
        z-index: 202;
        left: -100%;
    }

    #list_of_reviews_id {
        width: 90vw;
        z-index: 203;
        left: -100%;
    }

    #output_block_id {
        z-index: 203;
    }

    #corre_system_id {
        z-index: 203;
    }

    #corre_system_id > div > section:nth-child(2) {
        width: 80vw;
    }

    #cancel_order_id>div>textarea{
        width: 70vw;
    }

    #cancel_order_id>div>select{
        width: 80vw;
    }

    #successful_delivery_id {
        z-index: 203;
    }

    

}