/* 主题和字体大小样式 */

/* 字体大小 */
body.font-small {
  font-size: 14px;
}

body.font-medium {
  font-size: 16px;
}

body.font-large {
  font-size: 18px;
}

/* 主题模式 */
/* 浅色主题 - 使用原来的dark.css样式（已重命名为light.css） */
body.theme-light {
  background-color: #f5f7fb;
  color: #343a40;
}

/* 深色主题 - 使用新的dark.css样式 */
body.theme-dark {
  background-color: #121212;
  color: #e0e0e0;
}

body.theme-dark .box {
  background-color: #1e1e1e;
  color: #e0e0e0;
  border: 1px solid #3d3d3d;
}

body.theme-dark .navbar {
  background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
  border-bottom: 1px solid #3d3d3d;
}

body.theme-dark .table {
  background-color: #1e1e1e;
  color: #e0e0e0;
}

body.theme-dark .table th {
  background-color: #2d2d2d;
  color: #e0e0e0;
  border-bottom: 1px solid #3d3d3d;
}

body.theme-dark .input,
body.theme-dark .textarea,
body.theme-dark .select select {
  background-color: #2d2d2d;
  color: #e0e0e0;
  border-color: #3d3d3d;
}

body.theme-dark .button {
  background-color: #2d2d2d;
  color: #e0e0e0;
}

/* 自动检测模式 */
body.auto-detect-mode {
  /* 这个类用于标识启用了自动检测模式 */
}

/* 系统主题 */
body.theme-system {
  /* 根据系统主题设置 */
}