 .applytrialBody {
    background: url(../images/applytrialBg.jpg) no-repeat center center; background-size: cover; padding: 20px 0px 50px 0px;

 }
 .applytrialTit { text-align: center; padding: 35px 0px 45px 0px;}
.trailContainer {
    max-width: 1000px;
    margin: 0px auto;   
    box-sizing: border-box;
    background-color: rgb(255, 255, 255,.5);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid #fff;
}
.trailContainerMid { padding: 30px 240px 80px 240px;}
.applytrialSubTit {  height: 60px;line-height: 60px; font-size: 16px;  background: linear-gradient(to right, rgba(203, 205, 248, .6), rgba(178, 210, 249, .6));  text-align: center;  border-bottom: 1px solid #d3e1fb; border-radius: 12px 12px 0px 0px;}
.applytrialSubTit span { margin: 0px 30px; color: #666; }
.applytrialSubTit span b { color: #333;}
.applytrialSubTit span svg {  vertical-align: middle; fill:#6386f8; margin-top: -2px;}

.trailContainer h1 {
    text-align: center;
    color: #1a73e8;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.trailContainer label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #202124;
}

/* 必填项星号样式 */
label.required::after {
    content: " *";
    color: #d93025;
    margin-left: 2px;
}

/* 输入框通用样式 */
.trailContainer input,
.trailContainer select,
.trailContainer textarea {
    width: 100%;
    padding: 10px 14px;
    box-sizing: border-box;
    border: 1px solid #d2e3fc;
    border-radius: 3px;
    font-size: 15px;
    background-color: #fff;
     
    transition: border-color 0.3s, box-shadow 0.3s;    
    font-family: "微软雅黑";
    color: #333;
}

input[type="text"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
    background-color: #fff;
}

/* 下拉选择样式 */
.trailContainer select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3e%3cpath fill='%235f6368' d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px;
    padding-right: 40px;
    color: #333;
    
}
 

/* 城市选择器容器 - 用于并排显示省和市 */
.city-selector {
    display: flex;
    gap: 10px;
}

.city-selector select {
    flex: 1;
    /* 让两个下拉框平分空间 */
}

/* 单位类型选项卡样式 */
.unit-type-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.unit-type-option {
    flex: 1 1 calc(50% - 5px);
    min-width: 120px;
}

.unit-type-option input[type="radio"] {
    display: none;
}

.unit-type-option label {
    display: block;
    padding: 12px;
    border: 1px solid #d2e3fc;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #f8f9fa;
    margin: 0;
    font-weight: normal;
}

.unit-type-option input[type="radio"]:checked+label {
    /* background-color: #e8f0fe; */
    border-color: #1a73e8;
    color: #1a73e8;
    font-weight: 500;
}

.unit-type-option input[type="radio"]:focus+label,
.unit-type-option input[type="radio"]:hover+label {
    border-color: #8ab4f8;
    /* background-color: #f1f3f4; */
}

/* 使用需求复选框样式 */
.usage-need-group {display: flex; gap: 10px;margin-top: 8px;}

.usage-need-item {  
    padding: 2px 12px;
    display: inline-block;
    border: 1px solid #d2e3fc;
    border-radius: 2px;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: background-color 0.2s;
}

.usage-need-item:hover {
    background-color: #f1f3f4;
    color: #4897ff;
    border: 1px solid #97c4ff;
    
}

.usage-need-item input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #1a73e8;
}

/* 提交按钮样式 */
.submit-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #016cfa;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 40px;
}

.submit-btn:hover {
    background-color: #1765cc;
}

.submit-btn:active {
    background-color: #1557b0;
}

.submit-btn:disabled {
    background-color: #a5c8ff;
    cursor: not-allowed;
}

/* 表单验证错误提示 */
.error-message {
    color: #d93025;
    font-size: 14px;
    margin-top: 6px;
    display: none;
}

/* 提交成功提示框 */

/* ... (原有样式保持不变) ... */

/* 模态弹层 (Modal) */
.applytrialModal {
    display: none;
    /* 默认隐藏 */
    position: fixed;
    z-index: 1000;
    /* 确保在最上层 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    /* 半透明黑色背景 */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    /* 居中显示 */
    padding: 30px 40px;
    border: 1px solid #888;
    width: 90%;
    width: 400px;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
    /* 淡入动画 */
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 模态弹层关闭按钮 */
.close-btn {
    fill: #aaa;
    position: absolute;
    top: 18px; 
    right: 20px;   
    cursor: pointer;    
}

.close-btn:hover,
.close-btn:focus {
    fill: #000; 
}

/* 模态弹层主体 */
.modal-body {
    padding:  20px 0px; 
    position: relative; 
    color: #333;
    line-height: 1.5;   

}
.modalSucuss { text-align: center; margin:  30px 0px;}
.modal-body p { text-align: center; font-size: 16px; line-height: 24px; color: #1a1a1a;}
/* 模态弹层底部 */
.modal-footer {
    text-align: center;
    margin-top: 20px;
}

/* 按钮样式 (复用或定义) */
.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background-color: #fff;
    border: 1px solid #016cfa; 
    width: 160px;
    font-size: 16px;
    text-align: center;
    color: #016cfa ;
}

.btn-primary:hover {
    background-color: #dfeffe;
}

/* .btn-primary:active {
    background-color: #0d47a1;
} */

 

/* 提交按钮禁用状态 */
.submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.6;
}


 
/* 模态框背景 */
.showFailedModal { 
    /* 默认隐藏 */
    position: fixed;
    z-index: 1;
    left: 0;
    top: -100px; 
    width: 100%;
    height: 100px;
    /* height: 100%; */
    /* background-color: rgba(0, 0, 0, 0.5); */
    transition: top 0.5s ease-out;
    /* 动画效果 */
}

/* 显示模态框时的样式 */
.showFailedModal.show {
    top: 80px;  
    /* 移动到视窗内 */
}

/* 模态框内容样式 */
.Failecontent {
    background-color: #fff;
    width: 160px;
    height: 24px;
    line-height: 24px;
    margin: 0px auto;
    padding: 8px 30px;
    border-radius: 3px;
    position: relative;
    text-align: center;
    box-shadow: 0 0px 8px  2px rgba(0, 0, 0, 0.1);
    color: #f56c6c;
}
.Failecontent p ins {fill: #f56c6c;  vertical-align:middle; margin-right: 5px;}
.Failecontent p ins svg {margin-top: 2px;  }
/* 关闭按钮样式 */
.showFailedModal .close-btn { 
    right: 10px;
    top: 9px;  }
 
/* 响应式设计 */
/* @media (max-width: 600px) {
    .container {
        margin: 20px;
        padding: 20px;
    }

    h1 {
        font-size: 24px;
    }

    .unit-type-option {
        flex: 1 1 100%;
    }*/

    /* 在小屏幕上，省和市选择器垂直堆叠 */
    /* .city-selector {
        flex-direction: column;
    }

    .city-selector select {
        flex: none; 
    }
} */