.exchanges-section {
    margin-top: .6rem;
}

.exchanges-section input:focus,
.trade-header input:focus {
    box-shadow: none;
    border-color: var(--border-color);
}

.exchanges-search {
    position: relative;
}

.exchanges-search span {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
}

.exchanges-search span svg {
    width: 12px;
}

.exchanges-data {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hide-exchange {
    opacity: 0;
    bottom: -100px;
    visibility: hidden;
}

.exchange {
    display: flex;
    background: var(--bg-card);
    padding: 7px;
    margin-top: 6px;
    border-radius: 12px;
    width: 100%;
    border: 1px solid var(--border-color);
    align-items: center;
    position: absolute;
    transition: top .2s ease-in;
}

.exchange-left {
    min-width: 50px;
    display: flex;
    flex-direction: column;
    margin-right: .5rem;
    align-items: center;
}

.exchange-left img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}

.exchange-left .img-placeholder {
    width: 40px;
    height: 40px;
}

.exchange-left .binance_links {
    flex-wrap: wrap;
    margin-top: .4rem;
    max-width: 50px;
    justify-content: center;
    min-height: 32px;
}

.exchange-left .binance_links a i {
    font-size: .6rem;
}

.exchange-left .binance_links small {
    font-size: .6rem;
}

.exchange-right a {
    text-decoration: none;
    font-weight: bold;
    color: var(--text-primary);
    font-size: .75rem;
    margin-right: 5px;
}

.exchange-right {
    flex-grow: 1;
}

.exchange-right p {
    margin-bottom: 0;
    font-size: .75rem;
}

.exchange-right .exchange-header>span {
    margin-right: 5px;
    font-size: 12px;
}

.exchange-right .exchange-header>span>span {
    font-weight: bold;
}

.exchange-right .total_value .percent-gap {
    font-size: 10px;
}

.exchange-filter {
    display: flex;
    justify-content: flex-end;
    margin-top: 7px;
    align-items: center;
}

.candle-select {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.candle-select>.extreams,
.candle-select>.candle-zero,
.candle-select>.candle-isolated,
.candle-select>.candle-seperator {
    font-size: 0.8rem;
    margin-left: 3px;
}

.candle-select>span.minus_candle_count svg,
.candle-select>span.plus_candle_count svg {
    width: 24px !important;
    height: 24px !important;
}

.plus_candle_count,
.minus_candle_count {
    margin: 0 7px;
}

.candle-select>span:hover {
    color: var(--color-loss);
}

.candle-select .filter-active {
    color: var(--color-profit) !important;
}

.candle-select input {
    width: 22px;
    height: 22px;
    font-size: 12px;
    padding: 4px;
    text-align: center;
    background: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.candle-select input.active {
    border: 2px solid var(--color-loss);
    border-radius: 4px;
}

.exchange-filter span {
    cursor: pointer;
}

span.rsi-filter {
    font-size: 0.7rem;
    margin-left: 3px;
}

span.future-filter {
    font-size: 0.8rem;
    margin-left: 3px;
}

span.future-filter.filter-active {
    color: var(--color-loss);
    font-weight: bold;
}

.exchange-filter span.filter-active {
    color: var(--color-loss);
    font-weight: bold;
}

.exchange-filter .percentage-up,
.exchange-filter .percentage-down {
    margin-right: 4px;
}

/* Bootstrap overrides for dark inputs */
.exchanges-section .form-control {
    background: var(--bg-input);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.exchanges-section .form-control:focus {
    background: var(--bg-input);
    color: var(--text-primary);
}