.counterparties-hero {
    padding: 64px 0 32px;
    text-align: center;
}

.counterparties-section {
    padding-bottom: 80px;
}

.counterparties-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.counterparties-table th {
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    padding: 0 24px 16px 0;
    border-bottom: 1px solid var(--border);
}

.counterparties-table td {
    padding: 16px 24px 16px 0;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    line-height: 1.5;
}

.counterparties-table th:nth-child(2),
.counterparties-table td:nth-child(2) {
    width: 120px;
    white-space: nowrap;
}

.counterparties-table th:nth-child(3),
.counterparties-table td:nth-child(3) {
    width: 150px;
    white-space: nowrap;
}

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

.counterparties-table tbody tr:hover td {
    background: var(--bg-secondary);
}

.counterparties-updated {
    margin-top: 24px;
    font-size: 0.8rem;
    color: var(--text-muted, var(--text-secondary));
}

.counterparties-empty {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .counterparties-table thead {
        display: none;
    }

    .counterparties-table tbody tr {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
    }

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

    .counterparties-table td {
        display: block;
        padding: 4px 0;
        border: none;
        width: auto !important;
        white-space: normal !important;
    }

    .counterparties-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--text-secondary);
        margin-bottom: 2px;
    }
}
