.kanban {
    display: flex;
    gap: 5px;
    padding-bottom: 40px;
}

.kanban-area {
    min-height: 150px;
}
.kanban-container {
    width: 100% !important;
    display: flex;
    gap: 5px;
    padding-bottom: 40px;
}
.kanban-board {
    flex: auto;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 300px !important;
    min-height: 300px;
    border-left: 1px dashed #dbdbdb;
}

.kanban-board .kanban-drag {
    max-height: 600px;
    overflow: auto;
    transition: all 0.3s ease-in-out;
}

.kanban-board .kanban-drag::-webkit-scrollbar {
    width: 3px;
}

.kanban-board .kanban-drag::-webkit-scrollbar-track {
    border-radius: 4px;
}

.kanban-board .kanban-drag::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: #eee;
}

.kanban-board .kanban-drag:hover::-webkit-scrollbar-thumb {
    background: var(--bs-gray-500);
}

.kanban__item-name {
    position: relative;
    padding: 10px;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    margin-left: -1px;
}


.kanban__item-name--interest,
.kanban__item-name--ready,
.kanban__item-name--viewed{
    color: #000;
}


.kanban__item-name--presale,
.kanban__item-name--sale,
.kanban__item-name--sold{
    color: #fff;
}

.kanban__item-name--interest {
    background-color: #39a8ef;
}
.kanban__item-name--ready {
    background-color: #2fc5f7;
}
.kanban__item-name--viewed {
    background-color: #55d0e0;
}

.kanban__item-name--presale {
    background-color: #48d1e3;
}
.kanban__item-name--sale {
    background-color: #73da01;
}
.kanban__item-name--sold {
    background-color: #ffab00;
}

.kanban__item-sum {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 10px 20px;
}

.kanban__cars {
    margin-left: -4px;
}
.kanban__car {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 143px;
    padding: 10px;
    background-color: #fff;
    border-left: 4px solid transparent;
    border-radius: 4px;
    margin-bottom: 5px;
    cursor: pointer;
}

.kanban__car[data-code="interest"] {
    border-color: #39a8ef;
}
.kanban__car[data-code="ready"] {
    border-color: #2fc5f7;
}
.kanban__car[data-code="viewed"] {
    border-color: #55d0e0;
}

.kanban__car[data-code="presale"] {
    border-color: #48d1e3;
}
.kanban__car[data-code="sale"] {
    border-color: #73da01;
}
.kanban__car[data-code="sold"] {
    border-color: #ffab00;
}
.kanban-board[data-id="sold"].active .kanban__sold-board-header {
    color: #000;
    transition: color 0.3s ease-in-out;
}
.kanban-board[data-id="sold"] {
    transition: all 0.3s ease-in-out;
}
.kanban-board[data-id="sold"].active {
    background-color: rgba(0,0,0, 0.1);
}
.kanban-board[data-id="sold"].active .kanban-drag {
    border-color: rgba(0,0,0, 1);;
}
.kanban__car-header {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.kanban__car-img-wrapper{
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 3px;
    background-color: #eee;
    width: 50px;
    height: 35px;
    flex: none;
}
.kanban__car-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.kanban__car-camera {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 5px;
    bottom: 2px;
    right: 2px;
    font-size: 10px;
    background-color: #00000073;
    color: #fff;
    line-height: 12px;
    padding: 2px;
    border-radius: 2px;
}

.kanban__car-camera>svg {
    width: 10px;
    height: 10px;
    fill: #fff;
}

.kanban__car-name {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 2px;
}
.kanban__car-desc {
    font-size: 13px;
    line-height: 1;
    color: #808185;
}

.kanban__car-mileage {
    font-size: 12px;
    margin-bottom: 4px;
}
.kanban__car-price {
    font-size: 15px;
    font-weight: bold;
}
.kanban__car-mileage > span,
.kanban__car-price > span {
    font-size: 12px;
    font-weight: normal;
}

.kanban__car-price--up::after,
.kanban__car-price--down::after {
    content: "➜";
    position: absolute;
    margin-left: 4px;
}

.kanban__car-price--up::after {
    color: red;
    transform: rotate(-90deg);
}

.kanban__car-price--down::after {
    transform: rotate(90deg);
    color: #008E7D;
}

.kanban-page {
    padding-top: 30px;
}
.kanban-page .container {
    max-width: 1320px;
}

.kanban-page .profile__section-title{
    justify-content: start;
    gap: 30px;
}
.kanban-link-stat {
    width: auto;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    font-size: 13px;
    line-height: 15px;
    padding: 10px 20px;
    text-align: center;
    color: #737373;
    font-weight: 400;
    background-color: #e6e6e6;
    border-radius: 4px;
    white-space: nowrap;
}
.kanban-link-stat::after {
    content: "";
    width: 20px;
    height: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
    background-image: url('../img/chart.png');
}
.kanban-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
}
.kanban-list__item {
    white-space: nowrap;
    font-size: 12px;
}
.kanban__sold-board {
    padding: 20px;
    text-align: center;
}
.kanban__desc-text {
    display: block;
    margin-bottom: 20px;
    font-size: 13px;
    padding: 15px 20px;
    text-align: center;
    color: #737373;
    background-color: #e6e6e6;
    border-radius: 4px;
    white-space: nowrap;
}
.kanban__sold-board-header {
    margin-bottom: 50px;
    padding: 10px;
    color: #a9a9a9;
}

.kanban-board[data-id="sold"] .kanban-drag{
    position: absolute;
    top: 84px;
    left: 20px;
    right: 20px;
    height: 215px;
    min-height: unset;
    border: 1px dashed rgba(0,0,0, .06);
    margin: 0;
}
.kanban__sold-board-count {
    font-size: 45px;
    line-height: 49px;
    color: inherit;
}
.kanban__sold-board-desc {
    font-size: 15px;
    line-height: 18px;
    color: inherit;
}
.kanban__sold-board-comment {
    margin-top: 50px;
    font-size: 13px;
    line-height: 18px;
    color: inherit;
}

.kanban-board[data-id="delete"] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 15px;
    width: 100% !important;
    min-height: auto;
    background-color: #595959;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.kanban-board[data-id="delete"].active {
    transform: translateY(0);
}


.kanban-board[data-id="delete"] .kanban-drag{
    position: relative;
    min-height: unset;
    max-height: unset;
    height: 90px;
}
.kanban-board[data-id="delete"] .kanban-board-header {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.kanban__delete-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
    line-height: 20px;
    color: #fff;
}
.kanban__delete-btn > svg {
    fill: #fff;
    transform: translate(0, 0);
}

.kanban__delete-hint {
    font-size: 15px;
    line-height: 20px;
    color: #8b8b8b;
    margin-top: 15px;
}

.kanban__car-body {
    margin-bottom: 15px;
}

.kanban__car-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}
.kanban__date {
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    color: #808185;
}
.kanban__car-widget {
    width: 15px;
    height: 15px;
}

.kanban-mob {
    display: none;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 40px;
}
.kanban-mob__head {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.kanban-mob__ui-btn {
    width: 38px;
    height: 38px;
    box-shadow: inset 0 -1px 0 rgb(221 225 227);
    background-size: 20px;
}
.kanban-mob__ui-btn > svg{
    max-width: 30px;
    max-height: 30px;
}

.kanban-mob__select-dropdown {
    min-width: 200px;
}
.kanban-mob__dropdown-value,
.kanban-mob__dropdown-current-value {
    display: flex;
    gap: 7px;
}
.kanban-mob__additional-text {
    font-size: 11px;
    color: #858585;
    text-transform: lowercase;
}
.kanban-mob__dropdown-current-value .kanban-mob__additional-text {
    line-height: 11px;
}

.kanban-mob__tab-head {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.kanban-mob__tab-title {
    font-size: 15px;
}
.kanban-mob__tab-title-value {
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    transform: translateY(1px);
}
.kanban-mob__tab-head-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.kanban-mob__tab-head-content .kanban-list{
    padding: 0;
}
.kanban-mob__tab-head-content .kanban__desc-text {
    margin: 0;
    padding: 10px 20px;
}

.kanban-mob .cars-list-cost__item-name {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: flex-start;
}

.kanban-mob .cars-list-cost__item {
    border: 0;
    box-shadow: inset 0 -1px 0 rgb(221 225 227);
}

.kanban-mob .cars-list-cost__item-name-value {
    font-weight: bold;
}

.kanban-link-add {
    width: auto;
    height: 40px;
    font-size: 15px;
}
.kanban-mob .cars-list-cost__item,
.kanban-mob__ui-btn,
.kanban-link-add,
.kanban-mob__select-dropdown-btn {
    border-radius: 4px;

}

.kanban-mob__empty-cars {
    font-size: 18px;
}
.kanban__car-notify {
    width: 13px;
    height: 15px;
}
.kanban__car-notify > svg {
    width: 100%;
    height: 100%;
    fill: #d5d5d5;
    transition: all 0.3s ease-in-out;
}
.kanban__car-notify.active > svg{
    fill: #2B2D33;
}
.kanban__car-btns {
    display: flex;
    align-items: center;
    gap: 10px;
}
@media (min-width: 1200px) {
    .kanban-link-stat,
    .kanban__desc-text,
    .kanban__car {
        transition: opacity 0.3s ease-in-out;
    }
    .kanban__car-notify.active:hover,
    .kanban-link-stat:hover,
    .kanban__desc-text:hover,
    .kanban__car:hover {
        opacity: 0.8;
    }
    .kanban__car-notify:hover > svg {
        fill: #2B2D33;
    }
}
@media (max-width: 1199.98px) {
    .kanban__car-header {
        flex-direction: column;
    }
    .kanban__car-img-wrapper {
        width: 100%;
        height: 70px;
    }
}

@media (max-width: 991.98px) {
    #kanban {
        display: none;
    }
    .kanban-mob {
        display: flex;
    }
    .kanban__car-widget {
        width: 30px;
        height: 30px;
        padding: 0 7px;
        border-radius: 3px;
    }
    .cars-list-cost__item-actions-btn .icon-notify::after {
        top: 4px;
        right: 2px;
    }
    .kanban-link-stat {
        display: none;
    }
}

@media (max-width: 575.98px) {

    .kanban-page {
        padding-top: 20px;
    }
    .kanban-mob__tab-head-content,
    .kanban-mob__tab-head {
        align-items: left;
    }
    .kanban-page .profile__section-title {
        margin: 0 0 15px;
        gap: 5px;
        flex-wrap: nowrap;
        justify-content: space-between;
        font-size: 20px;
    }

    .kanban-link-add {
        height: 30px;
        font-size: 12px;
    }

    .kanban-mob__select-dropdown {
        width: 100%;
    }
}