/* 退休年龄计算器专题页专属样式 */

.tx-form {
    grid-template-columns: 1fr 1fr;
}

.tx-result {
    margin-top: 1.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.tx-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.2rem;
    border-bottom: 1px solid #f0f0f0;
}

.tx-result-row:last-child { border-bottom: none; }

.tx-label {
    font-size: 0.9rem;
    color: #666;
}

.tx-val {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.tx-highlight {
    background: #eff6ff;
}

.tx-highlight .tx-label {
    color: #2563eb;
    font-weight: 600;
}

.tx-highlight .tx-val {
    color: #2563eb;
    font-size: 1.2rem;
}

/* 政策对照表 */
.tx-table-wrap {
    overflow-x: auto;
}

.tx-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.tx-table th {
    background: #f5f7fa;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    border-bottom: 2px solid #e0e0e0;
}

.tx-table td {
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.tx-table tr:last-child td { border-bottom: none; }
.tx-table tr:hover td { background: #fafafa; }

@media (max-width: 640px) {
    .tx-form { grid-template-columns: 1fr; }
    .tx-highlight .tx-val { font-size: 1.05rem; }
}
