/* -------------------------------------- */
/* 基础和字体设置 */
/* -------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'ZCOOL KuaiLe', cursive;
    /* 确保页面居中和全屏显示 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: lighter;
    min-height: 100vh; /* 确保 body 至少占满整个视口高度 */
}

/* -------------------------------------- */
/* 页面结构和背景 */
/* -------------------------------------- */
.page {
    min-height: 100vh;
    width: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../images/yue.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1; /* 确保背景在内容后面 */
}

.container {
    position: relative;
    max-width: 800px;
    width: 95%;
    padding: 45px 65px;
    border-radius: 10px;
    color: #fff;
    overflow: hidden;
}

.container.result {
    background: rgba(120, 129, 147, 0.3);
    box-shadow: 0 0 10px 0px #333;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

h1.title {
    text-align: center;
    margin-bottom: 30px;
}

/* -------------------------------------- */
/* 页脚 (div_foot) */
/* -------------------------------------- */
.div_foot {
    position: fixed;
    bottom: 20px;
    left: 0px;
    text-align: center;
    width: 100%;
    font-size: 16px;
    letter-spacing: 1px;
    z-index: 10;
}

/* -------------------------------------- */
/* 覆盖 Bootstrap 样式以适应新风格 */
/* -------------------------------------- */

/* 覆盖表格背景和边框，使其与新容器背景融合 */
.table {
    color: #fff; /* 确保文字在深色背景下可见 */
}

.table > thead > tr > th, 
.table > tbody > tr > td {
    border-top: 1px solid rgba(255, 255, 255, 0.3); /* 调整边框颜色使其更柔和 */
}

/* 警示框样式调整 */
.alert {
    color: #fff; /* 警示文字颜色改为白色 */
    border: none;
    text-shadow: 1px 1px 2px #000;
}

.alert-info {
    background-color: rgba(91, 192, 222, 0.5); /* 调整透明度 */
}

.alert-success {
    background-color: rgba(92, 184, 92, 0.5); /* 调整透明度 */
}

.alert-warning {
    background-color: rgba(240, 173, 78, 0.5); /* 调整透明度 */
}

/* 状态标签样式调整 */
.label-default { background-color: rgba(128, 128, 128, 0.7); }
.label-success { background-color: rgba(92, 184, 92, 0.7); }
.label-warning { background-color: rgba(240, 173, 78, 0.7); }
.label-danger { background-color: rgba(217, 83, 79, 0.7); }

/* 响应式调整 */
@media (max-width: 820px) {
    .container {
        padding: 20px;
    }
}

/* 移除原 index.html 中的页脚样式，因为我们使用 .div_foot */
.footer { display: none; }
