* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "SimHei", Arial, sans-serif;
}

[class*=" el-icon-"], [class^=el-icon-] {
    font-family: element-icons !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: baseline;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
}

html,body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body{
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background-color: #f7f9fc;
    color: #1e293b;
    font-size: 13px;
    line-height: 1.5;
}
.page-wrap{
    flex: 1;
    display: flex;
    min-height: 0;
}
.footer-wrap{
    flex-shrink: 0;
}

/* ==========【电脑大屏 + 移动端共用 3D未来科技侧边栏】========== */
.left-sidebar {
    width: 200px;
    border-right: 1px solid rgba(59, 105, 168, 0.15);
    padding-top: 20px;
    background: linear-gradient(180deg, #f7f9fc 0%, #edf3fc 100%);
    position: relative;
    overflow: visible;
    flex-shrink: 0;
}
.left-sidebar::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:3px;
    height:100%;
    background: linear-gradient(180deg,#0b203c,#3b69a8,#4a80c7);
    box-shadow: 0 0 14px rgba(59, 105, 168, 0.5);
    z-index: 2;
}

.sidebar-item {
    padding: 12px 24px 12px 22px;
    margin-left: 12px;
    margin-right: 12px;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    transition: all 0.35s ease;
    transform: translateY(0) translateZ(0);
    border-radius: 10px;
    background:rgba(255,255,255,0.6);
    border: 1px solid rgba(59, 105, 168, 0.08);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    position:relative;
    overflow:hidden;
    z-index: 1;
}
.sidebar-item::after{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:100%;
    height:100%;
    background: linear-gradient(90deg,transparent,rgba(74, 128, 199, 0.22),transparent);
    transition: left 0.55s ease;
}
.sidebar-item:hover::after{
    left: 120%;
}
.sidebar-item.active {
    margin-left: 10px;
    color: #ffffff !important;
    background: linear-gradient(135deg, #0b203c, #3b69a8) !important;
    font-weight: bold;
    transform: translateY(-3px) translateZ(12px);
    box-shadow:
        0 0 22px rgba(59, 105, 168, 0.5),
        0 8px 20px rgba(11, 32, 60, 0.3) !important;
    border: 1px solid rgba(255,255,255,0.2);
}
.sidebar-item:hover {
    background-color: rgba(234, 241, 248, 0.75) !important;
    transform: translateY(-3px) translateZ(10px);
    box-shadow:
        0 10px 24px rgba(59, 105, 168, 0.25),
        0 0 10px rgba(74, 128, 199, 0.15) !important;
    border-color:rgba(59, 105, 168, 0.25);
}

.sidebar-item i {
    margin-right: 8px;
}

.main-content {
    flex: 1;
    padding: 18px 32px;
    min-width: 0; /*🔥核心修复：flex布局下内容溢出不会撑开屏幕*/
}

/*==========【全新升级 快捷查询模块 高大上独立卡片】==========*/
.search-area{
    background:#ffffff;
    border-radius:16px;
    box-shadow: 0 8px 30px rgba(11, 32, 60, 0.11);
    padding:32px 36px;
    margin-top:30px;
    border: 1px solid rgba(59, 105, 168, 0.08);
    position:relative;
    overflow:hidden;
}
.search-area::before{
    content:"";
    width:100%;
    height:5px;
    position:absolute;
    top:0;
    left:0;
    background:linear-gradient(90deg,#0b203c,#3b69a8,#153461);
}
.search-title{
    font-size:20px;
    font-weight:700;
    color:#0b203c;
    margin-bottom:26px;
    padding-left:14px;
    border-left: 5px solid #3b69a8;
    letter-spacing:1px;
}

/* 弹窗 */
.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}
.wx-qrcode-img{
    display:block;
    width:220px;
    height:220px;
    margin:10px auto;
    border:1px solid #eee;
}
.pop-box {
    width: 92%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 14px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
}

.pop-close {
    position: absolute;
    right: 18px;
    top: 14px;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    transition: 0.2s;
}

.pop-close:hover {
    color: #0f294d;
}

.pop-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f294d;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.pop-content-body {
    font-size: 15px;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 26px;
}

.pop-confirm-btn {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #0f294d, #153461);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.22s;
}

.pop-confirm-btn:hover {
    filter: brightness(1.08);
}

/* 表格3D立体效果 */
.table-wrap{
    box-shadow: 0 6px 24px rgba(11, 32, 60, 0.18),
                0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(59, 105, 168, 0.12);
    margin-bottom: 30px;
    overflow-x: auto;
    background:#fff;
    padding:16px;
    min-height: 570px;
    display: flex;
    flex-direction: column;
}
.table-wrap table th{
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.12);
}
.table-wrap tbody tr{
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.table-wrap tbody tr:hover{
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(59, 105, 168, 0.15);
}

.table-title {
    font-size: 17px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #061224;
}
.table-title .source-note{
    font-size: 11px;
    font-weight: normal;
    color:#666;
}

table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    min-width: 650px;
}

table th {
    background: linear-gradient(90deg, #3b69a8, #4a80c7);
    color: #fff;
    padding: 10px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
}

table td {
    padding: 10px 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 13px;
}

table tbody tr {
    transition: background-color 0.25s ease;
}
table tr:nth-child(even) td {
    background-color: #f8fafc;
}
table tbody tr:hover td {
    background-color: #eaf1f8 !important;
}

.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
    font-size: 13px;
    flex-wrap: wrap;
    color: #666;
}

.pagination-bar select, .pagination-bar input {
    border: 1px solid #cbd5e1;
    padding: 4px 6px;
    border-radius: 6px;
    font-size: 13px;
    color: #334155;
}

.page-btn {
    min-width: 30px;
    height: 30px;
    border: 1px solid #cbd5e1;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    color: #334155;
    border-radius: 6px;
    transition: 0.22s ease;
}
.page-btn:hover:not(:disabled) {
    border-color: #3b69a8;
    color: #061224;
    background: rgba(59, 105, 168, 0.06);
}

.page-btn.active {
    background: linear-gradient(135deg, #3b69a8, #4a80c7);
    color: #fff;
    border-color: transparent;
}

.page-btn:disabled {
    color: #bbb;
    cursor: not-allowed;
}

.search-result-tip {
    margin-top:10px;
    font-size:12px;
    color:#f5222d;
    height:0;
    opacity:0;
    overflow:hidden;
    transition: all 0.3s ease;
}
.search-result-tip.show{
    height:22px;
    opacity:1;
}

.search-form {
    display: flex;
    gap:24px;
    align-items:flex-start;
    flex-wrap:wrap;
    justify-content: center;
}

.form-item {
    display: flex;
    align-items: center;
    gap:8px;
}
.form-item-wrap{
    display:flex;
    flex-direction: column;
}

.form-item label {
    font-size:13px;
    color:#222;
    font-weight:bold;
    white-space: nowrap;
    display: inline-block;
    width: 90px;
    text-align: right;
    margin-right:8px;
}
.form-item label span {
    color: #f5222d;
}

.form-item input {
    width: 260px;
    height: 36px;
    border: 1px solid #cbd5e1;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 13px;
    color:#334155;
    transition: border-color 0.25s;
}
.form-item input:focus{
    border-color:#3b69a8;
    box-shadow: 0 0 0 2px rgba(59, 105, 168, 0.15);
}
.form-item input.error {
    border-color: #f5222d;
}
.error-tip {
    color: #f5222d;
    font-size: 12px;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top:8px;
    margin-left: 110px;
}
.error-tip.show {
    height:18px;
    opacity: 1;
}

.search-btn {
    padding: 10px 44px;
    background: linear-gradient(135deg, #0b203c, #3b69a8);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    margin-top:0;
    align-self:center;
    transition: 0.22s ease;
    box-shadow:0 4px 14px rgba(59, 105, 168, 0.22);
}
.search-btn:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 18px rgba(59, 105, 168, 0.30);
}

.table-wrap::-webkit-scrollbar {
    height: 8px;
}
.table-wrap::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
.table-wrap::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #3b69a8, #4a80c7);
    border-radius: 4px;
}
.table-wrap::-webkit-scrollbar-thumb:hover {
    background: #4a80c7;
}

.footer-wrap {
    width: 100%;
    background: linear-gradient(90deg, #0b203c 0%, #153461 50%, #0b203c 100%);
    color: #e2e8f0;
    padding: 36px 24px;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.footer-wrap::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-text {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.8;
}

.footer-links {
    margin-top: 18px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-link {
    color: #94a3b8;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-copyright {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    color: #64748b;
}

.top-header {
    width: 100%;
    background: linear-gradient(90deg, #0b203c 0%, #153461 50%, #0b203c 100%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 5vw;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 18px rgba(8, 22, 41, 0.35);
}
.top-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image:
            linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}
.logo-box{
    margin-left: 4vw;
}
.logo-box img{
    height: clamp(86px,8vh,98px);
}
.header-middle-title{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:1;
    pointer-events:none;
}
.page-title{
    font-size:40px;
    font-weight:700;
    color:#ffffff;
    letter-spacing:1px;
    margin:0;
}

/* ========== 修复头部导航：Grid布局规避微信X5 flex space‑between bug ========== */
.header-top {
    width: 100%;
    background: linear-gradient(90deg, #e6edf5 0%, #153461 100%);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 1rem 5vw;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 18px rgba(8, 22, 41, 0.35);
    gap: 16px;
}

.header-top::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

.logo-area {
    grid-column: 1;
    margin-left: 4vw;
}
.logo-area img {
    height: clamp(86px,8vh,98px);
}

.header-top-space {
    grid-column: 2;
}

.header-links {
    grid-column: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap !important;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    max-width: calc(100vw - 240px);
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}
.header-links::-webkit-scrollbar {
    height: 0;
    display: none;
}

.link-item {
    color: #e2e8f0;
    font-size: 14px;
    cursor: pointer;
    transition: 0.22s ease;
     border-radius: 8px;
    text-decoration: none;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}
.link-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.split {
    color: rgba(255, 255, 255, 0.55);
    flex-shrink:0 !important;
    white-space: nowrap !important;
}

.link-hot{
    color:#ffd782 !important;
    font-weight: bold !important;
    border:1px solid rgba(255,215,130,0.45) !important;
    text-decoration: none !important;
    flex-shrink:0 !important;
        padding: 6px 9px;
    white-space: nowrap !important;
}
.link-hot:hover{
    background-color:rgba(255, 215, 130, 0.18) !important;
    color:#fff !important;
    text-decoration: none !important;
}

/*表格单元格换行，禁止横向溢出*/
.table-wrap table td, .table-wrap table th{
    white-space: normal !important;
    word-break: break-all;
}

/*===================== 笔记本屏幕适配（新增）=====================*/
@media screen and (max-width:1440px) {
    .left-sidebar {
        width:160px;
    }
    .main-content {
        padding:14px 18px;
    }
    .search-area {
        padding:22px 24px;
    }
    table th, table td {
        padding:8px 6px;
        font-size:12.5px;
    }
    .sidebar-item {
        padding:10px 16px;
        font-size:13px;
    }
}

@media screen and (max-width:1280px) {
    .left-sidebar {
        width:130px;
    }
    .main-content {
        padding:10px 12px;
    }
    .search-area {
        padding:18px 16px;
    }
    table th, table td {
        padding:7px 5px;
        font-size:12px;
    }
    .sidebar-item {
        padding:9px 12px;
        font-size:12.5px;
    }
}

/* ============ 992px 平板 ============ */
@media (max-width: 992px) {
    .header-top {
        background: #153461;
        grid-template-columns: auto 1fr;
        padding:16px 12px !important;
    }
    .logo-area{
        display: none !important;
    }
    .header-top-space{
        display: none;
    }
    .header-links {
        grid-column: 1 / -1;
        justify-content: flex-start !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
        flex-shrink: 0 !important;
        overflow-x: auto !important;
        padding:4px 0;
        width: 100%;
        max-width: unset;
    }
    .header-links::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
    }

    .top-header{
        background:#153461;
        flex-direction: column;
        padding:20px 20px;
        gap:16px;
    }
    .header-middle-title{
        position: static;
        width:auto;
        height:auto;
        pointer-events:auto;
    }
    .page-title{
        font-size:26px;
        text-align:center;
    }
    .logo-box{
        display:none;
    }
    .logo-box img{
        height:52px;
    }

    .page-wrap {
        flex-direction: column;
    }
    .left-sidebar{
        width:100%;
        overflow-x:auto;
        display:flex;
        border-right:none;
        border-bottom:1px solid rgba(59, 105, 168, 0.15);
    }
    .left-sidebar::before{
        display:none;
    }

    .main-content {
        padding: 16px 8px;
    }

    .search-area{
        padding:24px 18px;
    }
    .search-title{
        font-size:17px;
    }
    .search-form {
        flex-direction: column;
        align-items:center;
        gap:12px;
    }
    .form-item{
        width:100%;
    }
    .form-item input {
        flex:1;
        width:auto;
    }
    .search-btn{
        margin-top:8px;
        align-self:center;
    }

    .pagination-bar{
        font-size:13px;
        flex-wrap:wrap;
        gap:6px;
        row-gap:8px;
        justify-content:center;
    }
    .page-btn{
        font-size:13px;
        padding:4px 8px;
    }
    #goPageInput{
        width:36px !important;
    }
    .table-wrap{
        overflow-x: hidden !important;
    }
    .table-wrap table th:nth-child(1),
    .table-wrap table td:nth-child(1){
        display: none !important;
    }
    table{
        min-width: auto !important;
        width: 100% !important;
    }
}

@media screen and (max-width:768px){
    #pageNumWrap,
    #pageSizeSelect,
    #goPageInput,
    #goBtn,
    .pagination-bar>span:last-child,
    .pagination-bar>span:nth-of-type(3){
        display: none !important;
    }
    .pagination-bar{
        display:flex;
        gap:8px;
        justify-content:center;
        flex-wrap:wrap;
    }
    .header-links .split{
        display: none !important;
    }
    .header-links .link-item{
        border: 1px solid rgba(255,255,255,0.18) !important;
        border-radius: 20px !important;
        font-size: 13px !important;
        padding:5px 8px !important;
        white-space: nowrap !important;
    }
    .header-links .link-item[data-type="wx"]{
        display: none !important;
    }
    .header-top{
        background: #153461;
        padding:18px 10px;
    }
}

/* ========== 受理范围卡片容器 新增 ========== */
.accept-range-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.accept-range-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 22px 20px;
    border: 1px solid rgba(59, 105, 168, 0.1);
    box-shadow: 0 4px 16px rgba(11, 32, 60, 0.08);
    height: 100%;
}
.accept-range-card h4 {
    font-size: 16px;
    color: #0b203c;
    margin-bottom:12px;
    font-weight:700;
}
.accept-range-card p {
    font-size:14px;
    color:#334155;
    line-height:1.7;
}

/* 小屏幕自动改为1列 */
@media (max-width:992px) {
    .accept-range-wrap {
        grid-template-columns: 1fr;
        gap:16px;
    }
}
/* Windows系统缩放125%  devicePixelRatio≈1.25 */
@media (-webkit-min-device-pixel-ratio: 1.24), (min-resolution: 120dpi) {
    html {
        zoom: 0.8;
    }
}

/* Windows系统缩放150% devicePixelRatio≈1.5 */
@media (-webkit-min-device-pixel-ratio: 1.49), (min-resolution: 144dpi) {
    html {
        zoom: 0.68;
    }
}
