/* ============================================================
   双列对照表样式（参考 ip.cn/huilv.html 风格）
   ============================================================ */

.dual-section {
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 18px 20px;
}

.dual-section .section-title {
    font-size: 1.05rem;
    color: #1b3a5c;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dual-col {
    display: flex;
    flex-direction: column;
}

.dual-title {
    text-align: center;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.dual-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.dual-table thead th {
    background: #f5f7fa;
    color: #333;
    font-weight: 500;
    padding: 8px 10px;
    border: 1px solid #e8e8e8;
    text-align: left;
}

.dual-table thead th:last-child {
    text-align: right;
}

.dual-table tbody td {
    padding: 6px 10px;
    border: 1px solid #f0f0f0;
    color: #333;
}

.dual-table tbody td:first-child {
    color: #999;
    text-align: left;
}

.dual-table tbody td:last-child {
    text-align: right;
    font-weight: 500;
    color: #1b3a5c;
}

.dual-table tbody tr:hover {
    background: #fafafa;
}

.dual-table tbody tr.clickable-row {
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.dual-table tbody tr.clickable-row:hover {
    background: #fff4e6;
}

.dual-table tbody tr.clickable-row:hover td {
    color: #e6550d;
}

.dual-table tbody tr.clickable-row:hover td .rate-val {
    color: #e6550d;
    font-weight: 700;
}

@media (max-width: 768px) {
    .dual-grid {
        grid-template-columns: 1fr;
    }
}
