/* ===== 韬总个人管理系统 · 基础样式 ===== */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(135deg, #f6f8fb 0%, #e9eef5 100%);
  color: #2c3e50;
  min-height: 100vh;
  line-height: 1.5;
}

a { color: #3498db; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== 顶部导航 ===== */
.navbar {
  background: white;
  padding: 12px 24px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .brand {
  font-size: 16px;
  font-weight: 700;
  color: #2c3e50;
}
.navbar nav { display: flex; gap: 4px; flex: 1; }
.navbar nav a {
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 13px;
  color: #5d6d7e;
}
.navbar nav a:hover { background: #f0f3f7; text-decoration: none; }
.navbar nav a.active { background: #2c3e50; color: white; }

/* ===== 容器 ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

h1 { font-size: 22px; margin-bottom: 16px; }
h2 { font-size: 17px; margin: 24px 0 10px; color: #2c3e50; }

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 500;
  font-family: inherit;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.85; }
.btn-primary { background: #3498db; color: white; }
.btn-success { background: #27ae60; color: white; }
.btn-warning { background: #f39c12; color: white; }
.btn-danger { background: #e74c3c; color: white; }
.btn-ghost { background: white; color: #2c3e50; border: 1px solid #dde2e8; }

/* ===== 卡片 ===== */
.card {
  background: white;
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  margin-bottom: 10px;
}
.card:hover { box-shadow: 0 3px 8px rgba(0,0,0,0.08); }

/* ===== 空状态 ===== */
.empty {
  text-align: center;
  padding: 40px 20px;
  color: #95a5a6;
  font-size: 14px;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .navbar { flex-direction: column; align-items: stretch; }
  .navbar nav { flex-wrap: wrap; }
  .container { padding: 12px; }
}

/* ===== 仪表盘快捷入口 ===== */
.quick-links {
  margin: 0 0 12px 0;
  font-size: 12px;
}
.quick-link {
  color: #5d6d7e;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color .15s, border-color .15s;
}
.quick-link:hover { color: #2c3e50; border-bottom-color: #2c3e50; }
