html, body {
    max-width: 100vw;
    overflow-x: hidden;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: #ffffff;
}
#app{
    background: #ffffff;
}

.immigration-banner-service {
    width: 100%;
   border-bottom: 1px solid #e5e7ed;
}
/* 二级导航 */
.banner-content{
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    height: 50px;
    align-items: center;
    gap: 4px;
    box-sizing: border-box;
}
.banner-content .banner-title-service{
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #000000;
    cursor: pointer;
}

/* 主要内容区域 */
.content-section-list {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 头部上面下载中心 */
.mj-pp-main-content{
  padding: 100px 0;

}
.mj-pp-main-content-title{
  text-align: center;
}
.mj-pp-main-title{
  font-family: "Microsoft YaHei" ,sans-serif;
  font-size: 48px;
  color: #000000;
}
.mj-pp-main-desc{
  font-family: "Microsoft YaHei" ,sans-serif;
  font-size: 16px;
  font-weight: normal;
  color: #000000;
  padding-top: 10px;
  margin: 0;
}

/* 左侧导航栏 */
.sidebar {
    /* width: 158px; */
    /* border: 1px solid #002768; */
    /* padding: 20px; */
    display: flex;
    margin-bottom: 40px;
}



.form-list {
    list-style: none;
    padding: 0;
    margin: 0px;
    width: 100%;
    display: flex;
    border: 1px solid #d7d7d7;
    border-radius: 30px;
    height: 48px;
    align-items: center;
    padding: 0 3px;
    /* gap: 50px; */
    min-width: 470px;
}

.form-item {
    cursor: pointer;
    /* transition: all 0.3s ease; */
    height: 40px;
    color: #5e5d59;
    line-height: 40px;
    font-size: 16px;
    width: 100px;
    text-align: center;
    
}
.form-item.active{
    font-weight: bold;
    background: #ebebeb;
    color: #000000;
    font-size: 16px;
    font-family: "Microsoft YaHei" ,sans-serif;
    width: 100px;
    text-align: center;
    border-radius: 30px;
}

/* .form-item:hover {
    background: #f8f9fa;
} */



/* 右侧内容区域 */
.content-area {
    
    /* max-width: 1000px; */
    /* background: #ffffff; */
    padding: 120px 170px;
    background: #ffffff;
    width: 1200px;
    margin-bottom: 150px;
}
.form-detail-box{
    
    margin: 0 auto;
    background: #ffffff;
}

.form-detail {
    margin-bottom: 30px;
}

.form-detail-title {
    font-size: 26px;
    font-family: "Microsoft YaHei-Bold", sans-serif;
    color: #000000;
   padding: 0;
   font-weight: bold;
   /* padding-bottom: 50px; */
    
}
.chevron::after {
    content: '';
    background: url("../img/d-arrow.png") no-repeat center center;
    background-size: 14px 8px;
    display: inline-block;
    width: 14px;
    height: 8px;
    margin-left: 0.5em;
    transition: transform 0.3s ease;
}

.chevron.chevron-open::after {
    transform: rotate(180deg);
}

.form-detail-title .chevron {
    font-size: 16px;
    cursor: pointer;
}

.form-detail{
    padding: 0;
    padding-top: 50px;
}
.form-description {
    font-size: 16px;
    color: #000000;
    line-height: 2;
    margin-bottom: 100px;
    font-family: "Microsoft YaHei-Bold", sans-serif;
}

.download-section {
    margin-top: 20px;
}

.download-title {
    font-size: 14px;
    color: #141413;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    font-family: "Microsoft YaHei-Bold", sans-serif;
}
.download-icon{
    color: #333333;
    font-size: 18px;
    font-weight: bold;
}

.download-links {
    display: flex;
    flex-direction: column;
}
.links-box{
    height: 45px;
    border-bottom: 1px solid #e5e7ed;
}

.download-link {
    font-size: 16px;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    padding: 0 15px;
    align-items: center;
    height: 100%;
    justify-content: space-between;

}
.download-link img{
    width: 14px;
    height: auto;
}

.download-link:hover {
    color: #000000;
    text-decoration: none;
}

/* 表单列表项 */
.form-list-item {
    height: 70px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.form-list-item.first-item {
    border-top: none;
}

.form-list-item.last-item {
    /* border-bottom: 1px solid #e0e0e0; */
}


/* 内容样式 */
.form-fee-body ul {
    list-style: none;
    font-size: 17px;
    line-height: 2;
}


/* 表格样式 */
.download-links p table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Microsoft YaHei', Arial, sans-serif sans-serif;
    font-size: 14px;
    background: #ffffff;
    margin: 10px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.download-links p table thead {
    background: #C00000;
    color: white;
}

.download-links p table thead tr:first-child th {
    background: #C00000;
    font-weight: bold;
    text-align: center;
    padding: 12px 8px;
    border: 1px solid #fff;
    font-size: 16px;
}

.download-links p table thead tr:last-child th {
    background: #C00000;
    font-weight: bold;
    text-align: center;
    padding: 10px 8px;
    border: 1px solid #fff;
    font-size: 14px;
}

.download-links p table tbody {
    background: #ffffff;
}

.download-links p table tbody tr {
    border-bottom: 1px solid #DDDDDD;
}

.download-links p table tbody tr:last-child {
    border-bottom: none;
}

.download-links p table tbody td {
    padding: 10px 12px;
    border-right: 1px solid #DDDDDD;
    vertical-align: top;
}

.download-links p table tbody td:last-child {
    border-right: none;
}

/* 总计和分类行的特殊样式 */
.download-links p table tbody tr.total-row td:first-child,
.download-links p table tbody tr.category-row td:first-child {
    background: #213764;
    color: white;
    font-weight: bold;
    text-align: left;
}

.download-links p table tbody tr.total-row td:first-child + td,
.download-links p table tbody tr.category-row td:first-child + td {
    background: #213764;
    color: white;
    font-weight: bold;
}

/* 数字列右对齐 */
.download-links p table tbody td:nth-child(n+3) {
    text-align: right;
}

/* 处理时间列居中对齐 */
.download-links p table tbody td:last-child {
    text-align: center;
}

/* 描述列的左对齐 */
.download-links p table tbody td:nth-child(2) {
    text-align: left;
}

 /* Loading 样式 */
 .loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #e8e6dc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    margin-top: 20px;
    font-size: 16px;
    color: #666;
}


table tr td ul {
    font-size: 14px !important;
}

.home-ico{
    cursor: pointer;
}

.banner-content-mobile{
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 表格响应式设计 */
@media (max-width: 768px) {
    .download-links p table {
        font-size: 12px;
    }
    
    .download-links p table thead tr th,
    .download-links p table tbody tr td {
        padding: 8px 6px;
    }
    
    .download-links p table thead tr:first-child th {
        font-size: 14px;
    }
    
    .download-links p table thead tr:last-child th {
        font-size: 12px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content-section-list {
        flex-direction: column;
        /* padding: 20px 10px; */
    }
    
    .sidebar {
        width: 100%;
        /* margin-bottom: 20px; */
    }
    
    .content-area {
        max-width: 100%;
        background: #ffffff;
        padding: 0;
        margin-bottom: 0;
    }
    .form-detail-box{
        padding-bottom: 8rem;
    }
    .form-list-item{
        /* padding: 0; */
    }
    .form-detail-title{
        font-size: 1.120rem;
    }
    .form-detail{
        padding-top: 1rem;
        
    }
    .form-description{
        margin-bottom: 4rem;
        font-size: 0.960rem;
    }
    .download-title{
        font-size: 0.960rem;
    }
    .links-box{
        width: 17.6rem;
        height: 3.2rem;
    }
    .download-link{
        font-size: 1.120rem;
    }
}

/* ====== 移动端响应式适配 ====== */
@media (max-width: 1200px) {
    #app{
        background: #f3f3f3;
    }
    /* 头部 */
    .immigration-banner{
        height: 4rem;
        border-top: 1px solid #e0e0e0;
        background: #ffffff;
    }
    .banner-content{
        display: none;
    }
    /* 移动端二级菜单 */
    .immigration-banner-service{
        border: none;

    }
    .banner-content-mobile{
        display: none;
        height: 3.2rem;
        padding: 0 1.6rem;
        align-items: center;
        background: #ffffff;
    }
    .home-ico-mobile{
        width: auto;
        height: 1.173rem;
    }
    .banner-title-service-mobile{
        flex: 1;
        text-align: center;
    }
    .banner-title-service{
        font-size: 1.280rem;
        color: #333333;
        margin: 0;
    }
    /* 内容 */
    .content-section-list{
        flex-direction: column;
        padding: 0 1.333rem;
        background: #ffffff;

    }
     .mj-pp-main-content{
        padding: 4.267rem 0;
    }
    .mj-pp-main-title{
        font-size: 2.320rem;
    }
    .mj-pp-main-desc{
        font-size: 1.120rem;
    }
    .sidebar{
        width: 100%;
        /* margin-top: 2rem; */
        border: none;
        flex-wrap: wrap;
    }
    .form-list{
        width: 100%;
        min-width: 100%;
        flex-wrap: wrap;
        height: auto;
        padding: 3px;
        justify-content: space-between;
    }
    .form-item{
        width: 5.76rem;
        height: 3.227rem;
        font-size: 1.120rem;
        line-height: 3.227rem;
    }
    .form-item.active {
        min-width: 5.76rem;
        height: 3.227rem;
        font-size: 1.120rem;
    }

    
    
}



