body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

a:hover {
    color: #005bac;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 头部 */
.iframeHeader {
    width: 100%;
    height: 48px;
    display: block;
    border: none;
    padding: 0;
    margin: 0;
}

.iframeNav {
    width: 100%;
    height: 72px;
    display: block;
    border: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 1619px) {
    .iframeNav {
        height: 80px;
    }
}

@media (max-width: 1000px) {
    .iframeNav {
        height: 113px;
    }
}


/* Top Bar */
.top-bar {
    background-color: #005bac;
    color: #fff;
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 10%;
    font-size: 14px;
    justify-content: space-between;
}

.top-bar .logo {
    font-size: 24px;
    font-weight: bold;
    margin-right: 30px;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 30px;
}

.top-bar nav ul {
    display: flex;
}

.top-bar nav ul li {
    margin-right: 20px;
}

.top-bar .right-icons {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.top-bar .right-icons .right-icons-wzinfo {
    background-color: #e7eff8;
    color: #005bac;
    border-radius: 15px;
    font-size: 15px;
    display: flex;
    align-items: center;
    padding: 0 5px;
}

.top-bar .right-icons .right-icons-wzinfo::before,
.top-bar .right-icons .right-icons-wzinfo::after {
    content: '';
    width: 4px;
    height: 4px;
    background-color: #005bac;
    border-radius: 50%;
    margin: 0 6px;

}

.top-bar .right-icons span {
    margin-left: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.top-bar .right-icons span i {
    margin-right: 5px;
    font-style: normal;
}

/* Main Nav */
.main-nav {
    border-bottom: 1px solid #eee;
    padding: 15px 10%;
    display: flex;
    align-items: center;
    font-size: 15px;
    justify-content: space-between;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
}

.main-nav ul li {
    margin-right: 25px;
    font-weight: 500;

}

.textBlue {
    color: #005bac;
    font-weight: bold !important;
}

.main-nav ul li a {
    cursor: pointer;
}

.main-nav ul li.active {
    color: #005bac;
    font-weight: bold;
}

/* 左侧搜索栏目 */
.search {
    display: flex;
    align-items: center;
    border: 1px solid;
    padding: 4px;
    border-radius: 20px;
    height: 30px;

}

.search .searchInput {
    border: 0;
    outline: none;
    width: 200px;
    padding: 4px 6px;
    flex: 1;
}

.search .searchInput::placeholder {
    color: #dadadd;
    opacity: 1;
    /* Firefox 修复透明度问题 */
}

.search .searchBtn {
    padding: 0 10px;
    border-left: 1px solid;
    cursor: pointer;
    width: 30px;
}

/* 中间内容 */

.container {
    width: 80%;
    margin: 20px auto;
}


/* Pagination */
.pagination {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-btn {
    padding: 8px 15px;
    border: 1px solid #ddd;
    font-size: 14px;
    color: #666;
    border-radius: 3px;
    cursor: pointer;
    background: #fff;
}

.page-btn.active {
    background-color: #005bac;
    color: #fff;
    border-color: #005bac;
}

.page-btn:hover:not(.active) {
    border-color: #005bac;
    color: #005bac;
}

.page-btn.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #f5f5f5;
}

.page-btn.disabled:hover {
    border-color: #ddd;
    color: #ccc;
}

/* 底部样式 */
.iframeFooter {
    width: 100%;
    min-height: 160px;
    display: block;
    border: none;
    padding: 0;
    margin: 0;

}

footer {
    background-color: #fcfcfc;
    padding: 40px 10%;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #999;
    text-align: center;
}

.footer-links {
    background-color: #fcfcfc;
    padding: 40px 10%;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #666;
}

.link-row {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
}

.link-row span {
    margin-right: 15px;
    margin-bottom: 5px;
}

.link-row .label {
    font-weight: bold;
    margin-right: 10px;
    color: #333;
}

.link-row-span {
    cursor: pointer;
    color: #333;

}

.link-row-span:hover {
    color: #005bac;
}

/* 提示框样式 */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    z-index: 9999;
    /* 确保在最上层 */
    font-size: 14px;
    transition: opacity 0.3s;
}

/* 移动端适配 */
@media (max-width: 768px) {

    /* 顶部栏 */
    .top-bar {
        padding: 0 15px;
        font-size: 12px;
        height: 44px;
    }

    .top-bar .logo {
        font-size: 18px;
        margin-right: 15px;
    }

    .logo-img {
        height: 24px;
    }

    .top-bar .right-icons {
        font-size: 12px;
    }

    .top-bar .right-icons .right-icons-wzinfo {
        font-size: 12px;
        padding: 0 3px;
    }

    .top-bar .right-icons span {
        margin-left: 10px;
    }

    /* 主导航 */
    .main-nav {
        padding: 10px 15px;
        font-size: 13px;
        flex-wrap: wrap;
    }

    .main-nav ul {
        order: 2;
        width: 100%;
        margin-top: 10px;
        justify-content: flex-start;
    }

    .main-nav ul li {
        margin-right: 15px;
        margin-bottom: 5px;
    }

    /* 搜索框 */
    .search {
        height: 28px;
        width: 100%;
    }

    .search .searchInput {
        font-size: 13px;
    }

    /* 容器 */
    .container {
        width: 95%;
        margin: 15px auto;
    }

    /* 分页 - 移动端简洁模式 */
    .pagination {
        margin: 25px 0;
        gap: 8px;
        flex-wrap: wrap;
    }

    .page-btn {
        padding: 10px 14px;
        font-size: 13px;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 移动端隐藏非必要的数字页码 */
    .pagination .page-btn:not(:first-child):not(:last-child):not(.active) {
        display: none;
    }

    .page-btn.active {
        min-width: 50px;
        font-weight: bold;
    }

    /* 底部 */
    .iframeFooter {
        min-height: 120px;
    }

    footer {
        padding: 25px 15px;
        font-size: 12px;
    }

    .footer-links {
        padding: 25px 15px;
        font-size: 11px;
    }

    .link-row {
        margin-bottom: 10px;
    }

    .link-row span {
        margin-right: 10px;
        margin-bottom: 3px;
    }
}

/* 小屏手机适配 */
@media (max-width: 480px) {
    .top-bar {
        padding: 0 10px;
    }

    .top-bar .logo {
        font-size: 16px;
        margin-right: 10px;
    }

    .main-nav {
        padding: 8px 10px;
        font-size: 12px;
    }

    .main-nav ul li {
        margin-right: 10px;
    }

    /* .search .searchInput {
        width: 80px;
    } */

    .container {
        width: 96%;
        margin: 10px auto;
    }

    /* 分页 - 小屏 */
    .pagination {
        gap: 6px;
    }

    .page-btn {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 40px;
        min-height: 40px;
    }

    .page-btn.active {
        min-width: 44px;
    }
}


/* 移动端下拉菜单样式 - 父页面 */
.mobile-dropdown-overlay {
    display: none;
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
}

.mobile-dropdown-overlay.show {
    display: block;
}

.mobile-dropdown-menu {
    position: absolute;
    top: 0;
    right: 0;
    background: #005bac;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 6px 6px;
    overflow: hidden;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-dropdown-item {
    display: block;
    padding: 12px 16px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.mobile-dropdown-item:last-child {
    border-bottom: none;
}

.mobile-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-item.wzinfo {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    cursor: default;
}

.mobile-dropdown-item.wzinfo:hover {
    background: transparent;
}

@media (min-width: 769px) {
    .mobile-dropdown-overlay {
        display: none !important;
    }
}