* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #f0f2f5; color: #333; line-height: 1.6; }
a { color: #1677ff; text-decoration: none; }
.admin-nav { background: #001529; color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 56px; }
.nav-brand { font-size: 18px; font-weight: 600; }
.nav-links { display: flex; gap: 8px; }
.nav-link { color: rgba(255,255,255,.75); padding: 8px 16px; border-radius: 6px; font-size: 14px; }
.nav-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-logout { color: #ff7875; }
.container { max-width: 1100px; margin: 0 auto; padding: 24px; }
.landing { text-align: center; padding: 80px 20px; }
.landing h1 { font-size: 42px; margin-bottom: 8px; }
.subtitle { font-size: 18px; color: #666; margin-bottom: 32px; }
.landing-actions { margin-bottom: 48px; }
.status-info { color: #999; font-size: 14px; }
.api-hint code { background: #f5f5f5; padding: 2px 8px; border-radius: 4px; font-size: 13px; }
.btn { display: inline-block; padding: 8px 20px; border: 1px solid #d9d9d9; border-radius: 6px; background: #fff; cursor: pointer; font-size: 14px; }
.btn:hover { border-color: #1677ff; color: #1677ff; }
.btn-primary { background: #1677ff; color: #fff; border-color: #1677ff; }
.btn-primary:hover { background: #4096ff; color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 4px 12px; font-size: 12px; }
.btn-danger { color: #ff4d4f; border-color: #ff4d4f; }
.btn-danger:hover { background: #ff4d4f; color: #fff; }
.btn-success { color: #52c41a; border-color: #52c41a; }
.btn-success:hover { background: #52c41a; color: #fff; }
.login-box { max-width: 400px; margin: 80px auto; background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.login-box h2 { text-align: center; margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; }
.input, .form-group input { width: 100%; padding: 8px 12px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 14px; }
.input:focus, .form-group input:focus { outline: none; border-color: #1677ff; box-shadow: 0 0 0 2px rgba(22,119,255,.15); }
.alert { padding: 10px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.alert-error { background: #fff2f0; border: 1px solid #ffccc7; color: #ff4d4f; }
.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.page-header h2 { font-size: 22px; }
.search-bar { display: flex; gap: 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,.06); text-align: center; }
.stat-label { font-size: 14px; color: #999; margin-bottom: 8px; }
.stat-value { font-size: 36px; font-weight: 700; color: #1677ff; }
.section { margin-bottom: 32px; }
.section h3 { font-size: 18px; margin-bottom: 16px; }
.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.action-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 1px 4px rgba(0,0,0,.06); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.action-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.action-icon { font-size: 32px; }
.action-title { font-weight: 600; font-size: 16px; color: #333; }
.action-desc { font-size: 13px; color: #999; }
.table-container { background: #fff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.06); overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { background: #fafafa; padding: 12px 16px; text-align: left; font-weight: 500; color: #666; border-bottom: 1px solid #f0f0f0; white-space: nowrap; }
.data-table td { padding: 12px 16px; border-bottom: 1px solid #f0f0f0; }
.data-table tr:hover td { background: #fafafa; }
.loading { text-align: center; color: #999; padding: 40px !important; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; padding: 12px; }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }
#page-info { font-size: 14px; color: #666; }
.status-active { color: #52c41a; font-weight: 500; }
.status-disabled { color: #ff4d4f; font-weight: 500; }
.level-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; background: #e6f4ff; color: #1677ff; font-size: 12px; font-weight: 500; }