:root {
	color-scheme: light;
	--bg: #ffffff;
	--bg-subtle: #f8fafc;
	--bg-card: #ffffff;
	--bg-card-hover: #fafafa;
	--fg: #0f172a;
	--fg-muted: #64748b;
	--fg-subtle: #94a3b8;
	--accent: #f97316;
	--accent-hover: #ea580c;
	--accent-light: #fff7ed;
	--accent-border: #fed7aa;
	--border: #e2e8f0;
	--border-focus: #f97316;
	--radius: 14px;
	--radius-sm: 8px;
	--radius-lg: 20px;
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
	--shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
	--shadow-lg: 0 14px 30px -4px rgba(0, 0, 0, 0.08), 0 6px 12px -2px rgba(0, 0, 0, 0.04);
	--font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--success: #10b981;
	--success-bg: #ecfdf5;
	--warning: #f59e0b;
	--warning-bg: #fffbeb;
	--danger: #ef4444;
	--danger-bg: #fef2f2;
	--info: #3b82f6;
	--info-bg: #eff6ff;
}

[data-theme="dark"] {
	color-scheme: dark;
	--bg: #090d16;
	--bg-subtle: #0f172a;
	--bg-card: #131d31;
	--bg-card-hover: #1a2742;
	--fg: #f8fafc;
	--fg-muted: #94a3b8;
	--fg-subtle: #64748b;
	--accent: #fb923c;
	--accent-hover: #f97316;
	--accent-light: rgba(251, 146, 60, 0.12);
	--accent-border: rgba(251, 146, 60, 0.3);
	--border: #1e293b;
	--border-focus: #fb923c;
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
	--shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
	--shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.5);
	--success: #34d399;
	--success-bg: rgba(16, 185, 129, 0.15);
	--warning: #fbbf24;
	--warning-bg: rgba(245, 158, 11, 0.15);
	--danger: #f87171;
	--danger-bg: rgba(239, 68, 68, 0.15);
	--info: #60a5fa;
	--info-bg: rgba(59, 130, 246, 0.15);
}

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

body {
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

#root {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* Announcement Top Bar */
.announcement-bar {
	background: linear-gradient(90deg, #ea580c, #f97316, #fb923c);
	color: #ffffff;
	font-size: 0.8125rem;
	font-weight: 500;
	text-align: center;
	padding: 0.4rem 1rem;
	letter-spacing: 0.01em;
}

/* Navigation */
.navbar-wrapper {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border);
	transition: background-color 0.2s;
}

[data-theme="dark"] .navbar-wrapper {
	background: rgba(9, 13, 22, 0.85);
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.75rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.logo-btn {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	color: inherit;
	padding: 0.25rem;
	border-radius: var(--radius-sm);
	user-select: none;
}

.logo-icon-svg {
	width: 34px;
	height: 34px;
	flex-shrink: 0;
}

.logo-text-box {
	display: flex;
	flex-direction: column;
}

.logo-name {
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--fg);
	line-height: 1.1;
}

.logo-name span {
	color: var(--accent);
}

.logo-tag {
	font-size: 0.625rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--fg-muted);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	list-style: none;
}

.nav-link-btn {
	background: transparent;
	border: none;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--fg-muted);
	cursor: pointer;
	transition: all 0.15s ease;
}

.nav-link-btn:hover {
	color: var(--fg);
	background: var(--bg-subtle);
}

.nav-link-btn.active {
	color: var(--accent);
	background: var(--accent-light);
	font-weight: 600;
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.lang-select,
.theme-btn {
	background: var(--bg-subtle);
	border: 1px solid var(--border);
	color: var(--fg);
	padding: 0.4rem 0.65rem;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 500;
	cursor: pointer;
	transition: border-color 0.15s;
}

.theme-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
}

.mobile-menu-btn {
	display: none;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 0.45rem;
	color: var(--fg);
	cursor: pointer;
}

@media (max-width: 860px) {
	.nav-links {
		display: none;
	}
	.mobile-menu-btn {
		display: flex;
	}
	.nav-links.mobile-open {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--bg);
		border-bottom: 1px solid var(--border);
		padding: 1rem;
		box-shadow: var(--shadow-lg);
	}
}

/* Page Container */
.main-content {
	flex: 1;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 1.5rem 1.25rem 4rem;
}

/* Hero Section */
.hero-section {
	text-align: center;
	padding: 3rem 1rem 3.5rem;
	max-width: 880px;
	margin: 0 auto;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 0.9rem;
	background: var(--accent-light);
	border: 1px solid var(--accent-border);
	color: var(--accent);
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 600;
	margin-bottom: 1.25rem;
}

.hero-title {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.12;
	color: var(--fg);
	margin-bottom: 1.25rem;
}

.hero-title span {
	background: linear-gradient(135deg, var(--accent) 0%, #ea580c 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero-subtitle {
	font-size: clamp(1rem, 2vw, 1.2rem);
	color: var(--fg-muted);
	line-height: 1.6;
	margin-bottom: 2rem;
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
}

.hero-ctas {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	flex-wrap: wrap;
	margin-bottom: 3rem;
}

.hero-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border);
}

.feature-pill {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--fg-muted);
	justify-content: center;
}

.feature-pill svg {
	color: var(--accent);
	flex-shrink: 0;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.65rem 1.25rem;
	border-radius: var(--radius-sm);
	font-size: 0.9375rem;
	font-weight: 600;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 0.15s ease;
	text-decoration: none;
	user-select: none;
}

.btn-primary {
	background: var(--accent);
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
	background: var(--accent-hover);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
	background: var(--bg-subtle);
	color: var(--fg);
	border-color: var(--border);
}

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

.btn-outline {
	background: transparent;
	color: var(--accent);
	border-color: var(--accent);
}

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

.btn-success {
	background: var(--success);
	color: #ffffff;
}

.btn-success:hover {
	filter: brightness(0.95);
}

.btn-danger {
	background: var(--danger);
	color: #ffffff;
}

.btn-danger:hover {
	filter: brightness(0.95);
}

.btn-lg {
	padding: 0.85rem 1.6rem;
	font-size: 1.05rem;
	border-radius: var(--radius);
}

.btn-sm {
	padding: 0.4rem 0.75rem;
	font-size: 0.8125rem;
	border-radius: var(--radius-sm);
}

.btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none !important;
}

/* Condition Guide Cards */
.condition-guide-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
	margin: 2rem 0 3rem;
}

.guide-card {
	padding: 1.25rem;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s, border-color 0.2s;
}

.guide-card:hover {
	border-color: var(--accent-border);
	transform: translateY(-2px);
}

.guide-badge {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
	margin-bottom: 0.75rem;
}

.grade-like-new {
	background: rgba(16, 185, 129, 0.12);
	color: #059669;
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.grade-excellent {
	background: rgba(59, 130, 246, 0.12);
	color: #2563eb;
	border: 1px solid rgba(59, 130, 246, 0.3);
}

.grade-good {
	background: rgba(245, 158, 11, 0.12);
	color: #d97706;
	border: 1px solid rgba(245, 158, 11, 0.3);
}

.grade-functional-marks {
	background: rgba(239, 68, 68, 0.12);
	color: #dc2626;
	border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Filter Bar */
.catalog-filter-bar {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1rem 1.25rem;
	margin-bottom: 2rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	box-shadow: var(--shadow-sm);
}

.filter-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
}

.filter-select {
	background: var(--bg-subtle);
	border: 1px solid var(--border);
	color: var(--fg);
	padding: 0.5rem 0.8rem;
	border-radius: var(--radius-sm);
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
}

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

.product-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow-sm);
	transition: all 0.25s ease;
	position: relative;
}

.product-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--accent-border);
}

.product-image-container {
	position: relative;
	background: var(--bg-subtle);
	width: 100%;
	height: 240px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.product-image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.product-card:hover .product-image-container img {
	transform: scale(1.05);
}

.product-top-badges {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	right: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	pointer-events: none;
}

.battery-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	background: rgba(15, 23, 42, 0.85);
	color: #ffffff;
	backdrop-filter: blur(8px);
	padding: 0.25rem 0.55rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
}

.stock-tag {
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.25rem 0.55rem;
	border-radius: 999px;
}

.stock-in {
	background: var(--success-bg);
	color: var(--success);
}

.stock-low {
	background: var(--warning-bg);
	color: var(--warning);
}

.stock-out {
	background: var(--danger-bg);
	color: var(--danger);
}

.product-body {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.product-model {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--fg);
	margin-bottom: 0.35rem;
	letter-spacing: -0.02em;
}

.product-specs-row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: var(--fg-muted);
	margin-bottom: 0.85rem;
}

.color-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.2);
	display: inline-block;
}

.product-price-box {
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid var(--border);
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
}

.price-full {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--fg);
	letter-spacing: -0.02em;
}

.price-deposit-hint {
	font-size: 0.75rem;
	color: var(--accent);
	font-weight: 600;
}

/* Product Details View */
.product-detail-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: start;
	margin-top: 1.5rem;
}

@media (max-width: 860px) {
	.product-detail-layout {
		grid-template-columns: 1fr;
	}
}

.gallery-wrapper {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.main-image-box {
	width: 100%;
	height: 420px;
	background: var(--bg-subtle);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.main-image-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.thumbnails-row {
	display: flex;
	gap: 0.75rem;
	overflow-x: auto;
	padding-bottom: 0.5rem;
}

.thumb-btn {
	width: 80px;
	height: 80px;
	border-radius: var(--radius-sm);
	border: 2px solid transparent;
	overflow: hidden;
	cursor: pointer;
	background: var(--bg-subtle);
	flex-shrink: 0;
}

.thumb-btn.active {
	border-color: var(--accent);
}

.thumb-btn img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.product-info-panel {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.detail-specs-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.25rem;
}

.spec-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--border);
	font-size: 0.9375rem;
}

.spec-row:last-child {
	border-bottom: none;
}

.spec-label {
	color: var(--fg-muted);
	font-weight: 500;
}

.spec-value {
	color: var(--fg);
	font-weight: 600;
	text-align: right;
}

.deposit-highlight-box {
	background: var(--accent-light);
	border: 1px solid var(--accent-border);
	border-radius: var(--radius);
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

/* Forms & Inputs */
.form-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2rem;
	box-shadow: var(--shadow);
	max-width: 650px;
	margin: 0 auto;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin-bottom: 1.25rem;
}

.form-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--fg);
}

.form-input,
.form-textarea,
.form-select {
	width: 100%;
	padding: 0.75rem 1rem;
	background: var(--bg-subtle);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--fg);
	font-family: inherit;
	font-size: 0.9375rem;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
	outline: none;
	border-color: var(--border-focus);
	box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

/* Modals & Dialogs (Strictly Centered & Responsive) */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.65);
	backdrop-filter: blur(6px);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	overflow-y: auto;
}

.modal-dialog {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	width: 100%;
	max-width: 560px;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	position: relative;
	animation: modal-pop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	overflow: hidden;
}

@keyframes modal-pop {
	0% {
		opacity: 0;
		transform: scale(0.95);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

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

.modal-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--fg);
}

.modal-close-btn {
	background: var(--bg-subtle);
	border: 1px solid var(--border);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--fg-muted);
	cursor: pointer;
	font-size: 1.2rem;
	line-height: 1;
}

.modal-close-btn:hover {
	color: var(--fg);
	background: var(--border);
}

.modal-body {
	padding: 1.5rem;
	overflow-y: auto;
	flex: 1;
}

.modal-footer {
	padding: 1rem 1.5rem;
	border-top: 1px solid var(--border);
	background: var(--bg-subtle);
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem;
}

/* Timeline Tracking */
.tracking-timeline {
	position: relative;
	padding-left: 2rem;
	margin: 2rem 0;
}

.tracking-timeline::before {
	content: "";
	position: absolute;
	top: 0.5rem;
	bottom: 0.5rem;
	left: 9px;
	width: 2px;
	background: var(--border);
}

.timeline-step {
	position: relative;
	margin-bottom: 1.75rem;
}

.timeline-step:last-child {
	margin-bottom: 0;
}

.timeline-dot {
	position: absolute;
	left: -2rem;
	top: 2px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--bg-card);
	border: 3px solid var(--accent);
	box-shadow: 0 0 0 3px var(--accent-light);
}

.timeline-content {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1rem 1.25rem;
	box-shadow: var(--shadow-sm);
}

.timeline-date {
	font-size: 0.75rem;
	color: var(--fg-subtle);
	margin-bottom: 0.25rem;
}

.timeline-title {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--fg);
	margin-bottom: 0.35rem;
}

.timeline-message {
	font-size: 0.875rem;
	color: var(--fg-muted);
}

/* 24-Hour Cancellation Countdown Box */
.countdown-box {
	background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%);
	border: 1px solid var(--accent-border);
	border-radius: var(--radius);
	padding: 1.25rem;
	margin: 1.5rem 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.countdown-digits {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	font-family: monospace;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--accent);
}

/* Floating WhatsApp Button */
.whatsapp-floating-btn {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 90;
	background: #25d366;
	color: #ffffff;
	border-radius: 999px;
	padding: 0.75rem 1.25rem;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
	transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-floating-btn:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Accordion FAQ */
.faq-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	max-width: 800px;
	margin: 2rem auto;
}

.faq-item {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
}

.faq-question-btn {
	width: 100%;
	padding: 1.15rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: transparent;
	border: none;
	font-size: 1rem;
	font-weight: 600;
	color: var(--fg);
	text-align: left;
	cursor: pointer;
}

.faq-question-btn:hover {
	background: var(--bg-subtle);
}

.faq-answer {
	padding: 0 1.25rem 1.25rem;
	color: var(--fg-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
}

/* Admin Dashboard Elements */
.admin-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--border);
}

.admin-tabs {
	display: flex;
	gap: 0.5rem;
	border-bottom: 1px solid var(--border);
	margin-bottom: 1.5rem;
	overflow-x: auto;
}

.admin-tab-btn {
	padding: 0.65rem 1rem;
	background: transparent;
	border: none;
	border-bottom: 2px solid transparent;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--fg-muted);
	cursor: pointer;
	white-space: nowrap;
}

.admin-tab-btn.active {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

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

.kpi-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.25rem;
	box-shadow: var(--shadow-sm);
}

.kpi-num {
	font-size: 2rem;
	font-weight: 800;
	color: var(--fg);
	letter-spacing: -0.02em;
}

.kpi-label {
	font-size: 0.8125rem;
	color: var(--fg-muted);
	font-weight: 500;
}

.table-responsive {
	width: 100%;
	overflow-x: auto;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.table-custom {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	font-size: 0.875rem;
}

.table-custom th {
	background: var(--bg-subtle);
	padding: 0.75rem 1rem;
	font-weight: 600;
	color: var(--fg-muted);
	border-bottom: 1px solid var(--border);
}

.table-custom td {
	padding: 0.85rem 1rem;
	border-bottom: 1px solid var(--border);
	color: var(--fg);
}

.table-custom tr:last-child td {
	border-bottom: none;
}

/* Image Upload Component */
.image-upload-box {
	border: 2px dashed var(--border);
	border-radius: var(--radius);
	padding: 1.5rem;
	text-align: center;
	cursor: pointer;
	background: var(--bg-subtle);
	transition: border-color 0.2s;
}

.image-upload-box:hover {
	border-color: var(--accent);
}

.uploaded-previews-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
}

.preview-thumb-card {
	position: relative;
	width: 80px;
	height: 80px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	border: 1px solid var(--border);
}

.preview-thumb-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.remove-thumb-btn {
	position: absolute;
	top: 2px;
	right: 2px;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	border: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 0.75rem;
}

/* Footer */
.footer-wrapper {
	background: var(--bg-subtle);
	border-top: 1px solid var(--border);
	padding: 3rem 1.25rem 2rem;
	margin-top: auto;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
	margin-bottom: 2.5rem;
}

.footer-col-title {
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--fg);
	margin-bottom: 1rem;
}

.footer-links {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.footer-links button {
	background: none;
	border: none;
	color: var(--fg-muted);
	font-size: 0.875rem;
	cursor: pointer;
	text-align: left;
	padding: 0;
}

.footer-links button:hover {
	color: var(--accent);
}

.footer-bottom {
	max-width: 1200px;
	margin: 0 auto;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.8125rem;
	color: var(--fg-subtle);
}
