/**
 * 公共样式
 * 路径：public/web/common/common.css
 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif; background: #f5f6fa; color: #2c3e50; }
a { color: #3498db; text-decoration: none; }
a:hover { color: #2980b9; }
.container { max-width: 1200px; margin: 0 auto; padding: 24px; }
.card { background: #fff; border-radius: 12px; padding: 20px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.btn { display: inline-block; padding: 10px 24px; background: #3498db; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-size: 14px; }
.btn:hover { background: #2980b9; }
.btn:disabled { background: #bdc3c7; cursor: not-allowed; }
.btn-primary { background: #9b59b6; }
.btn-primary:hover { background: #8e44ad; }
input, textarea, select { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; }
input:focus, textarea:focus { outline: none; border-color: #3498db; }

/* 侧边栏 */
.sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 220px; background: #2c3e50; color: #ecf0f1; padding: 20px 0; overflow-y: auto; }
.sidebar .logo { text-align: center; padding: 16px; font-size: 18px; font-weight: bold; color: #fff; }
.sidebar .user-card { padding: 16px; text-align: center; border-top: 1px solid #34495e; border-bottom: 1px solid #34495e; margin: 12px 0; }
.sidebar .user-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.sidebar .menu a { display: block; padding: 12px 20px; color: #ecf0f1; }
.sidebar .menu a:hover, .sidebar .menu a.active { background: #34495e; color: #fff; }
.main-content { margin-left: 220px; min-height: 100vh; }
