/* 管理后台公共样式 */
:root {
    --primary-color: #6366f1;
    --sidebar-width: 250px;
}

body {
    background: #f5f7fb;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%);
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 20px;
    border-radius: 8px;
    margin: 4px 12px;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

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

.main-content {
    margin-left: var(--sidebar-width);
    padding: 24px;
}

.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stat-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.card-custom {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: none;
}

.table th {
    font-weight: 600;
    color: #64748b;
    border-bottom: 2px solid #e2e8f0;
}

.badge-type {
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.logo {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.hidden {
    display: none !important;
}

