#map-canvas {
    height: 100%;
}

#app {
    background-color: #111a21;
}

.dashboard_leyout {
    background-color: #f7f6fe;
    border-top-left-radius: 16px;
    /* height: calc(100vh - 78px); */
    padding-top: 16px;
    padding-bottom: 16px;
}

.select2-selection {
    min-height: 31px !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 31px;
}

.select2-container .select2-selection--single {
    height: 31px !important;
    border-radius: 6px;
}

.contact_custom {
    height: 31px !important;
    border-radius: 6px;
    background-color: transparent;
    border: 1px solid #ced4da;
    color: #6c757d;
    font-size: 14px;
}

.new-user-info .select2-container .select2-selection--single {
    height: 38px !important;
    border-radius: 6px;
}

.contact_custom:focus,
.contact_custom.select2-selection--focused,
.contact_custom:active,
.contact_custom:hover {
    border: 1px solid #80e4da !important; /* бордер при фокусе */
    box-shadow: 0 0 5px rgba(128, 228, 218, 0.5); /* мягкая тень при фокусе */
    color: black;
}

/* Фокусные состояния */
.select2-container .select2-selection--single:focus,
.select2-container .select2-selection--single.select2-selection--focused,
.select2-container .select2-selection--single:active,
.select2-container .select2-selection--single:hover {
    border: 1px solid #80e4da !important; /* бордер при фокусе */
    box-shadow: 0 0 5px rgba(128, 228, 218, 0.5); /* мягкая тень при фокусе */
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 31px !important;
}
.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da !important;
}

.select2-container .select2-search--inline .select2-search__field {
    margin-top: -2px !important;
    color: #2c3e50;
    padding-left: 12px !important;
}

.select2-container .select2-search__field {
    border-radius: 3.2px;
}
.select2-search--dropdown {
    position: relative;
}
.select2-search--dropdown::before {
    content: "";
    position: absolute;
    right: -1px;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    width: 34px;
    height: 26px;
    background-image: url(./../images/button_search.svg);
    background-size: contain;
    background-repeat: no-repeat;
}
.select2-container--default
    .select2-results__option--highlighted[aria-selected] {
    background-color: #5897fb;
}

.select2-container {
    width: 100% !important;
}

.dark .select2-container--default .select2-selection--single {
    background: #222 !important;
    border-color: #252525 !important;
}

.dark
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    color: #fff !important;
}

.select2-selection__rendered {
    display: flex !important;
    align-items: center;
    height: 100%;
}

.dark .select2-search.select2-search--dropdown {
    background: #252525 !important;
}

.dark
    .select2-container--default
    .select2-search--dropdown
    .select2-search__field {
    background: #252525 !important;
    color: #fff !important;
}
.dark .select2-container--open .select2-dropdown--below {
    border-color: #252525;
}

.select2-dropdown {
    z-index: 10000 !important;
}

.pr-10 {
    padding: 0 0 0 10px;
}

.attachment-image {
    width: 80%;
}

.btn {
    border: none;
    background-color: #2a5aee;
    color: white;
}

.custom_button {
    width: 100%;
}

.attachment-file {
    height: 80px;
    width: 50%;
}

.remove-file {
    position: absolute;
    /* right: 0; */
    top: 0;
}

.notification_tag {
    background: #e3342f;
    color: #fff;
    font-size: 12px;
    border-radius: 100px;
    line-height: normal;
    /* height: 18px;
    width: 20px; */
    font-weight: bold;
    text-align: center;
    display: inline-block;
}

.nav-item span.count-mail {
    height: 22px !important;
    width: 22px !important;
    font-size: 12px;
    line-height: 20px !important;
    right: 0px;
    top: 10px;
}

h6 .notification_count {
    font-weight: 400;
}

.notification-height {
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 540px;
}
/* 
.mm-top-navbar .notification-menu {
    min-width: 373px;
} */

.notify-list-bg {
    background: #ecf0f5;
}
.navbar-list li .mm-sub-dropdown .sub-card {
    font-size: inherit;
    padding: 15px;
    line-height: normal;
    color: var(--mm-default);
    border-bottom: 1px solid #e7e7e8;
    display: inline-block;
    width: 100%;
}

.dark .notify-list-bg {
    background: #222222;
}

.card-body.activity-height {
    max-height: 368px !important;
    overflow-x: hidden !important;
}

.text-green-600 {
    color: rgba(5, 150, 105, 1);
}

.validate_inpute {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    line-height: 150%;
    gap: 0 20px;
}

.language_table tbody {
    display: block;
    max-height: 450px;
    overflow-y: scroll;
}

.language_table thead,
.language_table tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.mm-top-navbar .language-menu ul {
    max-height: 133px;
}

.selected-lang {
    height: 21px !important;
    min-width: 30px !important;
    width: 30px !important;
}
.selected-lang-list {
    width: 20px !important;
    height: auto !important;
    min-width: 15px !important;
}

.iti {
    width: 100% !important;
}

.dark .iti__country-list {
    background-color: #222;
    border: 1px solid #252525;
}

/* .profile-box {
    padding-bottom: 170px !important;
} */

.has-error input,
.has-danger input {
    border-color: #f75676 !important;
    box-shadow: 0px 0px 0px 4px #dc354580;
}

.reset-password {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-password {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chat {
    float: left;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;

    width: 100%;
    /* background: #F2F5F8;
    color: #434651; */
}

.chat .chat-history {
    padding: 30px 30px 20px;
    border-bottom: 2px solid white;
    overflow-y: scroll;
    height: 575px;
}
.chat .chat-history .message-data {
    margin-bottom: 15px;
}

.chat .chat-history .message-data-time {
    padding-left: 6px;
}

.chat .chat-history .message {
    padding: 18px 20px;
    line-height: 26px;
    font-size: 16px;
    border-radius: 7px;
    margin-bottom: 30px;
    width: 90%;
    position: relative;
}

.chat .chat-history .message:after {
    bottom: 100%;
    left: 7%;
    border: solid transparent;

    height: 0;
    width: 0;
    position: absolute;

    border-width: 10px;
    margin-left: -10px;
}

.other-message {
    background: var(--info);
}

.my-message {
    background: var(--primary);
}
.my-message:after {
    border-bottom-color: var(--primary);
    left: 93%;
}

.chat-history ul {
    padding: 20px;
    /* height: 770px; */
}

.chat-history ul > li {
    padding-bottom: 20px;
    list-style: none;
}

.li-clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

#maplegend {
    font-family: Arial, sans-serif;
    background: #fff;
    padding: 10px;
    margin: 10px;
    color: #222;
}

#maplegend img {
    vertical-align: middle;
}

.map_driver_detail {
    font-family: Arial, sans-serif;
    background: #fff;
    color: #222;
}
/*
.dark .mode.light-img {
    display: none;
}

.dark .mode.dark-img {
    display: block;
} 
  
.mode {
    display: none;
}

.mode.light-img {
    display: block;
}

.mode.ltr-img {
    display: block;
}
*/

.dark .pac-container {
    background: #222 !important;
    color: #fff !important;
    border-top: 1px solid #d9d9d9;
}

.dark .pac-container .pac-item {
    color: #fff !important;
}

.dark .pac-container .pac-item-query {
    color: #fff !important;
}

.dark .pac-container .pac-item:hover {
    background-color: var(--primary) !important;
}
.dark .swal2-popup {
    background: #222738 !important;
}
.swal2-styled.swal2-confirm {
    border: 0 !important;
    border-radius: 0.25em !important;
    background: initial !important;
    background-color: #216fff !important;
    color: #fff !important;
    font-size: 1em !important;
}

.pt-28 {
    padding-top: 28px;
}

.pb-32 {
    padding-bottom: 32px;
}

.pb-46 {
    padding-bottom: 46px;
}

.pb-52 {
    padding-bottom: 52px;
}

.py-28 {
    padding-top: 28px;
    padding-bottom: 28px;
}

.px-32 {
    padding-left: 32px;
    padding-right: 32px;
}

.mb-18 {
    margin-bottom: 18px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-28 {
    margin-bottom: 28px;
}

.mb-32 {
    margin-bottom: 32px;
}

.mb-33 {
    margin-bottom: 33px;
}

.mb-42 {
    margin-bottom: 42px;
}

.mb-43 {
    margin-bottom: 43px;
}

.btn-cornflower {
    background-color: #2a5aee;
}

.text-cornflower {
    color: #2a5aee;
}

.fs-28 {
    font-size: 28px;
}

.fs-32 {
    font-size: 32px;
}

.lh-120 {
    line-height: 120%;
}

.text-dark-custom {
    color: #495057;
}

.custom-gradient {
    background: linear-gradient(270deg, #ae6aff 0%, #d5aeff 100%);
}

.custom-green-gradient {
    background: linear-gradient(270deg, #9ef73e 0%, #ccff96 100%);
}

.custom-gold-gradient {
    background: linear-gradient(270deg, #ffcb3a 0%, #ffe18e 100%);
}

.custom-blue-gradient {
    background: linear-gradient(270deg, #4bbaff 0%, #b1e1ff 100%);
}

.gap-8 {
    gap: 8px;
}

.gap-12 {
    gap: 12px;
}

.p-20 {
    padding: 20px;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: transparent;
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: #f7f6fe;
}
.apexcharts-menu-icon svg {
    fill: none !important;
}

.apexcharts-text tspan {
    font-family: "Montserrat", sans-serif !important;
}

.row-gap-24 {
    row-gap: 24px;
}

.btn_outline_custom {
    background: transparent !important;
    border: 1px solid #6c757d !important;
    color: #6c757d !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
}
.btn_primary_custom {
    background: #2a5aee !important;
    border: 1px solid #2a5aee !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
}

.btn_primary_border {
    border: 1px solid #2a5aee !important;
    background-color: transparent !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    color: #2a5aee !important;
    height: 31px !important;
    font-size: 14px;
    padding: 0 8px !important;
}

.reset_button {
    color: #212529;
    background-color: transparent;
    border: 1px solid #212529;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 14px;
}

.btn_primary_custom > a {
    color: #fff !important;
}
.add-button {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-btn-outline-secondary {
    background-color: transparent !important;
    color: #6c757d;
    border: 1px solid #6c757d !important;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 14px;
    line-height: 150%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.select2-selection__clear {
    position: absolute !important;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #212529;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.select2-selection__arrow {
    position: absolute !important;
    right: 13.5px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 2;
    width: 12px;
    height: 12px;
}
.custom_search {
    position: relative;
}
.custom_search::before {
    content: "";
    position: absolute;
    right: -2px;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    width: 34px;
    height: 29px;
    background-image: url(./../images/button_search.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.dataTables_filter input {
    font-size: 14px;
}
.card-custom-radius {
    border-radius: 0;
    border-top-left-radius: 12px;
    background-color: #f7f6fe;
}

.dataTables_paginate .paginate_button {
    cursor: pointer;
}

.jconfirm-title-c {
    padding: 16px;
}

.jconfirm-title-c .jconfirm-title {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.jconfirm-content-pane {
    padding: 16px 16px 32px;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0;
}

.jconfirm.jconfirm-material .jconfirm-box {
    padding: 0;
}

.jconfirm.jconfirm-material .jconfirm-box .jconfirm-buttons {
    padding: 12px;
}

.jconfirm.jconfirm-material .jconfirm-box .jconfirm-buttons button:last-child {
    background-color: #2a5aee;
    color: white;
    border: 1px solid #2a5aee;
    border-radius: 5px;
    font-size: 16px;
    padding: 6px 12px;
}

.jconfirm.jconfirm-material .jconfirm-box .jconfirm-buttons button:first-child {
    background-color: transparent;
    color: #6c757d;
    border: 1px solid #6c757d;
    border-radius: 5px;
    font-size: 16px;
    padding: 6px 12px;
}

.status-radio {
    position: relative;
    padding-left: 32px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.status-radio input[type="radio"] {
    opacity: 0;
    position: absolute;
    left: 0;
}

.status-radio .custom-radio {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;
    width: 16px;
    border: 1px solid #ccc;
    border-radius: 50%;
    background: #fff;
}
.status-radio input[type="radio"]:checked ~ .custom-radio {
    background-color: #2a5aee;
    border: 1px solid #2a5aee;
}

.status-radio input[type="radio"]:checked ~ .custom-radio::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background: #fff; /* Teal color like in your image */
    border-radius: 50%;
}

.custom-height {
    height: calc(100vh - 130px);
}

.card_details_custom h5 {
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    color: #495057;
}

.card_details_custom p {
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    color: #000000;
}

.h-506 {
    height: 506px;
}

.dataTables_length label {
    margin: 0;
}

.dataTables_filter {
    display: flex;
    justify-content: end;
    gap: 15px;
}
.driver_service_details div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.driver_service_details p {
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    color: #495057;
}

.driver_service_details span {
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    color: #000000;
}

.car_details_color {
    width: 95px;
    height: 50px;
}
.driver_earnings {
    row-gap: 20px;
}
.driver_earnings > div {
    padding: 0 10px;
}
.driver_earnings > div > div > div {
    background-color: #e2f2f2;
    padding: 16px 24px;
}
.top-block-one {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.top-block-one p {
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    color: #495057;
}

.top-block-one h5 {
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    color: #000000;
}

.custom-bg {
    background-color: #f7f6fe;
}

.scroll_custom {
    overflow-y: scroll;
}

/* .scroll_custom::-webkit-scrollbar {
    width: 0px;                
    background: transparent; 
} */

.bg_notif_count {
    color: #fff !important;
    background-color: #dc3545 !important;
}

.complait_details tr td {
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #000000;
}

.card-header-toolbar .form-group input {
    height: 31px !important;
    border-radius: 6px;
    cursor: pointer;
}

.form-group input:hover {
    border: 1px solid #80e4da !important;
    box-shadow: 0 0 5px rgba(128, 228, 218, 0.5);
}

.image_custom {
    width: 96px;
    height: 103px;
    border-radius: 8px;
}

.form-group input[type="checkbox"] {
    height: 15px !important;
}

.custom_textarea {
    height: 86px !important;
    border-radius: 6px;
    cursor: pointer;
}
.custom_textarea:hover {
    border: 1px solid #80e4da !important;
    box-shadow: 0 0 5px rgba(128, 228, 218, 0.5);
}
.notifyList_title {
    gap: 20px;
}
.notifyList {
    height: 31px;
    padding: 4px 8px;
    border-radius: 100px;
    border-width: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0%;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Default state for "All" - active */
.notify_all {
    color: #ffffff;
    background-color: #2a5aee;
    border: 1px solid #2a5aee;
    margin-right: 10px;
}

/* Default state for "Unread" - inactive */
.notify_unread {
    color: #2a5aee;
    background-color: transparent;
    border: 1px solid #2a5aee;
}

/* Active state for any button */
.notifyList.active {
    color: #ffffff;
    background-color: #2a5aee;
    border: 1px solid #2a5aee;
}

/* Inactive state for any button */
.notifyList.inactive {
    color: #2a5aee;
    background-color: transparent;
    border: 1px solid #2a5aee;
}

/* Optional hover effect */
.notifyList:hover {
    opacity: 0.8;
}
.notify_markas {
    padding-left: 10px;
    white-space: nowrap;
}
#messagesContainer {
    max-height: 450px; /* или любая высота, которую тебе нужно */
    overflow-y: auto;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.services-selector-container {
    border: 1px solid #ddd;
    border-radius: 6px;
    position: relative;
}

.remove-tag {
    margin-left: 5px;
    cursor: pointer;
    color: #999;
}

.remove-tag:hover {
    color: #333;
}

.services-dropdown-trigger {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    background-color: #fff;
}

.selected-count {
    font-size: 14px;
    color: #666;
}

.dropdown-icon {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.2s;
}

.services-checkbox-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
    max-height: 200px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ervices-checkbox-list-create {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 5px;
    max-height: 200px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: auto;
}

.services-checkbox-list.show {
    display: block;
}

.service-option {
    padding: 8px 12px;
    display: flex;
    align-items: center;
}

.service-option:hover {
    background-color: #f5f5f5;
}

.service-option input {
    margin-right: 8px;
    color: #2a5aee;
}

.service-tag {
    background-color: #f0f0f0;
    border-radius: 4px;
    padding: 0.5px 8px;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    white-space: nowrap;
}

.more-tags {
    background-color: #e0e0e0;
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 14px;
    color: #666;
}

.service-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
    vertical-align: middle;
}

.service-checkbox:checked {
    background-color: #2a5aee; /* Цвет фона при выборе */
    border-color: #2a5aee;
}

.service-checkbox:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 10px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.loading-services {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

.error-services {
    text-align: center;
    padding: 20px;
    color: #d32f2f;
    font-style: italic;
}

.loading-services::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #ccc;
    border-top: 2px solid #666;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.selected-services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0 8px;
    align-items: center;
    min-height: 38px;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    background-color: #007bff;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
}

.remove-tag {
    margin-left: 5px;
    cursor: pointer;
    font-weight: bold;
}

.remove-tag:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.more-tags {
    display: inline-flex;
    align-items: center;
    background-color: #6c757d;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
}
.services-dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    user-select: none;
}

.services-dropdown-trigger:hover {
    background-color: #f8f9fa;
}

.dropdown-icon {
    transition: transform 0.2s ease;
}

.services-list {
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
}

#services-list {
    display: none;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
}

.services-checkbox-list.show #services-list {
    display: block;
}

.service-option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
}

.service-option:last-child {
    border-bottom: none;
}

.service-option:hover {
    background-color: #f8f9fa;
}

.service-option input[type="checkbox"] {
    margin-right: 8px;
}

.service-option label {
    margin: 0;
    cursor: pointer;
    flex: 1;
}

.loading-services,
.error-services {
    padding: 12px;
    text-align: center;
    color: #666;
}

.error-services {
    color: #dc3545;
}

.form-control-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.notif-delete {
    position: relative !important;
    z-index: 10000 !important;
    pointer-events: auto !important;
}

.notification-actions {
    position: relative !important;
    z-index: 9999 !important;
}

.custom-dropdown {
    position: relative;
    display: inline-block;
}

.custom-dropdown-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    background-color: #ffffff;
    /* border: 1px solid #ced4da; */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    outline: none;
}

.custom-dropdown-button:hover {
    border-color: #adb5bd;
    background-color: #f8f9fa;
}

.custom-dropdown-button:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.dropdown-arrow {
    transition: transform 0.15s ease-in-out;
    color: #6c757d;
}

.custom-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 1000;
    /* min-width: 160px; */
    padding: 8px 0;
    margin: 0;
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.15s ease-in-out;
}

.custom-dropdown.active .custom-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 8px 16px;
    font-size: 14px;
    color: #212529;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
    user-select: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #16181b;
}

.dropdown-item.active {
    background-color: #007bff;
    color: #ffffff;
}

.dropdown-item.active:hover {
    background-color: #0056b3;
    color: #ffffff;
}

/* Custom Spinner */
.custom-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.service-types-selector-container {
    position: relative;
    width: 100%;
}

.selected-service-types-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 40px;
    padding: 5px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.selected-service-types-tags:hover {
    border-color: #007bff;
}

.service-type-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0px 8px;
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 4px;
    font-size: 12px;
    color: #0066cc;
}

.service-type-tag .service-type-icon {
    object-fit: contain;
}

.service-type-tag .remove-tag {
    margin-left: 4px;
    cursor: pointer;
    color: #0066cc;
    font-weight: bold;
    padding: 2px;
    border-radius: 2px;
}

.service-type-tag .remove-tag:hover {
    background: #ff4444;
    color: white;
}

.more-tags {
    padding: 4px 8px;
    background: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    cursor: pointer;
}

.service-types-checkbox-list {
    position: relative;
}

.service-types-dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.dropdown-icon {
    transition: transform 0.2s;
}

.service-types-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.service-types-checkbox-list.show .service-types-list {
    display: block;
}

.service-type-option {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
}

.service-type-option:hover {
    background-color: #f8f9fa;
}

.service-type-option:last-child {
    border-bottom: none;
}

.service-type-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    width: 100%;
}

.service-type-label .service-type-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
}

.service-type-info {
    flex: 1;
}

.service-type-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.service-type-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.service-type-capacity {
    font-size: 11px;
    color: #888;
}

.service-type-description {
    font-size: 11px;
    color: #888;
}

.service-type-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.service-type-ride {
    background: #e7f3ff;
    color: #0066cc;
}

.service-type-delivery {
    background: #f0f9ff;
    color: #0891b2;
}

.service-type-truck {
    background: #fef3c7;
    color: #d97706;
}

.service-type-tow_truck {
    background: #fee2e2;
    color: #dc2626;
}

.service-type-checkbox {
    margin-right: 8px;
}

.input-disabled {
    background-color: #f3f4f6 !important; /* gray-100 */
    color: #9ca3af !important; /* gray-400 */
    cursor: not-allowed !important;
}

.datepicker {
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 2px solid #8b5cf6;
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover {
    background: #8b5cf6 !important;
    border-color: #8b5cf6 !important;
    color: white !important;
}

.datepicker table tr td.today {
    background: #e5e7eb !important;
    color: #374151 !important;
}

.datepicker table tr td.today:hover {
    background: #d1d5db !important;
}

.datepicker .datepicker-switch {
    font-weight: 600;
    color: #374151;
}

.datepicker .prev,
.datepicker .next {
    color: #8b5cf6;
}

.datepicker .prev:hover,
.datepicker .next:hover {
    background: #f3f4f6 !important;
}

.custom-date-input {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.custom-date-input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    outline: none;
}

.form-label-custom {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.input-group-custom {
    position: relative;
}

.calendar-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #8b5cf6;
    pointer-events: none;
    z-index: 10;
}
.document-section {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 20px;
    background-color: #f8f9fa;
}

.status-select[data-status="approved"] {
    background-color: #d4edda;
    color: #155724;
}

.status-select[data-status="rejected"] {
    background-color: #f8d7da;
    color: #721c24;
}

.status-select[data-status="under_review"] {
    background-color: #fff3cd;
    color: #856404;
}

.status-select[data-status="not_provided"] {
    background-color: #d1ecf1;
    color: #0c5460;
}

.text-success {
    font-size: 12px;
    font-weight: 500;
}

.text-muted {
    font-size: 11px;
    font-style: italic;
}

.file-input-group .btn {
    margin-top: 8px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1055;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

.modal.show {
    display: block !important;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    max-width: 800px;
    pointer-events: none;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.5);
    outline: 0;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 1.25rem;
    font-weight: 500;
}

.modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
}

.modal-footer .btn + .btn {
    margin-left: 0.25rem;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}

.modal-open {
    overflow: hidden;
}

#documentImage {
    max-width: 100%;
    height: auto;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
    background-color: transparent;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

.documents-form .row {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.documents-form .row:last-child {
    border-bottom: none;
}

.custom-file-label {
    color: #6c757d;
    font-size: 0.875rem;
}

.form-control-label {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.text-muted {
    font-size: 0.75rem;
}

.input-group .custom-file {
    flex: 1 1 auto;
}

.input-group-append .btn {
    height: 100%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 0.375rem 0.75rem;
}

.input-group .custom-file-label {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-append .btn i {
    font-size: 14px;
}

.custom-file-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 90px; /* место для кнопки View */
}

.custom-file-label.selected {
    color: #495057;
    font-weight: 500;
}

.compliments-section {
    margin-top: 1.5rem;
    padding: 28px 23px;
}

.compliments-title {
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.compliments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 100%;
}

/* Adjust for 5 items: 3 in first row, 2 in second row */
.compliments-grid .compliment-card:nth-child(4) {
    grid-column: 1;
}

.compliments-grid .compliment-card:nth-child(5) {
    grid-column: 2;
}

@media (max-width: 1550px) {
    .compliments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

.compliment-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem;
}

.compliment-icon-wrapper {
    position: relative;
    margin-bottom: 0.5rem;
}

.compliment-icon {
    width: 48px;
    height: 48px;
    background-color: #f3f4f6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.compliment-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.compliment-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #3b82f6;
    color: white;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    line-height: 1.2;
}

.compliment-text {
    font-size: 12px;
    font-weight: 500;
    color: #000;
    line-height: 1.3;
    word-wrap: break-word;
}

/* Adjust grid for smaller screens */
@media (max-width: 480px) {
    .compliments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .compliment-icon {
        width: 40px;
        height: 40px;
    }

    .compliment-icon-img {
        width: 20px;
        height: 20px;
    }

    .compliment-text {
        font-size: 11px;
    }
}
