.banner_container{
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.banner_container .banner_bg_container{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.banner_bg_container .banner_group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.banner_bg_container .banner_group.active {
    position: relative; /* 第一张/激活项撑开容器高度 */
    opacity: 1;
    visibility: visible;
}
.banner_container .banner_img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to bottom, 
        transparent -10%,
        black 10%
    );
    -webkit-mask-image: linear-gradient(to bottom, 
        transparent -10%, 
        black 10%
    );
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}
.banner_bg_container .banner_img.is-fading {
    opacity: 0;
}
.banner_container .banner_title{
    position: absolute;
    font-size: 7.7vw;
    color: #FFFFFF;
    text-shadow: 0px 0.2vw 1.667vw rgba(40,38,38,0.73);
}

.banner_container .switch_btn_container{
    position: absolute;
    bottom: 3.6vw;
    width: 83%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.banner_container .switch_btn_container .item{
    padding: 1.406vw 1.563vw;
    box-sizing: border-box;
    font-family: none;
    line-height: 1;
    color: #fff;
    border-radius: 0.5vw;
    font-size: 1.1vw;
    font-weight: bold;
    width: 31%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    cursor: pointer;
    transition: background .5s,color .5s;
}
.banner_container .switch_btn_container .item:hover{
    background: rgba(128, 128, 128, 0.4);
}
.banner_container .switch_btn_container .item.active{
    background: rgba(255, 255, 255, 0.4);
    color: #D6020F;
}

.form_list_container .swiper {
    width: 100%;
}
/* =========================================
   新增：Swiper内的表单样式 (Reference to sub_contact_container)
========================================= */
.form_list_container {
    width: 100%;
    background-color: #F2F2F2; /* 匹配参考图中的浅灰色背景 */
    padding: 7vw 0;
    display: flex;
    justify-content: center;
}

.dealer_form_wrapper {
    width: 61%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 表单头部 */
.dealer_form_wrapper .form_header {
    text-align: center;
    margin-bottom: 5vw;
}

.dealer_form_wrapper .form_header h2 {
    font-size: 3.75vw;
    color: #1B1B1B;
    margin-bottom: 0.5vw;
    font-weight: 400;
    letter-spacing: 0.016em;
}

.dealer_form_wrapper .form_header p {
    font-size: 0.94vw;
    color: #808080;
    font-family: none; /* 使用无衬线默认字体 */
}

/* 表单主体 */
.dealer_form_wrapper .form_body {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* 小节标题及红点 */
.dealer_form_wrapper .form_body .section_title {
    font-size: 1vw;
    color: #333333;
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-top: 0.5vw;
    margin-bottom: 2vw;
    font-family: none;
}

.dealer_form_wrapper .form_body .section_title .dot {
    width: 0.3vw;
    height: 0.3vw;
    background-color: #D6010E;
    border-radius: 50%;
    margin-right: 0.8vw;
}

/* 栅格排版系统 */
.dealer_form_wrapper .form_body .form_row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3.5vw;
}

.dealer_form_wrapper .form_body .form_row.row_3 .input_group {
    width: 31%; /* 3等分布局 */
}

.dealer_form_wrapper .form_body .form_row.row_2 .input_group {
    width: 46%; /* 左右2等分布局 */
}

.dealer_form_wrapper .form_body .form_row.row_1 .input_group {
    width: 100%; /* 单列宽布局 */
}

.dealer_form_wrapper .form_body .input_group {
    display: flex;
    flex-direction: column;
}

/* --- 修改：调整 input 样式，取消内边距让其变成单纯的一根线 --- */
.dealer_form_wrapper .form_body .input_group input {
    border: none;
    border-bottom: 1px solid #E0E0E0;
    padding: 0 0 1vh 0; /* 仅保留底部间距 */
    font-size: 1vw;
    color: #1A1A1A;
    background: transparent;
    outline: none;
    transition: border-bottom-color 0.3s ease;
    font-family: none;
}


.dealer_form_wrapper .form_body .input_group input::placeholder {
    color: #666666;
    font-weight: 400;
}

.dealer_form_wrapper .form_body .input_group input:focus {
    border-bottom-color: #D6010E;
}

/* 复选框样式 */
.dealer_form_wrapper .form_body .checkbox_row {
    margin-bottom: 2.5vw;
    margin-top: 0.5vw;
}

.dealer_form_wrapper .form_body .custom_checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.94vw;
    user-select: none;
    color: #A0A0A0;
}

.dealer_form_wrapper .form_body .custom_checkbox .text {
    font-family: none;
}

.dealer_form_wrapper .form_body .custom_checkbox input {
    width: 1vw;
    height: 1vw;
    margin-right: 0.6vw;
    cursor: pointer;
    accent-color: #D6010E;
}

.dealer_form_wrapper .form_body .custom_checkbox a {
    color: #A0A0A0;
    text-decoration: underline;
    transition: color 0.3s;
    font-family: none;
    font-weight: bold;
}

.dealer_form_wrapper .form_body .custom_checkbox a:hover {
    color: #D6010E;
}

/* 红色提交大按钮 */
.dealer_form_wrapper .form_body .submit_btn {
    width: 100%;
    background-color: #D6010E;
    color: #fff;
    border: none;
    padding: 1.6vh 0;
    font-size: 1vw;
    font-family: none;
    line-height: 1;
    border-radius: 0.3vw;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dealer_form_wrapper .form_body .submit_btn:hover {
    background-color: #B80010;
}

/* --- 新增：给 label 增加样式 --- */
.dealer_form_wrapper .form_body .input_group label {
    font-size: 0.94vw;
    color: #666666;
    margin-bottom: 2vh; /* 文字与输入框底线的间距，还原设计图留白 */
    font-family: none; /* 无衬线字体 */
    cursor: pointer;
}
.dealer_form_wrapper .form_body .input_group input,
.dealer_form_wrapper .form_body .input_group textarea {
    border: none;
    border-bottom: 2px solid #E0E0E0;
    padding: 0 0 1vh 0; /* 仅保留底部间距 */
    font-size: 1vw;
    color: #1A1A1A;
    background: transparent;
    outline: none;
    transition: border-bottom-color 0.3s ease;
    font-family: none;
}

/* 限制 PC 端 textarea 的默认高度与拉伸 */
.dealer_form_wrapper .form_body .input_group textarea {
    resize: none;
    height: 1.5vw;
}

.dealer_form_wrapper .form_body .input_group input:focus,
.dealer_form_wrapper .form_body .input_group textarea:focus {
    border-bottom-color: #D6010E;
}
/* 默认隐藏移动端下拉结构 */
.mobile_switch_container {
    display: none;
}
/* =========================================
   全局现代 Toast 居中悬浮提示框组件
========================================= */
.custom_toast_container {
    position: fixed;
    top: 50%;                       /* 屏幕垂直居中 */
    left: 50%;                      /* 屏幕水平居中 */
    transform: translate(-50%, -50%) scale(0.85); /* 初始状态微缩放 */
    z-index: 999999;
    display: flex;
    align-items: center;
    padding: 1.1rem 2.2rem;
    border-radius: 12px;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 500;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* 激活显示状态：恢复原大 + 透明度淡入 */
.custom_toast_container.toast_active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

/* 成功状态 - 绿色左修饰线 */
.custom_toast_container.toast_success {
    border-left: 5px solid #00E676;
}

/* 错误/警告状态 - 品牌红左修饰线 */
.custom_toast_container.toast_error {
    border-left: 5px solid #D6020F;
}

.custom_toast_icon {
    margin-right: 0.85rem;
    font-size: 1.25rem;
    line-height: 1;
}
.custom_toast_container.toast_success .custom_toast_icon { color: #00E676; }
.custom_toast_container.toast_error .custom_toast_icon { color: #D6020F; }

@media (max-width: 996px) {
    .custom_toast_container {
        width: 82%;
        box-sizing: border-box;
        font-size: 3.8vw;
        padding: 4.5vw 6vw;
        border-radius: 3vw;
    }
    /* 横幅容器适配 */
    .banner_container{
        height: 107vw;
    }
    .banner_container .banner_title{
        font-size: 12.3vw;
        bottom: 31vw;
    }

    /* 彻底隐藏 PC 端的切换按钮 */
    .banner_container .switch_btn_container {
        display: none !important;
    }

    /* =========================================
       移动端专属下拉选择框显示与定位
    ========================================= */
    .banner_container .mobile_switch_container {
        display: block !important;
        position: absolute !important;
        bottom: 8vw !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 64% !important;
        z-index: 7 !important;
        font-family: none;
    }

    /* 下拉选择框头部（Trigger） */
    .banner_container .mobile_switch_container .mobile_select_trigger {
        background: rgba(255, 255, 255, 0.25) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        border-radius: 1vw !important;
        padding: 3.5vw 5vw !important;
        font-size: 3.8vw !important;
        font-weight: bold;
        color: #333;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        box-sizing: border-box;
    }
    .banner_container .mobile_switch_container .mobile_select_trigger .selected_text{
        font-family: none;
    }
    .banner_container .mobile_switch_container .mobile_select_trigger .arrow_icon {
        display: inline-block !important;
        font-size: 3.5vw !important; /* 图标缩放大小 */
        color: #fff;
        transform: rotate(90deg); /* 默认顺时针旋转 90 度，让右箭头向下指向 */
        transition: transform 0.3s ease;
    }

    /* 展开状态下，图标向上旋转 */
    .banner_container .mobile_switch_container.open .mobile_select_trigger .arrow_icon {
        transform: rotate(-90deg); /* 展开状态旋转 -90 度，使其向上指向 */
    }
    /* 下拉选项框容器 */
    .banner_container .mobile_switch_container .mobile_select_options {
        display: none; /* 默认闭合 */
        position: absolute;
        top: calc(100% + 1.5vw);
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.85) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        border-radius: 1vw !important;
        box-sizing: border-box;
        overflow: hidden;
        z-index: 11;
    }

    /* 展开状态逻辑 */
    .banner_container .mobile_switch_container.open .mobile_select_options {
        display: block !important;
    }

    /* 下拉单选项样式 */
    .banner_container .mobile_switch_container .mobile_select_options .mobile_option {
        display: block;
        padding: 3.5vw 5vw !important;
        font-size: 3.8vw !important;
        color: #fff;
        text-decoration: none;
        box-sizing: border-box;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        cursor: pointer;
        transition: background 0.3s;
        font-family: none;
    }

    .banner_container .mobile_switch_container .mobile_select_options .mobile_option:last-child {
        border-bottom: none;
    }

    .banner_container .mobile_switch_container .mobile_select_options .mobile_option.active {
        background: rgba(255, 255, 255, 0.15) !important;
        font-weight: bold;
    }

    /* =========================================
       表单相关样式适配
    ========================================= */
    .dealer_form_wrapper{
        width: 91%;
    }
    .dealer_form_wrapper .form_header h2{
        font-size: 8.2vw;
        margin-bottom: 3vw;
    }
    .dealer_form_wrapper .form_header p{
        font-size: 3.6vw;
    }
    .form_list_container{
        padding: 17vw 0;
        background-color: #FFFFFF;
    }
    .dealer_form_wrapper .form_header{
        margin-bottom: 10vw;
    }

    .dealer_form_wrapper .form_body .form_row {
        flex-direction: column !important;
        margin-bottom: 0 !important;
    }
    .dealer_form_wrapper .form_body .form_row.row_3 .input_group,
    .dealer_form_wrapper .form_body .form_row.row_2 .input_group,
    .dealer_form_wrapper .form_body .form_row.row_1 .input_group {
        width: 100% !important;
        margin-bottom: 4vw !important;
    }
    .dealer_form_wrapper .form_body .input_group label {
        display: none !important;
    }

    .dealer_form_wrapper .form_body .input_group input,
    .dealer_form_wrapper .form_body .input_group textarea {
        background-color: #F4F4F4 !important;
        border: none !important;
        border-radius: 1vw !important;
        padding: 4vw 5vw !important;
        font-size: 3.8vw !important;
        color: #1A1A1A !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    .dealer_form_wrapper .form_body .input_group textarea {
        height: 35vw !important;
        resize: none !important;
    }

    .dealer_form_wrapper .form_body .input_group input::placeholder,
    .dealer_form_wrapper .form_body .input_group textarea::placeholder {
        color: #B3B3B3 !important;
        font-size: 3.8vw !important;
    }

    .dealer_form_wrapper .form_body .section_title {
        font-size: 4.2vw !important;
        margin-top: 4vw !important;
        margin-bottom: 4vw !important;
    }
    .dealer_form_wrapper .form_body .section_title .dot {
        width: 1.5vw !important;
        height: 1.5vw !important;
        margin-right: 2vw !important;
    }

    .dealer_form_wrapper .form_body .checkbox_row {
        margin-top: 2vw !important;
        margin-bottom: 6vw !important;
    }
    .dealer_form_wrapper .form_body .custom_checkbox {
        font-size: 3.6vw !important;
    }
    .dealer_form_wrapper .form_body .custom_checkbox input {
        width: 4vw !important;
        height: 4vw !important;
        margin-right: 2vw !important;
    }

    .dealer_form_wrapper .form_body .submit_btn {
        padding: 3.5vw 0 !important;
        font-size: 4vw !important;
        border-radius: 1.5vw !important;
    }
}