/**********************
 * 1. 全局基础样式
 **********************/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

html, body {
  height: 100%;
  background-color: #f5f6f7;
}

/**********************
 * 2. 公共布局（公模）
 **********************/

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #2d8cf0;
  color: #fff;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.header-left {
  display: flex;
  flex-direction: column;
}

.location {
  font-size: 13px;
  opacity: 0.9;
  margin-top: 2px;
}

.header-right {
  font-size: 14px;
}

/* 主体容器 */
.container {
  position: absolute;
  top: 60px;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  overflow: hidden;
}

/* Sidebar */
.sidebar {
  width: 200px;
  background-color: #001529;
  color: #fff;
  overflow-y: auto;
}

.menu-item {
  padding: 12px 20px;
  cursor: pointer;
}

.menu-item:hover {
  background-color: #1890ff;
}

.menu-item.active {
  background-color: #1890ff;
}

/* 内容区（关键） */
.content {
  flex: 1;
  padding: 0px;
  overflow-y: auto;
  background-color: #f5f6f7;
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background-color: #f0f2f5;
  color: #666;
  border-top: 1px solid #e8e8e8;
  font-size: 13px;

  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/**********************
 * 3. 首页卡片（可删）
 **********************/
.cards {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.card {
  background-color: #fff;
  padding: 20px;
  border-radius: 6px;
  width: 200px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.card h2 {
  font-size: 28px;
  color: #2d8cf0;
}

.card p {
  color: #666;
  margin-top: 10px;
}

/**********************
 * 这个是网页公用的顶部，左侧栏，和底部栏 我想它变的很科技）
 **********************/