/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei', 'SimSun', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

/* 顶部导航栏 */
.top-bar {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
  color: white;
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 100px;
  gap: 20px;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
}

.nav-menu {
  padding: 1rem 0;
  text-align: center;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  margin: 0 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
  background-color: rgba(255, 255, 255, 0.2);
}

/* 主要内容区域 */
.main-content {
  min-height: calc(100vh - 70px);
  margin-top: 40px;
  padding: 2rem;
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* 卡片样式 */
.card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-title {
  color: #2c5aa0;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.card-subtitle {
  color: #1e3a8a;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* 特殊效果 */
.highlight {
  background: linear-gradient(135deg, #e8f4fd 0%, #d1e7dd 100%);
  padding: 1rem;
  border-left: 4px solid #2c5aa0;
  margin: 1rem 0;
}

.quote {
  font-style: italic;
  color: #666;
  border-left: 3px solid #2c5aa0;
  padding-left: 1rem;
  margin: 1rem 0;
}

/* 表单样式 */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

/* 表格样式 */
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: white;
  border: 1px solid #e0e0e0;
}

.table th,
.table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.table th {
  background-color: #f8f9fa;
  font-weight: bold;
  color: #2c5aa0;
}

/* 统计数字样式 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  color: #2c5aa0;
  display: block;
}

.stat-label {
  font-size: 1.2rem;
  color: #666;
  margin-top: 0.5rem;
}
