/* Portal Layout - Shared styles for dashboard pages */

:root {
	--primary: #F58220;
	--primary-dark: #d6701a;
	--primary-light: #ff9a4d;
	--bg-body: #f5f5f5;
	--bg-card: #ffffff;
	--bg-sidebar: #ffffff;
	--border: #e5e5e5;
	--border-light: #f0f0f0;
	--text-primary: #1a1a1a;
	--text-secondary: #666666;
	--text-muted: #999999;
	--success: #16a34a;
	--success-bg: #dcfce7;
	--warning: #d97706;
	--warning-bg: #fef3c7;
	--error: #dc2626;
	--error-bg: #fee2e2;
	--info: #2563eb;
	--info-bg: #dbeafe;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background-color: var(--bg-body);
	color: var(--text-primary);
	min-height: 100vh;
}

/* Portal Layout */
.portal-layout {
	display: flex;
	min-height: 100vh;
}

/* Sidebar */
.sidebar {
	position: fixed;
	top: 0;
	left: 0;
	width: 260px;
	height: 100vh;
	background-color: var(--bg-sidebar);
	border-right: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	z-index: 100;
	transition: width 0.3s ease, transform 0.3s ease;
	box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
}

.sidebar-logo {
	padding: 1rem 1.5rem;
	border-bottom: 1px solid var(--border);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.sidebar-logo a {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: var(--text-primary);
	flex: 1;
	min-width: 0;
}

.sidebar-logo svg {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
}

.sidebar-logo h1 {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text-primary);
	white-space: nowrap;
	overflow: hidden;
}

.sidebar-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: transparent;
	padding: 0;
	color: var(--text-muted);
	cursor: pointer;
	flex-shrink: 0;
	transition: all 0.2s;
}

.sidebar-toggle svg {
	width: 20px;
	height: 20px;
}

.sidebar-toggle:hover {
	background-color: var(--border-light);
	color: var(--text-primary);
}

.sidebar-nav {
	flex: 1;
	padding: 1rem 0;
	overflow-y: auto;
}

.nav-section {
	padding: 0.5rem 1rem;
	margin-top: 0.5rem;
}

.nav-section-title {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.5rem 0.75rem;
}

.nav-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1.5rem;
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
	border-left: 3px solid transparent;
	transition: all 0.2s;
}

.nav-item:hover {
	background-color: var(--border-light);
	color: var(--text-primary);
}

.nav-item.active {
	background-color: rgba(245, 130, 32, 0.1);
	color: var(--primary);
	border-left-color: var(--primary);
	font-weight: 600;
}

.nav-item svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.sidebar-footer {
	padding: 1rem 1.5rem;
	border-top: 1px solid var(--border);
}

.user-info {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.user-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 0.875rem;
	color: white;
}

.user-details {
	flex: 1;
	min-width: 0;
}

.user-name {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-primary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.user-email {
	font-size: 0.75rem;
	color: var(--text-secondary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.logout-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.5rem;
	background-color: transparent;
	border: 1px solid var(--border);
	border-radius: 0.375rem;
	color: var(--text-secondary);
	font-size: 0.875rem;
	cursor: pointer;
	transition: all 0.2s;
}

.logout-btn:hover {
	background-color: var(--border-light);
	color: var(--text-primary);
}

/* Mobile Header */
.mobile-header {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 56px;
	background-color: var(--bg-card);
	border-bottom: 1px solid var(--border);
	padding: 0 1rem;
	align-items: center;
	justify-content: space-between;
	z-index: 99;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.mobile-menu-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	color: var(--text-primary);
	cursor: pointer;
}

.mobile-logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	color: var(--text-primary);
}

.mobile-logo svg {
	width: 28px;
	height: 28px;
}

.mobile-logo span {
	font-size: 1.25rem;
	font-weight: 700;
}

/* Sidebar Overlay */
.sidebar-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 99;
}

/* Main Content */
.main-content {
	flex: 1;
	margin-left: 260px;
	min-height: 100vh;
	transition: margin-left 0.3s ease;
}

.main-inner {
	padding: 2rem;
}

/* Page Header */
.page-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2rem;
}

.page-header h1 {
	font-size: 1.75rem;
	font-weight: 600;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s;
	border: none;
}

.btn-primary {
	background-color: var(--primary);
	color: white;
}

.btn-primary:hover {
	background-color: var(--primary-dark);
}

.btn-secondary {
	background-color: var(--border-light);
	border: 1px solid var(--border);
	color: var(--text-primary);
}

.btn-secondary:hover {
	background-color: var(--border);
}

.btn-danger {
	background-color: var(--error);
	color: white;
}

.btn-danger:hover {
	background-color: #b91c1c;
}

.btn-outline {
	background-color: transparent;
	border: 1px solid var(--border);
	color: var(--text-primary);
}

.btn-outline:hover {
	background-color: var(--border-light);
}

/* Toggle Switch */
.toggle-switch {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
}

.toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.toggle-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--border);
	transition: 0.3s;
	border-radius: 24px;
}

.toggle-slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: 0.3s;
	border-radius: 50%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
	background-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
	transform: translateX(20px);
}

/* Toast Notifications */
.toast-container {
	position: fixed;
	top: 1rem;
	right: 1rem;
	z-index: 1100;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.toast {
	padding: 1rem 1.25rem;
	border-radius: 8px;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	animation: toastSlideIn 0.3s ease;
	max-width: 400px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@keyframes toastSlideIn {
	from {
		transform: translateX(100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes toastSlideOut {
	from {
		transform: translateX(0);
		opacity: 1;
	}
	to {
		transform: translateX(100%);
		opacity: 0;
	}
}

.toast.toast-hiding {
	animation: toastSlideOut 0.3s ease forwards;
}

.toast-success {
	background: #f0fdf4;
	border-color: #86efac;
	color: #166534;
}

.toast-error {
	background: #fef2f2;
	border-color: #fca5a5;
	color: #991b1b;
}

.toast-info {
	background: #eff6ff;
	border-color: #93c5fd;
	color: #1e40af;
}

.toast-close {
	background: none;
	border: none;
	font-size: 1.25rem;
	cursor: pointer;
	color: inherit;
	opacity: 0.6;
	padding: 0;
	line-height: 1;
	margin-left: auto;
}

.toast-close:hover {
	opacity: 1;
}

/* Cards */
.card {
	background-color: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 0.75rem;
	padding: 1.5rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--border);
}

.card-header h2 {
	font-size: 1.125rem;
	font-weight: 600;
}

/* Stats Grid */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}

.stat-card {
	background-color: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 0.75rem;
	padding: 1.5rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stat-card h3 {
	font-size: 0.875rem;
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.stat-card .value {
	font-size: 2rem;
	font-weight: 700;
	color: var(--text-primary);
}

.stat-card .value.primary {
	color: var(--primary);
}

/* Video Grid */
.video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
}

.video-card {
	background-color: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	overflow: hidden;
	transition: all 0.2s;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.video-card:hover {
	border-color: var(--primary);
	box-shadow: 0 4px 12px rgba(245, 130, 32, 0.15);
}

.video-thumbnail {
	aspect-ratio: 16/9;
	background-color: var(--border-light);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	position: relative;
}

.video-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-duration {
	position: absolute;
	bottom: 0.5rem;
	right: 0.5rem;
	background-color: rgba(0, 0, 0, 0.8);
	padding: 0.125rem 0.375rem;
	border-radius: 0.25rem;
	font-size: 0.75rem;
	font-weight: 500;
}

.play-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.3);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.play-overlay svg {
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.video-card:hover .play-overlay {
	opacity: 1;
}

.video-info {
	padding: 1rem;
}

.video-info h3 {
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: 0.25rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.video-info p {
	font-size: 0.75rem;
	color: var(--text-muted);
}

/* Status Badges */
.status-badge {
	display: inline-block;
	padding: 0.25rem 0.5rem;
	border-radius: 0.25rem;
	font-size: 0.75rem;
	font-weight: 600;
}

.status-ready {
	background-color: var(--success-bg);
	color: var(--success);
}

.status-processing {
	background-color: var(--warning-bg);
	color: var(--warning);
}

.status-pending {
	background-color: var(--info-bg);
	color: var(--info);
}

.status-error {
	background-color: var(--error-bg);
	color: var(--error);
}

/* Forms */
.form-group {
	margin-bottom: 1.25rem;
}

.form-group label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
	color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
	width: 100%;
	padding: 0.75rem 1rem;
	background-color: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	color: var(--text-primary);
	font-size: 1rem;
	font-family: inherit;
	transition: border-color 0.2s;
}

.form-group textarea {
	min-height: 100px;
	resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
	outline: none;
	border-color: var(--primary);
}

.form-group input:disabled,
.form-group textarea:disabled,
.form-group select:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.form-help {
	font-size: 0.75rem;
	color: var(--text-muted);
	margin-top: 0.25rem;
}

/* Alerts */
.alert {
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	margin-bottom: 1rem;
	font-size: 0.875rem;
}

.alert-error {
	background-color: var(--error-bg);
	border: 1px solid var(--error);
	color: var(--error);
}

.alert-success {
	background-color: var(--success-bg);
	border: 1px solid var(--success);
	color: var(--success);
}

.alert-warning {
	background-color: var(--warning-bg);
	border: 1px solid var(--warning);
	color: var(--warning);
}

/* Modals */
.modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	align-items: center;
	justify-content: center;
	z-index: 200;
	padding: 1rem;
}

.modal-overlay.active {
	display: flex;
}

.modal-content {
	background-color: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 1rem;
	width: 100%;
	max-width: 500px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem;
	border-bottom: 1px solid var(--border);
}

.modal-header h2 {
	font-size: 1.25rem;
	font-weight: 600;
}

.modal-close {
	background: none;
	border: none;
	color: var(--text-secondary);
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0;
	line-height: 1;
}

.modal-close:hover {
	color: var(--text-primary);
}

.modal-body {
	padding: 1.5rem;
}

.modal-footer {
	display: flex;
	gap: 0.75rem;
	padding: 1.5rem;
	border-top: 1px solid var(--border);
}

/* Large Modal */
.modal-content.modal-lg {
	max-width: 900px;
}

/* Empty State */
.empty-state {
	text-align: center;
	padding: 3rem;
	color: var(--text-muted);
}

.empty-state svg {
	width: 64px;
	height: 64px;
	margin-bottom: 1rem;
	opacity: 0.5;
}

.empty-state h3 {
	margin-bottom: 0.5rem;
	color: var(--text-secondary);
	font-size: 1.125rem;
}

.empty-state p {
	margin-bottom: 1.5rem;
}

/* Loading State */
.loading-state {
	text-align: center;
	padding: 3rem;
}

.spinner {
	width: 48px;
	height: 48px;
	border: 4px solid var(--border-light);
	border-top-color: var(--primary);
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin: 0 auto 1rem;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* Tables */
.table-container {
	overflow-x: auto;
}

table {
	width: 100%;
	border-collapse: collapse;
}

table th,
table td {
	padding: 0.75rem 1rem;
	text-align: left;
	border-bottom: 1px solid var(--border);
}

table th {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

table td {
	font-size: 0.875rem;
}

table tr:hover td {
	background-color: var(--border-light);
}

/* Search & Filters */
.search-filters {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
}

.search-box {
	flex: 1;
	min-width: 200px;
	position: relative;
}

.search-box input {
	width: 100%;
	padding: 0.625rem 1rem 0.625rem 2.5rem;
	background-color: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	color: var(--text-primary);
	font-size: 0.875rem;
}

.search-box input:focus {
	outline: none;
	border-color: var(--primary);
}

.search-box svg {
	position: absolute;
	left: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	color: var(--text-muted);
}

.filter-select {
	padding: 0.625rem 1rem;
	background-color: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 0.5rem;
	color: var(--text-primary);
	font-size: 0.875rem;
	min-width: 150px;
}

.filter-select:focus {
	outline: none;
	border-color: var(--primary);
}

/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin-top: 2rem;
}

.pagination-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background-color: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 0.375rem;
	color: var(--text-secondary);
	font-size: 0.875rem;
	cursor: pointer;
	transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
	background-color: var(--border-light);
	color: var(--text-primary);
}

.pagination-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.pagination-btn.active {
	background-color: var(--primary);
	border-color: var(--primary);
	color: white;
}

.pagination-info {
	font-size: 0.875rem;
	color: var(--text-secondary);
	margin: 0 1rem;
}

/* Copy Field */
.copy-field {
	display: flex;
	gap: 0.5rem;
}

.copy-field input {
	flex: 1;
	padding: 0.5rem 0.75rem;
	background-color: var(--border-light);
	border: 1px solid var(--border);
	border-radius: 0.375rem;
	color: var(--text-primary);
	font-size: 0.75rem;
	font-family: monospace;
}

.copy-btn {
	padding: 0.5rem 0.75rem;
	background-color: var(--primary);
	border: none;
	border-radius: 0.375rem;
	color: white;
	cursor: pointer;
	font-size: 0.75rem;
	transition: background-color 0.2s;
}

.copy-btn:hover {
	background-color: var(--primary-dark);
}

/* Confirm / Alert Dialog */
.dialog-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	align-items: center;
	justify-content: center;
	z-index: 9999;
	padding: 1rem;
	animation: dialogFadeIn 0.15s ease;
}

.dialog-overlay.active {
	display: flex;
}

@keyframes dialogFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes dialogSlideIn {
	from { opacity: 0; transform: translateY(-12px) scale(0.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.dialog-box {
	background-color: var(--bg-card, #fff);
	border: 1px solid var(--border, #e5e5e5);
	border-radius: 1rem;
	width: 100%;
	max-width: 420px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
	animation: dialogSlideIn 0.2s ease;
	overflow: hidden;
}

.dialog-body {
	padding: 2rem 1.75rem 1.25rem;
	text-align: center;
}

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

.dialog-icon.warning {
	background: #fef3c7;
	color: #d97706;
}

.dialog-icon.danger {
	background: #fee2e2;
	color: #dc2626;
}

.dialog-icon.info {
	background: #dbeafe;
	color: #2563eb;
}

.dialog-icon.success {
	background: #dcfce7;
	color: #16a34a;
}

.dialog-icon svg {
	width: 24px;
	height: 24px;
}

.dialog-title {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--text-primary, #1a1a1a);
	margin-bottom: 0.5rem;
}

.dialog-message {
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--text-secondary, #666);
	margin: 0;
}

.dialog-actions {
	display: flex;
	gap: 0.75rem;
	padding: 1.25rem 1.75rem;
	border-top: 1px solid var(--border, #e5e5e5);
}

.dialog-actions .btn {
	flex: 1;
}

/* Collapsed Sidebar */
.sb-collapsed .sidebar {
	width: 68px;
}

.sb-collapsed .sidebar .sidebar-logo {
	padding: 1rem 0;
	justify-content: center;
}

.sb-collapsed .sidebar .sidebar-logo a {
	display: none;
}

.sb-collapsed .sidebar .nav-section-title {
	display: none;
}

.sb-collapsed .sidebar .nav-item {
	padding: 0.75rem 0;
	justify-content: center;
	border-left: none;
}

.sb-collapsed .sidebar .nav-item span {
	display: none;
}

.sb-collapsed .sidebar .nav-item.active {
	border-left: none;
}

.sb-collapsed .sidebar .sidebar-footer {
	padding: 1rem 0.5rem;
}

.sb-collapsed .sidebar .user-info {
	justify-content: center;
}

.sb-collapsed .sidebar .user-details {
	display: none;
}

.sb-collapsed .sidebar .logout-btn span {
	display: none;
}

.sb-collapsed .sidebar .logout-btn {
	justify-content: center;
	padding: 0.5rem;
}

.sb-collapsed .main-content {
	margin-left: 68px;
}

.sb-collapsed .sidebar .sidebar-toggle {
	margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
	.sidebar {
		transform: translateX(-100%);
	}

	.sidebar.open {
		transform: translateX(0);
	}

	.sidebar-toggle {
		display: none !important;
	}

	.sb-collapsed .sidebar {
		width: 260px;
	}

	.sb-collapsed .sidebar .sidebar-logo a {
		display: flex;
	}

	.sb-collapsed .sidebar .nav-section-title {
		display: block;
	}

	.sb-collapsed .sidebar .nav-item {
		padding: 0.75rem 1.5rem;
		justify-content: flex-start;
	}

	.sb-collapsed .sidebar .nav-item span,
	.sb-collapsed .sidebar .user-details,
	.sb-collapsed .sidebar .logout-btn span {
		display: initial;
	}

	.sidebar-overlay.active {
		display: block;
	}

	.mobile-header {
		display: flex;
	}

	.main-content {
		margin-left: 0;
		padding-top: 56px;
	}

	.main-inner {
		padding: 1rem;
	}

	.page-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.stats-grid {
		grid-template-columns: 1fr 1fr;
	}

	.video-grid {
		grid-template-columns: 1fr;
	}

	.search-filters {
		flex-direction: column;
	}

	.search-box {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.stats-grid {
		grid-template-columns: 1fr;
	}
}
