/* ===== 表单模块样式（商机收集：动态渲染 + 真实提交） ===== */

.cta-form {
    max-width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 28px 30px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: left;
    box-sizing: border-box;
}

.cta-form-header {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary, #003b7a);
    text-align: center;
    margin-bottom: 8px;
}

.cta-form-des {
    font-size: 13px;
    color: #888;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cta-form-item {
    margin-bottom: 16px;
}

.cta-form-label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}

.cta-form input,
.cta-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    font-size: 15px;
    background: #f7f8fa;
    color: #333;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, background 0.2s;
    font-family: inherit;
}

.cta-form input:focus,
.cta-form select:focus {
    border-color: var(--primary, #003b7a);
    background: #fff;
}

/* 验证码 */
.cta-captcha-con {
    display: flex;
    gap: 10px;
}

.cta-captcha-con input {
    flex: 1;
    min-width: 0;
}

.cta-captcha-btn {
    flex-shrink: 0;
    padding: 0 16px;
    height: 44px;
    border: 1px solid rgba(0, 59, 122, 0.3);
    background: #fbfbfb;
    border-radius: 10px;
    color: var(--primary, #003b7a);
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: all 0.2s;
}

.cta-captcha-btn:hover:not(:disabled) {
    background: var(--bg-light, #f0f5ff);
}

.cta-captcha-btn:disabled {
    color: #bbb;
    border-color: #ddd;
    cursor: not-allowed;
}

/* 复选框字段 */
.cta-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cta-checkbox-opt {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #e2e2e2;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    background: #f7f8fa;
    user-select: none;
}

.cta-checkbox-opt:hover {
    border-color: var(--primary, #003b7a);
    background: var(--bg-light, #f0f5ff);
}

.cta-checkbox-opt input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    accent-color: var(--primary, #003b7a);
}

/* 多级联动选择 */
.cta-select-con {
    display: flex;
    gap: 10px;
}

.cta-select-con select {
    flex: 1;
    min-width: 0;
}

/* 服务条款 */
.cta-form-terms {
    font-size: 12px;
    color: #5f5f5f;
    text-align: center;
    margin: 8px 0 16px;
    line-height: 1.6;
}

.cta-form-terms input {
    width: auto;
    vertical-align: middle;
    margin-right: 4px;
}

.cta-form-terms a {
    color: #2c57c9;
    text-decoration: none;
}

/* 提交按钮 */
.cta-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--accent, #f5a623);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 2px;
    transition: background 0.2s, transform 0.2s;
    font-family: inherit;
}

.cta-submit-btn:hover {
    background: #d4911e;
    transform: translateY(-1px);
}

.cta-form-success {
    text-align: center;
    font-size: 18px;
    color: #00b388;
    padding: 40px 0;
    font-weight: 600;
}

/* 移动端 */
@media (max-width: 480px) {
    .cta-form {
        padding: 18px;
    }
    .cta-captcha-con,
    .cta-select-con {
        flex-direction: column;
    }
}
