/* 覆盖层样式 */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
    z-index: 999; /* 确保覆盖层在弹窗下方 */
    display: none; /* 默认隐藏 */
}

/* Cookie 声明弹窗样式 */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px; /* 设置固定高度 */
    background-color: #f2f2f2; /* 背景颜色 */
    color: #888888; /* 文字颜色 */
    text-align: center;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

/* Cookie 声明内容样式 */
.cookie-consent p {
    font-size: 12px;
    margin: 0 10px;
    flex: 0.7;
    text-align: left;
}
.cookie-consent h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 10px;
    flex: 0.7;
    text-align: left;
}

/* 按钮样式 */
.cookie-consent button {
    background-color: #1aafa5; /* 按钮背景颜色 */
    color: white;
    border: none;
    padding: 8px 16px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 12px;
}

.cookie-consent button:hover {
    background-color: #0e988f; /* 按钮悬停颜色 */
}

/* 拒绝按钮样式 */
.cookie-consent button.reject {
    background-color: #1aafa5; /* 拒绝按钮背景颜色 */
}

.cookie-consent button.reject:hover {
    background-color: #0e988f; /* 拒绝按钮悬停颜色 */
}

/* 移动端适配 */
@media (max-width: 600px) {
    .cookie-consent {
        flex-direction: column;
        padding: 10px;
       height: auto; /* 移动端取消固定高度 */
    }
    .cookie-consent p {
        margin-bottom: 10px;
    }
}

.jf_1{
    margin: auto;width: 75%;text-align: center;
}
.jf_2{
    margin: auto;width: 20%;text-align: center;
}

@media (max-width: 600px)
{   
    .cookie-consent button {
        padding: 12px 10px;
        min-width: 125px;
        height: auto;
    }
    .jf_2{
        margin: auto;width: 100%;text-align: center;
    }
}
