/* 登录页面样式 */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

/* 侧边栏样式 */
.sidebar {
    background-color: #f8f9fa;
    min-height: calc(100vh - 56px);
    padding: 20px 0;
    border-right: 1px solid #dee2e6;
}

.sidebar .nav-link {
    color: #495057;
    padding: 12px 20px;
    border-radius: 5px;
    margin: 5px 10px;
    transition: all 0.3s;
}

.sidebar .nav-link:hover {
    background-color: #e9ecef;
    color: #0d6efd;
}

.sidebar .nav-link.active {
    background-color: #0d6efd;
    color: white;
}

.sidebar .nav-link i {
    margin-right: 8px;
}

/* 页面内容 */
.page-content {
    padding: 20px;
}

/* 表格样式 */
.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* 状态标签 */
.badge-status {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.badge-active {
    background-color: #28a745;
    color: white;
}

.badge-suspended {
    background-color: #dc3545;
    color: white;
}

.badge-expired {
    background-color: #ffc107;
    color: #000;
}

/* 操作按钮 */
.btn-action {
    padding: 2px 8px;
    font-size: 12px;
    margin: 0 2px;
}

/* 统计卡片 */
.card {
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-title {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
}

.card h2 {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}

/* 加载动画 */
.loading {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

/* 响应式 */
@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
    }
    
    .page-content {
        padding: 10px;
    }
}

