/* Стили таблицы */
.table-responsive {
    overflow-x: auto;
    border-radius: 8px;
}

/* Exchange badges */
.exchange-badge {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-1 {
    background-color: #e0f2fe;
    color: #0369a1;
}

.badge-2 {
    background-color: #fef3c7;
    color: #92400e;
}

.chain-badge {
    display: inline-block;
    background-color: #e0f2fe;
    color: #0369a1;
    padding: 0.1rem 0.35rem;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 500;
}

/* Спред на странице монеты (coin/show.html.twig); таблица /spreads
   оформлена своими классами в pages/spread.css. */
.spread-pct {
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
}

.spread-pct-reverse {
    font-size: 0.72rem;
    white-space: nowrap;
    opacity: 0.7;
}

.spread-pct-minmax {
    font-size: 0.68rem;
    white-space: nowrap;
    opacity: 0.55;
}

.spread-pct.positive,
.spread-pct-reverse.positive,
.spread-pct-minmax.positive {
    color: #16a34a;
}

.spread-pct.negative,
.spread-pct-reverse.negative,
.spread-pct-minmax.negative {
    color: #dc2626;
}



.exchanges {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.exchange {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
}

.first-exchange {
    background-color: #e0f2fe;
    color: #0369a1;
}

.second-exchange {
    background-color: #fef3c7;
    color: #92400e;
}

.coin-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coin-symbol {
    font-size: 0.75rem;
    color: #7f8c8d;
}

.time-info {
    font-size: 0.8rem;
    color: #2c3e50;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    white-space: nowrap;
}

.date-info {
    font-size: 0.7rem;
    color: #7f8c8d;
}

.volume-info {
    font-size: 0.8rem;
}

.volume-values {
    display: flex;
    flex-direction: column;
}
