.projectRegistration .banner{
    width: 100%;
    height: 21.875vw;
    background-size: 100% 100%;
}
.projectRegistration .banner img{
    width: 6.979vw;
    height: 2.0833vw;
    margin-top: 3.75vw;
}
.projectRegistration .banner h2{
    color: #FFF;
    font-family: "Montserrat-SemiBold" !important;
    font-size: 2.5vw;
    font-style: normal;
    line-height: 150%; /* 150% */
    text-transform: capitalize;
    margin-top: 2.0833vw;
}
.projectRegistration .banner p{
    color: #FFF;
    font-family: Montserrat;
    font-size: 0.9375vw;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 150% */
    margin-top: 0.8333vw;
}
.projectRegistration .form-content{
    margin-top: 4.1667vw;
    padding: 2.0833vw 0;
    background: #FAFAFA;
    border-radius: 0.8333vw;
}

.projectRegistration .form-content .form-row{
    display: flex;
    gap: 2.0833vw;
    padding: 0 2.0833vw;
}
.projectRegistration .form-content .left-form,
.projectRegistration .form-content .right-form{
    flex: 1 1 0;
    min-width: 0;
}
.projectRegistration .form-title{
    padding-left: 0.8333vw;
    margin-bottom: 2.0833vw;
}
.projectRegistration .project-form .form-title{
    border-left: 0.3vw solid #1ECC44;
}   
.projectRegistration .customer-form .form-title{
    border-left: 0.3vw solid #3A66FB;
}
.projectRegistration .distributor-form .form-title{
    border-left: 0.3vw solid #E93838;
}
.projectRegistration .endUser-form .form-title{
    border-left: 0.3vw solid #E93838;
}
.projectRegistration .distributor-form,
.projectRegistration .endUser-form{
    margin-top: 8.8vw;
}
.projectRegistration .form-title h2{
    color: #231815;
    font-family: "Montserrat-SemiBold" !important;
    font-size: 1.25vw;
    font-style: normal;
    line-height: 150%; /* 150% */
}
/* 行容器 */
.project-form__row {
    display: grid;
    gap: 1.25vw;
    width: 100%;
    margin-bottom: 2.0833vw;
}

.project-form__row--2col {
    grid-template-columns: repeat(2, 1fr);
}

.project-form__row--1col {
    grid-template-columns: 1fr;
}
/* ---------- 单个表单字段 ---------- */
.form-field {
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Label */
.form-field__label {
    color: #231815;
    font-family: 'Montserrat';
    font-size: 0.8333vw;
    font-weight: 400;
    line-height: 150%;
}

.form-field__required {
    color: #dc3545;
    margin-left: 0.2083vw;
}
/* ---------- 输入框容器 ---------- */
.form-field__input-wrapper {
    display: flex;
    padding: 0.625vw;
    align-items: center;
    gap: 1.4583vw;
    align-self: stretch;
    border-radius: 0.4167vw;
    border: 0.0521vw solid #EEE;
    background: #FFFFFF;
    height: 2.3958vw;
    transition: border-color 0.2s ease;
}

.form-field__input-wrapper:focus-within {
    border-color: #3A66FB;
}
/* 通用输入框 */
.form-field__input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Montserrat';
    font-size: 0.7292vw;
    font-weight: 400;
    color: rgba(35, 24, 21, 0.40);
    line-height: 1.25vw;
}

.form-field__input::placeholder {
    font-size: 0.7292vw;
    color: rgba(35, 24, 21, 0.40);
}
/* ---------- 选择框容器（Bootstrap Select）---------- */
.form-field__input-wrapper--select {
    position: relative;
    padding: 0;
}

.form-field__input-wrapper--select .bootstrap-select {
    position: relative;
    width: 100% !important;
}

.form-field__input-wrapper--select .bootstrap-select .btn {
    height: 2.3958vw;
    padding: 0 0.625vw;
    background: transparent;
    border: none !important;
    border-radius: 0.4167vw;
    font-family: 'Montserrat';
    font-size: 0.7292vw;
    font-weight: 400;
    color: rgba(35, 24, 21, 0.40);
    line-height: 1.25vw;
    box-shadow: none !important;
}

.form-field__input-wrapper--select .bootstrap-select .btn:focus,
.form-field__input-wrapper--select .bootstrap-select .btn:active,
.form-field__input-wrapper--select .bootstrap-select .btn:hover {
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.form-field__input-wrapper--select .bootstrap-select .dropdown-toggle .filter-option {
    line-height: 1.25vw;
    display: flex;
    align-items: center;
}

/* 下拉箭头 */
.form-field__input-wrapper--select .dropdown-toggle::after {
    content: "\e61e" !important;
    font-family: "iconfont";
    vertical-align: middle;
    font-weight: normal;
    border-top: 0;
    border-bottom: 0;
    font-size: 1.0417vw;
    color: #9FA0A0;
}

/* 下拉面板 */
.form-field__input-wrapper--select .bootstrap-select .dropdown-menu {
    padding: 0;
    min-width: 100%;
    border-radius: 0.4167vw;
    box-shadow: 0 0.2083vw 0.625vw rgba(0, 0, 0, 0.1);
    overflow: visible !important;
    min-height: 2.0833vw;
}

.form-field__input-wrapper--select .bootstrap-select .dropdown-menu .inner {
    /* max-height: 16.6667vw; */
    overflow-y: auto;
}

.form-field__input-wrapper--select .bootstrap-select .dropdown-menu li a {
    font-family: 'Montserrat';
    font-size: 0.7292vw;
    font-weight: 400;
    color: #231815;
    padding: 0.4167vw 0.8333vw;
    line-height: 1.25vw;
}

.form-field__input-wrapper--select .bootstrap-select .dropdown-menu li a:hover {
    background-color: #fafafa;
    color: #231815;
}

.form-field__input-wrapper--select .bootstrap-select .dropdown-menu li:first-child a {
    border-radius: 0.4167vw 0.4167vw 0 0;
}

.form-field__input-wrapper--select .bootstrap-select .dropdown-menu li:last-child a {
    border-radius: 0 0 0.4167vw 0.4167vw;
}

.form-field__input-wrapper--select .bootstrap-select .dropdown-menu li.selected a {
    color: #3A66FB;
    background-color: rgba(58, 102, 251, 0.06);
    font-family: 'Montserrat-SemiBold';
}

/* 城市下拉 Loading 旋转动画 */
.city-loading-spinner {
    display: inline-block;
    width: 1.0417vw;
    height: 1.0417vw;
    border: 0.1042vw solid #e0e0e0;
    border-top-color: #3A66FB;
    border-radius: 50%;
    animation: city-spinner-rotate 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes city-spinner-rotate {
    to { transform: rotate(360deg); }
}

/* 城市下拉提示项（无数据/未选省）居中 */
.form-field__input-wrapper--select .bootstrap-select .dropdown-menu li.disabled .text {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    gap: 0.4167vw;
}
/* ========== 自定义日期选择器 (flatpickr) ========== */
.date-picker-custom {
    display: flex;
    align-items: center;
    align-self: stretch;
    width: 100%;
    box-sizing: border-box;
    border: 0.0521vw solid #EEE;
    border-radius: 0.4167vw;
    background: #FFFFFF;
    height: 2.3958vw;
    /* padding: 0 0.625vw; */
    transition: border-color 0.2s ease;
    cursor: pointer;
    padding-right: .2604vw;
}

.date-picker-custom:focus-within {
    border-color: #EEE;
}

.date-picker-custom--open {
    border-color: #3A66FB !important;
}

.date-picker-custom.date-picker-custom--disabled {
    background: #f5f5f5;
    cursor: not-allowed;
    user-select: none;
}
.date-picker-custom.date-picker-custom--disabled .flatpickr-input{
    background-color: #f5f5f5 !important;
    cursor: not-allowed;
    user-select: none;
}
.date-picker-custom--disabled .date-picker-icon {
    pointer-events: none;
}

.date-picker-custom .form-control {
    border: none;
    outline: none;
    background: transparent;
    border-radius: 0.4167vw;
    font-family: 'Montserrat';
    font-size: 0.7292vw;
    font-weight: 400;
    color: rgba(35, 24, 21, 0.40);
    line-height: 1.25vw;
    width: 100%;
    height: 100%;
    padding: 0;
    cursor: pointer;
    padding-left: 0.625vw;
}

.date-picker-custom .form-control::placeholder {
    font-size: 0.7292vw;
    color: rgba(35, 24, 21, 0.40);
}

.date-picker-custom .form-control:disabled,
.date-picker-custom .form-control[readonly] {
    background-color: #fff ;
}

.date-picker-custom .form-control:focus {
    border: none !important;
    box-shadow: none;
}

.date-picker-icon {
    margin: 0 0.625vw;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.date-picker-custom i {
    font-size: 1.0417vw;
    color: #c0c4cc;
}

/* 日历面板宽度由 JS 同步为输入框宽度，内部容器与日期格子需自适应拉伸 */
.flatpickr-days,
.dayContainer {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

.flatpickr-day {
    width: 14.2857143% !important;
    flex-basis: 14.2857143% !important;
    max-width: 14.2857143% !important;
}

/* 错误状态 */
.form-field.error .date-picker-custom {
    border-color: #dc3545;
}

/* ---------- 错误校验样式 ---------- */
.form-field.error .form-field__input-wrapper,
.form-field.error .form-field__textarea-wrapper {
    border-color: #dc3545;
}

.form-field__error {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.3125vw;
    font-size: 0.7292vw;
    color: #dc3545;
    line-height: 1.2;
    white-space: nowrap;
}

.form-field.error .form-field__error {
    display: block;
}

/* ---------- 附件模块错误提示 ---------- */
.attachment-error {
    display: block;
    position: static;
    color: #dc3545;
    font-size: 0.7292vw;
    margin-top: 0.4167vw;
}

/* ---------- 禁用状态 ---------- */
.form-field.disabled .form-field__input-wrapper,
.form-field.disabled .form-field__textarea-wrapper {
    background: #f5f5f5;
    cursor: not-allowed;
}

.form-field.disabled .form-field__input,
.form-field.disabled .form-field__textarea {
    color: #999;
    cursor: not-allowed;
}

.form-field__input-wrapper--select.disabled {
    background: #f5f5f5;
}

.form-field.disabled .bootstrap-select .btn {
    background: #f5f5f5 !important;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}
/* ---------- 只读输入框容器 ---------- */
.form-field__input-wrapper--readonly {
    background: #f5f5f5;
}

.form-field__input-wrapper--readonly .form-field__input {
    color: #999;
    cursor: default;
}

/* ---------- 公司名模糊搜索下拉 ---------- */
.form-field__input-wrapper--autocomplete {
    position: relative;
    padding: 0;
}

.form-field__input-wrapper--autocomplete .form-field__input {
    width: 100%;
    height: 100%;
    padding: 0 0.625vw;
    margin: 0;
}

.autocomplete-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 10.4167vw;
    overflow-y: auto;
    background: #fff;
    border: 0.0521vw solid #EEE;
    border-top: none;
    border-radius: 0 0 0.4167vw 0.4167vw;
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0 0.2083vw 0.625vw rgba(0, 0, 0, 0.1);
}

.autocomplete-dropdown--visible {
    display: block;
}

.autocomplete-dropdown__item {
    display: flex;
    align-items: center;
    height: 2.0833vw;
    padding: 0 0.8333vw;
    font-family: 'Montserrat';
    font-size: 0.7292vw;
    font-weight: 400;
    color: #231815;
    cursor: pointer;
    line-height: 150%;
    transition: background 0.15s ease, color 0.15s ease;
}

.autocomplete-dropdown__item:hover {
    background-color: #fafafa;
    color: #231815;
}

.autocomplete-dropdown__item--active {
    color: #3A66FB;
    background-color: rgba(58, 102, 251, 0.06);
    font-family: 'Montserrat-SemiBold';
}
/* ---------- 提交按钮 + 进度条 ---------- */
.submit-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-top: 4.1667vw;
}

.submit-btn {
    display: flex;
    height: 2.5vw;
    padding: 0.4167vw 1.25vw;
    justify-content: center;
    align-items: center;
    gap: 0.4167vw;
    border-radius: 0.4167vw;
    background: #3A66FB;
    backdrop-filter: blur(15px);
    color: #FFF;
    font-family: 'Montserrat-SemiBold';
    font-size: 0.7292vw;
    line-height: 150%;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    flex-shrink: 0;
    margin-left: 2.0833vw;
}

.submit-btn:hover {
    background: #2A56EB;
}

.submit-section .progress-box {
    width: calc(50% - 1.0416vw);
    margin-right: 2.0833vw;
    padding-left: 2.0833vw
}

.submit-section .progress-box__title {
    color: #231815;
    font-family: "Montserrat-SemiBold" !important;
    font-size: 0.9375vw;
    font-style: normal;
    line-height: 150%;
    text-transform: capitalize;
}

.submit-section .progress-box__bar {
    margin-top: 0.8333vw;
    width: 100%;
    height: 4px;
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
}

.submit-section .progress-box__fill {
    width: 0%;
    height: 100%;
    background: #3A66FB;
    transition: width 0.3s ease;
}
/* ---------- 数字输入框（加减号） ---------- */
.form-field__input-wrapper--number {
    display: flex;
    align-items: center;
    gap: 0.4167vw;
}

.form-field__input-wrapper--number .number-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: #231815;
    font-size: 1.25vw;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.form-field__input-wrapper--number .number-input {
    flex: 1;
    text-align: center;
}
/* ---------- 隐私政策同意 ---------- */
.projectRegistration .privacy-agree {
    margin-top: 0.8333vw;
    margin-bottom: 0.8333vw;
}

.projectRegistration .privacy-agree__desc {
    color: #231815;
    font-family: Montserrat;
    font-size: 0.625vw;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.projectRegistration .privacy-agree__desc p {
    color: #231815;
    font-family: Montserrat;
    font-size: 0.625vw;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
    margin-bottom: 0.8333vw;
}

.projectRegistration .privacy-agree__link {
    color: #3A66FB;
    font-family: "Montserrat-SemiBold" !important;
    font-size: 0.625vw;
    font-style: normal;
    line-height: 150%;
    text-decoration: none;
}

.projectRegistration .privacy-agree__checkbox {
    display: flex;
    align-items: center;
    gap: 0.4167vw;
    cursor: pointer;
}

.projectRegistration .privacy-agree__checkbox input[type="checkbox"] {
    width: 0.8333vw;
    height: 0.8333vw;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #3A66FB;
}

.projectRegistration .privacy-agree__label {
    color: #231815;
    font-family: Montserrat;
    font-size: 0.625vw;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}
/* ---------- 文件上传 ---------- */
.projectRegistration .file-upload {
    display: flex;
    align-items: center;
    gap: 1.25vw;
}

.projectRegistration .file-upload__name-wrapper {
    flex: 1;
}

.projectRegistration .file-upload__name-wrapper .form-field__input {
    cursor: default;
}

.projectRegistration .file-upload__btn {
    flex-shrink: 0;
    height: 2.3958vw;
    padding: 0 1.25vw;
    border-radius: 0.4167vw;
    background: #3A66FB;
    color: #FFF;
    font-family: "Montserrat-SemiBold" !important;
    font-size: 0.729vw;
    font-style: normal;
    line-height: 150%;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.projectRegistration .file-upload__btn:hover {
    background: #2A56EB;
}

.projectRegistration .file-upload__file {
    display: none;
}