/* ── 贷款类型标签切换 ── */
.loan-type-tabs {
    display: flex;
    gap: 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.loan-type-tab {
    flex: 1;
    padding: 0.7rem 0;
    border: none;
    background: #fafafa;
    color: #666;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    border-right: 1px solid #e0e0e0;
}

.loan-type-tab:last-child {
    border-right: none;
}

.loan-type-tab:hover {
    background: #f0f4ff;
    color: #2563eb;
}

.loan-type-tab.active {
    background: #2563eb;
    color: white;
    font-weight: 600;
}

/* ── 类型提示 ── */
.type-hint {
    font-size: 0.8rem;
    color: #999;
    margin: 0 0 1.4rem;
}

/* ── Mobile ── */
@media (max-width: 640px) {
    .loan-type-tabs {
        flex-wrap: wrap;
    }
    .loan-type-tab {
        flex: 1 1 50%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    .loan-type-tab:nth-child(odd) {
        border-right: 1px solid #e0e0e0;
    }
    .loan-type-tab:nth-child(n+3) {
        border-bottom: none;
    }
}
