html,
body {
    max-width: 100vw;
    overflow-x: hidden;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

#app {
    background: #f3f3f3;
}

.content-section-list {
    width: 1200px;
    /* background: #fff; */
    margin: 0 auto;
    margin-bottom: 160px;
    /* padding: 40px; */
    position: relative;
}

/* 返回首页链接 */
.back-link {
    /* margin-bottom: 30px; */
    line-height: 82px;
}

.case-time-content {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 3px;
    padding: 40px 0;
}

.back-home {
    font-size: 14px;
    color: #002768;
    text-decoration: none;
    display: inline-block;
}

.back-home:hover {
    text-decoration: underline;
}

/* 主标题 */
.main-title {
    text-align: center;
    margin-bottom: 95px;
}

.main-title h1 {
    font-size: 22px;
    /* font-weight: bold; */
    color: #002768;
    margin: 0;
}

/* 表单区域 */
.form-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 16px;
    color: #333333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-select {
    width: 600px;
    height: 49px;
    /* border: 1px solid #d1d5db; */
    border-radius: 4px;
    /* padding: 0 15px; */
    font-size: 14px;
    background-color: #fff;
    color: #333;
}

.form-select:focus {
    outline: none;
    border-color: #002768;
}



/* 查询按钮 */
.query-btn {
    width: 145px;
    height: 45px;
    border-radius: 3px;
    background-color: #06c3f5;
    font-size: 16px;
    color: #ffffff;
    border: none;
    cursor: pointer;
    margin-top: 50px;
}

.query-btn:hover {
    background-color: #06c3f5;
}

/* 结果显示区域 */
.result-section {
    margin-top: 60px;
    margin-bottom: 50px;
}

.result-container {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.result-left {
    width: 410px;
    height: 128px;
    background-color: #002768;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px 0 0 4px;
}

.result-text {
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    line-height: 1.4;
}

.result-right {
    width: 190px;
    height: 128px;
    background-color: #be133d;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 4px 4px 0;
}

.time-display {
    color: #ffffff;
    font-size: 36px;
    /* font-weight: bold; */
}

/* 底部容器 */
.bottom-container {
    width: 1200px;
    height: 810px;
    /* border: 1px solid #d1d5db;
    border-radius: 3px;
    background-color: #ffffff; */
    margin: 0 auto;
}

/* 预估日期功能样式 */
.estimated-date-section {
    margin: 0 auto;
    margin-top: 70px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 600px;
}

.date-select-group {
    width: 600px;
    margin-bottom: 20px;
}

.date-label {
    font-size: 14px;
    color: #333333;
    display: block;
    margin-bottom: 10px;
}

.date-input-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* .date-input {
    flex: 1;
    max-width: 300px;
}

.date-input .el-input__inner {
    height: 30px;
    font-size: 14px;
    color: #333333;
    background-color: #f3f3f3;
} */

.date-input-picker-group{
    width: 200px;
    height: 45px;
    border: none;
    
}
.date-input-picker-group .el-input__inner{
    font-size: 14px;
    color: #333;
    background-color: #f3f3f3;
    border: none;
    height: 45px;
    line-height: 45px;
}

.estimate-btn {
    width: 145px;
    height: 45px;
    border-radius: 3px;
    background-color: #002768;
    font-size: 16px;
    color: #ffffff;
    border: none;
}



.estimated-result {
    margin-top: 40px;
    margin-bottom: 20px;
}

.estimated-text {
    font-size: 18px;
    color: #be133d;
}

.estimated-date {
    font-weight: bold;
}

.disclaimer {
    /* margin-top: 50px; */
}

.disclaimer-text {
    font-size: 12px;
    color: #333333;
}
.immigration-banner{
    display: none;
}

     /* Element UI Select 样式 */
     .form-select {
        /* width: 600px; */
    }
    
    .form-select .el-input__inner {
        height: 49px;
        /* border: 1px solid #d1d5db; */
        border-radius: 4px;
        padding: 0 15px;
        font-size: 14px;
        background-color: #fff;
        color: #333;
    }
    
    /* 点击/聚焦时的边框颜色 */
    .form-select .el-input__inner:focus {
        border-color: #002768 !important;
    }
    
    .form-select .el-input.is-focus .el-input__inner {
        border-color: #002768 !important;
    }
    
    .form-select .el-input__inner:hover {
        border-color: #002768;
    }
    
    .form-select.is-focus .el-input__inner {
        border-color: #002768 !important;
    }
    
    /* 限制下拉菜单宽度，防止超出
    .form-select-dropdown {
        max-width: 600px !important;
        min-width: 600px !important;
    } */
    
    .form-select-dropdown .el-select-dropdown__item {
        max-width: 600px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding: 0 15px;
    }
    


/* ====== 移动端响应式适配 ====== */
@media (max-width: 1200px) {
    body{
        height: 100vh;
    }
    /* 头部 */
    .immigration-banner{
        display: block;
        height: 4rem;
        border-top: 1px solid #e0e0e0;
        background: #ffffff;
    }
    .banner-title{
        font-size: 1.227rem;
        color: #333333;
    }
    .banner-content{
            height: 100%;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
    }

    /* 内容 */
    .breadcrumb-nav{
        display: none;
    }
    .back-link{
        display: none;
    }
    .content-section-list{
        width: 100%;
        margin-top: 0;
        margin-bottom: 0;
        padding: 0 1.333rem;
        background: #ffffff;
        margin-top: 20px;
        padding: 1.867rem 2.133rem;
    }
    .case-time-content{
        border: none;
        padding: 0;
    }
    .main-title{
        display: none;
    }
    .form-select{
        width: 25.8rem;
    }
    .form-label{
        font-size: 1.120rem;
    }
    .el-scrollbar__wrap{
        margin: 0 !important;
    }
    .form-select{
        height: 3rem !important;
    }
    .form-group .el-select .el-input .el-input__inner{
        border: none !important;
        background: #f3f3f3 !important;
        height: 3rem !important;
    }
    .query-btn{
        width: 10.160rem;
        height: 3.2rem;
        border-radius: 1.067rem;
        font-size: 1.120rem;
        margin-top: 2.667rem;
    }
    .result-left{
        width: 17.760rem;
        height: 7.970rem;
    }
    .result-right{
        width: 9.680rem;
        height: 7.970rem;
    }
    .time-display{
        font-size: 1.547rem;
    }
    
    .date-select-group{
        width: 100%;
    }
  
    .estimated-date-section{
        width: 100%;
    }
    .date-input-picker-group{
        width: 12rem !important;
        height: 3.333rem !important;
        border: none;
        
    }
    .estimate-btn{
        width: 10.160rem;
        height: 3.2rem;
        border-radius: 1.067rem;
        font-size: 1.120rem;
    }
    .estimated-result{
        margin-top: 2.667rem;
    }
    .estimated-text{
        font-size: 1.067rem;
    }
    .disclaimer-text{
        font-size: 0.747rem;
    }
}