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-top: 1px solid #82B8D4;
    border-bottom: 1px solid #E2EFF5;
}
/* 二级导航 */
.banner-content{
    width: 1200px;
    margin: 0 auto;
    display: flex;
    height: 60px;
    align-items: center;
    gap: 8px;
}
.banner-content .banner-title-service{
    margin: 0;
    padding: 0;
    font-size: 15px;
    color: #333333;
    cursor: pointer;
}

/* 主要内容区域 */
.content-section-list {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 100px;
    margin-bottom: 160px;
    display: flex;
    
}

/* 左侧导航栏 */
.sidebar {
    width: 158px;
    border: 1px solid #06c3f5;
    /* padding: 20px; */
}



.form-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    width: 100%;
}

.form-item {
    padding-left: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 50px;
    color: #333333;
    line-height: 50px;
    font-size: 20px;
}
.form-item.active{
    font-weight: bold;
    background: #06c3f5;
    color: #ffffff;
}

/* .form-item:hover {
    background: #f8f9fa;
} */



/* 右侧内容区域 */
.content-area {
    flex: 1;
    max-width: 1000px;
    /* background: #ffffff; */
    padding: 77px 0;
}
.form-detail-box{
    width: 850px;
    margin: 0 auto;
}

.form-detail {
    margin-bottom: 30px;
}

.form-detail-title {
    font-size: 22px;
    color: #333333;
    /* margin-bottom: 40px; */
    /* line-height: 70px; */
    padding: 15px 0;
    
}
.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 10px;
}
.form-description {
    font-size: 16px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.download-section {
    margin-top: 20px;
}

.download-title {
    font-size: 16px;
    color: #333333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.download-icon{
    color: #333333;
    font-size: 18px;
    font-weight: bold;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-link {
    font-size: 16px;
    color: #4a8eff;
    /* text-decoration: none; */
    text-decoration: underline;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.download-link:hover {
    color: #4a8eff;
}

/* 表单列表项 */
.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 #002768;
    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%;
    }
}

/* ====== 移动端响应式适配 ====== */
@media (max-width: 1200px) {
    #app{
        background: #f3f3f3;
    }
    /* 头部 */
    .immigration-banner{
        height: 4rem;
        border-top: 1px solid #e0e0e0;
        background: #ffffff;
    }
    .banner-content{
        display: none;
    }
    /* 移动端二级菜单 */
    .banner-content-mobile{
        display: flex;
        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{
        margin-top: 1.547rem;
        flex-direction: column;
        padding: 0 1.6rem;
        background: #ffffff;
    }
    .sidebar{
        width: 100%;
        margin-top: 2rem;
        border: none;
    }

    .form-list{
        display: flex;
        justify-content: space-between;
    }
    .form-item{
        padding-left: 0;
        height: auto;
        line-height: normal;
        padding-bottom: 0.480rem;
        font-size: 1.280rem;
        color: #333333;
    }
    .form-item.active{
        border-left: none;
        font-weight: bold;
        background: none;
        font-size: 1.280rem;
        color: #06c3f5;
        border-bottom: 0.16rem solid #06c3f5;

    } 
    .content-area{
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin-top: 1rem;
    }
    .form-detail{
        padding-top: 0.5rem;
    }
    .form-detail-box{
        width: 100%;
    }
    .form-detail-title{
        font-size: 1.280rem;
        color: #333333;
        line-height: normal;
    }
    .form-list-item.last-item{
        /* border: none; */
    }
    .form-description{
        color: #333333;
        font-size: 1.067rem;
    }
    .download-section{
        margin-top: 4rem;
    }
    .download-title{
        font-size: 1.280rem;
        /* font-weight: bold; */
        color: #333333;
    }
    .download-icon{
        display: none;
    }
    .download-link{
        color: #003fff;
        text-decoration: none;
        font-size: 1.280rem;
        /* border-bottom: 1px solid #f0f0f0; */
        padding: 0.667rem 0;
    }
    .download-links{
        gap: 0;
    }
    .download-links div{
        border-bottom: 1px solid #d1d1d1;
        line-height: 2.667rem;
    }
}



