#dropdownMenu {
    display: flex;
    width: 240px;
    flex-wrap: wrap;
    padding: 0px;
    border-radius: 15px;
    background: #4da0e2;
    position: relative;
    top: -12px;
    z-index: 100;
}

/* 下拉菜单动画 */
.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.scale-95 {
    transform: scale(0.95);
}

.scale-100 {
    transform: scale(1);
}

.pointer-events-none {
    pointer-events: none;
}

/* 按钮悬停效果 */
button:hover {
    transition: all 0.2s ease;
}

/* 下拉菜单项悬停效果 */
#dropdownMenu button:hover {
    /* background-image: url("http://www.gxzf.gov.cn/material/images/xyzxzkbj.png"); */
    cursor: pointer;
}

#translateBtn {
    text-align: center;
    width: max-content;
    border: none;
    font-size: 14px;
    color: #FFF;
    display: flex;
    background: #4da0e2;
    padding: 0 15px;
    border-radius: 15px;
    height: 30px;
    margin: 0 auto;
    display: none;
    cursor: pointer;
    justify-content: center;
}

#xzyy {
    margin-top: 6px;
}

.py-1 button {
    text-align: center;
    border: none;
    padding-bottom: 0px;
    background: none;
    width: 240px;
    height: 35px;
    color: #FFFFFF;
}

.py-1 {
    line-height: 38px;
    width: 240px;
    margin: 0 auto;
}

.wrap2 {
    width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
    right: 30px;
}

.fy-xlk {
    position: absolute;
    z-index: 9;
    right: 30px;
    top: 1px;
}

.relative.inline-block.text-left {
    height: 32px;
    float: right;
    margin-left: 20px;
}

.translated .server {
    width: 350px;
    height: 357px;
}

.translated .tab-server-nav {
    margin-top: 15px;
}

.translated .tab-server-nav li a {
    display: inline-block;
    width: 102px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.translated .gxgg-wm {
    height: 367px !important;
}

.translated .ver-scoll-li {
    height: 295px !important;
}

.translated #tabPublicNav .tab-more {
    height: 0;
    overflow: hidden;
}

.translated .swap .square-list li {
    width: calc(100% / 4 - 32px) !important;
    overflow: hidden;
    /* height: 33px; */
}

.translated .square-list a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.translated .site-date {
    display: none;
}

.translated .swap-list li {

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* .translated .tab-server-nav li a:hover {
    display: inline-block;
    white-space: break-spaces;
    padding: 0 5px;
    z-index: 999999;
    max-width: 110px;
    position: relative;
    background-color: #FFF;
    box-shadow: 0 3px 7px rgba(0, 0, 0, .4);
  } */

/* 翻译加载中动画 */
.bottom_xyz_xf {
    display: none;
    color: #414242;
    font-size: 14px;
    line-height: 28px;
    text-align: center;
    font-family: SimSun;
}

.bottom_xyz_xf p {
    color: #FFF;
    font-size: 16px;
}

.translated .bottom_xyz_xf {
    display: flex !important;
    position: fixed;
    bottom: 0;
    background-color: rgba(3, 82, 148, 0.6);
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    width: calc(100% - 20px);
    min-height: 40px;
    z-index: 999;
    pointer-events: none;
}

#translation_loading {
    position: fixed;
    z-index: 999999;
    width: 100vw;
    height: 100vh;
    top: 0;
    background-color: rgba(0, 0, 0, 0.2);
    /* text-align: center; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 28px;
}

#translation_loading p {
    display: inline-block;
    color: #FFF;
    font-size: 28px;
    margin-top: -580px;
}

#translation_loading .dot-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: -570px;
    margin-left: 13px;

}

#translation_loading .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #FFF;
    animation: bounce 1.4s infinite ease-in-out;
}

#translation_loading .dot:nth-child(1) {
    animation-delay: -0.32s;
}

#translation_loading .dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.noShow {
    display: none !important;
}

/* 免责声明弹窗样式 */
.disclaimer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    visibility: hidden;
    transition: all 0.3s ease;
}

.disclaimer-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    background-color: rgba(0, 0, 0, 0.5);


}

.disclaimer-content {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}


.disclaimer-header {
    background-color: #3b82f6;
    color: white;
    padding: 15px 25px;
    display: flex;
    justify-content: right;
    align-items: center;
    height: 28px;
}

.disclaimer-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.disclaimer-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    outline: none;
}

.disclaimer-body {
    padding: 25px;
}

.disclaimer-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 20px;
}

.disclaimer-list {
    margin-left: 20px;
    margin-bottom: 20px;
}

.disclaimer-list li {
    margin-bottom: 15px;
    line-height: 1.6;
    text-indent: 2rem;
}

.disclaimer-list li span {
    font-weight: 600;
    color: #3b82f6;
}

.disclaimer-footer {
    text-align: right;
    padding: 15px 25px;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.disclaimer-accept {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.disclaimer-accept:hover {
    background-color: #2563eb;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .disclaimer-content {
        max-width: 95%;
    }

    .disclaimer-body {
        padding: 20px 15px;
    }

    .disclaimer-title {
        font-size: 18px;
    }
}


.tooltip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    font-size: 24px;
    height: 100px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
    display: none;
    opacity: 0;
}

.tooltip.show {
    opacity: 1;
    display: block;
    ;

}

.tooltip.active1 {
    pointer-events: none;
    opacity: 0;
    display: none;

}

.tooltip.active2 {
    background-color: rgba(3, 82, 148, 0.6);
    opacity: 1;
    display: block;
    ;

}

/* 动画关键帧 */
@keyframes morphToButton {
    0% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 450px;
        height: 100px;
        border-radius: 10px;
        background-color: #4da0e2;

    }

    50% {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 350px;
        height: 60px;
        border-radius: 10px;
        background-color: #4d9fe283;

    }

    100% {
        top: -5px;
        left: calc(100% - 300px);
        transform: none;
        width: 240px;
        height: 30px;
        background-color: #4d9fe236;
        font-size: 14px;
        border-radius: 10px;
    }
}

.tooltip.morphing {
    animation: morphToButton 1.5s forwards;
}

.loading-text {
    position: relative;
    color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* 用伪元素添加省略号，并通过动画控制显示数量 */
.loading-text::after {
    content: '';
    /* 初始无内容 */
    animation: dots 1.5s infinite;
    /* 动画：1.5秒循环一次 */
}

/* 定义省略号动画关键帧 */
@keyframes dots {
    0% {
        content: '';
    }

    /* 0秒：无省略号 */
    33% {
        content: '.';
    }

    /* 0.5秒：1个点 */
    66% {
        content: '..';
    }

    /* 1秒：2个点 */
    100% {
        content: '...';
    }

    /* 1.5秒：3个点，然后循环 */
}

/* 水印 */
.custom-watermark {
    position: absolute;
    width: 160px;
    height: 160px;
    opacity: 0.4;
    font-family: sans-serif;
    z-index: 9999;
    rotate: 0deg;
    background-image: url(http://www.chongzuo.gov.cn/material/syt.png);
    pointer-events: none;
    user-select: none;
    transform-origin: center;
    white-space: normal;
    text-align: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center bottom;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-watermark p {
    margin: 0;
    padding: 0;
    line-height: 1;
    transform: rotate(-36deg);
    font-size: 12px;
    color: #628fbb;
}


/* 信息公开部分 */
.translated .zfxxgk-tab a,
.translated .zfxxgk-tab h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.translated .zfxxgk-tab span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 55px;
}



.translated .org-list a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 90%;
}