/* 控制台样式（头部使用 styles.css 的 .header-bar 统一样式，此处仅负责侧栏和内容区布局） */

.console-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f5f5f5;
}

/* ========== 主体布局 ========== */
.console-body {
    display: flex;
    flex: 1;
    min-height: calc(100vh - 60px);
}

/* ========== 左侧菜单栏 ========== */
.console-sidebar {
    width: 220px;
    background: white;
    border-right: 1px solid #e8e8e8;
    padding: 20px 0;
    flex-shrink: 0;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.02);
}

.sidebar-section-title {
    padding: 8px 24px;
    font-size: 11px;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 12px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.menu-item:hover {
    background: #f0f5ff;
    color: #667eea;
}

.menu-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.menu-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.menu-text {
    flex: 1;
}

/* ========== 中间内容区 ========== */
.console-content {
    flex: 1;
    background: #f5f5f5;
    overflow: hidden;
}

#content-frame {
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 60px);
    border: none;
    background: #f5f5f5;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .console-sidebar { width: 60px; }
    .menu-text { display: none; }
    .sidebar-section-title { display: none; }
    .header-bar { padding: 12px 16px; }
    .header-logo .logo-text { font-size: 14px; }
}
