/* page.css - 内页主容器共享样式（alert.html / list.html 通用） */

/* —— 内页主容器 —— */
.page {
    max-width: 1500px;
    width: 100%;
    overflow: hidden;
    margin: 15px auto;
    background: #f0f4f8;
    position: relative;
    box-sizing: border-box;
    display: flex;
    align-items: stretch; /* 左右两栏自动等高，底部对齐 */
}

/* 左右两栏：左栏固定 230px，右栏占满剩余宽度（间距由 .right 的 margin-left 提供） */
.page > .left {
    flex: 0 0 230px;
}
.page > .right {
    flex: 1 1 auto;
    min-width: 0;
}

/* 左右栏分隔条 */
.reg {
    width: 10px;
    overflow: hidden;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 230px;
    background: #f5f5f5;
}

/* 窄屏隐藏左栏后，230px 处的分隔条会横在正文中间，一并隐藏 */
@media (max-width: 750px) {
    .reg { display: none; }
}
