/* =========================
   基础设置
========================= */

html,
body,
#app {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: "Microsoft YaHei";
}


* {
    box-sizing: border-box;
}



/* =========================
   页面总布局
========================= */

.page-container {
    width: 100%;
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    background-color: #0A2C51;
}



/* =========================
   顶部菜单
========================= */

.top-menu-bar {
    width: 100%;
    height: 45px;
    display: flex !important;
    align-items: center;
    background: #123b70;
    color: white;
    padding: 0 15px;
    box-sizing: border-box;
    flex-shrink: 0;
}



/* 系统标题 */

.system-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
}



/* 导航按钮 */

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 30px;
}



    .nav-buttons a {
        color: white !important;
        text-decoration: none;
        white-space: nowrap;
        font-size: 16px;
    }



/* 用户区域 */

.user-area {
    margin-left: auto !important;
    display: flex !important;
    align-items: center;
    gap: 15px;
    color: white;
    white-space: nowrap;
}



    .user-area button {
        width: 90px;
        height: 30px;
        border-radius: 4px;
        border: 1px solid #55A3FF;
        background: #20518a;
        color: white;
        cursor: pointer;
    }



        .user-area button:hover {
            background: #367ac1;
        }





/* =========================
   主内容区域
========================= */

.main-content {
    flex: 1;
    width: 100%;
    min-height: calc(100vh - 45px);
    height: auto;
    padding: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #0E2142;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}





/* =========================
   通用页面布局
========================= */

.page-layout {
    width: 100%;
    min-height: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}





/* =========================
   顶部数据栏
========================= */

.top-data-bar {
    height: 50px;
    flex: none;
    background: #1A3D70;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 5px 15px;
    color: white;
}



.blue-input {
    width: 70px;
    height: 25px;
}





/* =========================
   视频区域
========================= */

.video-column {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
}



.video-box {
    flex: 1;
    background: #1A3D70;
    border: 2px solid #55A3FF;
}



.video-placeholder {
    width: 100%;
    height: 100%;
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
}



video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}





/* =========================
   右侧区域
========================= */

.chart-column {
    flex: 1;
    background: #1A3D70;
    border: 2px solid #55A3FF;
    display: flex;
    flex-direction: column;
    padding: 10px;
}



.chart-title {
    color: white;
    text-align: center;
    font-size: 18px;
}



.chart-placeholder {
    flex: 1;
    background: #f2f7ff;
}





/* =========================
   状态灯
========================= */

.status-indicators {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}



.led-online {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #00ff00;
    display: inline-block;
}





/* =========================
   大屏左右布局
========================= */

.center-area {
    flex: 1;
    display: flex;
    gap: 10px;
}



.left-panel {
    flex: 3;
}



.right-panel {
    flex: 1;
}



.panel {
    box-sizing: border-box;
}

.top-menu-bar {
    display: flex !important;
    width: 100vw !important;
}


.user-area span {
    color: white !important;
}

.user-area button {
    color: white !important;
}
