* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: #f0f2f5; color: #303133; }

/* 登录页 */
.login-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.login-card { background: #fff; border-radius: 12px; padding: 48px 40px; width: 400px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.login-header { text-align: center; margin-bottom: 36px; }
.login-logo { width: 64px; height: 64px; margin: 0 auto 16px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px; }
.login-header h1 { font-size: 22px; color: #303133; margin-bottom: 4px; }
.login-header p { color: #909399; font-size: 14px; }

/* 管理布局 */
.admin-layout { height: 100vh; }
.sidebar { background: #1e1e2d; transition: width .3s; overflow: hidden; display: flex; flex-direction: column; }
.sidebar-header { height: 60px; display: flex; align-items: center; padding: 0 20px; color: #fff; font-size: 18px; font-weight: 600; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); white-space: nowrap; }
.sidebar-menu { border: none; flex: 1; }
.sidebar-menu .el-menu-item { height: 44px; line-height: 44px; font-size: 13px; }
.sidebar-menu .el-menu-item i { margin-right: 10px; width: 16px; text-align: center; font-size: 14px; }
.sidebar-menu .el-menu-item.is-active { background: rgba(102,126,234,0.2) !important; border-right: 3px solid #667eea; }
.sidebar-footer { padding: 12px; border-top: 1px solid rgba(255,255,255,0.05); }

/* 顶栏 */
.top-bar { display: flex; align-items: center; justify-content: space-between; background: #fff; border-bottom: 1px solid #e4e7ed; padding: 0 20px; height: 56px; }
.top-left { display: flex; align-items: center; gap: 12px; }
.page-title { font-size: 16px; font-weight: 600; }

/* 内容区 */
.admin-layout > .el-container { min-width: 0; }
.content-area { padding: 20px; background: #f0f2f5; overflow-y: auto; min-width: 0; }

/* 统计卡片 */
.stat-card { border-radius: 8px; }
.stat-card .el-card__body { display: flex; align-items: center; gap: 16px; padding: 20px; }
.stat-icon { font-size: 32px; opacity: 0.8; }
.stat-value { font-size: 28px; font-weight: 700; color: #303133; }
.stat-label { font-size: 13px; color: #909399; margin-top: 4px; }

/* 工具栏 */
.page-toolbar { display: flex; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }

/* 表格优化 */
.el-table { border-radius: 8px; }
.el-table th.el-table__cell { background: #f5f7fa !important; font-weight: 600; font-size: 13px; }

/* 响应式 */
@media (max-width: 1200px) {
    .stat-card .el-card__body { flex-direction: column; text-align: center; }
}
