.form-container {
    background: #f0f6fc !important;
}
.form-container .form-content {
    min-height: 830px;
}
.formlists .ipt-item .getcode {
    height: 50px;
    line-height: 50px;
}
/* 表单容器整体布局 */
.form-container .form-content {
    min-height: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 0 40px;
}

/* 左侧表单区域 */
.left.form-right {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 30px 40px 35px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

/* 标题区域 */
.left.form-right h3.fnt_34.bold {
    text-align: center;
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 12px;
    font-weight: 700;
}

/* 描述文字 */
#disText {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

/* 登录链接 */
#log_in {
    display: block;
    text-align: right;
    color: #4a7cf7;
    font-size: 14px;
    margin-bottom: 20px;
    text-decoration: none;
}

#log_in:hover {
    text-decoration: underline;
}

/* 表单项基础样式 */
.ipt-item {
    margin-bottom: 8px;
    position: relative;
}

.ipt-item.mb-10 {
    margin-bottom: 8px;
}

/* 标签样式 */
.ipt-item .nametit {
    display: inline-block;
    width: 100px;
    text-align: right;
    font-size: 14px;
    color: #333;
    vertical-align: top;
    line-height: 40px;
    flex-shrink: 0;
}

.ipt-item .nametit .Required {
    color: #e74c3c;
    margin-left: 2px;
}

/* 输入框容器 */
.ipt-item .input-item {
    width: calc(100% - 110px);
    height: 40px;
    padding: 0 14px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
    vertical-align: middle;
}

.ipt-item .input-item:focus {
    border-color: #4a7cf7;
}

.ipt-item .input-item::placeholder {
    color: #bbb;
}

/* 验证码区域 */
.input-yzm {
    display: flex;
    gap: 12px;
    align-items: center;
}

.input-yzm .input-item {
    flex: 1;
    width: auto;
}

.input-yzm .getcode {
    display: inline-block;
    padding: 0 20px;
    height: 40px;
    line-height: 40px;
    border: 1px solid #4a7cf7;
    color: #4a7cf7;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    min-width: 120px;
    box-sizing: border-box;
}

.input-yzm .getcode:hover {
    background: #4a7cf7;
    color: #fff;
}

/* 下拉框样式 */
.ipt-item .input-select {
    display: flex;
    align-items: center;
    width: calc(100% - 110px);
    position: relative;
}

/* 需求/使用人数 错误提示 — 绝对定位在 input-select 下方 */
.ipt-item .input-select .tips {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    color: red;
    font-size: 14px;
    white-space: nowrap;
    margin-top: 2px;
    z-index: 1;
}

.ipt-item .input-select .tips.show {
    display: block;
}

/* 覆盖 HTML 内联的 z-index: 0，防止下拉列表被遮挡 */
.ipt-item[style*="z-index: 0"] {
    z-index: 10 !important;
    position: relative;
}

/* 需求下拉框的父级需要提高 z-index，防止下拉列表被遮挡 */
.ipt-item:has(.input-select) {
    z-index: 10;
}

.ipt-item .input-select .val {
    flex: 1;
    height: 40px;
    line-height: 40px;
    padding: 0 14px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    background: #fff;
    box-sizing: border-box;
}

.ipt-item .input-select .val:hover {
    border-color: #4a7cf7;
}

.ipt-item .input-select .val div {
    color: #bbb;
}

.ipt-item .input-select .val div:not(:empty) {
    color: #333;
}

/* 下拉列表 */
.ipt-item .input-select ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99999 !important;
    background: #fff;
    border: 1px solid #dcdfe6;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ipt-item .input-select ul li {
    padding: 10px 14px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ipt-item .input-select ul li:hover {
    background: #f5f7fa;
}

.ipt-item .input-select ul li .select-icon {
    width: 16px;
    height: 16px;
}

/* 文本域 */
.ipt-item.textarea-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

.textarea-item textarea {
    flex: 1;
    width: auto;
    min-height: 80px !important;
    height: 80px !important;
    padding: 10px 14px;
    border: 1px solid #dcdfe6 !important;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    resize: vertical;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
}

.textarea-item textarea:focus {
    border-color: #4a7cf7 !important;
}

/* 单选按钮区域 */
.radio-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.radio-item .willing-label {
    font-size: 14px;
    color: #333;
}

.radio-item .willing-icon {
    color: #e74c3c;
}

.radio-item label {
    font-size: 14px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 隐私协议 */
.check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #666;
}

.check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.check a {
    color: #4a7cf7;
    text-decoration: none;
}

.check a:hover {
    text-decoration: underline;
}

/* 提交按钮 */
.submit-item {
    margin-top: 10px;
    height: 48px;
}

.submit-item .btn-submit {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #4a7cf7, #6db3f2);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s;
}

.submit-item .btn-submit:hover {
    opacity: 0.9;
}

/* 底部版权 */
.kingdee-footer {
    text-align: center;
    padding: 20px 0;
    color: #999;
    font-size: 13px;
}

/* 当 type 参数存在时隐藏字段后的间距调整 */
#companyNameItem[style*="display: none"],
#userCountItem[style*="display: none"] {
    display: none !important;
}

/* 确保表单区域在隐藏字段后仍然居中美观 */
.left.form-right .formlists form {
    display: flex;
    flex-direction: column;
}

/* 覆盖外部 CSS 的 overflow 限制 */
.formlists,
.form-content,
.left,
.form-right,
.reginfo-box,
.w1440 {
    overflow: visible !important;
}

.formlists .ipt-item button {
    margin-top: 20px;
}

.form-content .form-right .formlists .ipt-item .input-item,
.form-content .form-right .formlists .ipt-item .input-item.input-select {
    min-height: 50px;
    height: 50px;
}

/* 隐藏 number input 的原生上下箭头 spinner — 全浏览器覆盖 */
/* 使用 !important 确保覆盖外部 CSS 的 appearance 设置 */
.ipt-item input[type="number"]::-webkit-outer-spin-button,
.ipt-item input[type="number"]::-webkit-inner-spin-button,
.formlists input[type="number"]::-webkit-outer-spin-button,
.formlists input[type="number"]::-webkit-inner-spin-button,
.input-item input[type="number"]::-webkit-outer-spin-button,
.input-item input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
}
.ipt-item input[type="number"],
.formlists input[type="number"],
.input-item input[type="number"] {
    -moz-appearance: textfield !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* IE10/11 的 spinner 清除按钮和上下箭头 */
.ipt-item input[type="number"]::-ms-clear,
.ipt-item input[type="number"]::-ms-reveal,
.formlists input[type="number"]::-ms-clear,
.formlists input[type="number"]::-ms-reveal {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* 防止外部 CSS 给 .input-item / .input-select 设置 appearance 导致渲染异常 */
.ipt-item .input-select,
.ipt-item .input-select .val,
.formlists .input-select,
.formlists .input-select .val,
.input-item.input-select,
.input-item.input-select .val {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* 全局兜底：隐藏所有可能出现的 number spinner，覆盖任意嵌套层级 */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
}
input[type="number"] {
    -moz-appearance: textfield !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}


/* 错误提示文字 — 在 flex 布局中强制换行到下方，和手机号错误展示方式一致 */
.ipt-item .tip {
    display: none !important;
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    margin-left: 110px;
    width: auto;
    white-space: nowrap;
    flex-basis: 100%;
    order: 99;
}

.ipt-item .tip.show {
    display: block !important;
}

/* 企业名称模糊搜索 */
#companyNameItem {
    display: flex;
    align-items: center;
}

.company-search-wrapper {
    position: relative;
    flex: 1;
    width: auto;
}

.company-search-wrapper .input-item {
    width: 100%;
}

.company-suggest-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #fff;
    border: 1px solid #dcdfe6;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.company-suggest-list.show {
    display: block;
}

.company-suggest-list li {
    padding: 10px 14px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.company-suggest-list li:hover {
    background: #f5f7fa;
}

.company-suggest-list li.highlighted {
    background: #f5f7fa;
}

.ipt-item textarea-item {
    margin-top: 15px;
}

.form-content .form-right .formlists .ipt-item .input-item.input-select span div {
    overflow-y: visible !important;
}

/* 响应式 - 中等屏幕适配（1024px - 1440px） */
@media (max-width: 1440px) and (min-width: 769px) {
    .form-content.w1440 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 30px 40px;
        box-sizing: border-box;
    }

    .left.form-right {
        max-width: 560px;
        margin: 0 auto;
        margin-right: 30px;
    }
}

/* 响应式 - 小屏幕笔记本适配（1280px、1366px 等） */
@media (max-width: 1280px) and (min-width: 769px) {
    .form-content.w1440 {
        padding: 20px 30px 40px;
    }

    .left.form-right {
        max-width: 560px;
        margin: 0 auto;
        padding: 25px 30px 30px;
        margin-right: 25px;
    }

    .left.form-right h3.fnt_34.bold {
        font-size: 24px;
    }

    #disText {
        font-size: 13px;
        margin-bottom: 24px;
    }
}

/* 响应式 - 更小屏幕适配（1024px 及以下） */
@media (max-width: 1024px) and (min-width: 769px) {
    .form-content.w1440 {
        padding: 20px 30px 40px;
    }

    .left.form-right {
        max-width: 560px;
        margin: 0 auto;
        padding: 20px 25px 25px;
        margin-right: 20px;
    }

    .left.form-right h3.fnt_34.bold {
        font-size: 22px;
    }

    .ipt-item .nametit {
        width: 90px;
    }

    .ipt-item .input-item {
        width: calc(100% - 100px);
    }

    .ipt-item .input-select {
        width: calc(100% - 100px);
    }
}

/* 响应式 - 移动端 */
@media (max-width: 768px) {
    .formlists .willing-label {
        margin-right: 0;
    }
    .check {
        margin-left: 0;
    }
    .formlists .ipt-item .input-yzm, .formlists .check {
        padding-left: 29%;
    }
    .left.form-right {
        padding: 30px 20px;
        border-radius: 12px;
        box-shadow: 0px 0px 35px 5px #CCCCCC;
    }

    .ipt-item {
        display: flex;
        align-items: center;
        margin-bottom: 16px;
    }

    .ipt-item .nametit {
        width: 80px;
        min-width: 80px;
        text-align: right;
        line-height: 44px;
        margin-bottom: 0;
        margin-right: 12px;
        font-size: 14px;
        color: #333;
    }

    .ipt-item .input-item,
    .ipt-item .input-select,
    .textarea-item textarea {
        flex: 1;
        width: auto;
        height: 44px;
    }

    .ipt-item .input-select .val {
        height: 44px;
        line-height: 44px;
        position: relative;
    }

    /* 下拉箭头 */
    .ipt-item .input-select .val::after {
        content: '';
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid #999;
    }

    .input-yzm {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .input-yzm .input-item {
        flex: 1;
    }

    .input-yzm .getcode {
        width: auto;
        min-width: 110px;
    }

    .ipt-item textarea {
        height: auto;
        min-height: 80px;
    }

    .company-search-wrapper {
        flex: 1;
        width: auto;
    }

    .radio-item {
        display: none;
    }

    .submit-item {
        margin-left: 0;
        margin-top: 10px;
    }

    .submit-item .btn-submit {
        width: 100%;
    }

    .ipt-item .tip {
        margin-left: 92px;
    }
    .form-content .form-right .formlists .ipt-item #mobil-error,
    .form-content .form-right .formlists .ipt-item #code-error,
    .formlists #privicy-error {
        color: red;
        position: absolute;
        bottom: 0px;
        left: 30%;
        transition: all 0.35s;
    }
    .formlists #privicy-error {
        left: 8% !important;
        bottom: -100%;
    }
    .formlists .check {
        padding-left: 0;
    }
}
