.market {
    /* background-color: var(--blue-dark); */
    padding-top: 70px;
}

.main_heading {
    font-size: 30px;
    background-color: var(--bg);
    display: flex;
    gap: 5px;
    font-weight: 400;
    color: var(--off-white);
}

/* trade page css start  */

.dashboard {
    display: flex;
    gap: 3px;
    margin-top: 3px;
}

.trading_crypto {
    flex-basis: 180px;
    flex-shrink: 0;
    height: 30px;
    background-color: var(--bg);
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.guid {
    flex-basis: 408px;
    flex-shrink: 0;
    height: 30px;
    background-color: var(--bg);
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.live_price {
    display: flex;
    flex-basis: calc(100% - 594px);
    height: 30px;
    background-color: var(--bg);
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 10px;
}

.chart {
    flex-basis: 100%;
    height: 640px;
    padding: 15px;
    overflow: hidden;
}

.order_book {
    flex-basis: 300px;
    flex-shrink: 0;
    background-color: var(--bg);
    height: 640px;
    padding: 15px;
    max-width: 300px;
}

.buy_sell {
    flex-basis: 300px;
    flex-shrink: 0;
    background-color: var(--bg);
    height: 640px;
}

.pair_detail {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 28px;
    height: 60px;
    background-color: var(--bg);
    padding-left: 24px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 151px;
}

.swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

.pair_name {
    width: 180px;
    display: flex;
    gap: 10px;
}

.pair_high_low {
    display: flex;
    gap: 40px;
    align-items: center;
    overflow-x: auto;
}

.buy_sell {
    padding: 15px;
}

.order_list {
    display: flex;
    justify-content: end;
    flex-direction: column-reverse;
    height: 237px;
    overflow: hidden;
}

.order_icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 24px;
    border: 1px solid var(--border);
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.5;
}

.current_price {
    height: 22px;
    display: flex;
}

.trade_table {
    color: var(--white);
    font-size: 14px;
    font-weight: 400;
}

/* .trade_table td {
    padding: 0.5rem 0.5rem;
    border-bottom: 1px solid var(--border);
} */
.trade_table th {
    padding: 0.5rem 0.5rem;
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.btn {
    border-radius: 2px;
}

.opation {
    padding-bottom: 7px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
}

.limit {
    position: relative;
}

.limit.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--blue);
    left: 0;
    bottom: -8px;
}

.order_book_height {
    height: calc(100% - 87px);
    overflow-y: auto;
}

.buy_sell_order {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    z-index: 1;
}

.depth_bg {
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    transition: all .3s ease;
    z-index: -1;
}

.depth_bg.depth_sell {
    background-color: var(--red);
    opacity: 0.17;
}

.depth_bg.depth_buy {
    background-color: var(--green);
    opacity: 0.17;
}

.amount_box {
    display: flex;
    padding: 7px 8px;
    justify-content: space-between;
    align-items: center;
    border-radius: 3px;
    border: 1px solid var(--border);
}

.scroll {
    overflow-y: auto;
    height: 248px;
}

.pair_list {
    padding: 15px 25px;
    background-color: var(--bg);
    max-height: 577px;
    height: 805px;
    position: absolute;
    top: 63px;
    left: -330px;
    width: 300px;
    transition: all 0.3s;
    z-index: 999999999;
}

.over_flow {
    overflow-y: auto;
    height: 464px;
    padding-right: 4px;
}

.pair_list.show {
    left: 0;
    transition: all 0.3s;
}

/* @keyframes pair {
    0% {
        transform: translateX(-305px);
        opacity: 0.4;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
} */

.form-control.input_control.start {
    padding-left: 35px;
    height: 32px;
}

.search_icone.start {
    left: 10px;
    height: 20px;
    width: 20px;
    top: 43%;
}

.input_control.market_search {
    height: 40px;
    width: 392px;
    padding-right: 40px;
}

.market_top .guid {
    display: none;
}

.star_box {
    height: 35px;
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    border: 1px solid var(--border);
}