/* 仅当弹窗显示时，限制 body 样式 */
body.notice-active {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 弹窗样式，受独特容器类名限制 */
.notice-popup {
    display: none; /* 初始隐藏弹窗 */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; /* 宽度占90%，适应小屏幕设备 */
    max-width: 400px; /* 最大宽度限制 */
    background-color: white;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 8px; /* 圆角效果 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
}

.notice-popup p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.notice-popup button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.notice-popup button#cancel {
    background-color: #f44336; /* 红色 */
    color: white;
}

.notice-popup button#continue {
    background-color: gray; /* 默认灰色 */
    color: white;
    cursor: not-allowed; /* 不可点击时的鼠标样式 */
}

.notice-popup button#continue.active {
    background-color: #4CAF50; /* 绿色 */
    cursor: pointer; /* 可点击时的鼠标样式 */
}

.notice-popup .button-container {
    display: flex;
    justify-content: space-between;
    gap: 20px; /* 按钮间距 */
}
