/* 基本养老金计算页专属样式 */

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

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

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

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

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

.yl-val {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    font-family: 'Fira Code', monospace;
}

.yl-total {
    background: #eff6ff;
}

.yl-total .yl-label {
    color: #2563eb;
    font-weight: 600;
}

.yl-total .yl-val {
    color: #2563eb;
    font-size: 1.3rem;
}

.yl-note {
    padding: 0.8rem 1.2rem;
    font-size: 0.82rem;
    color: #999;
    background: #fafafa;
    margin: 0;
    border-top: 1px solid #f0f0f0;
}

.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; }

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