:root {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --background-color: #f5f7fa;
  --card-bg-color: rgba(255, 255, 255, 0.7);
  --text-color: #333;
  --header-height: 60px;
  --footer-height: 40px;
  --border-radius: 8px;
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  color: var(--text-color);
  background-color: #f0f8ff; /* 简单的浅蓝色背景，原来在background.css中 */
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* 背景样式 - 从background.css合并过来 */
.simple-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: #f0f8ff; /* 简单的浅蓝色背景 */
  overflow: hidden;
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* 玻璃效果 */
.glass-effect {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 顶部导航栏 */
header {
  height: var(--header-height);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  margin-bottom: 15px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 36px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 20px;
  font-weight: bold;
}

.datetime {
  font-size: 16px;
}

/* 切换栏 */
.tab-bar {
  margin: 0 15px 15px;
  padding: 15px;
  text-align: center;
}

/* 主内容区 */
main {
  flex-grow: 1;
  padding: 0 15px;
  margin-bottom: 15px;
}

.content-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.card {
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin-bottom: 15px;
  text-align: center;
}

.card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.select-area {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.table-container {
  flex-grow: 1;
  overflow: auto;
}

/* 全宽卡片 */
.full-width {
  grid-column: 1 / -1;
}

/* 控制区域 */
.control-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.checkbox-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* 底部状态栏 */
footer {
  height: var(--footer-height);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  bottom: 0;
  margin: 0 15px 15px;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .card-container {
    grid-template-columns: 1fr;
  }
  
  .control-area {
    flex-direction: column;
    align-items: stretch;
  }
  
  .select-area, .checkbox-group {
    justify-content: center;
  }
}

/* 表格样式优化 */
.el-table th {
  background-color: rgba(53, 152, 219, 0.2) !important;
}

.el-table--border {
  border-radius: 4px;
  overflow: hidden;
}

/* 选择器样式优化 */
.el-select {
  width: 100%;
  max-width: 200px;
}
