button:disabled,
button[disabled],
button[disabled="disabled"] {
    background: linear-gradient(90deg, #a5b0b1 0%, #b0bdbb 100%), #C4C4C4 !important;
    background: -webkit-gradient(linear, left top, right top, from(#a5b0b1), to(#b0bdbb)), #C4C4C4 !important;
    background: -o-linear-gradient(left, #a5b0b1 0%, #b0bdbb 100%), #C4C4C4 !important;
    cursor: not-allowed;
    pointer-events: all !important;
}

button:disabled:before,
button[disabled]:before,
button[disabled="disabled"]:before {
    background: linear-gradient(90deg, #a5b0b1 0%, #b0bdbb 100%), #C4C4C4 !important;
    background: -webkit-gradient(linear, left top, right top, from(#a5b0b1), to(#b0bdbb)), #C4C4C4 !important;
    background: -o-linear-gradient(left, #a5b0b1 0%, #b0bdbb 100%), #C4C4C4 !important;
}

.details__preload {
    width: 26px;
}

.details__content {
    min-width: 240px;
}

.details__img .zoom_block {
	width: 140px;
	height: 140px;
	border: 1px solid #EFF0F2;
}

.details__img .zoom_block.zoom {
	width: auto;
}

.details__img .zoom_icon {
	top: 3px;
	right: 3px;
}

.details__img .zoom_block.zoom .zoom_icon {
    display: none;
}

.details__img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.details__num a {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
    line-height: 21px;
    color: #1DB054;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.admin__btn {
    padding: 6px 7px 7px 9px;
    border-radius: 4px;
    border: 2px solid #02AAB0;
}

.table__vin {
    padding: 6px 7px 7px 9px !important;
    background: -webkit-gradient(linear, left top, right top, from(#02AAB0), to(#00CDAC));
    background: -o-linear-gradient(left, #02AAB0 0%, #00CDAC 100%);
    background: linear-gradient(
        90deg, #02AAB0 0%, #00CDAC 100%);
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    white-space: nowrap;
}

.history-pay__condition--error:after {
    background-color: #F87171;
}

.pagination__bottom {
    position: relative;
    left: -16px;
}

#update_org_btn {
    margin-top: 26px;
}

.not_id_part {
    color: #F87171 !important;
}

.error_vin {
    color: #F87171;
    position: relative;
    /*top: 10px;*/
}

/* .vin_reset {
    position: absolute;
    top: 25px;
    right: 39px;
} */

.phone_reset, .vin_reset_history {
    position: absolute;
    top: 14px;
    right: 12px;
}

.selection-user-data {
    width: 157px;
    margin-top: 10px;
}

.selection-user-vin {
    min-width: 270px;
}

.selection-user-vin p {
    font-size: 11px;
    font-weight: 600;
    color: #9CA3AF;
}

.selection-user-phone {
    width: 165px;
    margin-top: 10px;
}

.selection-user-link-active {
    width: 180px;
    /*margin-top: 8px;*/
}

.selection-user-link-active a {
    position: relative;
    z-index: 100;
    display: block;
    padding-top: 8px;
    user-select: initial;
    pointer-events: all;
}

.selection-user-link-active a {
    color: #0054B9 !important;
}

.selection-user-link-active a:hover {
    color: red!important;
}

.accordion__trigger {
    cursor: pointer;
    height: 0px;
}

.selection_preload_list {
    width: 16px;
    position: relative;
    top: 13px;
    left: -4px;
}

.no_link {
    cursor: default !important;
}

.link {
    cursor: pointer !important;
}

.zoom_block {
    position: relative;
}

.zoom_icon {
    position: absolute;
    top: 13px;
    right: 0px;
}

@media screen and (max-width: 768px) {
    .zoom_icon {
        pointer-events: none;
    }

}

.zoom_icon img {
    height: 24px;
}

.zoom {
    transform: scale(5.5); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
    z-index: 100000;
    border: 1px solid #EFF0F2;
    border-radius: 2px;
    position: relative;
    transition: transform .2s; /* Animation */
}

/* Дополнительный класс для меньшего увеличения в ручном каталоге */
.zoom-small {
    transform: scale(3) ;
}

/* Переопределяем прозрачность для увеличенных элементов в ручном каталоге */
.manual-catalog .zoom_image.zoom {
    opacity: 1 !important;
}

/* Стили для лупы в модальном окне со схемой */
.scheme-image-container {
    position: relative;
    display: inline-block;
    cursor: crosshair;
}

.scheme-image-container img {
    display: block;
    max-width: 100%;
    height: auto;
}

.magnifier-lens {
    display: none;
    position: absolute;
    width: 300px;
    height: 300px;
    border: 3px solid #3DBCE1;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-size: 1000% 1000%;
    pointer-events: none;
    z-index: 1001;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%);
}

.scheme-image-container:hover .magnifier-lens {
    display: block;
}

/* Отключаем лупу на мобильных устройствах */
@media screen and (max-width: 768px) {
    .magnifier-lens {
        display: none !important;
    }
    
    .scheme-image-container:hover .magnifier-lens {
        display: none !important;
    }
}

.delete_item {
    position: absolute;
    top: -8px;
    right: -6px;
    background-color: white;
    cursor: pointer;
}

.delete_item svg {
    fill: #9CA3AF;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    transform: rotate(45deg);
}

.delete_item svg:hover {
    fill: #EE5757;
}

.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding to account for vertical scrollbar */
    /*padding-right: 20px;*/
}

.ui-autocomplete::-webkit-scrollbar {
    width: 12px; /* ширина scrollbar */
}

.ui-autocomplete::-webkit-scrollbar-track {
    background: white; /* цвет дорожки */
}

.ui-autocomplete::-webkit-scrollbar-thumb {
    background-color: #a5b0b1; /* цвет плашки */
    border-radius: 20px; /* закругления плашки */
    border: 3px solid white; /* padding вокруг плашки */
}

* html .ui-autocomplete {
    height: 300px;
}

#coordinates {
    margin: auto auto;
    position: relative;
}

/*
#coordinates img{
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: contain;
    left: 0;
}
*/
.delete_recommendation_part_btn {
    transform: translateX(-30px);
    position: absolute;
}

#filter_list_panel {
    padding: 15px 20px;
    display: flex;
}

#filter_list_panel > .filter__span {
    white-space: nowrap;
}

.filter__stickers {
    padding: 0;
}

@media screen and (max-width: 679px) {
    #coordinates {
        width: 100%;
    }
}

@media screen and (max-width: 995px) {
    .search__list {
        flex-direction: column;
    }
}

.small-modal__green-btn {
    background: #10b981;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    width: 100%;
    height: 40px;
    border-radius: 4px;
    border: none;
    transition: all .3s ease;
}

.cards__checkbox1 .cards__checkbox-box1 {
    display: none;
}

#modalBack .cards__checkbox-title1 {
    padding: 8px 10px 8px 10px;
}

#modalBack .cards__checkbox-title1 {
    min-height: 52px;
    height: 52px;
}

#modalBack h6 {
    margin-bottom: 0 !important;
}

#modalBack .modal_content {
    height: auto;
}

#modalBack .modal_body {
    height: auto;
    max-width: 350px;
}

#modalBack .modal_content .enter__title {
    font-size: 18px;
    margin-bottom: 28px;
}

#modalBack .modal_content button {
    max-width: 167px;
    margin: 0 auto;
    display: block;
    background: #00A2D1;
    margin-top: 28px;
}

input:checked + .cards__checkbox-title1 {
    border: 1px solid #00A2D1;
}

input:checked + .cards__checkbox-title1::before {
    content: "";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 12px;
    background: url(../img/icons/radio-arrow.svg);
}

.cards__checkbox-title1 {
    position: relative;
    cursor: pointer;
    width: 100%;
    min-height: 95px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: #ffffff;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border: 1px solid #eff0f2;
    border-radius: 4px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 16px 20px;
    padding-right: 57px;
}

.modal-back__field.active {
    display: block;
    -webkit-animation: fadeInFromNone 0.5s ease-out;
    -moz-animation: fadeInFromNone 0.5s ease-out;
    -o-animation: fadeInFromNone 0.5s ease-out;
    animation: fadeInFromNone 0.5s ease-out;
}

.tabs__action {
    align-items: center;
}

.modal.active {
    display: flex;
}


.cookies-alert {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.cookies-alert__inner {
    background: #FFFFFF;
    border: 1px solid #EFF0F2;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    padding: 18px 35px 18px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width: 992px) {
    .cookies-alert__inner {
        display: block;
    }
}

.cookies-alert__text {
    font-size: 15px;
    line-height: 140%;
    color: #6B7280;
}

.cookies-alert__text a {
    color: #0054B9;
}

.cookies-alert__btn {
    height: 40px;
    padding: 0 15px;
    background: #FFFFFF;
    border: 1px solid #10B981;
    border-radius: 4px;
    font-weight: bold;
    font-size: 15px;
    line-height: 18px;
    color: #10B981;
    transition: all .3s;
}

.cookies-alert__btn:hover {
    background-color: #10B981;
    color: #fff;
}

@media screen and (max-width: 992px) {
    .cookies-alert__btn {
        margin-top: 10px;
    }
}

@media (max-width: 575px) {
    .admin__btn {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100px;
    }

    .user__container .user__name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100px;
    }
}

@media (max-width: 374px) {
    .admin__btn {
        max-width: 75px;
    }

    .user__container .user__name {
        max-width: 75px;
    }
}
