/* 主系统界面 */
.main-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f0f2f5; /* 浅灰色背景 */
    overflow: hidden;
}

/* 顶部标题栏 */
.main-header {
    height: 60px;
    background: linear-gradient(to right, #4a6fd8, #667eea);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px; /* 左右60px边距 */
    color: white;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.system-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.page-indicator {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* 主体内容区 */
.main-content {
    flex: 1;
    display: flex;
    overflow: hidden;
    height: calc(100vh - 60px);
    padding: 0 60px; /* 添加60px左右边距 */
    background: #f0f2f5;
}

/* 左侧边栏 */
.sidebar {
    width: 200px;
    background: #f8f9fa;
    border-radius: 8px 0 0 8px;
    border: 1px solid #e8e8e8;
    border-right: none;
    margin-right: 0;
    padding: 20px 0;
    overflow-y: auto;
    flex-shrink: 0;
    box-shadow: 1px 0 5px rgba(0, 0, 0, 0.05);
}

.main-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 15px;
}

.nav-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    text-align: left;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.nav-btn:hover {
    background: #e6f7ff;
    color: #1890ff;
}

.nav-btn.active {
    background: #e6f7ff;
    color: #1890ff;
    border-left-color: #1890ff;
    font-weight: 600;
}

/* 中间内容区 */
.content-area {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: white;
    border: 1px solid #e8e8e8;
    border-left: none;
    border-right: none;
    min-width: 0;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

/* 右侧面板 */
.right-panel {
    width: 480px;
    background: white;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    height: 100%;
    border-radius: 0 8px 8px 0;
    border: 1px solid #e8e8e8;
    border-left: none;
    box-shadow: -1px 0 5px rgba(0, 0, 0, 0.05);
}

/* 右侧标签切换 */
.right-tabs {
    display: flex;
    height: 50px;
    border-bottom: 1px solid #e8e8e8;
    flex-shrink: 0;
    background: #fafafa;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.right-tab-btn {
    flex: 1;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    padding: 15px 0;
    transition: all 0.2s;
}

.right-tab-btn:hover {
    color: #1890ff;
    background: #f5f5f5;
}

.right-tab-btn.active {
    color: #1890ff;
    border-bottom-color: #1890ff;
    font-weight: 500;
    background: white;
}

/* 右侧标签内容 */
.right-tab-content {
    flex: 1;
    display: none;
    overflow: hidden;
    position: relative;
    height: calc(100% - 50px);
}

.right-tab-content.active {
    display: block;
}