/* ============ 延迟退休计算器 - 工具专属样式 ============ */
/* 布局 / 卡片 / 按钮 / 空状态 / 说明区块均复用 common.css 公共样式 */

.form-row {
    display: flex;
    gap: 10px;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    background: #fff;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s;
    font-family: inherit;
}

.form-control:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-control-month {
    width: 110px;
    flex: none;
}

.input-hint {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 6px;
}

.error-msg {
    margin-top: 12px;
    padding: 10px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #dc2626;
    font-size: 13px;
}

.result-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.result-item-card {
    padding: 16px 18px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.result-item-card.highlight {
    background: linear-gradient(135deg, #f3e8ff, #ede9fe);
    border-color: #c4b5fd;
}

.item-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.item-value {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.result-item-card.highlight .item-value {
    color: #6b21a8;
}

.result-note {
    padding: 14px 16px;
    background: #f5f3ff;
    border: 1px dashed #c4b5fd;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.8;
    color: #5b21b6;
}

/* ============ 延迟退休对照表 ============ */
.table-card {
    margin-bottom: 20px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}

.retire-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 520px;
}

.retire-table th {
    padding: 12px 14px;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.retire-table td {
    padding: 10px 14px;
    border-top: 1px solid #f0eaf9;
    text-align: center;
    color: #374151;
    white-space: nowrap;
}

.retire-table tbody tr:nth-child(even) {
    background: #faf8ff;
}

.retire-table tbody tr:hover {
    background: #f3e8ff;
}

.retire-table .td-year {
    font-weight: 600;
    color: #6b21a8;
}

.table-note {
    margin-top: 12px;
    padding: 10px 14px;
    background: #f5f3ff;
    border: 1px dashed #c4b5fd;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.8;
    color: #6b21a8;
}

@media (max-width: 560px) {
    .result-grid {
        grid-template-columns: 1fr;
    }
}
