/* Стили таблицы */
.table-responsive {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.spread-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
}

.spread-table thead {
    background-color: #f8f9fa;
}

.spread-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #e9ecef;
}

.spread-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.spread-table tbody tr:last-child td {
    border-bottom: none;
}

.spread-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Элементы таблицы */
.coin-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.coin-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.coin-symbol {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 0.25rem;
}

.chain-badge {
    background-color: #e0f2fe;
    color: #0369a1;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.positive {
    color: #16a34a;
    font-weight: 600;
}

.negative {
    color: #dc2626;
    font-weight: 600;
}

.percentage-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

.percentage-badge.positive {
    background-color: #dcfce7;
}

.percentage-badge.negative {
    background-color: #fee2e2;
}

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

.exchange {
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 6px;
}

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

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

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

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