html, body {
    max-width: 100vw;
    overflow-x: hidden;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    /* background: #f5f5f5; */
}


.immigration-banner {
    width: 100%;
    height: 315px;
    position: relative;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-title {
    font-size: 72px;
    color: #002768;
    text-align: center;
}

/* 主要内容区域 */
.content-section-list {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 160px;
    padding: 0 20px;
    background: white;
}

.back-link{
    color: #002768;
    font-size: 14px;
    text-decoration: none;
}

.back-link:hover{
    color: #002768;
    font-size: 14px;
    text-decoration: none;
}




.header-right {
    display: flex;
    gap: 10px;
}

.year-selector, .month-selector {
    /* padding: 8px 12px; */
    border: 1px solid #ddd;
    border-radius: 4px;
    /* background: white; */
    font-size: 14px;
    color: #333;
    height: 35px;
    margin-right: 10px;
}

.year-selector:focus, .month-selector:focus {
    outline: none;
}

/* 排期查询部分 */
.visa-bulletin-section {
    margin-bottom: 60px;
    border: 1px solid #e0e0e0;
    padding: 0 5px;
    margin-top: 70px;
}

.section-title {
    font-size: 20px;
    color: #333;
    padding-top: 35px;
    display: block;
    padding-left: 33px;
    padding-bottom: 33px;
}

.tab-container {
    /* background: white; */
    border-radius: 8px;
   
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    justify-content: space-between;
}

.tab-button {
    /* flex: 1; */
    padding: 15px 20px;
    background: none;
    border: none;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-button.active {
    color: #be133d;
    border-bottom-color: #be133d;
    background: white;
    font-weight: bold;
    font-size: 18px;
    padding: 0;
}

.case-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-left: 130px;
}



.precedent-title {
   font-size: 18px;
   color: #002768;
   margin-right: 70px;
}

.precedent-title.active .precedent-text {
    color: #be133d;
    border-bottom: 2px solid #be133d;
    padding: 0 2px;
}

.precedent-text {
    font-size: 18px;
    color: #002768;
    transition: all 0.1s ease;
    cursor: pointer;
}


.tab-content {
    padding: 0;
    margin-bottom: 10px;
}

.visa-table-container {
    overflow-x: auto;
}

.visa-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.visa-table-thead{
    background: #be133d;
}

.visa-table-th {
    width: 295px;
}

.visa-table th {
    /* background: #f8f9fa; */
    color: #fff;
    font-weight: bold;
    padding: 12px 8px;
    text-align: center;
    /* border: 1px solid #e0e0e0; */
    font-size: 13px;
}



.visa-table td {
    padding: 12px 8px;
    text-align: center;
    /* border: 1px solid #e0e0e0; */
    vertical-align: middle;
}

.visa-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.visa-table tbody tr:hover {
    background: #f0f8ff;
}

.visa-table-td{
    background: #002768;
    color: #fff;
}
.visa-table-tr{
    border-bottom: 1px solid #e0e0e0;
}
.visa-table-td-b-a{
    background: #f3f3f3;
}

.visa-table-td-b-a-b{
    background: #ededed;
}

.visa-table-td-b{
    position: relative;
}

.visa-table-td-b::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0px;
    height: 100%;
    width: 5px;
    background-color: #fff;
}

.visa-table td:first-child {
    text-align: left;
    /* font-weight: bold; */
    /* background: #f8f9fa; */
}

.visa-table td:first-child small {
    display: block;
    font-weight: normal;
    color: #666;
    font-size: 12px;
    margin-top: 4px;
}

.special-cell {
    position: relative;
}

.quota-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    color: #d32f2f;
    font-weight: bold;
    font-size: 16px;
    padding: 2px 6px;
    border-radius: 4px;
    z-index: 1;
}

/* 配额查询部分 */
.quota-section {
    margin-bottom: 40px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    margin-bottom: 20px;
    padding: 35px 35px;
    padding-bottom: 20px;
}
.section-titless{
    font-size: 17px;
    color: #333;
    font-weight: bold;
}

.no-quota{
    color: #002768;
    font-size: 14px;
}

.no-file u{
    text-decoration: none;
}

.no-file u b{
    color: #002768;
    text-decoration: none;
    font-size: 16px;
}

.no-file p{
    font-size: 14px;
    color: #333;
}


/* 加载状态 */
.loading-message {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

/* 左侧导航栏 */
.sidebar {
    width: 200px;
    /* padding: 20px; */
}

.sidebar-title {
    font-size: 22px;
    color: #333333;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-left: 35px;
    height: 58px;
    line-height: 58px;
    width: 170px;
}

.form-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.form-item {
    padding-left: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 58px;
    color: #002768;
    line-height: 58px;
}
.form-item.active{
    border-left: 5px solid #002768;
    font-size: 18px;
    font-weight: bold;
    background: #fff;
}

/* .form-item:hover {
    background: #f8f9fa;
} */









/* 表格响应式设计 */
@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;
    }
}

/* 移动端样式 */
.tab-content-pc {
    display: block;
}

.tab-content-mobile {
    display: none;
}

/* 移动端表格样式 */
.mobile-tab-content {
    padding: 0 1.333rem;
    margin-bottom: 20px;
    background: #ffffff;
}

.mobile-table-wrapper {
    margin-bottom: 30px;
    background: #ffffff;
}

.mobile-table-title {
    width: 130px;
    border-bottom: 5px solid #002768;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.mobile-table-title span {
    font-size: 45px;
    color: #333333;
    font-weight: bold;
}

.mobile-table-title-b {
    width: 130px;
    border-bottom: none;
}

.mobile-table-title-b span {
    font-size: 45px;
    color: #333333;
}

.mobile-visa-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #ffffff;
}

.mobile-visa-table thead {
    background: #ffffff;
}

.mobile-table-th-category {
    background: #ffffff;
    color: #333333;
    font-weight: bold;
    padding: 12px 8px;
    text-align: center;
    font-size: 13px;
}

.mobile-table-th-region {
    color: #333333;
    font-weight: bold;
    padding: 12px 8px;
    text-align: center;
    font-size: 30px;
}

.mobile-table-tr {
    border-bottom: 1px solid #e0e0e0;
    height: 120px;
    background: #ffffff;
}

.mobile-table-tr:last-child {
    margin-bottom: 30px;
}

.mobile-table-td-category {
    background: #ffffff;
    color: #333333;
    padding: 12px 8px;
    text-align: left;
    vertical-align: middle;
    font-size: 14px;
}

.mobile-table-td {
    padding: 12px 8px;
    text-align: center;
    vertical-align: middle;
    background: #ffffff;
    font-size: 32px;
    color: #333333;
}

.mobile-visa-table tbody tr:nth-child(even) {
    background: #ffffff;
}

.mobile-visa-table tbody tr:nth-child(even) .mobile-table-td {
    background: #ffffff;
}

.mobile-visa-table tbody tr:nth-child(odd) .mobile-table-td {
    background: #ffffff;
}
/* select下拉框样式 */
select {
    /* 移除浏览器默认样式 */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    /* 基础样式 */
    padding: 8px 30px 8px 15px; /* 右侧留足够空间放图标 */
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    
    /* 自定义箭头图标（SVG），通过 fill 控制颜色 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23000' stroke='none' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center; /* 图标定位到右侧 */
    background-size: 12px; /* 图标大小 */
  }
  
  /* 可选：聚焦状态样式 */
  select:focus {
    outline: none;
    border-color: #002768;
  }


/* 移动端显示/隐藏 */
@media (max-width: 1200px) {
    body{
        height: 100vh;
    }
    #app{
        background: #f3f3f3;
    }
    .te-header{
        height: auto;
    }
    /* 头部 */
    .immigration-banner{
        height: 4rem;
        border-top: 1px solid #e0e0e0;
        background: #ffffff;
    }
    .banner-img{
        display: none;
    }
    .banner-title{
        font-size: 1.227rem;
        color: #333333;
    }

    .content-section-list{
        margin-top: 20px;
        padding: 0;
        width: 100vw;
        margin-bottom: 0;
    }
    .header-left{
        display: none;
    }
    .visa-bulletin-section{
        margin: 0;
        padding: 0;
        border: none;
    }
    .case-header,.section-title{
        display: none;
    }
    .tab-buttons{
        height: 4rem;
        border-bottom: 2px solid #e0e0e0;
        justify-content: flex-end;
        align-items: center;    
        padding: 0 1.333rem;
    }
    .tab-content-pc {
        display: none;
    }
    
    .tab-content-mobile {
        display: block;
    }
    
    .case-header {
        padding-left: 0;
        justify-content: center;
    }
    
    .precedent-title {
        margin-right: 30px;
    }
    
    
    .mobile-table-wrapper-employment {
        display: flex;
        gap: 3rem;
        margin: 0;
        padding-top: 2rem;
    }
    .mobile-table-title{
        width: auto;
        margin: 0;
        border-bottom: 2px solid #002768;
    }
    .mobile-table-title-b,.mobile-table-title-b-Family{
        border-bottom: none;
    }
    .mobile-table-title span{
        font-size: 1.2rem;
        font-weight: normal;
    }
    
    .mobile-visa-table thead{
        border-top: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .mobile-table-th-category {
       width: 7.467rem;
       font-size: 0.8rem;
       color: #333333;
       font-weight: bold;
       text-align: left;
    }
    .mobile-table-th-region{
        font-size: 0.8rem;
       color: #333333;
       font-weight: bold;
       text-align: left;
    }
    
    .mobile-table-tr {
       font-size: 0.8rem;
       color: #333333;
       height: 3.2rem;

    }
    
    .mobile-table-td-category {
        font-size: 0.8rem;
       color: #333333;
    }
    
    .mobile-table-td {
        font-size: 0.8rem;
        color: #333333;
    }
    
    .mobile-visa-table {
        font-size: 0.8rem;
       color: #333333;
    }

    
    .year-selector option, .month-selector option {
        padding: 0;
    }
    
 /* 配额查询 */
 .quota-section{
    padding: 0;
    margin: 0;
    border: none;
    border-top: 20px solid #f3f3f3;
    width: 100vw;
 }
 .section-titless{
    border-bottom: 1px solid #e0e0e0;
    padding: 0 1.333rem;
    line-height: 3.867rem;
    font-size: 1.2rem;
    color: #002768;
 }
 .no-quota,.no-file p{
    padding: 0 1.333rem;
    font-size: 0.8rem;
    color: #333333;
 }
 .no-file u b{
    font-weight: bold;
    font-size: 0.8rem;
    color: #333333;
 }


}




