/* 管理端样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif; background: #f0f2f5; color: #2c3e50; font-size: 14px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 220px; background: #001529; color: #fff; min-height: 100vh; position: sticky; top: 0; }
.admin-sidebar .logo { padding: 20px; font-size: 18px; font-weight: 600; border-bottom: 1px solid #1f2937; text-align: center; }
.admin-nav { padding: 8px 0; }
.nav-item, .nav-parent { display: block; padding: 12px 20px; color: #cbd5e1; cursor: pointer; transition: all 0.2s; }
.nav-item:hover, .nav-parent:hover { background: #1e293b; color: #fff; }
.nav-item.active { background: #22c55e; color: #fff; }
.nav-parent .arrow { float: right; transition: transform 0.2s; font-size: 10px; }
.nav-parent .arrow.open { transform: rotate(90deg); }
.nav-children { background: #0f172a; }
.nav-child { display: block; padding: 10px 40px; color: #94a3b8; font-size: 13px; }
.nav-child:hover { background: #1e293b; color: #fff; }
.nav-child.active { color: #22c55e; background: #1e293b; border-left: 3px solid #22c55e; padding-left: 37px; }

.admin-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.admin-header { background: #fff; padding: 0 24px; height: 60px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e8ecef; position: sticky; top: 0; z-index: 10; }
.admin-header .breadcrumb { font-size: 16px; font-weight: 600; }
.admin-header .header-right { display: flex; align-items: center; gap: 16px; }
.admin-header .header-right a { color: #6b7280; }
.admin-content { flex: 1; padding: 24px; overflow-x: auto; }

.card { background: #fff; border-radius: 8px; padding: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); margin-bottom: 16px; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.pagination { margin-top: 16px; text-align: right; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: #fff; border-radius: 8px; padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.stat-card .label { color: #6b7280; font-size: 13px; }
.stat-card .value { font-size: 28px; font-weight: 600; margin-top: 8px; color: #22c55e; }
