﻿* {
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
}
/*body {
    background: url('../img/bg.png') 0px 0px no-repeat;
    background-size: cover;
    overflow: hidden;*/
    /*background-position: center;*/
    /*background-repeat: no-repeat;*/

    /*background-size: 100% 100%;
    background-position: center center;*/
    /*overflow: auto;*/
/*}*/


.mainbg {
    background: url('../img/bg.png') 0px 0px no-repeat;
    background-size: cover;
    width:1500px;
    height:843px;
}
.loginbg{
    margin-top:0px;
}
.box2, .box{
    display: none
}
.boxtop, .noticeList, .noticeList ul {
    height: 200px;
    width: 160px;
}
    .noticeList ul li a {
        color: white
    }
.left {
    margin-top: 518px;
    margin-left: 318px;
}

.addtitle2025 {
    display: block !important;
    color: #EFD2B7;
    text-align: center;
    font-size: 25px;
    font-family: AlimamaShuHeiTi-Bold;
    margin: 5px 0;
}

.login {
    width: 310px;
    height: auto;
    float: left;
    display: block;
    margin-left: 135px;
    margin-top: 290px;
    margin-bottom: 10px;
}
.field .textbox {
    width: 210px;
    background-color: #F1F2F7;
}
.userbox {
    margin: 0px 10px;
}
.ExtraPwd {
    width: 210px;
    background-color: #F1F2F7;
    height: 30px;
    line-height: 32px;
    padding-left: 30px;
    _padding-left: 24px;
    font-size: 14px;
    border: 1px solid #afb0b2;
    color: #726257;
    position: absolute;
    left: 20px;
    top: 0;
    border-radius: 6px;
    z-index: 3;
}




.stage {
    position: relative;
    min-height: 380px;
    margin-bottom: 30px;
    perspective: 1200px;
    transform-style: preserve-3d;
}

/* 表格外层包装器，负责翻转动画和绝对定位重叠 */
.table-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transition: transform 0.65s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s ease;
    border-radius: 28px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* 表格基础样式 - 干净现代 */
.data-table {
    width: 100%;
    background: white;
    border-collapse: collapse;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
}

    .data-table th {
        background: #1e3c5c;
        color: white;
        font-weight: 600;
        padding: 16px 18px;
        font-size: 1rem;
        letter-spacing: 0.5px;
        text-align: left;
    }

    .data-table td {
        padding: 14px 18px;
        border-bottom: 1px solid #e9edf2;
        color: #1f2d3d;
        font-weight: 500;
    }

    .data-table tr:last-child td {
        border-bottom: none;
    }

    .data-table tr:hover td {
        background-color: #f5f9ff;
        transition: 0.2s;
    }

    /* 针对条纹优化 */
    .data-table tbody tr:nth-child(even) {
        background-color: #fafcff;
    }

/* 按钮区域 */
.button-group {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.switch-btn {
    background: #2c3e50;
    border: none;
    padding: 12px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 60px;
    color: white;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
    background: linear-gradient(135deg, #2c3e50, #1a2a3a);
}

    .switch-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
        background: linear-gradient(135deg, #1f3347, #0f1e2c);
    }

    .switch-btn:active {
        transform: translateY(2px);
    }

/* 当前激活的表格稍微高亮提示 (非必要，但UI友好) 不影响动画逻辑 */
.active-indicator {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1f4970;
    background: rgba(255,255,240,0.7);
    display: inline-block;
    width: auto;
    padding: 5px 16px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
}

.info-bar {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

/* 翻页方向辅助类: 前翻 (表格1->表格2 或者 表格2->表格1 根据当前状态动态添加移除) 
           我们将在JS中动态设置transform值，但是为了平滑，我们预设初始状态:
           默认 Table1 在正面，Table2 在背面旋转Y -180deg? 或者更好的方式: 
           方案A: 两个表格都处于绝对定位，初始时表格1 transform: rotateY(0deg) 且可见;
           表格2 transform: rotateY(180deg) 不可见。
           点击时根据方向旋转整个wrapper的Y角度。但注意是每个wrapper独立旋转，需要同步旋转且保证不闪烁。
           
           实际上为了实现“翻页”视觉效果，我们可以让两个表格分别拥有自己的3D旋转过渡，但切换时根据目标:
           更优雅的“书本翻页”感觉: 当前表格向外翻转消失，同时另一表格从背面翻转进来。
           实现思路: 两个div叠放，当前表格设置旋转0，背面表格预先旋转Y(180deg) 且 backface-visibility隐藏。
           点击时给父容器（舞台）一个类，整体旋转？不对，因为两个独立wrapper没法同时反向。
           标准做法: 两个绝对定位元素，初始状态 table1 transform: rotateY(0deg); table2 transform: rotateY(180deg);
           当切换到表格2时，让table1旋转到 -180deg，table2旋转到 0deg。 并且要加上过渡。这是最佳翻页效果。
           并且需要处理过渡结束后的z-index避免遮挡点击事件。
        */

/* 基础定位和隐藏背面 */
.table-wrapper {
    backface-visibility: hidden;
    transition: transform 0.65s cubic-bezier(0.2, 0.9, 0.4, 1.1), opacity 0.3s;
    will-change: transform;
    border-radius: 28px;
}

/* 确保两个表格都有白色背景并独立阴影，避免内容透光 */
.data-table {
    background: white;
    border-radius: 28px;
}

/* 翻页时微调阴影避免锯齿 */
.table-wrapper {
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.2);
}

/* 响应式: 小屏幕表格滚动 */
@media (max-width: 700px) {
    .card {
        padding: 18px;
    }

    .data-table th, .data-table td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .switch-btn {
        padding: 8px 24px;
        font-size: 1rem;
    }

    .stage {
        min-height: 420px;
    }
}

/* 禁用点击效果在动画期间防止连续点击 */
.disable-click {
    pointer-events: none;
}

.button-group.disable-click button {
    pointer-events: none;
    opacity: 0.7;
}