* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f6fa;
    min-height: 100vh;
    display: flex;
}

/* 左侧导航栏 */
.sidebar {
    width: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 3px;
}

.sidebar-subtitle {
    font-size: 10px;
    opacity: 0.8;
}

.sidebar-menu {
    list-style: none;
    padding: 15px 0;
}

.sidebar-menu-item {
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    text-decoration: none;
    color: white;
}

.sidebar-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-menu-item.active {
    background: rgba(255, 255, 255, 0.2);
    border-left: 3px solid white;
}

.sidebar-menu-icon {
    font-size: 16px;
}

.sidebar-user {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-username {
    font-size: 12px;
}

.sidebar-logout {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    color: white;
    font-size: 11px;
    transition: all 0.3s;
}

.sidebar-logout:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 右侧内容区 */
.main-content {
    flex: 1;
    margin-left: 180px;
    padding: 0px;
    min-height: 100vh;
    background: #f5f6fa;
}

/* 登录提示 */
.login-reminder {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 15px;
    margin-right: 20px;
    display: none;
    font-size: 13px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    max-width: 400px;
}

.login-reminder.show {
    display: block;
}

.login-reminder a {
    color: #856404;
    text-decoration: underline;
    font-weight: 600;
}

/* 终端样式 */
#section-terminal {
    background: #2d3748;
    padding: 15px;
    height:100vh;
}

#terminal-container {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}