* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; background: #f0f2f5; }

.sidebar { background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%); overflow-y: auto; box-shadow: 2px 0 8px rgba(0,0,0,0.15); }
.sidebar .logo { padding: 24px 16px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 8px; }
.sidebar .logo h2 { color: #4fc3f7; font-size: 22px; margin: 0; font-weight: 700; letter-spacing: 1px; }
.sidebar .logo span { color: #7a8fa6; font-size: 12px; margin-top: 4px; display: block; }
.el-menu { border-right: none !important; background: transparent !important; }
.el-menu-item { height: 50px !important; line-height: 50px !important; margin: 4px 8px !important; border-radius: 8px !important; transition: all 0.3s ease !important; }
.el-menu-item:hover { background: rgba(79, 195, 247, 0.1) !important; }
.el-menu-item.is-active { background: linear-gradient(90deg, rgba(79, 195, 247, 0.2) 0%, rgba(79, 195, 247, 0.05) 100%) !important; border-right: 3px solid #4fc3f7 !important; }
.el-sub-menu__title { height: 50px !important; line-height: 50px !important; margin: 4px 8px !important; border-radius: 8px !important; }
.el-sub-menu__title:hover { background: rgba(79, 195, 247, 0.1) !important; }

.header { background: #fff; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 1px 4px rgba(0,0,0,0.08); padding: 0 24px; height: 64px !important; }
.header .page-title { font-size: 20px; font-weight: 600; color: #303133; }
.header .user-info { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 6px 12px; border-radius: 8px; transition: background 0.3s; }
.header .user-info:hover { background: #f5f7fa; }

.main-content { padding: 24px; background: #f0f2f5; min-height: calc(100vh - 64px - 40px); }

.login-container { display: flex; justify-content: center; align-items: center; min-height: 100vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); position: relative; overflow: hidden; }
.login-container::before { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,0.1); top: -200px; right: -100px; }
.login-container::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.08); bottom: -150px; left: -50px; }
.login-card { width: 420px; text-align: center; padding: 40px 36px !important; border-radius: 16px !important; box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important; backdrop-filter: blur(10px); background: rgba(255,255,255,0.95) !important; z-index: 1; }
.login-card h2 { color: #1a1a2e; margin-bottom: 8px; font-size: 28px; font-weight: 700; }
.login-card p { color: #909399; margin-bottom: 32px; font-size: 14px; }
.login-card .el-input { margin-bottom: 20px; }
.login-card .el-input__wrapper { border-radius: 8px !important; height: 44px; }
.login-card .el-button { height: 44px; font-size: 16px; border-radius: 8px !important; }

.card-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.el-card { border-radius: 12px !important; border: none !important; box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important; transition: all 0.3s ease; }
.el-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important; transform: translateY(-2px); }

.stat-row .el-card { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none !important; }
.stat-row .el-card .el-statistic__head { color: rgba(255,255,255,0.85) !important; font-size: 14px; }
.stat-row .el-card .el-statistic__content { color: #fff !important; font-size: 32px !important; font-weight: 700; }
.stat-row .el-col:nth-child(2) .el-card { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.stat-row .el-col:nth-child(3) .el-card { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.stat-row .el-col:nth-child(4) .el-card { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }

.sop-content { line-height: 1.8; font-size: 14px; color: #333; padding: 10px; white-space: pre-wrap; }

.el-table { border-radius: 12px !important; overflow: hidden; }
.el-table th { background: #fafafa !important; color: #606266; font-weight: 600; }
.el-table td { color: #606266; }
.el-table tr:hover { background: #f5f7fa !important; }

.el-statistic__head { font-size: 13px; color: #909399; }
.el-statistic__content { font-size: 28px; font-weight: 600; color: #303133; }

/* ICP备案号 Footer */
.icp-footer { background: #f0f2f5; border-top: 1px solid #e4e7ed; display: flex; align-items: center; justify-content: center; }
.icp-text { font-size: 12px; color: #909399; }
.icp-text a { color: #909399; text-decoration: none; }
.icp-text a:hover { color: #4fc3f7; text-decoration: underline; }

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .stat-row .el-col { width: 50%; margin-bottom: 16px; }
}

@media screen and (max-width: 768px) {
    .sidebar { width: 64px !important; }
    .sidebar .logo h2 { font-size: 16px; }
    .sidebar .logo span { display: none; }
    .el-menu-item span, .el-sub-menu__title span { display: none; }
    .header .page-title { font-size: 16px; }
    .main-content { padding: 16px; }
    .stat-row .el-col { width: 100%; }
    .login-card { width: 90%; padding: 30px 24px !important; }
}

@media screen and (max-width: 480px) {
    .header { padding: 0 12px; }
    .header .user-info { gap: 4px; }
    .card-header { flex-direction: column; gap: 12px; align-items: flex-start; }
}
