:root {
	/* Color Palette - More Vibrant */
	--primary: #0ea5e9;
	--primary-rgb: 14, 165, 233;
	--primary-glow: rgba(14, 165, 233, 0.4);
	--secondary: #8b5cf6;
	--secondary-glow: rgba(139, 92, 246, 0.4);
	--accent: #10b981;
	--accent-rgb: 16, 185, 129;
	--bg-dark: #020617;
	--bg-card: rgba(15, 23, 42, 0.6);
	--text-main: #f8fafc;
	--text-muted: #94a3b8;
	--glass-border: rgba(255, 255, 255, 0.08);
	--gold: #fbbf24;

	/* Spacing & Radii */
	--radius-sm: 10px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--container-max: 1200px;

	/* Transitions */
	--transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	color-scheme: dark;
	scroll-behavior: smooth;
}

body {
	font-family:
		"Plus Jakarta Sans",
		system-ui,
		-apple-system,
		sans-serif;
	background: var(--bg-dark);
	background-image:
		radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.15) 0px, transparent 50%),
		radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.15) 0px, transparent 50%);
	color: var(--text-main);
	line-height: 1.6;
	overflow-x: hidden;
	min-height: 100vh;
}

.bg-main {
	position: relative;
}

.bg-main::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
	opacity: 0.02;
	pointer-events: none;
	z-index: -1;
}

h1,
h2,
h3,
h4,
.logo-text {
	font-family: "Outfit", sans-serif;
	font-weight: 700;
}

.container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 24px;
}

/* Glassmorphism Refined */
.glass {
	background: var(--bg-card);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-card {
	background: rgba(30, 41, 59, 0.4);
	backdrop-filter: blur(12px);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-md);
	padding: 24px;
	box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
	transition: var(--transition);
}

.glass-card:hover {
	background: rgba(30, 41, 59, 0.5);
	border-color: rgba(255, 255, 255, 0.15);
	transform: translateY(-5px);
}

/* Navbar */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: 80px;
	display: flex;
	align-items: center;
	border-bottom: 1px solid var(--glass-border);
}

.container-nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.logo {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.logo-icon {
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	color: white;
	box-shadow: 0 8px 16px -4px var(--primary-glow);
}

.logo-text {
	font-size: 1.6rem;
	letter-spacing: -0.5px;
	background: linear-gradient(to right, #fff, #94a3b8);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.nav-links {
	display: flex;
	gap: 36px;
}

.nav-link {
	color: var(--text-muted);
	text-decoration: none;
	font-weight: 500;
	transition: var(--transition);
	font-size: 0.95rem;
	position: relative;
}

.nav-link::after {
	content: "";
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: var(--transition);
}

.nav-link:hover {
	color: var(--text-main);
}

.nav-link:hover::after {
	width: 100%;
}

/* Buttons Core */
.btn {
	padding: 12px 28px;
	border-radius: var(--radius-sm);
	font-weight: 600;
	cursor: pointer;
	transition: var(--transition);
	border: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 0.95rem;
	position: relative;
	overflow: hidden;
}

.btn-primary {
	background: var(--primary);
	color: white;
	box-shadow: 0 4px 14px 0 var(--primary-glow);
}

.btn-primary:hover {
	background: #0ea5e9;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.btn-gradient {
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	color: white;
	box-shadow: 0 4px 14px 0 var(--primary-glow);
}

.btn-gradient:hover {
	filter: brightness(1.1);
	transform: translateY(-2px);
	box-shadow: 0 10px 25px -5px var(--secondary-glow);
}

.btn-cyan {
	background: linear-gradient(135deg, #06b6d4, #0ea5e9);
	color: white;
	box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.4);
}

.btn-cyan:hover {
	filter: brightness(1.1);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(6, 182, 212, 0.5);
}

.btn-purple {
	background: linear-gradient(135deg, #8b5cf6, #6366f1);
	color: white;
	box-shadow: 0 4px 14px 0 rgba(139, 92, 246, 0.4);
}

.btn-purple:hover {
	filter: brightness(1.1);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(139, 92, 246, 0.5);
}

.btn-outline {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--glass-border);
	color: var(--text-main);
}

.btn-outline:hover {
	background: rgba(255, 255, 255, 0.05);
}

.btn-large {
	padding: 16px 32px;
	font-size: 1.1rem;
	border-radius: var(--radius-md);
}

/* Loader */
.loader-container {
	height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.loader {
	width: 48px;
	height: 48px;
	border: 5px solid var(--glass-border);
	border-bottom-color: var(--primary);
	border-radius: 50%;
	display: inline-block;
	box-sizing: border-box;
	animation: rotation 1s linear infinite;
}

@keyframes rotation {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Hero Section */
.hero {
	padding-top: 200px;
	padding-bottom: 120px;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 80px;
	align-items: center;
	transition: opacity 0.5s ease;
}

.gradient-text {
	font-size: 4.5rem;
	line-height: 1.05;
	margin-bottom: 24px;
	background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	letter-spacing: -2px;
}

/* Feature Section */
.feature-section {
	padding: 100px 0;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 32px;
}

.feature-card {
	text-align: center;
	padding: 48px 32px;
}

.feature-icon {
	width: 64px;
	height: 64px;
	background: rgba(14, 165, 233, 0.1);
	color: var(--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 16px;
	margin: 0 auto 24px;
	transition: var(--transition);
}

.feature-card:hover .feature-icon {
	background: var(--primary);
	color: white;
	transform: rotate(10deg);
}

.feature-card h3 {
	margin-bottom: 16px;
	font-size: 1.4rem;
}

.feature-card p {
	color: var(--text-muted);
	font-size: 0.95rem;
}

/* Dashboard Utilities */
.flex-between {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.stat-large {
	font-size: 2.5rem;
	font-weight: 700;
	color: white;
}
.badge {
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: capitalize;
}
.badge-warning {
	background: rgba(245, 158, 11, 0.15);
	color: #fbbf24;
	border: 1px solid rgba(245, 158, 11, 0.2);
}
.badge-success {
	background: rgba(16, 185, 129, 0.15);
	color: #10b981;
	border: 1px solid rgba(16, 185, 129, 0.2);
}
.badge-primary {
	background: rgba(14, 165, 233, 0.15);
	color: #0ea5e9;
	border: 1px solid rgba(14, 165, 233, 0.2);
}
.badge-accent {
	background: rgba(139, 92, 246, 0.15);
	color: #8b5cf6;
	border: 1px solid rgba(139, 92, 246, 0.2);
}

.description {
	font-size: 1.2rem;
	color: var(--text-muted);
	margin-bottom: 40px;
	max-width: 800px;
}

.hero-actions {
	display: flex;
	gap: 16px;
}

.hero-visual {
	position: relative;
}

.image-stack {
	position: relative;
	width: 100%;
}

.hero-img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.5);
	border: 1px solid var(--glass-border);
}

.stat-card {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 180px;
}

.stat-value {
	display: block;
	font-weight: 700;
	font-size: 1.2rem;
}

.stat-label {
	display: block;
	font-size: 0.8rem;
	color: var(--text-muted);
}

.icon-teal {
	color: var(--accent);
}
.icon-gold {
	color: var(--gold);
}

/* Forms & Inputs */
.auth-container {
	padding: 40px;
	margin-top: 40px;
}

.scheme-card {
	transition: var(--transition);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.scheme-card:hover {
	transform: translateY(-8px);
	border-color: var(--primary);
	box-shadow: 0 20px 40px -20px rgba(14, 165, 233, 0.4);
}

.text-center {
	text-align: center;
}
.mb-3 {
	margin-bottom: 1rem;
}
.mb-4 {
	margin-bottom: 1.5rem;
}
.mt-4 {
	margin-top: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.9rem;
	color: var(--text-muted);
}

.input-glass {
	width: 100%;
	padding: 12px 16px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-sm);
	color: white;
	font-family: inherit;
	transition: var(--transition);
	appearance: none;
	-webkit-appearance: none;
}

select.input-glass {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px;
	padding-right: 40px;
	color-scheme: dark !important;
}

.input-glass option,
.input-glass optgroup {
	background-color: #1e293b !important;
	color: white !important;
}

.input-glass:focus {
	outline: none;
	border-color: var(--primary);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.btn-full {
	width: 100%;
	justify-content: center;
}

.table-responsive {
	overflow-x: auto;
}

.table-glass td,
.table-glass th {
	padding: 16px;
	border-bottom: 1px solid var(--glass-border);
}

.table-glass thead th {
	color: var(--text-muted);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 1px;
}

/* Animations */
@keyframes float {
	0% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-20px);
	}
	100% {
		transform: translateY(0px);
	}
}

.floating {
	animation: float 6s ease-in-out infinite;
}

#main-content {
	transition: opacity 0.3s ease;
}

/* Footer */
.footer {
	padding: 40px 0;
	margin-top: 100px;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--text-muted);
	font-size: 0.9rem;
}

.footer-links {
	display: flex;
	gap: 24px;
}

.footer-links a {
	color: var(--text-muted);
	text-decoration: none;
	transition: var(--transition);
}

.footer-links a:hover {
	color: var(--primary);
}

/* APL-02 Custom Styles */
.radio-pill {
	display: block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border-radius: 50%;
	cursor: pointer;
	font-weight: 700;
	transition: var(--transition);
	border: 2px solid var(--glass-border);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-muted);
}

.pill-k:hover,
input[type="radio"]:checked + .pill-k {
	background: var(--accent);
	color: white;
	border-color: var(--accent);
	box-shadow: 0 0 15px rgba(20, 184, 166, 0.4);
}

.pill-bk:hover,
input[type="radio"]:checked + .pill-bk {
	background: #ef4444;
	color: white;
	border-color: #ef4444;
	box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.info-box h5 {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1rem;
}

/* Responsive */
@media (max-width: 968px) {
	.container {
		padding: 0 20px;
	}

	.hero {
		grid-template-columns: 1fr;
		text-align: center;
		padding-top: 140px;
	}

	.gradient-text {
		font-size: 3rem;
	}

	.description {
		margin: 0 auto 40px;
	}

	.hero-actions {
		justify-content: center;
	}

	.hero-visual {
		margin-top: 60px;
	}

	.footer-content {
		flex-direction: column;
		gap: 20px;
	}
}
/* Modals */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(2, 6, 23, 0.7); /* Slightly lighter but premium */
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3000;
	padding: 24px;
	overscroll-behavior: contain;
}

.modal-content {
	max-height: 92vh; /* Slightly taller */
	width: 100%;
	animation: modalPop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.6);
	display: flex;
	flex-direction: column; /* For potential sticky header/footer */
}

.modal-content > * {
	flex-shrink: 0;
}

/* Allow the middle part to scroll if needed, but the main content is better */
.modal-content {
	overflow-y: auto;
	scroll-behavior: smooth;
}

@keyframes modalPop {
	from {
		transform: scale(0.96) translateY(10px);
		opacity: 0;
	}
	to {
		transform: scale(1) translateY(0);
		opacity: 1;
	}
}

.icon-btn {
	padding: 8px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--glass-border);
	transition: var(--transition);
}

.icon-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	color: var(--primary);
}

.flex-gap {
	display: flex;
	gap: 8px;
	align-items: center;
}

.text-xs {
	font-size: 0.75rem;
}

/* Premium List Items */
.list-item-glass {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-sm);
	padding: 12px;
	margin-bottom: 10px;
	transition: var(--transition);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.list-item-glass:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.2);
	transform: translateX(4px);
}

.item-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.item-title {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--text-main);
}

.item-subtitle {
	font-size: 0.75rem;
	color: var(--text-muted);
}

/* Custom Scrollbar */
.overflow-y-auto::-webkit-scrollbar {
	width: 5px;
}

.overflow-y-auto::-webkit-scrollbar-track {
	background: transparent;
}

.overflow-y-auto::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 10px;
}

.overflow-y-auto::-webkit-scrollbar-thumb:hover {
	background: var(--primary);
}

.badge-outline {
	background: transparent;
	border: 1px solid var(--glass-border);
	color: var(--text-muted);
}
/* Premium Toast Notification */
.toast-container {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 10px;
	pointer-events: none;
}

.toast {
	background: rgba(15, 23, 42, 0.9);
	backdrop-filter: blur(12px);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-sm);
	padding: 12px 20px;
	color: white;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
	pointer-events: auto;
	animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	min-width: 300px;
	max-width: 450px;
}

.toast-success {
	border-left: 4px solid var(--accent);
}
.toast-error {
	border-left: 4px solid #ef4444;
}
.toast-warning {
	border-left: 4px solid var(--gold);
}

.toast i {
	flex-shrink: 0;
}
.toast-content {
	flex: 1;
}
.toast-title {
	font-weight: 600;
	font-size: 0.9rem;
	display: block;
}
.toast-message {
	font-size: 0.8rem;
	color: var(--text-muted);
}

@keyframes toastSlideIn {
	from {
		transform: translateX(100%) translateY(-10px);
		opacity: 0;
	}
	to {
		transform: translateX(0) translateY(0);
		opacity: 1;
	}
}

.toast.fade-out {
	animation: toastFadeOut 0.3s forwards;
}

@keyframes toastFadeOut {
	to {
		transform: translateX(100%);
		opacity: 0;
	}
}
/* Animations */
@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes slideInUp {
	from {
		transform: translateY(20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.loader-sm {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: #fff;
	animation: spin 0.8s linear infinite;
	vertical-align: middle;
	margin-right: 8px;
}

.loader {
	width: 48px;
	height: 48px;
	border: 5px solid rgba(14, 165, 233, 0.2);
	border-radius: 50%;
	border-top-color: var(--primary);
	animation: spin 1s linear infinite;
}

.loader-container {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 200px;
}

/* Utilities */
.hidden {
	display: none !important;
}

.guide-panel {
	position: absolute;
	top: 80px;
	right: 24px;
	width: 350px;
	z-index: 100;
	max-height: calc(100% - 120px);
	overflow-y: auto;
	animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
	from {
		transform: translateX(30px);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

.guide-item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	padding: 10px 0;
}

.guide-item:last-child {
	border: none;
}

/* Radio Pills Component - Simplified & Premium */
.radio-pills {
	display: flex;
	gap: 16px;
	margin-top: 8px;
}

.radio-pill {
	flex: 1;
	position: relative;
	cursor: pointer;
}

.radio-pill input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.pill-content {
	padding: 20px;
	border: 1px solid var(--glass-border);
	background: rgba(255, 255, 255, 0.02);
	border-radius: 16px;
	text-align: center;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	position: relative;
	overflow: hidden;
}

.pill-content::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(
		circle at center,
		rgba(255, 255, 255, 0.05) 0%,
		transparent 70%
	);
	opacity: 0;
	transition: var(--transition);
}

.pill-content:hover {
	background: rgba(255, 255, 255, 0.05);
	transform: translateY(-4px);
	border-color: rgba(255, 255, 255, 0.15);
}

.pill-content:hover::before {
	opacity: 1;
}

.pill-icon {
	width: 24px;
	height: 24px;
	transition: var(--transition);
}

.radio-pill input:checked + .pill-content {
	transform: translateY(-4px) scale(1.02);
	box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Specific Colors for MS/TMS */
.status-ms .pill-content i {
	color: var(--text-muted);
}
.status-tms .pill-content i {
	color: var(--text-muted);
}

.radio-pill.status-ms input:checked + .pill-content {
	border-color: var(--accent);
	background: rgba(16, 185, 129, 0.1);
	box-shadow: 0 15px 30px -10px rgba(16, 185, 129, 0.3);
}

.radio-pill.status-ms input:checked + .pill-content i {
	color: var(--accent);
	transform: scale(1.1);
}

.radio-pill.status-tms input:checked + .pill-content {
	border-color: #ef4444;
	background: rgba(239, 68, 68, 0.1);
	box-shadow: 0 15px 30px -10px rgba(239, 68, 68, 0.3);
}

.radio-pill.status-tms input:checked + .pill-content i {
	color: #ef4444;
	transform: scale(1.1);
}

/* Notification Bell & Dropdown */
.notif-wrapper {
	position: relative;
	cursor: pointer;
	margin-right: 15px;
}

.notif-badge {
	position: absolute;
	top: -5px;
	right: -5px;
	background: #ef4444;
	color: white;
	font-size: 0.65rem;
	font-weight: 700;
	min-width: 16px;
	height: 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px solid var(--bg-dark);
}

.notif-dropdown {
	position: absolute;
	top: 50px;
	right: 0;
	width: 320px;
	background: rgba(15, 23, 42, 0.95);
	backdrop-filter: blur(20px);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-md);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
	z-index: 1000;
	overflow: hidden;
	animation: slideInUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.notif-header {
	padding: 15px;
	border-bottom: 1px solid var(--glass-border);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.notif-list {
	max-height: 400px;
	overflow-y: auto;
}

.notif-item {
	padding: 15px;
	border-bottom: 1px solid var(--glass-border);
	transition: var(--transition);
	cursor: pointer;
}

.full-notif-list {
	display: flex;
	flex-direction: column;
}

.notif-row {
	border-bottom: 1px solid var(--glass-border);
	transition: all 0.3s ease;
	cursor: pointer;
}

.notif-row:last-child {
	border-bottom: none;
}

.notif-row:hover {
	background: rgba(255, 255, 255, 0.05);
}

.notif-row.unread {
	background: rgba(var(--primary-rgb), 0.03);
	border-left: 4px solid var(--primary);
}

.notif-row.notif-success .feature-icon {
	background: rgba(16, 185, 129, 0.1);
	color: #10b981;
}
.notif-row.notif-warning .feature-icon {
	background: rgba(245, 158, 11, 0.1);
	color: #f59e0b;
}
.notif-row.notif-error .feature-icon {
	background: rgba(239, 68, 68, 0.1);
	color: #ef4444;
}
.notif-row.notif-info .feature-icon {
	background: rgba(59, 130, 246, 0.1);
	color: #3b82f6;
}

.notif-item:hover {
	background: rgba(255, 255, 255, 0.05);
}

.notif-item.unread {
	background: rgba(var(--primary-rgb), 0.05);
}

.notif-item.unread::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	background: var(--primary);
	border-radius: 50%;
	margin-right: 8px;
	vertical-align: middle;
}

.notif-footer {
	padding: 10px;
	text-align: center;
	background: rgba(255, 255, 255, 0.02);
}

/* Status Type Icons */
.notif-item.notif-success i {
	color: var(--accent);
}
.notif-item.notif-warning i {
	color: var(--gold);
}
.notif-item.notif-error i {
	color: #f87171;
}
.notif-item.notif-info i {
	color: var(--primary);
}

/* Text Utils */
.text-primary {
	color: var(--primary);
}
.text-accent {
	color: var(--accent);
}
.text-success {
	color: #10b981;
}
.text-warning {
	color: #f59e0b;
}
.text-danger,
.text-error {
	color: #ef4444;
}
.text-muted {
	color: var(--text-muted);
}
.text-gold {
	color: var(--gold);
}

/* Status Badges */
.badge {
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	border: 1px solid transparent;
}

.badge-primary {
	background: rgba(var(--primary-rgb), 0.1);
	color: var(--primary);
	border-color: rgba(var(--primary-rgb), 0.2);
}

.badge-accent {
	background: rgba(var(--accent-rgb), 0.1);
	color: var(--accent);
	border-color: rgba(var(--accent-rgb), 0.2);
}

.badge-accent-outline {
	background: transparent;
	color: var(--accent);
	border: 1px solid var(--accent);
}

.badge-success {
	background: rgba(16, 185, 129, 0.1);
	color: #10b981;
	border-color: rgba(16, 185, 129, 0.2);
}

.badge-warning {
	background: rgba(245, 158, 11, 0.1);
	color: #f59e0b;
	border-color: rgba(245, 158, 11, 0.2);
}

.badge-danger,
.badge-error {
	background: rgba(239, 68, 68, 0.1);
	color: #ef4444;
	border-color: rgba(239, 68, 68, 0.2);
}

/* Background Slideshow */
.bg-slideshow {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
	overflow: hidden;
}

.bg-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1.5s ease-in-out;
	filter: brightness(0.4); /* Darken for readability */
}

.bg-slide.active {
	opacity: 1;
}

/* Ensure app content is transparent where needed */
.bg-main {
	background: transparent !important; /* Override default bg color */
}

/* Add a subtle overlay for better text contrast if needed */
.bg-slideshow::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		rgba(15, 23, 42, 0.8) 0%,
		rgba(15, 23, 42, 0.4) 100%
	);
	z-index: 1; /* Above images, below content */
}

.badge-outline {
	background: transparent;
	border: 1px solid var(--glass-border);
	color: var(--text-muted);
}
/* Schemes Catalog Improved */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.catalog-card {
    padding: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.catalog-thumbnail {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
}

.catalog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.catalog-card:hover .catalog-thumbnail img {
    transform: scale(1.1);
}

.catalog-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.catalog-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.catalog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.catalog-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--text-main);
    flex: 1;
}

.catalog-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
}

.catalog-rating {
    font-size: 0.85rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Catalog Filters */
.catalog-filters {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.pagination-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    transition: var(--transition);
    cursor: pointer;
}

.pagination-btn:hover:not(.disabled) {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: var(--primary);
    border-color: var(--primary);
}

.pagination-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
