:root {
    --left-bar-width: 58px;
    --hover-color: #555; 
    --red-hover: #D86962;
    --h1-fg-color:#1B364A;
}

/* html {
    overflow-x: hidden; 
} */

body {
    margin: 0;
    overflow-x: hidden;
}

.container {
    display: flex;
    width: 100%;
    height: 100%;
}

/* меню */

.left-bar {
    height: 100vh;
    width: var(--left-bar-width);
    background-color: #f5f4f2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 2px solid rgba(0,0,0,0.05);
    border-bottom: none;
    border-top: none;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    position: fixed;
    transition: width 0.3s ease; 
    z-index: 1000;
    transition: 0.5s;

}


.bar-inside {
    padding: 5px;
}

.top-section {
    padding-top: 20px;
}

.bottom-section {
    margin-top: auto;
    padding-bottom: 20px;
}


.left-bar > .bar-inside > .icon {
    padding: 10px;
    margin-top: 7px;
}

.page-icon {
    display: flex;
    align-items: center;
    padding: 10px;
    margin: 5px 0;
    color: transparent; 
    transition: background-color 0s ease, color 0.3s ease, width 0.3s ease;
    border-radius: 5px;
    position: relative; 
    /* width: 150px;  */
}

.icon-reports{
    margin-top: 50px;
}

.page-icon img{
    margin-right: 10px;
}

.page-icon span {
    display: block; 
    position: absolute;
    left: 50px; 
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    color: black;
    transition: opacity 0.3s ease, left 0.3s ease; 
    font-family: 'Fira Sans' !important;
    font-weight: 300 !important;
    opacity: 0;
    pointer-events: none;
    font-size: 14px;
}

.menu-visible {
    opacity: 1;
    left: 50px;
}

.left-bar:not(:hover) .page-icon span {
    opacity: 0;
    left: 0;
}

.left-bar:hover .page-icon span {
    opacity: 1;
    left: 50px;
    pointer-events: auto;
    transition: opacity 1.5s ease, left 0.5s ease;
}

.icons-autos{
    margin-top: 50px;
}

.menu-span-personal-a, .menu-span-personal-v{
    margin-top: 30px;
}

.menu-span-personal-b, .menu-span-personal-p{
    margin-top: 60px;
}

.menu-span-report-city{
    margin-top: 130px;
}

.map-span{
    margin-top: 110px;
}

.menu-span-report-a{
    margin-top: 25px;
}

.menu-span-report-b{
    margin-top: 30px;
}
.menu-span-report-z{
    margin-top: 55px;
}

.menu-span-report-d{
    margin-top: 80px;
}

.menu-span-report-e{
    margin-top: 105px;
}

.add{
    font-size: 14px;
    color: gray !important;
}

.add:hover{
    color: var(--red-hover) !important;
}

.menu-span:hover{
    color: var(--red-hover);
}

.menu-span-personal-title, .menu-span-disable{
    pointer-events: none;
    cursor: default; 
}


.logout > button {
    border: none;
    background-color: RGBA(0,0,0,0);
}

.logout:hover {
    width: 150px;
}

.icon {
    display: flex;
    align-items: center;
    padding: 10px;
    margin: 5px 0;
}

.icon img {
    margin-right: 10px;
}

/*Конец меню */

.main {
    width: calc(100% - var(--left-bar-width));
    height: 100%;
    background-color: var(--body-bg-color);
    padding-left: calc(15px + var(--left-bar-width));
    display: flex;
    flex-direction: column;
}

.main > .header > h1 {
    padding-bottom: 10px;
    padding-top: 20px;
}

.main > .header > .range {
    width: 138px;
    height: 36px;
    align-content: center;
    text-align: center;
    border-radius: 41px;
    background-color: #DEDEDE;
    padding: 0px 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    border: none;
    cursor: pointer;
}

.second-header{
    width: calc(100% - var(--left-bar-width));
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    padding-top: 20px;
}

.right-second-header{
    display: flex;
    align-items: center;
    width: 200px;
    justify-content: space-evenly;
}

.logo-container-right{
    display: flex;
    align-items: center;
    background-color: #DEDEDE;
    padding: 5px;
    border-radius: 8px;
}

.logo-container-text{
    font-size: 12px;
    color: #1B364A;
    margin: 0;
    line-height:12px;
    margin-right: 10px;
}

.logo-container-text span{
    font-size: 10px;
    color: #83899F;
}

.main > .header > .range > input {
    width: 70px;
    height: 20px;
    font-family: 'Fira Sans', 'Arial', 'Helvetica', sans-serif;
    font-size:   calc(var(--default-font-size) - 2px);
    color: #676E85;
    padding: 0px 0px 0px 5px;
    border: none;
    background-color: #DEDEDE;
    text-align: center;
    cursor: pointer;
}

.main > .header > .range > .clear-datetimes {
    background-color: rgba(0,0,0,0.0);
    border: none;
}

.main > .main-container {
    width: 100%;
    height: auto;
    padding: 14px 0px 0px 0px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
}

.main > .index-container{
    flex-wrap: wrap;
}

.index-range{
    font-size: 15px;
}

/* .header-drivers{
    padding-top: 20px;
} */

table.dataTable thead>tr>th.dt-orderable-asc span.dt-column-order:before, table.dataTable thead>tr>th.dt-ordering-asc span.dt-column-order:before, table.dataTable thead>tr>td.dt-orderable-asc span.dt-column-order:before, table.dataTable thead>tr>td.dt-ordering-asc span.dt-column-order:before {
    position: absolute;
    display: block;
    bottom: 50%;
    content: "↑";
    content: "↑" / "";
    opacity: 1;
    color: #1B364A;
}

table.dataTable thead>tr>th.dt-orderable-desc span.dt-column-order:after, table.dataTable thead>tr>th.dt-ordering-desc span.dt-column-order:after, table.dataTable thead>tr>td.dt-orderable-desc span.dt-column-order:after, table.dataTable thead>tr>td.dt-ordering-desc span.dt-column-order:after {
    position: absolute;
    display: block;
    top: 50%;
    content: "↓";
    content: "↓" / "";
    opacity: 1;
    color: #1B364A;
}

.autos-header{
    display: flex;
    flex-direction: row;
    align-items: center;
    box-sizing: border-box;
    width: calc(100% - var(--left-bar-width));
    justify-content: space-between;
    padding-bottom: 10px;
    padding-top: 20px;
}

.plus-img{
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin-left: 25px;
}


.dt-scroll-body{
    border-bottom: none;
}

.div.dt-container.dt-empty-footer .dt-scroll-body{
    border-bottom: none;
}

table.dataTable>tbody>tr{
    cursor: pointer;
    transition: 0.5s;
    background-color: white;
}

table.dataTable tbody tr:hover{
    background-color: var(--body-bg-color);
}


.display > tbody > tr{
    font-size: 18px;
    color: #1B364A;
    font-family: 'Fira Sans';
    font-weight: 400;
    border: none;
    height: 50px;
}

.main > .main-container > .main-card {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    background-color: var(--section-bg-color);
    border-radius: 10px;
    margin: 10px 10px 10px 0;
    padding: 23px;
}

.main > .main-container > .main-card > .card-name {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.main > .main-container > .main-card > .card-name > a {
    text-decoration-line: none;
}
.main > .main-container > .main-card > .card-name > a > h1 {
    margin: 0px;
}

.main > .main-container > .orders-graphic > .card-name > a {
    text-decoration-line: none;
}
.main > .main-container > .orders-graphic > .card-name > a > h1 {
    margin: 0px;
}


.main > .main-container > .main-card{
    /* width: 100%;
    height: 100%; */
    width: 515px;
    height: 425px;
    display: flex;
    flex-direction: column;
}

.card-body{
    width: 100%;
    height: 30%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.main > .main-container > .main-card > .card-body > .left,.right {
    width: 48%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.main > .main-container > .orders-graphic > .card-body-graphic > .left,.right {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}


.main > .main-container > .main-card > .card-body > .left > #auto-online,#dohod-total {
    padding-top: 28px;
}

.main > .main-container > .main-card > .card-body > .left > #auto-online,#orders-total {
    padding-top: 28px;
}

.main > .main-container > .main-card > .card-body > .left > #auto-online,#dohod-total > span {
    font-size: 36px;
    color: var(--h1-fg-color);
}

.main > .main-container > .main-card > .card-body > .left > #auto-online,#orders-total > span {
    font-size: 36px;
    color: var(--h1-fg-color);
}

.main > .main-container > .main-card > .card-body > .left > #auto-online > #auto-online-value {
    font-size: 36px;
    color: var(--h1-fg-color);
}

.main > .main-container > .main-card > .card-body > .left > #dohod-total > #dohod-total-value {
    font-size: 36px;
    color: var(--h1-fg-color);
}



.main > .main-container > .main-card > .card-body > .left > .descr{
    padding: 17px 0px; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.main > .main-container > .main-card > .card-body > .left > .descr >.value{
    display: flex;
    align-items: center;
    flex-direction: row;
    width: 100%;
}

.main > .main-container > .main-card > .card-body > .left > .descr >.value > img {
    padding-right: 8px;
}

#orders-total-value{
    color: #676E85;
}


#es-chart {
    width: 100%; 
    height: 100%;
    margin-top: 25px;
}


/* Суммпа по поездкам */

.main > .main-container > .main-card > .card-body-sum > .left > #dohod-total > #dohod-total-value {
    font-size: 36px;
    color: var(--h1-fg-color);
}
.main-card.gmh {
    display: flex;
    flex-direction: column; 
    overflow: hidden;
    height: 100%;
}
  
.card-body-sum {
    display: flex;
    flex-direction: column; 
    max-height: 100px;
}
  
.left.top-sum {
    width: 100%; 
    margin-bottom: 10px; 
}
  
.midle-con-sum {
    display: flex; 
    justify-content: space-between; 
    width: 100%; 
    height: 100%;
    margin-bottom: 10px; 
}
 
.nal-sum, .beznal-sum {
    width: 32%; 
    text-align: left;
    background-color: #F5F6F8;
    padding-left: 11px;
    box-sizing: border-box;
}
  
.sum-bottom {
    width: 100%;
    height: 100%;
    flex-grow: 1;
}
  
.sum-bottom #es-chart2 {
    width: 100%; 
    height: 250px;
}

.dohod-nal, .dohod-beznal, .dohod-corp, .tax-money {
    color: black;
    padding-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
}

.chart-h1{
    font-size: 13px;
    margin-bottom: 0px;
}

.tax-money span{
    font-size: 13px;
}

#dohod-nal-value, #dohod-beznal-value, #dohod-corp-value{
    font-size: 13px;
}

/* Конец*/

/* Доход таксопарка */


.tax-box{
    width: 32%; 
    text-align: center;
    background-color: #F5F6F8;
    text-align: left;
    padding-left: 11px;
    box-sizing: border-box;
}




/* Конец */


/* График заказы */

.orders-graphic{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background-color: var(--section-bg-color);
    border-radius: 10px;
    margin: 10px 10px 10px 0;
    padding: 23px;
    width: 515px;
    height: 425px;
}

.card-name{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

.card-body-graphic{
    flex-direction: column;
}

.title-grapfic{
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grapfic-links{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #676E85;
}
/* График способ оплаты */

.payment-con-wrapper{
    width: 80%;
    padding-top: 20px;
}

.pay-text-wrap{
    display: flex;
    align-items: center;
    font-size: 14px;
}

.pay-text-wrap p{
    padding-left: 4px;
}

/* График тарифы */

.tarif-mid{
    width: 90%;
}


/* Профиль компании */

.profile-main{
    justify-content: space-between;
}


.card-profile-header h1{
    font-size: 40px;
}

.card-profile-header h3{
    font-size: 18px;
    color: #1B364A;
    position: relative;
    margin: 0;
    margin-top: 3px;
    margin-bottom: 3px;
}

.card-profile-header p{
    font-size: 18px;
    color: #676E85;
    margin-top: 3px;
    margin-bottom: 3px;
}

#balance-index{
    color: black;
    font-weight: 900;
}





.balance-with-button {
    display: flex;
    align-items: center;
    margin: 10px 0;
    gap: 20px;
    min-width: 250px;
    max-width: 350px;
}

.popolnenie-finans {
    background-color: #68B934;
    width: 120px;
    border-radius: 8px;
    vertical-align: middle;
    cursor: pointer;
    height: 25px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
}

.popolnenie-finans:hover {
    background-color: #5aa32c;
}

.popolnenie-finans p {
    color: white;
    font-size: 14px;
    line-height: 25px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Fira Sans';
}

.plus-balance {
    display: inline-block;
    width: 16px;
    height: 16px;
    text-align: center;
    line-height: 16px;
    color: white;
    font-size: 16px;
    font-weight: bold;
}



.sidebar-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100%;
    background-color: #f9f9f9;
    box-shadow: -2px 0px 5px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1001;
    display: none;
}

.sidebar-menu.open {
    transform: translateX(0);
    display: block;
}

.sidebar-content {
    padding: 20px;
    height: 100%;
    box-sizing: border-box;
    position: relative;
}

.sidebar-amount {
    height: 100%;
}

.sidebar-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 95%;
}

.sidebar-content h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #1B364A;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #9E9B98;
}
#amount {
    width: 100%;
    padding: 8px 8px 8px 0px;
    border: none;
    border-radius: 4px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-bottom: 1px solid #E5E4E2;
    font-size: 16px;
    font-family: 'Fira Sans';
}

#amount:focus {
    border-bottom: 1px solid #2977B5;
}

#amount::-webkit-outer-spin-button,
#amount::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.payment-button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #2977B5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Fira Sans';
    font-size: 16px;
}

.payment-button:hover {
    background-color: #1c5a8a;
}

.button-container-balance {
    margin-top: auto;
}

.close-button-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    line-height: 1;
    height: 20px;
    position: absolute;
    top: 25px;
    right: 25px;
}

.close-button-modal:hover {
    color: #333;
}

.overlay, .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 54, 74, 0);
    opacity: 0;
    z-index: 999;
    display: none;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.overlay.active-overlay, .sidebar-overlay.active-overlay {
    background-color: rgba(27, 54, 74, 0.5);
    opacity: 1;
    display: block;
    pointer-events: auto;
}











.profile-icon-copy img{
    position: absolute;
    left: 150px;
    top: 0px;
    cursor: pointer;
    z-index: 10;
}

.card-profile-bottom p{
    font-size: 14px;
    font-weight: 400;
}


/* Индикатор загрузки */
.loader {
    border: 16px solid #f3f3f3; 
    border-top: 16px solid #3498db; 
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

/* Исполнитель */

.page-driver-container{
    display: flex;
    width: 99%;
    flex-direction: column;
    /* overflow: auto; */
    overflow-x: hidden;
}

.title-driver-container{
    padding-top: 15px;
    padding-bottom: 30px;
}

.skobka{
    padding: 10px;
}

#title-name{
    font-weight: 100;
    font-size: 26px;
}

.header-driver, .main-container-driver{
    flex-grow: 1;
}

.header-driver{
    background-color: white;
    border-radius: 15px 15px 15px 0;
    padding-top: 25px;
}

#pozivnoi-value, #status-value, #balance-value, #raiting-value, #city-value{
    font-size: 18px;
    color: var(--h1-fg-color);
}

#balance-value{
    color: #68B934;
    white-space: nowrap;
}

.driver-header-content-top{
    width: 100%;
    display: flex;
    flex-direction: row;
}

.driver-header-second-top{
    padding-left: 20px;
}

.driver-header-content-top h1{
    font-size: 18px;
    color: black;
    opacity: 0.7;
    margin-top: 10px;
    margin-bottom: 0px;
}

.driver-header-content-bottom {
    display: flex;
    justify-content: flex-start;
    padding: 20px 0;
    width: 100%;
    height: 100%;
    background-color: white;
    padding-left: 30px;
}

.driver-statistic-container, .income-statistic-container{
    background-color: #DEDEDE;
    padding: 10px 3px;
    border-radius: 8px;
}

.driver-header-link, .income-header-link{
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    color: #83899F;
    padding: 7px 20px;
    border-radius: 7px;
    cursor: pointer;
}

.header-link-indent{
    padding-left: 30px;
}

.statistic-link-right{
    padding-left: 35px;
}

.driver-header-link.active-link {
    border-bottom-color: #007bff; 
    color: var(--h1-fg-color);
}

.income-header-link.active-income{
    border-bottom-color: #007bff; 
    background-color: white;
    color: var(--h1-fg-color);
}

.active-link{
    background-color: white;
    color: #1B364A;
}

.tab-content {
    display: none; 
    width: 100%; 
}

.tab-content .active {
    display: block;  /*пока делаю блок*/
}
/* 
.date-range-orders > input{
    background-color: red;
} */

.date-filter-orders{
    display: flex;
    align-items: center;
}


#date-range-orders, #date-range-balance, #date-range-otkaz, #date-range-zarabotok, #date-range-statistic, #date-range-income, #date-range-order-report,#date-range-city{
    width: 148px;
    /* width: 250px; */
    height: 36px;
    align-content: center;
    text-align: center;
    border-radius: 41px;
    background-color: #DEDEDE;
    padding: 0px 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    border: none;
    cursor: pointer;
}

#date-range-statistic, #date-range-order-report,#date-range-city{
    margin-left: 18px;
    height: 40px;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
}

#date-range-statistic{
    width: 196px;
    box-sizing: border-box;
}

#date-range-statistic input{
    color: #1B364A;
}

#date-range-statistic img{
    display: none;
}

#date-range-order-report img{
    display: none;
}

.calendar-img-statistic{
    display: none;
}


.type-zakaz{
    padding-left: 15px;
}

#datetimes-orders, #datetimes-balance, #datetimes-otkaz, #datetimes-zarabotok, #datetimes-statistic, #datetimes-income, #datetimes-order-report{
    width: 70px;
    height: 20px;
    font-family: 'Fira Sans';
    font-size:   calc(var(--default-font-size) - 3px);
    color: #676E85;
    padding: 0px 0px 0px 5px;
    border: none;
    background-color: #DEDEDE;
    text-align: center;
    cursor: pointer;
}

#datetimes-statistic, #datetimes-order-report{
    font-size: 14px;
    width: 80%;
    background-color: white;
}

#date-range-zarabotok{
    width: 300px;
    height: 36px;
    align-content: center;
    text-align: center;
    border-radius: 41px;
    background-color: #F5F6F8;
    padding: 0px 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    border: none;
}

#datetimes-zarabotok{
    width: 100%;
    height: 20px;
    font-family: 'Fira Sans', 'Arial', 'Helvetica', sans-serif;
    font-size: 16px;
    color: #1B364A;
    padding: 0px 0px 0px 5px;
    border: none;
    background-color: #F5F6F8;
    text-align: center;
}




.clear-datetimes{
    background-color: rgba(0,0,0,0.0);
    border: none;
}

.pozivnoi-rarius{
    border-radius: 15px 0 0 15px;
}

.driver-header-content-top .city-radius{
    border-radius: 0 15px 15px 0;
    width: 64%;
}

.header-city-content{
    display: flex;
    flex-direction: column;
}

.driver-header-top{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background:#F5F6F8;
    border-right: 2px solid #D8D7D5;
    padding: 0px 15px 5px 15px;
}

.pozivnoi{
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 5px;
}

.negative-balance{
    color: #DD7C76;
    cursor: pointer;
    font-size: 26px;
    font-weight: 500;
}

.positive-balance{
    color: #68B934;
    cursor: pointer;
    font-size: 26px;
}

.driver-score{
    color: #68B934;
    font-size: 18px;
}


.main-container-driver{
    width: 100%;
    /* height: 86vh; */
    /* display: flex; */
    position: relative;
    background-color: white;
    box-shadow: 0px -3px 0px #F5F6F8;
    overflow: hidden;
}

#tab-driver{
    display: flex;
    flex-direction: column;
    height: 60vh;
    margin-left: 0px;
    overflow: auto;
}

.main-info-driver{
    display: flex;
    flex-direction: row;
}

.driver-title{
    padding-left: 30px;
    font-size: 18px;
    font-weight: 500;
}
.details-section-left{
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}

.details-section-right{
    width: 25%;
    margin-left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}


.form-group{
    margin-left: 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    height: 35px;
}

.form_group_block {
    width: 64%;
    display: flex;
    gap: 10px;

    .select2-container  {
        flex: 1;
    }
}

.form-group input{
    background-color:#F5F6F8;
    width: 64%;
    border-radius: 8px;
    color: black;
    box-sizing: border-box;
    font-size: 14px;
    padding: 5px 8px;
    border: none;
    font-family: 'Fira Sans';
    font-weight: 400;
    box-sizing: border-box;
}

#edit-registration, #edit-blocked, #deleted{
    width: 20px;
    height: 20px;
}

label{
    font-size: calc(var(--default-font-size) + 2px);
    color: black;
    font-weight: 500;
    font-size: 16px;
}

#edit-vehicle-type, #edit-payrule-type, #detail-vu{
    border: none;
    height: 32px;
    padding: 8px;
    box-sizing: border-box;
    width: 56.5%;

}
#edit-sbp-phone{
    border: none;
    height: 32px;
    padding: 8px;
    box-sizing: border-box;
    width: 56.5%;

}
#edit-sbp-bank{
 border: none;
    height: 32px;
    padding: 8px;
    box-sizing: border-box;
    width: 64%;
}

.form-group input[type='date'] {
    height: 32px;
}

#edit-block-reason{
    width: 56.5%;
    height: 32px;
    padding: 8px;
}

.driver-button-save{
    width: 162px;
    height: 34px;
    border-radius: 8px;
    transition: 1s;
    margin-top: 20px;
    padding: 8px;
    border: none;
    background-color: #2977B5;
    color: white;
    font-family: 'Fira Sans';
    font-weight: 400;
    font-size: 16px;
    cursor: pointer;
    margin-left: 15px;
}

.wrapper-button-save-driver{
    border-top: 2px solid #F5F6F8;
    padding: 30px 0;
    width: 100%;
    clear: both;
}

.driver-button-save:hover{
    border: none;
    background-color: #D86962;
    color: white;
}

.form-group textarea{
    width: 64%;
    resize: none;
    border-radius: 8px;
    color: black;
    border: none;
    background-color: #F5F6F8;
    padding: 8px;
    height: 32px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: 'Fira Sans';
    font-weight: 400;
    overflow: auto;
}

.form-group select{
    border-radius: 8px;
    color: black;
    background-color: #F5F6F8;
    font-family: 'Fira Sans';
    font-weight: 400;
    font-size: 14px;
}

.group-character{
    margin-left: 15px;
    border-top: 2px solid #F5F6F8;
    margin-top: 30px;
    margin-bottom: 15px;
}

.form-group-character{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 15px;
    justify-content: flex-start;
    justify-content: space-between;
}

.select2-container {
    width: 200px; 
}

.feature-select{
    /* border-radius: 15px; */
    color: black;
    background-color: white;
    border: none;
    height: 22px;
    font-family: 'Fira Sans';
    font-weight: 400;
    font-size: 12px;
}

.feature-select option{
    font-size: 12px;
    font-family: 'Fira Sans';
    font-weight: 400;
}

.selected-features {
    display: flex;
    flex-wrap: wrap;
}

.selected-feature {
    background-color: white;
    color: black;
    padding:0 3px;
    height: 22px;
    border-radius: 4px;
    border: none;
    margin-right: 10px;
    margin-bottom: 5px;
    cursor: pointer;
    font-family: 'Fira Sans';
    font-weight: 400;
    font-size: 12px;
}

.characteristic-row {
    display: flex;
    align-items: center; 
    margin-bottom: 5px;
}

.characteristic-label{
    font-size: 18px;
    margin: 20px 0;
    font-weight: 500;
}

.avto-fixed{
    margin: 20px 0;
    font-size: 18px;
    font-weight: 500;
}

#edit-characteristics {
    display:inline-flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    align-content: stretch;
    /* margin-left: 65px; */
    padding: 5px;
    background-color: #F5F6F8;
    width: fit-content;
    max-width: 574px;
    border-radius: 8px;
}

.characteristic-item {
    background-color: #f2f2f2;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    margin-right: 10px; 
    cursor: pointer;
    flex-shrink: 0; 
}

.checkbox-container {
    display: flex;
    align-items: center;
}















/* Стили для блока автомобилей с новым layout */
.card-body-autos {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.autos-top-section {
    width: 100%;
    margin-bottom: 10px;
}

#auto-online {
    margin-bottom: 15px;
    margin-top: 15px;
    text-align: left;
}

#auto-online span {
    font-size: 48px;
    color: #1B364A;
    font-weight: 600;
}

#auto-online span:last-child {
    font-size: 18px;
    color: #676E85;
    margin-left: 5px;
}

/* Средняя секция: статусы слева + график справа */
.autos-middle-section {
     display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 15px;
    gap: 15px;
    height: 130px;
}

/* Статусы в столбец слева */
.auto-states-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Выравнивание текста по верху */
    height: 100%;
}

.auto-states-list {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start; /* Текст начинается сверху */
      gap: 4px !important;
}

.value {
   display: flex;
    align-items: center; /* Выравнивание иконки и текста по центру по вертикали */
    gap: 8px;
    margin: 0;
    padding: 0;
    min-height: 20px; /* Минимальная высота для ровного выравнивания */
}

.value img {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.value div {
    font-family: 'Fira Sans';
    font-size: 14px;
    color: #83899F;
    white-space: nowrap;
}

.value div span {
    font-weight: 500;
}

/* График статусов справа */
.autos-status-chart-container {
      width: 45%;
    height: 200px !important;
    margin-bottom: -30px; 
}
#autos-status-chart {
    height: 180px !important;
    margin: 0 !important;
}
#autos-status-chart canvas {
    height: 180px !important;
    margin: 0 !important;
}

.autos-status-chart-container canvas {
    width: 100% !important;
    height: 100px !important;
}

/* Стили для нижней части с графиком */
.autos-bottom-section {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
      margin-top: auto; 
      margin-bottom: 20px;
    flex-grow: 0;
    height: 180px;
}

.autos-weekly-chart-container {
    width: 100%;
    height: 180px;
    background-color: #FFFFFF;
    border-radius: 8px;
    /*padding: 10px;*/
    box-sizing: border-box;
    position: relative;
}

/*.autos-weekly-chart-container canvas {
    width: 100% !important;
    height: 120px !important;
}*/

.autos-chart-title {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    color: #1B364A;
    font-family: 'Fira Sans', sans-serif;
}

.main > .main-container > .main-card.autos {
    width: 515px;
    height: 425px;
    display: flex;
    flex-direction: column;
}


.main-card.autos .card-name {
    justify-content: flex-start !important;
}

.main-card.autos .card-name h1 {
    margin-right: auto;
    text-align: left;
}

/* Убедитесь, что граффик ссылки не мешает */
.main-card.autos .grapfic-links {
    margin-left: auto;
}


/* Стили только для объединенного блока профиля с доходом */
.profile-with-income {
  height: 425px;
  display: flex;
  flex-direction: column;
}

.income-inside-profile {
  margin-top: 8px;
  flex-grow: 1;
  padding-top: 6px;
}

/* Шапка дохода */
.income-header-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.income-title-compact {
  display: flex;
  align-items: center;
  gap: 4px;
}

.income-title-text {
  font-size: 24px;
  font-weight: 500;
  color: #1B364A;
}

.income-report-link {
  font-size: 14px;
  color: #676E85;
  text-decoration: none;
  display: flex;
  align-items: center; /* Выравнивание по центру по вертикали */
  gap: 2px;
  line-height: 1;
}

.report-arrow {
  width: 16px;
  height: 16px;
  vertical-align: middle; /* Выравнивание по вертикали с текстом */
}

/* Основной контент дохода */
.income-content-compact {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.income-total-compact {
  margin-bottom: 4px;
  margin-top: 6px;
}

.income-total-amount {
  font-size: 32px;
  font-weight: 400;
  color: #1B364A;
}

/* Статистика в ОДНУ СТРОКУ - названия и цифры в линию */
.income-stats-inline {
   display: flex;
  justify-content: flex-start; /* Выравнивание по левому краю */
  align-items: center;
  margin-bottom: 8px;
  padding: 0;
  gap: 16px;
}

.stat-inline {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1; 
  justify-content: left; 
  text-align: center;
}

.stat-name {
  font-size: 12px;
  color: #1B364A;
  white-space: nowrap;
  font-weight: 500;
  font-family: 'Fira Sans';
}

.stat-value {
  font-size: 12px;
  font-weight: 500;
  color: #1B364A;
  white-space: nowrap;
}

/* График */
.income-chart-compact {
  flex-grow: 1;
  min-height: 150px;
}

.income-chart-compact canvas {
  width: 100% !important;
  height: 150px !important;
}


















input[type="checkbox"] {
    accent-color: #D86962; 
    border-radius: 5px;   
    appearance: none;      
    width: 16px;          
    height: 16px;         
    border: 1px solid #ccc;
    cursor: pointer;     
    position: relative; 
}

input[type="checkbox"]:checked {
    border: 1px solid #D86962; 
    background-color: #D86962;
}

input[type="checkbox"]:checked::before {
    content: '\f00c'; 
    font-family: "Font Awesome 6 Free";
    font-weight: 900; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;  
    color: white; 
}


.characteristic-item.selected {
    background-color: #a0d0ff; 
    border-color: #80bfff;
}

.characteristic-item:hover {
    background-color: #e0e0e0;  
}

.close-icon {
    margin-left: 5px;
    color: black;
    font-size: 16px;
    cursor: pointer;
}

#edit-characteristics label {
    font-size: 14px; 
}

.checkbox-label {
    display: inline-block;
    width: 100%;
    margin-bottom: 5px;
    text-align: right;
}


.auto-th td{
    color: #4488BE;
}
/*Модалка*/

.modal-overlay {
    display: none; 
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 10; 
}
  
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 60%;
    height: 600px;
    max-width: 580px;
    border-radius: 10px;
}

.modal-content h2{
    font-size: 18px;
    font-weight: 600;
    color: #1B364A;
}

.modal-content h3{
    font-size: 16px;
    color: #1B364A;
    margin-top: 35px;
    margin-bottom: 8px;
}

.modal-content label{
    color: #1B364A;
}

.payrule-container-wrapper{
    border-bottom: 2px solid #E8EBEF;
}

.arenda-auto-wrap{

}


.modal-input-name{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 60px;
}

.modal-input-name input{
    background-color: #E3E3E3;
    width: 100%;
}

.checkbox-delete-modal{
    margin-top: 15px;
    display: flex;
    align-items: center;
}

.checkbox-delete-modal label{
    font-size: 16px;
}

.modal-smeny-title{
    margin-top: 15px;
}

.payrule-container-wrapper{
    display: flex;
    width: 100%;
}

.modal-input-wrapper{
    display: flex;
    flex-direction: column;
    height: 60px;
    width: 50%;
    position: relative;
}

.stoimost-pad{
    margin-top: 7px;
}

.modal-input-wrapper input{
    width: 50%;
    background-color: #F5F6F8;
    font-family: 'Fira Sans', sans-serif;
    color: #1B364A;
    outline: none;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    height: 34px;           
    padding-top: 16px;           
    padding-left: 9px;
    padding-bottom: 4px;        
    box-sizing: border-box;
}

.modal-stoimost{
    margin-top: 35px;
}

.modal-input-wrapper label{
    color: #1B364A;
    position: absolute;
    font-size: 10px;
    color: #83899F;
    top: 0px;
    left: 9px;
}

#arenda-hours-label{
    top: 9px;
    left: 14px;
}

#arenda_hours{
    margin-top: 8px;
    width: 50%;
    background-color: #F5F6F8;
    color: #83899F;
    outline: none;
    border: none;
    border-radius: 8px;
    height: 34px;           
    padding-top: 16px;           
    padding-left: 9px;
    padding-bottom: 4px;        
    box-sizing: border-box;
    font-family: 'Fira Sans', sans-serif;
}

.modal-input-button{
    margin-top: 25px;
    padding: 18px 0px;
    display: flex;
}

.modal-button-payrule{
    flex-grow: 1;
    background-color: #DEDEDE;
    padding: 9px 0;
    color: #1B364A;
    border: none;
    outline: none;
    margin: 0 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.5s;
}

#save, #saveInsert{
    background-color: #2977B5;
    color: white;
    transition: 0.5s;
}

#save:hover{
    background-color: #68B934;
}

#cancel:hover{
    background-color: black;
    color: white;
}

.leaflet-right{
    visibility: hidden;
}

#delete:hover{
    background-color: black;
    color: white;
}

#car-modal-select{
    height: 300px;
}
  
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
  
.modal-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0;
}
  
.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}
  
.modal-body {
    margin-bottom: 15px;
    height: 300px;
}
  
.modal-footer {
    display: flex;
    justify-content: flex-end;
}

#bound-cars-table tbody tr {
    cursor: pointer;
}

.add-selected-cars, .remove-car{
    width: 80px;
    height: 25px;
    border-radius: 10px;
    background-color: #2977B5;
    color: white;
    border: none;
    transition: 0.5s;
}

.add-car-button{
    border-radius: 10px;
    border: none;
    transition: 0.5s;
    background-color: #2977B5;
    color: white;
    height: 25px;
}

.add-selected-cars:hover, .remove-car:hover,.add-car-button:hover, #submitPayment:hover{
    background-color: #D86962;
    color: white;
}

.cell-order{
    padding: 10px;
    text-align: center;
}

.auto-td{
    color: #4488BE;
}

.from-td{
    color: #4488BE;
    text-decoration: underline;
}

.earning-report {
    float: left;
    width: 20%; 
    margin-right: 20px; 
    border: 1px solid #C9CBD5;
}
  
  .earning-charts {
    float: left; 
    width: 50%; 
}

/* Модалка выплаты */

.modal-cash {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    z-index: 10000;
    right: 0;
    top: 0;
    width: 350px; 
    height: 100%; 
    /* overflow: auto;  */
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
  
.modal-content-cash {
    background-color: #fefefe;
    margin: 0; 
    padding: 20px;
    /* border: 1px solid #888; */
    width: 100%;
    height: 100vh;
    right: 0; 
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box; 
    padding-right: 10px;
    overflow-y: auto;

}

.modal-content-cash h2{
    color: #1B364A;
    font-size: 24px;
}

.modal-content-cash p strong{
    color: #676E85;
    font-weight: 300;
    font-size: 16px;
}
  
.close-cash {
    color: #1B364A;
    float: right;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 40px;
}

#modalDriverName, #group-oplata{
    background-color: #DEDEDE;
    display: block;
    height: 40px;
    width: 96%;
    line-height: 40px;
    padding-left: 10px;
    border-radius: 8px;
    color: #1B364A;
    outline: none;
    border: none;
    font-size: 16px;
    font-family: 'Fira Sans', sans-serif;
}

#group-oplata{
    width: 100%;
}

#modalBalance{
    color: #68B934;
    font-size: 16px;
}

#modalProfileName, #modalProfileAuto{
    color: #2977B5;
    font-size: 16px;
}

.toggle-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
  margin-top: 25px;
}

.toggle-text{
    margin: 0;
    color: #676E85;
    font-weight: 500;
    font-family: 'Fira Sans', sans-serif;
    font-size: 16px;
}

.oplata-text, .modal-content-cash p strong {
    color: #676E85;
    font-size: 16px;
    font-weight: 500;
}


.toggle-buttons-wrapper{
    background-color: #DEDEDE;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    border-radius: 7px;
    padding-left: 3px;
    padding-right: 3px;
}

.toggle-button {
  flex: 1;
  padding: 6px 12px;
  background-color: #DEDEDE;
  cursor: default;
  font-weight: 500;
  border-radius: 4px;
  border: none;
  color: #1B364A;
}

.toggle-button.active-driver {
  background-color:white;
  color: #1B364A;
  border-radius: 7px;
}

#select2-modalSelectDriver-container{
    background-color: #DEDEDE;
    height: 40px;
    color: #1B364A;
    border: none;
    font-size: 16px;
    font-family: 'Fira Sans', sans-serif;
    line-height: 40px;
    border-radius: 8px;
}

#paymentDirection, #paymentGroup{
    margin: 5px 0;
}

#summa, #comment-cash{
    background-color: #DEDEDE;
    margin: 10px 0;
    color: #83899F;
    box-sizing: border-box;
}

#summa{
    width: 100%;
    border: 2px solid #E3E3E3;
    height: 40px;
    background-color: white;
}

#comment-cash{
    height: 80px;
    width: 100%;
    border-radius: 8px;
    border-radius: 4px;
    border: none;
    outline: none;
    padding-left: 5px;
    font-size: 16px;
    resize: none;
    font-family: 'Fira Sans', sans-serif;
}

.toggle-buttons-bottom{
    position: relative;
    bottom: 50px;
}

.modal-cash-buttons-bottom{
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.modal-cash-buttons-bottom button{
    flex-basis: 154px;
    height: 36px;
    border: none;
    outline: none;
    border-radius: 10px;
    background-color: #DEDEDE;
}

#submitPayment{
    margin-left: 6px;
    background-color: #2977B5;
    color: white;
}

/* Карта */

.map-container{
    display: flex;
    width: 96%;
    padding-left: 58px;
    /* overflow-x: hidden; */
}

.map-left-container {
    display: flex;
    flex-direction: column;
    width: 22%; 
    box-sizing: border-box;
    padding: 10px;
    background-color: #F5F4F2;
    height: 100vh;
    overflow-y: auto;
}

.map-title{
    font-family: 'Fira Sans';
    font-weight: 400;
}

.right-map-container{
    width: 78%;
    background-color: gray;
    height: 100%;
}

.left-cell-container-row {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.left-cell-container{
    background-color: #E8EBEF;
    border-radius: 20px;
    width: 45%;
    display: flex;
    flex-direction: column;
    padding: 10px 10px;
    position: relative;
    font-family: 'Fira Sans';
    font-weight: 400;
}

.indicator-container {
    position: absolute;
    top: 10px;
    right: 12px;
    padding: 5px; 
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    box-sizing: border-box;
}

.indicator.orange { 
    border: 4px solid orange;
 }

.indicator.red { 
    border: 4px solid red; 
}

.indicator.limegreen { 
    border: 4px solid limegreen;
}


#vod-online{
    margin-bottom: 10px;
    font-family: 'Fira Sans';
    font-weight: 400;
}

.left-cell span{
    font-size: 1.5rem;
}

.space-cell{
    margin-left: 20px;
}

.left-cell-container h1{
    font-size: 1rem;
}

#driver-search{
    background-color: #E8EBEF;
    border: none;
    border-radius: 10px;
    padding: 10px;
    position: relative;
}


.driver-list-container {
    height: calc(100%-20px); 
    overflow-y: auto; 
}

#driver-list{
    padding-inline-start: 0px;
    /* height: 100%; */
}

#driver-list li{
    list-style-type: none;
    display: flex;
    flex-direction: column;
    margin: 5px 0;
    padding: 15px;
    padding-right: 20px;
    background-color: white;
    border-radius: 10px;
    position: relative;
    /* max-height: 56px; */
    transition: all 0.3s ease-in-out;
    font-family: 'Fira Sans';
    font-weight: 400;   
}

li span{
    cursor: default;
}

.span-map-driver{
    cursor: pointer;
}

.driver-list-container li.active-li {
    max-height: 90px; 
    padding-bottom: 5px;
}

/* .driver-list-container li:hover .driver-arrow {
    transform: rotate(180deg);
} */

#driver-list img{
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    margin-left: 10px;
}

.driver-list-container li {
    position: relative;
    padding-right: 25px; 
}

.driver-dropdown {
    position: absolute;
    bottom: 15px;
    left: 50%;
    cursor: pointer;
}

.driver-orders-button {
    display: none;
    margin-top: 5px;
    margin-bottom: 5px; 
    /* padding: 5px 10px; */
    border: none;
    background-color: #f0f0f0;
    color: #333;
    cursor: pointer;
    border-radius: 3px;
    padding: 5px;
    transition: 0.5s;
    font-family: 'Fira Sans';
    font-weight: 400;
}

.driver-orders-button:hover{
    color: white;
    background-color: var(--hover-color);
}

.driver-arrow {
    font-size: 16px; 
    display: inline-block; 
    position: absolute;
    color: gray;
    transition: transform 0.2s ease-in-out; 
    transform: rotate(0deg);
}
 
.driver-arrow.rotated {
    transform: rotate(180deg);
}

.leaflet-container{
    font-family: 'Fira Sans' !important;
    font-weight: 400 !important; 
}

.leaflet-marker-label {
    background: white;
    border: none;  
    border-radius: 5px;         
    text-align: center;    
    font-size: 12px;
    font-family: 'Fira Sans', sans-serif;
    white-space: nowrap;  
    color: #333;         
}



/* Конец карта */



/* Датапикер */
  
.close-cash:hover,
.close-cash:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.daterangepicker{
    font-family: 'Fira Sans';
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
    background-color: #D86962 !important;
    border-color: #D86962 !important;
    color: black !important;
}
.daterangepicker .calendar-table td.in-range {
    background-color: rgba(216, 105, 98, 0.2) !important; 
    color: black; 
}

.daterangepicker .drp-buttons button.applyBtn {
    background-color: #2977B5 !important;
    border-radius: 8px !important;
    color: white !important;
    width: 128px;
}
.daterangepicker .drp-buttons button.applyBtn:hover {
    background-color: #D86962 !important;
}


.daterangepicker .drp-calendar th {
    color: #D86962;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
}

.daterangepicker .drp-calendar .next,
.daterangepicker .drp-calendar .prev {
    color: #D86962;
}

.daterangepicker .calendar {
    display: inline-block !important;
    margin: 0 5px !important;
}

.daterangepicker .drp-calendar {
    max-width: none !important;
}

.daterangepicker .drp-calendar.left {
    margin-right: 20px !important;
    width: 40% !important;
    height: 260px !important;
}

.daterangepicker .drp-calendar.right {
    width: 40% !important;
    height: 260px !important;
}

.daterangepicker .ranges {
    display: none !important;
}

.daterangepicker {
    width: auto !important;
    min-width: 600px;
}

.daterangepicker .calendar-table {
    table-layout: fixed;
    width: 100%;
}



.daterangepicker .drp-buttons {
    float: none !important;
    display: inline-block !important;
    margin-top: 10px !important;
    margin-left: 5px !important;
    clear: both !important;
}

.daterangepicker .drp-buttons button {
    display: inline-block !important;
}

.daterangepicker .drp-buttons button.cancelBtn {
    margin-right: 5px !important;
}

#range .daterangepicker{
    left: 260px !important;
}
#range .daterangepicker .drp-buttons {
    position: absolute !important;
    left: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: flex-start !important;
    padding-left: 8px !important;
}

/* .daterangepicker .custom-time-input {
  width: 50px;
  margin-right: 4px;
  text-align: center;
  font-size: 14px;
  font-family: 'Fira Sans';
}
.custom-time-input {
  width: 50px;
  text-align: center;
  font-size: 14px;
  padding: 2px;
} */

.daterangepicker .calendar-table td.off {
  pointer-events: none;
  cursor: default; /* чтобы не было «руки» при наведении */
}

.daterangepicker .calendar-table td.off.active,
.daterangepicker .calendar-table td.off.start-date,
.daterangepicker .calendar-table td.off.end-date {
  background-color: transparent !important;
  border-color: transparent !important;

}


.daterangepicker .calendar-table td.off {
  color: transparent !important;
  background: transparent !important;
}

#add-new-car-image{
    margin: auto 0;
}

.select2-container--default .select2-selection--single .select2-selection__clear{
    display: none !important;
}

#body-driver .select2-container{
    width: 64% !important;
    border-radius: 8px !important;
    height: 32px !important;
}

/* Конец исполнитель */


/* Авто */

.page-auto-container{
    display: flex;
    width: calc(100%-58px);
    flex-direction: column;
    background-color: white;
    width: 80%;
    height: 96vh;
    border-radius: 10px;
}  

.second-auto-title{
    color: black;
    font-size: 24px;
    padding-left: 20px;
}

.auto-main-container, .voditel-main-container{
    width: 100%;
    height: 70vh;
    display: flex;
    justify-content: flex-start;
}

#edit-form-auto, #edit-form-voditel{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 20px;
    width: 55%;
}

.auto-form-main, .voditel-form-main{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height:auto;
    width: 100%;
}

.voditel-form-main{
    width: 60%;
}

#vod-fio, #vod-phone, #vod-pasport, #edit-birth-date, #vod-vu{
    width: 222px;
}

#edit-birth-date{
    width: 64%;
}

#from-groud-date #edit-birth-date{
    width: 222px;
}

.auto-form-left, .auto-form-right, .voditel-form-left{
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 50%;
    flex-grow: 1;
}

.voditel-form-left{
    width: 60%;
}

/* .auto-form-right{
    margin-left: 83px;
} */

.form-group-auto{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 9px;
    width: 70%;
}

.select2-container--default .select2-selection--single{
    background-color: #F5F6F8 !important;
    color: black !important;
    border: none !important;
}

.select2-selection--single[aria-labelledby="select2-add-car-select-container"] {
  background-color: #fff !important;
  color: black !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
      color: black !important;
}

#body-driver select#add-car-select + .select2-container {
    height: 22px;
    max-width: 37.5%;
    font-size: 12px;
}

/* А фон квадратика внутри него */
#body-driver select#add-car-select + .select2-container
  .select2-selection--single {
  background-color: #fff !important;
}
/* привязанные авто*/

.group-avto{
    margin-left: 15px;
    border-top: 2px solid #F5F6F8;
    /* padding-top: 30px; */
    height: 280px;
     margin-bottom: 40px;
}

.form-group-cars{
    width: 95%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 20px;
    justify-content: flex-start;
}

.auto-comment{
    width: 85%;
}


.pryvaz-avto-label{
    font-size: 18px;
    margin: 20px 0;
}

/* новый тестовый селект */

#edit-cars {
    display:inline-flex;
    flex-wrap: wrap;
    align-content: stretch;
    padding: 5px;
    background-color: #F5F6F8;
    width: fit-content;
    max-width: 574px;
    border-radius: 8px;
}

.selected-car {
    background-color: #f2f2f2;
    padding: 0px 12px;
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 5px;
    background-color: white;
    color: black;
    cursor: pointer;
    height: 22px;
    max-width: 190px;
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    position: relative;
}

.selected-car .close-icon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0px 5px; 
    cursor: pointer;
}

.selected-cars {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
}

#add-car-select {
  max-width: 214px;
  border-radius: 5px;
  color: black;
  background-color: white;
  font-family: 'Fira Sans';
  font-weight: 400;
  font-size: 12px;
  border: none;
  padding: 5px;
  height: auto;
}

/* конец */

.car-tab{
    padding: 10px;
    margin: 5px 5px 5px 0;
    background-color: #2977B5;
    color: white;
    border-radius: 8px;
    border: none;
    font-family: 'Fira Sans';
    font-weight: 400;
    font-size: 12px;
}

.car-new{
    background-color: gray;
}

.car-selection-content{
    background-color: #E8EBEF;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    padding: 5px;
    width: 40%;
}

.car-item {
    border-bottom: 1px solid lightgray;
    padding: 5px;
    cursor: pointer;
    width: 20%;
    background-color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
    margin-right: 5px;
    color: black;
    flex: 1 1 150px;
}

.car-item span{
    font-size: 12px;
}

.close-icon-car{
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
}

.form-group-auto input,
.form-group-auto select,
.form-group-auto textarea {
  width: 160px; 
  padding: 8px;
  height: 28px;
  border: none;
  border-radius: 8px;
  box-sizing: border-box;
  margin-left: 20px;
  background-color:#F5F6F8;
  font-size: 12px;
  color: black;
  font-family: 'Fira Sans';
  font-weight: 40
} 


.active-statistic{
    display: block;
}

#car-color{
  box-sizing: border-box;
  height: auto;
  
}

.form-group-auto textarea{
    resize: none;
    border-radius: 8px;
    border: none;
    background-color: #F5F6F8;
}

#car-make option{
    background-color: #F5F6F8;
}

#car-comment{
    flex-basis: 570px;
    flex-grow: 1;
    flex-shrink: 1;
    margin-left: 59px;
    overflow: auto;
}


.form-group-auto label{
    font-size: 10px;
    color: black;
    font-weight: 500;
}

.auto-button-save, .vod-button-save{
    width: 109px;
    height: 36px;
    margin: 0;
    border-radius: 10px;
    transition: 1s;
    border: none;
    background-color: #2977B5;
    color: white;
    font-family: 'Fira Sans';
    font-weight: 400;
    margin-top: 22px;
}

.vod-button-save{
    width: 135px;
}

.auto-button-save:hover{
    border: none;
    background-color: #D86962;
    color: white;
}

.order-left-con{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-left: 0;
}

.order-left-title{
    font-size: 20px;
    font-weight: 500;
}

.order-left-con li{
    color: black;
    list-style-type: none;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 16px;
}   

.tab-zarabotok {
    display: flex; 
    flex-direction: row;
}

#taxi-meter-amount, #cash-payment, #card-payment, #total-earning{
    color: #68B934;
}

#platform-commissions, #partner-commissions{
    color: #E99D9D;
}

#orders-chart{
    margin-top: 20px;
}

.orders-otstup{
    height: 350px;
    flex-grow: 1;
}

#orders-chart, #payment-chart, #tariff-chart {
    width: 100%;
    height: 100%;
    position: relative;
}

#orders-chart canvas, #payment-chart canvas, #tariff-chart canvas{
    width: 100% !important;
    height: 320px !important;
}  


#orders-table{
    overflow: scroll;
}

#hours-chart{
    border: 1px solid #C9CBD5;
}
.earning-report {
    margin-top: 20px;
    flex: 0 0 45%;
    margin-right: 20px;
    background-color: white;
}

.earning-charts {
    /* flex: 0 0 50%; */
    position: relative;
}

.earning-charts canvas {
    width: 100%;
    margin-bottom: 20px;
    padding: 15px;
}



/* Конец авто */



/* Стили для вкладок */
.main-statistic, .main-income{
    width: calc(99% - 58px);
    height: 100%;
    background-color: var(--body-bg-color);
    padding-left: calc(15px + var(--left-bar-width));
    display: flex;
    flex-direction: column;

}

.statistic-title{
    padding-bottom: 10px;
    padding-top: 20px;
}

.negative-commission, .negative-cost{
    color: #D86962;
}

.positive-number, .positive-cost {
    color: #68B934;
}

.positive-cost span{
    color: #68B934;
}

/* Отчеты */

.main-container-static{
    width: 100%;
    height: 100%;
    padding: 14px 0px 0px 0px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
}

.type-container {
    display: flex;
    justify-content:flex-start;
    margin-bottom: 20px;
}


.type-container-left{
    display: flex;
    margin-left: 8px;
    width: fit-content;
    justify-content: space-around;
}

.type-link {
    text-decoration: none;
    color: #333;
    padding: 10px 20px;
    border-bottom: 2px solid transparent; 
    border-radius: 5px 5px 0 0;
    transition: border-bottom-color 0.3s ease;
}

.type-link.active-link {
    border-bottom-color: #007bff;
}

.orders-content, .zarabotok-content, .balance-content, .balance-otkaz, .driver-content {
    display: none;
    max-width: 98%;
    padding: 20px 18px;
}

.cell-order.status-cancelled {
    color: red;
}
  
.cell-order.status-success {
    color: green;
}
  
/* .active {
    display: block;
} */

#select-conditions{
    border: none;
    outline: none;
    height: 40px;
    margin-left: 8px;
    font-family: "Fira Sans";
    font-size: 14px;
    color: #83899F;
    width: 168px;
    padding: 0 21px;
    border-radius: 8px;
    appearance: none; 
    -webkit-appearance: none; 
    -moz-appearance: none; 
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 10L12 14L16 10' stroke='%2383899F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); 
    background-repeat: no-repeat;
    background-position: right 2px center; 
    background-size: 18px; /
}

.statistic-driver-button, .search-vod, .search-zakaz, .income-search-category-wrapper, .search-report-wrapper{
    display: block;
    text-decoration: none;
    color: #83899F;
    font-family: "Fira Sans";
    font-size: 14px;
    background-color: white;
    /* padding: 0 21px; */
    border-radius: 8px;
    /* margin-left: 8px; */
    line-height: 40px;
    width: 161px;
    text-align: center;
    background-color: white !important;
}

.search-report{
    background-color: white !important;
}

.type-con-report .select2-container--default .select2-selection--single{
    background-color: white !important;
}

.search-report-status .select2-container{
    width: 161px !important;
}

.statistic-driver-button{
    margin-left: 8px;
}

.tab-photocontrol{
    padding: 20px;
    width: 60%;
    display: flex;
    flex-wrap: wrap;
}

.photo-container{
    background-color: #F5F6F8;
    width: 250px;
    height: 180px;
    margin: 10px;
    border-radius: 20px;
    box-sizing: border-box;
}

.photo-container p{
    margin-top: 0px;
    text-align: left;
    padding: 5px 0 5px 0;
    padding-left: 10px;
}

.photo-car{
    margin: 4px auto;
    width: 95%;
    height: 130px;
    background-color: #D9D9D9;
    border-radius: 0 0 20px 20px;
}

#tab-orders{
    display: block;
    overflow: scroll;
}

.statistic-table{
    width: 98%;
    table-layout: fixed;
    /* margin: 0 auto; */
}

.statistic-table th,
.statistic-table td {
  text-align: center; 
}

.statistic-table tbody td {
  vertical-align: middle; 
}

.statistic-row td{
    padding: 5px 0;
}

#applyButton{
    border-radius: 10px;
    border: none;
    transition: 0.5s;
    background-color: #E8EBEF;
    height: 25px;
}

#applyButton:hover{
    background-color: black;
    color: white;
}

.statistic-table thead th {
    background-color: #fff !important;
    padding-left: 15px !important;
    border-bottom: 1px solid #E8EBEF !important;
    color: #1B364A !important;
}

.statistic-table thead th:first-child {
    border-top-left-radius: 8px;
  }
  
  .statistic-table thead th:last-child {
    border-top-right-radius: 8px;
  }

/* Конец отчеты */

/* Документы */

.documents-con{
    width: 30%;
    height: 800px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    padding: 15px;
}

.documents-link{
    margin-top: 25px;
    font-size: calc(var(--default-font-size) + 10px);
    color: #2977B5;
    line-height: 35px;
    text-decoration: underline;
    text-underline-offset: 5px;
    font-weight: 500;
}

.agree-container{
    margin-top: 50px;
}

.company-title{
    color: var(--h1-fg-color);
}

.agree-content-mid p{
    color: var(--h1-fg-color);
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider.round {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 34px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: .4s;
}

.slider.round:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider.round {
  background-color: #4CAF50;
}

input:checked + .slider.round:before {
  transform: translateX(22px);
}
/* Конец документы */


/* Поиск таблиц */

.dt-search {
    margin-right: 15px;
    display: flex;
    align-items: center;
    width: 90%;
}

.dt-input{
    width: 500px;
    margin-left: 28px !important;
    flex-grow: 1;
    background-color: #DEDEDE !important;
    border-radius: 8px !important;
    border: none !important;
    padding: 8.5px !important;
    font-family: 'Fira Sans';
    font-weight: 400;
    font-size: 20px;
}

.dt-input {
    padding-left: 30px !important; 
    background-image: url('/static/images/search-placeholder.svg') !important;
    background-repeat: no-repeat !important; 
    background-position: 5px 10px !important; 
    background-size: 20px !important; 
}

.dt-input::placeholder {
    font-family: 'Fira Sans';
    font-weight: 300;
    color: #676E85;
    font-size: 16px;
    padding-left: 23px !important;
}

.dt-label-search{
    color: var(--h1-fg-color);
    font-size: calc(var(--default-font-size) + 12px);
    line-height: calc(var(--default-line-height) + 10px);
    /* margin: 10px 10px 10px 0; */
}

.header-wrapper{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}




/* Конец поиск */

/* датапикер */

/* .daterangepicker .calendar-table td.off {
    visibility: visible;
} */

.daterangepicker .calendar-table td.off.ends.off.disabled {
    visibility: hidden !important;
}

.daterangepicker .drp-buttons button.cancelBtn {
    display: none !important;
}

.daterangepicker .drp-selected {
   display: none !important;
}

.daterangepicker .drp-buttons {
    border: none !important;
    /* margin-right: auto !important; */
    float: left !important;
}

.daterangepicker .drp-calendar {
  position: relative;
}


.daterangepicker .calendar-time {
  position: absolute !important;
  bottom: 0 !important;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
  line-height: 30px;
  height: 36px;
  background: #fff; 
  z-index: 2;
}

.daterangepicker .calendar-table thead tr:nth-child(2) th {
  text-align: center;
}

.daterangepicker .calendar-table td.off:not(.disabled) {
  visibility: hidden;    
}

.daterangepicker .calendar-table td.off.disabled {
  visibility: visible;          
  color: #ccc !important;      
  cursor: not-allowed;          
  pointer-events: none;        

}


.daterangepicker .calendar-datetime-label {
  text-align: center;
  font-size: 14px;
  margin-bottom: 4px;
  color: #333;
  font-family: 'Fira Sans', sans-serif;
}
.daterangepicker .calendar-time {
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* .daterangepicker .calendar-time select {
  display: none !important;
} */

.daterangepicker .calendar-time input.custom-time-input {
  display: inline-block !important;
}

.daterangepicker .calendar-time {
  position: absolute !important;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  padding: 4px 0;
  text-align: center;
}
.daterangepicker .calendar-time .calendar-datetime-input {
  width: 200px;
  padding: 4px 6px;
  font-size: 14px;
  /* border: 1px solid #ccc; */
  border-radius: 4px;
  text-align: center;
  font-family: 'Fira Sans', sans-serif;
}

.fixed-date {
  margin-right: 8px;
  user-select: none;
}
.calendar-time-hour,
.calendar-time-minute {
  width: 40px;
  text-align: center;
  margin: 0 4px;
}

.daterangepicker .calendar-table th, .daterangepicker .calendar-table td {
    border: none !important;
}

.calendar-time-hour,
.calendar-time-minute {
  overflow: visible !important;
  overflow-clip-margin: content-box !important;
}

.calendar-time-hour::-webkit-inner-spin-button,
.calendar-time-hour::-webkit-outer-spin-button,
.calendar-time-minute::-webkit-inner-spin-button,
.calendar-time-minute::-webkit-outer-spin-button {
  -webkit-appearance: auto !important;
  display: block !important;
  opacity: 1 !important;
}

.calendar-time-hour,
.calendar-time-minute {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  -moz-appearance: number-input !important;
}
/* конец пикер */

#myTable_wrapper {
    width: calc(100% - var(--left-bar-width));
    height: 50px;
}

table {
    border-collapse: collapse;
    border: none;
    font-size: calc(var(--default-font-size) + 4px);
}

td, th {
    border: none;
  }

thead > tr > th {
    font-size: var(--default-font-size);
    color: var(--h2-fg-color);
    font-weight: 500 !important;
}

table.dataTable>thead>tr>th, table.dataTable>thead>tr>td {
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

table.dataTable>thead>tr>th{
    border-bottom: none;
}

tbody {
    background-color: rgba(0,0,0,0);
}

td {
    box-shadow: none !important; 
    /* background-color: white; */
}

tr:first-child > td:first-child {
    border-top-left-radius: 10px; 
}
tr:first-child > td:last-child {
    border-top-right-radius: 10px; 
}
tr:last-child > td:first-child {
    border-bottom-left-radius: 0px; 
}
tr:last-child > td:last-child {
    border-bottom-right-radius: 0px; 
}



table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date {
    text-align: left;
}

tbody > tr > td.balance > a {
    text-decoration: none;
    color: var(--h1-fg-color);
}

/* Таблица поиск */

div.dt-container div.dt-layout-row div.dt-layout-cell.dt-layout-end {
    justify-content: flex-start;
    /* margin-right: auto; */
    margin-left: 0;
    width: 100%;
}

.balance a {
    color: #676E85; 
}

.balance > a > span{
    border-bottom: 1px solid #1B364A;
}

.balance a{
    color: #1B364A;
}

.balance a span.balance-decimal  { 
    color: #676E85;
}

.ruble{
    padding-left: 5px;
    color: #676E85;
}

tbody > tr > td.edit {
    padding-right: 40px !important;
}


/* Приход/расход */

.category{
    /* padding-top: 50px; */
    margin-left: 10px;
    position: relative;
    display: flex;
    width: 500px;
}


#select-category, #select-vod, #search-zakaz, .search-report{
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle;
    border-radius: 4px;
    font-family: 'Fira Sans';
    font-weight: 400;
    border-color:#aaa ;
    appearance: none;
}

.search-zakaz-wrapper{
    width: 161px;
}

.search-zakaz-wrapper, .income-search-category-wrapper, .income-checkbox-wrapper{
    margin-left: 8px;
}

.search-zakaz{
    border: none;
    outline: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.search-zakaz option{
    text-align: center;
}

.search-vod option{
    color: black !important;
}

.select2-container--open{
    color: black !important;
}

.income-hidden-table {
    display: none;
}


/* Баланс */

#balance-value-dogovor{
    margin-left: auto;
}

/* Условия работы */

.payrule-table > tbody > tr > td{
    height: 50px;
}

.close{
    cursor: pointer;
    font-size: 28px;
    float: right;
}

.checkbox-delete{
    display: flex;
    align-items: center;
}

.checkbox-delete input[type="checkbox"]:checked {
    border: 1px solid #D86962;
    background-color: #D86962;
}

.payrule-header-links{
    width: 52%;
    display:flex;
    justify-content: space-between;
    align-items: center;
}

.payrule-header-right .search-wrapper{
    border-radius: 41px;
}

.main-title-header{
    display: flex;
    justify-content: center;
    align-items: center;
}

#payrule-search{
    width: 196px;
    background-color: #DEDEDE;
    border: none;
    border-radius: 41px;
    padding: 6px 10px 6px 42px;
    font-size: 15px;
    font-family: 'Fira Sans'
}

.payrule-header-left{
    width: 130px;
    display: flex;
    justify-content: space-between;
}

.pauryle-header-link{
    text-decoration: none;
    color: #676E85;
}

.pauryle-header-link.payrule-active{
    color: #1B364A;
}

.payrule-action-btn{
    background-color: transparent;
    border: none;
    outline: none;
    color: #1B364A;
    display: flex;
    align-items: center;
}

.payrule-action-btn span{
    padding-left: 2px;
}

#payrule-page table.dataTable.row-border>tbody>tr>*,
#payrule-page table.dataTable.display>tbody>tr>* {
    width: 40%;
}

#name{
    background-color: #F5F6F8;
    border-radius: 8px;
}

.income-checkbox-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
}

.income-checkbox-wrapper label{
    padding-left: 5px;
    font-size: 16px;
    font-weight: 300;
    color: #1B364A;
}

.income-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}
  
.income-checkbox-wrapper input[type="checkbox"] {
    display: none;
}
  
.income-checkbox-wrapper label {
    position: relative;
    padding-left: 38px;
    cursor: pointer;
    font-size: 14px;
    line-height: 16px;
    color: #333;
}
  
.income-checkbox-wrapper label::before {
    content: '';
    position: absolute;
    left: 0;
    top: -8px;
    width: 30px;
    height: 30px;
    background-color: #ccc; /* серый квадрат по умолчанию */
    border-radius: 4px;
}
  
/* Когда чекбокс активен — показываем иконку */
#checkbox-beznal:checked + label::before {
    background-image: url('/static/images/checkbox.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent; 
}

.title-grapfic-first{
    font-size: 24px;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 10px;
  width: 16px;
  height: 16px;
  pointer-events: none;
}


/* Отчет по заказам */

#myTableReport>tbody>tr{
    border-bottom: 1px solid #E3E3E3;
}

.report-table td:nth-child(2), .report-table td:nth-child(3), .report-table td:nth-child(7){
    color: #2977B5;
}

#myTableReport th:nth-child(2),
#myTableReport td:nth-child(2) {
  border-right: 1px solid #E3E3E3;
}

#myTableReport td:nth-child(8){
    color: #1B364A;
}


#myTableReport {
    width: auto;
    white-space: nowrap;
    border-collapse: collapse;
}

.report-table th, .report-table td {
    text-align: left;
}

.main-container-report{
    overflow-x: auto;
    max-height: 80vh; 
}

.type-con-report{
    display: flex;
    justify-content: space-around;
    width: 75%;
    flex-wrap: wrap;
    align-items: center;
}

.search-report-wrap-vod .select2-selection__arrow, .select-report-auto .select2-selection__arrow, .select-report-code .select2-selection__arrow{
    display: none;
}

.dt-search label{
    color: var(--h1-fg-color);
    font-size: calc(var(--default-font-size) + 12px);
    line-height: calc(var(--default-line-height) + 10px);
}

/* Город */

.type-con-city{
    display: flex;
    justify-content: flex-start;
}

#datetimes-city{
    width: 150px;
}

#date-range-city{
    margin-left: 0;
    width: auto;
    background-color: transparent;
}



#myTableCity_wrapper .dt-scroll-head thead tr{
  height:160px;
}

#myTableCity_wrapper .dt-scroll-head th.vhead{
  width:36px !important;
  margin:5px 0 !important;
  /* text-align:center !important; */
  white-space:nowrap;
}

#myTableCity,
#myTableCity_wrapper .dt-scroll-head table{
  table-layout:fixed;
}

#myTableCity th, 
#myTableCity td {
  width: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
}

#myTableCity th:first-child, 
#myTableCity td:first-child {
  width: 90px !important;
  min-width: 90px !important;
  max-width: 90px !important;
}


/* #myTableCity_wrapper .dt-scroll-head th.vhead .dt-column-title > span{
  position:absolute;
  bottom:4px;
  left:30%;
  transform:translateX(-0%) rotate(-90deg);
  transform-origin:bottom left;
  display:block;
  white-space: normal;
  word-break: break-word; 
  hyphens: auto;
  font-size:12px;
  line-height:1.1;
  padding:0 !important;
  width: 100%;

} */

#myTableCity_wrapper .dt-scroll-head th.vhead .dt-column-title > span{
  writing-mode: vertical-rl;      
  transform: rotate(180deg);      
  text-orientation: mixed;
  display: inline-block;
  white-space: normal;
  overflow-wrap:anywhere;       
  word-break:break-word;
  hyphens: auto;
  font-size:12px;
  line-height:1.1;
  text-align:left;                
  inline-size:140px;
  width: 50%;
}


#myTableCity_wrapper .dt-scroll-head th.vhead .dt-scroll-sizing{
  overflow:visible;
  height:100%;
}

#myTableCity_wrapper .dt-scroll-head th.vhead .dt-scroll-sizing{
  width:100% !important;
  overflow:visible;
  padding:0 !important;
}

#myTableCity_wrapper table.dataTable thead>tr>th span.dt-column-order,
#myTableCity_wrapper table.dataTable thead>tr>th span.dt-column-order:before,
#myTableCity_wrapper table.dataTable thead>tr>th span.dt-column-order:after{
  display:none !important;
  content:none !important;
}
#myTableCity_wrapper table.dataTable thead>tr>th.dt-orderable-asc,
#myTableCity_wrapper table.dataTable thead>tr>th.dt-orderable-desc{
  padding-right:0 !important;
  cursor:default !important;
}

/* Медиа */

@media (max-width: 1850px) {
    .order-report-page .type-con-report {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: auto;
        gap: 16px 24px;
        width: 99% !important;
        padding-right: 24px;     
        justify-items: start;
    }


    .order-report-page .type-con-report > .search-report-wrapper {
        width: 100% !important;
    }


    .order-report-page .search-report-wrapper .select2-container {
        width: 100% !important;
        box-sizing: border-box;
    }
    .order-report-page .search-report-wrapper .select2-selection {
        width: 100% !important;
    }

    .order-report-page #date-range-order-report {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 0 8px;
        align-items: center;
        width: 100% !important;
        margin-left: 0px;
        padding: 0px;
    }
    .order-report-page #date-range-order-report input#datetimes-order-report {
        width: 100% !important;
        box-sizing: border-box;
    }
}

@media (max-width: 1700px) {
    table {
      font-size: 12px; 
    }
  }

  thead > tr > th {
    font-size: 12px;
}

@media (max-width: 1600px) {
    #radius-input, #refresh-input{
        width: 90%;
    }
    
    .unit{
        display: block;
    }
  }


/* Анимация для индикатора */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}