:root {
    --primary-color: #4361ee;
    --sidebar-width: 250px;
    --sidebar-bg: #1a1a2e;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
}

/* 登录页面 */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header i {
    font-size: 48px;
    color: var(--primary-color);
}

.login-header h2 {
    margin-top: 15px;
    color: #333;
}

/* 侧边栏 */
.sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    background: var(--sidebar-bg);
    color: white;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header i {
    font-size: 32px;
    color: #4cc9f0;
}

.sidebar-header span {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
}

.sidebar .nav {
    flex: 1;
    padding: 20px 0;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 25px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #4cc9f0;
}

.sidebar .nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 主内容区 */
.main-content {
    margin-left: var(--sidebar-width);
    padding: 30px;
    flex: 1;
    width: calc(100% - var(--sidebar-width));
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.content-header h1 {
    font-size: 24px;
    color: #333;
}

.content-header h1 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.user-info {
    color: #666;
}

/* 统计卡片 */
.stat-card {
    padding: 25px;
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 48px;
    margin-right: 20px;
    opacity: 0.8;
}

.stat-info h3 {
    font-size: 32px;
    margin: 0;
    font-weight: 700;
}

.stat-info p {
    margin: 0;
    opacity: 0.9;
}

/* 快速操作按钮 */
.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.quick-action-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(67, 97, 238, 0.05);
}

.quick-action-btn i {
    font-size: 36px;
    margin-bottom: 10px;
}

/* 卡片 */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.card-header {
    background: white;
    border-bottom: 1px solid #eee;
    padding: 15px 20px;
    border-radius: 12px 12px 0 0 !important;
}

.card-header h5 {
    margin: 0;
    color: #333;
}

.card-header h5 i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* 表格 */
.table th {
    border-top: none;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    font-size: 12px;
}

/* 徽章 */
.badge {
    padding: 6px 12px;
    font-weight: 500;
}

/* 按钮 */
.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #3451d1;
    border-color: #3451d1;
}