body {
    background-color: #f9fafb;
    font-family: 'Inter', sans-serif;
    color: #111827;
}

.bg-sidebar {
    background-color: #ffffff;
    border-right: 1px solid #e5e7eb;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    z-index: 100;
    padding-top: 20px;
}

.main-content {
    margin-left: 250px;
    padding: 30px;
}

/* Mobile View */
@media (max-width: 768px) {
    .bg-sidebar {
        /* Reset custom sidebar styles for mobile offcanvas */
        position: fixed; /* Bootstrap offcanvas needs fixed */
        width: var(--bs-offcanvas-width); /* Let bootstrap handle width */
        height: 100%;
        border-right: none;
        padding-top: 0;
    }
    .main-content {
        margin-left: 0;
        padding: 15px;
    }
}

.card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px;
    font-weight: 600;
}

.stat-card {
    padding: 24px;
    border-radius: 12px;
    background: white;
    border: 1px solid #e5e7eb;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.stat-icon.blue {
    background-color: #eff6ff;
    color: #3b82f6;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

.stat-value {
    font-size: 30px;
    font-weight: 700;
    color: #111827;
    margin-top: 8px;
}

.badge-live {
    background-color: #ecfdf5;
    color: #059669;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
}

.badge-progress {
    background-color: #fff7ed;
    color: #ea580c;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
}

.badge-ended {
    background-color: #fef2f2;
    color: #dc2626;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background-color: white;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.form-control {
    border-radius: 8px;
    padding: 12px 16px;
    border-color: #d1d5db;
}

.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-primary {
    background-color: #3b82f6;
    border-color: #3b82f6;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 500;
    width: 100%;
}

.btn-primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    margin: 4px 16px;
}

.sidebar-link:hover, .sidebar-link.active {
    background-color: #eff6ff;
    color: #3b82f6;
}

.sidebar-link i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.table th {
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.table td {
    vertical-align: middle;
    color: #111827;
    font-size: 14px;
}

.pagination .page-link {
    color: #6b7280;
    border: none;
    background: transparent;
    font-weight: 500;
}

.pagination .page-item.active .page-link {
    background-color: #f3f4f6;
    color: #111827;
    border-radius: 8px;
}

.pagination {
    justify-content: center;
}
