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

html {
	overflow-x: hidden;
	width: 100%;
	position: relative;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #f5f5f5;
	overflow-x: hidden;
	width: 100%;
	max-width: 100%;
	position: relative;
}

/* ========================================
   UNIFIED HEADER - Figma Design
   ======================================== */
.unified-header {
	background: #0f172a;
	color: white;
	padding: 1rem 2.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: sticky;
	top: 0;
	z-index: 10000;
}

.unified-header .logo {
	font-size: 1.5rem;
	font-weight: 700;
	color: white;
	text-decoration: none;
	display: flex;
	align-items: center;
}

.unified-header .logo .logo-icon {
	height: 36px;
	width: auto;
	margin-right: 10px;
}

.unified-header .logo .logo-text {
	font-weight: 700;
	letter-spacing: -0.5px;
}

.unified-header .nav-links {
	display: flex;
	gap: 2.5rem;
	align-items: center;
	margin-left: auto;
	margin-right: 2rem;
}

.unified-header .nav-links > a,
.unified-header .nav-links .dropdown-toggle {
	color: white;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.875rem;
	display: flex;
	align-items: center;
	gap: 0.25rem;
	transition: color 0.2s;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.unified-header .nav-links > a:hover,
.unified-header .nav-links .dropdown-toggle:hover {
	color: rgba(255, 255, 255, 0.8);
}

.unified-header .nav-links .dropdown-arrow {
	font-size: 0.6rem;
	margin-left: 0.35rem;
}

/* Login/Signup link - Orange accent */
.unified-header .login-signup-link {
	color: #f97316 !important;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-size: 0.875rem;
}

.unified-header .login-signup-link:hover {
	color: #fb923c !important;
}

/* Dropdown menu - Figma Design */
.unified-header .dropdown {
	position: relative;
}

.unified-header .dropdown-toggle {
	cursor: pointer;
}

.unified-header .dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: #dbeafe;
	min-width: 220px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1000;
	margin-top: 0.75rem;
	padding: 0.5rem 0;
}

.unified-header .dropdown:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.unified-header .dropdown-menu a {
	display: block;
	padding: 0.75rem 1.25rem;
	color: #1e3a5f !important;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.9rem;
	transition: background 0.2s;
	background: transparent;
	text-transform: none;
	letter-spacing: normal;
}

.unified-header .dropdown-menu a:hover {
	background: #bfdbfe;
	color: #1e3a5f !important;
}

/* Header icons */
.unified-header .header-icons {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-left: 1rem;
}

.unified-header .profile-icon-container {
	position: relative;
}

.unified-header .dashboard-icon,
.unified-header .profile-icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

.unified-header .dashboard-icon:hover,
.unified-header .profile-icon:hover {
	background: rgba(255, 255, 255, 0.25);
	border-color: rgba(255, 255, 255, 0.4);
}

.unified-header .dashboard-icon svg,
.unified-header .profile-icon svg {
	width: 20px;
	height: 20px;
	fill: white;
}

.unified-header .profile-dropdown {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	background: white;
	min-width: 280px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1000;
	overflow: hidden;
}

.unified-header .profile-icon-container:hover .profile-dropdown,
.unified-header .profile-icon-container.active .profile-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.unified-header .profile-dropdown-header {
	padding: 1.25rem;
	background: #0f172a;
	color: white;
}

.unified-header .profile-dropdown-header h3 {
	margin: 0 0 0.25rem 0;
	font-size: 1rem;
	font-weight: 600;
}

.unified-header .profile-dropdown-header p {
	margin: 0;
	font-size: 0.8rem;
	opacity: 0.8;
}

.unified-header .profile-dropdown-content {
	padding: 0.5rem 0;
}

.unified-header .profile-dropdown-item {
	display: block;
	padding: 0.75rem 1.25rem;
	color: #333 !important;
	text-decoration: none;
	font-size: 0.9rem;
	transition: background 0.2s;
}

.unified-header .profile-dropdown-item:hover {
	background: #f5f5f5;
}

.unified-header .profile-dropdown-item.logout {
	color: #dc3545 !important;
}

.unified-header .profile-dropdown-item.logout:hover {
	background: #fff5f5;
}

/* Mobile menu toggle */
.unified-header .mobile-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 28px;
	height: 22px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 1002;
}

.unified-header .mobile-menu-toggle .hamburger-line {
	width: 100%;
	height: 2px;
	background: white;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.unified-header .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.unified-header .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
	opacity: 0;
}

.unified-header .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   UNIFIED HEADER - Mobile Responsive
   ======================================== */
@media (max-width: 1024px) {
	.unified-header {
		padding: 0.875rem 1.5rem;
	}
	
	.unified-header .nav-links {
		gap: 1.5rem;
		margin-right: 1.5rem;
	}
	
	.unified-header .nav-links > a,
	.unified-header .nav-links .dropdown-toggle {
		font-size: 0.8rem;
	}
}

@media (max-width: 768px) {
	.unified-header {
		padding: 0.75rem 1rem;
		position: sticky;
		top: 0;
	}
	
	.unified-header .mobile-menu-toggle {
		display: flex;
	}
	
	/* Header icons stay visible in header on mobile */
	.unified-header .header-icons {
		margin-left: auto;
		margin-right: 0.75rem;
	}
	
	.unified-header .login-signup-link {
		margin-left: auto;
		margin-right: 0.75rem;
		font-size: 0.75rem;
	}
	
	.unified-header .nav-links {
		position: fixed;
		top: 0;
		right: -100%;
		width: 280px;
		max-width: 85vw;
		height: 100vh;
		background: #0f172a;
		flex-direction: column;
		align-items: stretch;
		padding: 4rem 1.5rem 2rem;
		gap: 0;
		transition: right 0.3s ease;
		box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
		overflow-y: auto;
		z-index: 1001;
	}
	
	.unified-header .nav-links.active {
		right: 0;
	}
	
	.unified-header .nav-links > a,
	.unified-header .nav-links .dropdown-toggle {
		color: white;
		padding: 1rem 0;
		font-size: 1rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
	
	.unified-header .dropdown {
		width: 100%;
	}
	
	.unified-header .dropdown-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: rgba(255, 255, 255, 0.05);
		box-shadow: none;
		border-radius: 0;
		margin-top: 0;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}
	
	.unified-header .dropdown.active .dropdown-menu {
		max-height: 500px;
	}
	
	.unified-header .dropdown-menu a {
		padding: 0.75rem 1rem;
		font-size: 0.9rem;
		color: white !important;
	}
	
	.unified-header .dropdown-menu a:hover {
		background: rgba(255, 255, 255, 0.1);
		color: white !important;
	}
	
	.unified-header .logo .logo-icon {
		height: 28px;
	}
	
	.unified-header .logo .logo-text {
		font-size: 1.1rem;
	}
	
	/* Mobile overlay */
	.unified-header .mobile-nav-overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.5);
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease;
		z-index: 1000;
	}
	
	.unified-header .mobile-nav-overlay.active {
		opacity: 1;
		visibility: visible;
	}
}

@media (max-width: 480px) {
	.unified-header {
		padding: 0.625rem 0.75rem;
	}
	
	.unified-header .logo .logo-icon {
		height: 24px;
	}
	
	.unified-header .logo .logo-text {
		font-size: 1rem;
	}
}

/* Dashboard switcher */
.unified-header .dashboard-switcher-container {
	position: relative;
}

.unified-header .dashboard-switcher-dropdown {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	background: white;
	min-width: 220px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1000;
	overflow: hidden;
}

.unified-header .dashboard-switcher-container.active .dashboard-switcher-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.unified-header .dashboard-switcher-header {
	padding: 0.75rem 1rem;
	background: #f5f5f5;
	font-weight: 600;
	font-size: 0.85rem;
	color: #333;
	border-bottom: 1px solid #e0e0e0;
}

.unified-header .dashboard-switcher-item {
	display: flex;
	align-items: center;
	padding: 0.75rem 1rem;
	color: #333;
	text-decoration: none;
	font-size: 0.9rem;
	transition: background 0.2s;
}

.unified-header .dashboard-switcher-item:hover {
	background: #f5f5f5;
}

.unified-header .dashboard-switcher-item .check-icon {
	width: 16px;
	height: 16px;
	margin-right: 0.5rem;
	fill: #0f172a;
	opacity: 0;
}

.unified-header .dashboard-switcher-item.active .check-icon {
	opacity: 1;
}

/* Legacy header styles (kept for compatibility) */
.header {
	background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
	color: white;
	padding: 1.5rem 2rem;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header h1 {
	font-size: 1.8rem;
	margin-bottom: 0.5rem;
}

.header p {
	opacity: 0.9;
	font-size: 0.95rem;
}

.landing-container {
	padding: 0;
	max-width: 100%;
}

.nav {
	background: white;
	border-bottom: 1px solid #e0e0e0;
	padding: 0 2rem;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	position: relative;
	display: none; /* Hide old nav */
}

/* Hamburger menu toggle button */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 30px;
	height: 24px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 10;
}

.nav-toggle span {
	width: 100%;
	height: 3px;
	background: #2a5298;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
	opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -6px);
}

.nav ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.nav li {
	margin: 0;
}

.nav a {
	display: block;
	padding: 1rem 1.5rem;
	text-decoration: none;
	color: #555;
	font-weight: 500;
	border-bottom: 3px solid transparent;
	transition: all 0.2s;
}

.nav a:hover,
.nav a.active {
	color: #2a5298;
	border-bottom-color: #2a5298;
	background-color: #f8f9fa;
}

/* Dropdown menu for base nav */
.nav .dropdown {
	position: relative;
}

.nav .dropdown-toggle {
	cursor: pointer;
}

.nav .dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: white;
	min-width: 200px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	border-radius: 4px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1000;
	margin-top: 3px;
}

.nav .dropdown:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav .dropdown-menu a {
	display: block;
	padding: 0.75rem 1.5rem;
	color: #555 !important;
	text-decoration: none;
	font-weight: 500;
	border-bottom: none;
	transition: background 0.2s;
}

.nav .dropdown-menu a:hover {
	background: #f0f0f0;
	color: #2a5298 !important;
}

.nav .dropdown-arrow {
	font-size: 0.7rem;
	margin-left: 0.25rem;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
	.nav {
		padding: 0.75rem 1rem;
	}
	
	.nav-toggle {
		display: flex;
	}
	
	.nav ul {
		display: none;
		flex-direction: column;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: white;
		box-shadow: 0 4px 6px rgba(0,0,0,0.1);
		z-index: 1000;
		border-top: 1px solid #e0e0e0;
	}
	
	.nav ul.active {
		display: flex;
	}
	
	.nav li {
		width: 100%;
		border-bottom: 1px solid #f0f0f0;
	}
	
	.nav li:last-child {
		border-bottom: none;
	}
	
	.nav a {
		padding: 0.875rem 1.25rem;
		border-bottom: none;
		font-size: 0.95rem;
	}
	
	.nav a:hover,
	.nav a.active {
		border-bottom: none;
		background-color: #f8f9fa;
	}
	
	/* Mobile dropdown */
	.nav .dropdown-menu {
		position: static;
		box-shadow: none;
		border-radius: 0;
		opacity: 1;
		visibility: visible;
		transform: none;
		margin-top: 0;
		display: none;
		background: #f8f9fa;
	}
	
	.nav .dropdown.active .dropdown-menu {
		display: block;
	}
	
	.nav .dropdown:hover .dropdown-menu {
		display: none;
	}
	
	.nav .dropdown.active:hover .dropdown-menu {
		display: block;
	}
	
	.nav .dropdown-menu a {
		padding: 0.75rem 2rem;
		font-size: 0.9rem;
	}
	
	/* Header adjustments for mobile */
	.header {
		padding: 1rem;
	}
	
	.header h1 {
		font-size: 1.4rem;
	}
	
	.header p {
		font-size: 0.85rem;
	}
}

.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 2rem;
}

.filters {
	background: white;
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	margin-bottom: 2rem;
}

.filters h3 {
	margin-bottom: 1rem;
	color: #2a5298;
	font-size: 1.2rem;
}

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

.filter-item label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: #555;
	font-size: 0.9rem;
}

.filter-item select,
.filter-item input {
	width: 100%;
	padding: 0.6rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 0.95rem;
}

.filter-item select:focus,
.filter-item input:focus {
	outline: none;
	border-color: #2a5298;
	box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.btn {
	padding: 0.75rem 1.5rem;
	background: #2a5298;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 1rem;
	font-weight: 500;
	transition: background 0.2s;
}

.btn:hover {
	background: #1e3c72;
}

.btn-secondary {
	background: #6c757d;
}

.btn-secondary:hover {
	background: #5a6268;
}

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

.stat-card {
	background: white;
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-card h4 {
	color: #666;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 0.5rem;
}

.stat-card .value {
	font-size: 2rem;
	font-weight: bold;
	color: #2a5298;
}

.map-container {
	background: white;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	overflow: hidden;
	margin-bottom: 2rem;
}

#map {
	height: 600px;
	width: 100%;
}

.legend {
	background: white;
	padding: 1rem;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.legend-item {
	display: flex;
	align-items: center;
	margin-bottom: 0.5rem;
}

.legend-color {
	width: 20px;
	height: 20px;
	border-radius: 3px;
	margin-right: 0.5rem;
	border: 1px solid #ddd;
}

/* ========================================
   UNIFIED FOOTER - Figma Design
   ======================================== */
.footer.unified-footer {
	background: #0f172a;
	color: white;
	padding: 3rem 2rem 1rem;
	margin-top: 0;
}

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

.unified-footer .footer-section.footer-brand h3 {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: white;
	font-weight: 700;
	text-transform: none;
	letter-spacing: -0.5px;
}

.unified-footer .footer-section h4 {
	font-size: 0.875rem;
	margin-bottom: 1rem;
	color: white;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-weight: 600;
}

.unified-footer .footer-tagline {
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.6;
	font-size: 0.9rem;
}

.unified-footer .footer-section ul {
	list-style: none;
	padding: 0;
}

.unified-footer .footer-section ul li {
	margin-bottom: 0.6rem;
}

.unified-footer .footer-section ul li a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.2s;
	font-size: 0.9rem;
	opacity: 1;
}

.unified-footer .footer-section ul li a:hover {
	color: white;
	text-decoration: none;
}

.unified-footer .footer-bottom {
	max-width: 1200px;
	margin: 0 auto;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.85rem;
}

/* Legacy footer styles */
.footer {
	background: linear-gradient(135deg, #0a1c3d 0%, #1e3c72 100%);
	color: white;
	padding: 3rem 2rem 2rem 2rem;
	margin-top: 3rem;
}

.footer-content {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 3rem;
	margin-bottom: 2rem;
}

.footer-logo-section {
	grid-column: 1;
}

.footer-logo {
	width: 180px;
	margin-bottom: 1rem;
}

.footer-tagline {
	font-size: 0.9rem;
	opacity: 0.9;
	line-height: 1.6;
}

.footer-section h3 {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.footer-section ul {
	list-style: none;
	padding: 0;
}

.footer-section ul li {
	margin-bottom: 0.5rem;
}

.footer-section a {
	color: white;
	text-decoration: none;
	opacity: 0.85;
	transition: opacity 0.2s;
	font-size: 0.95rem;
}

.footer-section a:hover {
	opacity: 1;
	text-decoration: underline;
}

.footer-social {
	display: flex;
	gap: 1rem;
	margin-top: 1rem;
}

.footer-social a {
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
}

.footer-social a:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
}

.footer-social svg {
	width: 20px;
	height: 20px;
	fill: white;
}

.footer-bottom {
	max-width: 1400px;
	margin: 0 auto;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	text-align: center;
	font-size: 0.85rem;
	opacity: 0.8;
}

@media (max-width: 1024px) {
	.footer-content {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}
}

@media (max-width: 640px) {
	.footer-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

.loading {
	text-align: center;
	padding: 2rem;
	color: #666;
}

.error {
	background: #f8d7da;
	color: #721c24;
	padding: 1rem;
	border-radius: 4px;
	margin: 1rem 0;
}

/* Profile icon and dashboard icon container */
.header-icons {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-left: auto;
}

.profile-icon-container {
	position: relative;
}

.dashboard-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	border: 2px solid rgba(255, 255, 255, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
}

.dashboard-icon:hover {
	background: rgba(255, 255, 255, 0.3);
	border-color: rgba(255, 255, 255, 0.5);
	transform: scale(1.05);
}

.dashboard-icon svg {
	width: 24px;
	height: 24px;
	fill: white;
}

/* Dashboard Switcher Dropdown */
.dashboard-switcher-container {
	position: relative;
}

.dashboard-switcher-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 0.5rem;
	min-width: 220px;
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 1000;
	display: none;
	overflow: hidden;
}

.dashboard-switcher-container.active .dashboard-switcher-dropdown {
	display: block;
}

.dashboard-switcher-header {
	padding: 0.75rem 1rem;
	background: #f5f5f5;
	border-bottom: 1px solid #e0e0e0;
	font-size: 0.8rem;
	font-weight: 600;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.dashboard-switcher-item {
	display: flex;
	align-items: center;
	padding: 0.75rem 1rem;
	color: #333;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s;
	border: none;
	background: none;
	width: 100%;
	text-align: left;
	font-size: 0.95rem;
}

.dashboard-switcher-item:hover {
	background: #f0f4ff;
}

.dashboard-switcher-item.active {
	background: #e8f0fe;
	color: #1e3c72;
	font-weight: 600;
}

.dashboard-switcher-item .check-icon {
	width: 16px;
	height: 16px;
	margin-right: 0.5rem;
	fill: #2a5298;
}

.dashboard-switcher-item:not(.active) .check-icon {
	visibility: hidden;
}

.profile-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	border: 2px solid rgba(255, 255, 255, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 1.2rem;
}

.profile-icon:hover {
	background: rgba(255, 255, 255, 0.3);
	border-color: rgba(255, 255, 255, 0.5);
	transform: scale(1.05);
}

.profile-icon svg {
	width: 24px;
	height: 24px;
	fill: white;
}

.profile-dropdown {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	background: white;
	min-width: 280px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	border-radius: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1000;
	overflow: hidden;
}

.profile-icon-container:hover .profile-dropdown,
.profile-icon-container.active .profile-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.profile-dropdown-header {
	padding: 1.5rem;
	background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
	color: white;
}

.profile-dropdown-header h3 {
	margin: 0 0 0.5rem 0;
	font-size: 1.1rem;
	font-weight: 600;
}

.profile-dropdown-header p {
	margin: 0;
	font-size: 0.85rem;
	opacity: 0.9;
}

.profile-dropdown-content {
	padding: 0.5rem 0;
}

.profile-dropdown-item {
	display: block;
	padding: 0.75rem 1.5rem;
	color: #000 !important;
	text-decoration: none;
	font-size: 0.95rem;
	transition: background 0.2s;
	border-bottom: 1px solid #f0f0f0;
}

.profile-dropdown-item:hover {
	background: #f8f9fa;
	color: #2a5298 !important;
}

.profile-dropdown-item:last-child {
	border-bottom: none;
}

.profile-dropdown-item.logout {
	color: #dc3545 !important;
}

.profile-dropdown-item.logout:hover {
	background: #fff5f5;
	color: #c82333 !important;
}

.profile-dropdown-signup {
	padding: 1.5rem;
	text-align: center;
}

.profile-dropdown-signup h3 {
	margin: 0 0 0.5rem 0;
	font-size: 1.1rem;
	color: #1e3c72;
	font-weight: 600;
}

.profile-dropdown-signup p {
	margin: 0 0 1rem 0;
	font-size: 0.9rem;
	color: #666;
	line-height: 1.5;
}

.profile-dropdown-signup .benefits-list {
	text-align: left;
	margin: 1rem 0;
	padding-left: 1.5rem;
}

.profile-dropdown-signup .benefits-list li {
	margin: 0.5rem 0;
	font-size: 0.9rem;
	color: #555;
}

.profile-dropdown-signup .btn-signup {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	background: #2a5298;
	color: white;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	transition: background 0.2s;
	margin-top: 0.5rem;
}

.profile-dropdown-signup .btn-signup:hover {
	background: #1e3c72;
}

/* Chatbot Widget Styles */

.chatbot-button {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
	border: none;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	color: white;
	z-index: 998;
}

.chatbot-button:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.chatbot-button svg {
	width: 28px;
	height: 28px;
	fill: white;
}

.chatbot-container {
	position: fixed;
	right: -420px;
	top: 0;
	width: 420px;
	height: 100vh;
	background: white;
	box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
	z-index: 1001;
	display: flex;
	flex-direction: column;
	transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-container.open {
	right: 0;
}

.chatbot-header {
	background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
	color: white;
	padding: 1rem 1.25rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

.chatbot-header h3 {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
	flex: 1;
	min-width: 0;
}

.chatbot-close {
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: white;
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0;
	width: 32px;
	height: 32px;
	min-width: 32px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background 0.2s;
}

.chatbot-close:hover {
	background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
	flex: 1;
	overflow-y: auto;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	background: #f8f9fa;
}

.chatbot-message {
	max-width: 80%;
	padding: 0.75rem 1rem;
	border-radius: 12px;
	word-wrap: break-word;
	line-height: 1.5;
}

.chatbot-message.user {
	align-self: flex-end;
	background: #2a5298;
	color: white;
	border-bottom-right-radius: 4px;
}

.chatbot-message.assistant {
	align-self: flex-start;
	background: white;
	color: #333;
	border: 1px solid #e0e0e0;
	border-bottom-left-radius: 4px;
}

/* Formatted assistant message content */
.chatbot-message.assistant h2 {
	font-size: 1rem;
	font-weight: 700;
	color: #2a5298;
	margin: 0.75rem 0 0.5rem 0;
	padding-bottom: 0.35rem;
	border-bottom: 2px solid #e9ecef;
}

.chatbot-message.assistant h2:first-child {
	margin-top: 0;
}

.chatbot-message.assistant h3 {
	font-size: 0.9rem;
	font-weight: 600;
	color: #1e3c72;
	margin: 0.6rem 0 0.35rem 0;
}

.chatbot-message.assistant p {
	margin: 0.35rem 0;
	line-height: 1.5;
}

.chatbot-message.assistant strong {
	color: #2a5298;
	font-weight: 600;
}

.chatbot-message.assistant ol,
.chatbot-message.assistant ul {
	margin: 0.5rem 0;
	padding-left: 1.25rem;
}

.chatbot-message.assistant li {
	margin: 0.35rem 0;
	line-height: 1.45;
}

.chatbot-message.assistant li strong {
	display: inline;
}

.chatbot-message.assistant hr {
	border: none;
	border-top: 1px solid #e0e0e0;
	margin: 0.75rem 0;
}

.chatbot-message.assistant code {
	background: #f4f4f4;
	padding: 0.15rem 0.35rem;
	border-radius: 3px;
	font-family: 'Consolas', 'Monaco', monospace;
	font-size: 0.85em;
}

.chatbot-message.assistant .chat-section {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-left: 3px solid #2a5298;
	padding: 0.5rem 0.75rem;
	margin: 0.5rem 0;
	border-radius: 0 4px 4px 0;
}

.chatbot-message.assistant .chat-highlight {
	background: #e6f2fd;
	padding: 0.5rem 0.75rem;
	border-radius: 4px;
	margin: 0.5rem 0;
}

.chatbot-message.loading {
	align-self: flex-start;
	background: white;
	border: 1px solid #e0e0e0;
	padding: 0.75rem 1.25rem;
	min-height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	border-bottom-left-radius: 4px;
}

.chatbot-loading-dots {
	display: flex;
	gap: 6px;
	align-items: center;
}

.chatbot-loading-dots span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
	animation: bounce 1.4s infinite ease-in-out both;
}

.chatbot-loading-dots span:nth-child(1) {
	animation-delay: -0.32s;
}

.chatbot-loading-dots span:nth-child(2) {
	animation-delay: -0.16s;
}

@keyframes bounce {
	0%, 80%, 100% {
		transform: scale(0);
	}
	40% {
		transform: scale(1);
	}
}

.chatbot-input-container {
	padding: 1rem;
	background: white;
	border-top: 1px solid #e0e0e0;
	display: flex;
	gap: 0.75rem;
}

.chatbot-input {
	flex: 1;
	padding: 0.75rem 1rem;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 0.95rem;
	font-family: inherit;
	resize: none;
	max-height: 100px;
	min-width: 0;
}

.chatbot-input:focus {
	outline: none;
	border-color: #2a5298;
	box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.chatbot-send {
	padding: 0.75rem 1rem;
	background: #2a5298;
	color: white;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 500;
	transition: background 0.2s;
	align-self: flex-end;
	flex-shrink: 0;
}

.chatbot-send:hover:not(:disabled) {
	background: #1e3c72;
}

.chatbot-send:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

@media (max-width: 480px) {
	.chatbot-container {
		width: 100vw;
		height: calc(100vh - 70px);
		top: auto;
		bottom: 70px;
		right: -100vw;
		left: auto;
	}
	
	.chatbot-container.open {
		right: 0;
	}
	
	.chatbot-button {
		width: 50px;
		height: 50px;
		bottom: 10px;
		right: 10px;
	}
	
	.chatbot-button svg {
		width: 24px;
		height: 24px;
	}
}

/* ===== Feedback Tab & Modal ===== */
.feedback-tab {
	position: fixed;
	right: -2px;
	top: 50%;
	transform: translateY(-50%) rotate(-90deg);
	transform-origin: bottom right;
	background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
	color: white;
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 8px 8px 0 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	font-weight: 500;
	font-family: inherit;
	box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
	z-index: 998;
	white-space: nowrap;
}

.feedback-tab:hover {
	background: linear-gradient(135deg, #1e3c72 0%, #0a1c3d 100%);
	padding-right: 1.5rem;
}

.feedback-tab svg {
	width: 18px;
	height: 18px;
}

.feedback-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1001;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.feedback-modal-overlay.open {
	opacity: 1;
	visibility: visible;
}

.feedback-modal {
	background: white;
	border-radius: 12px;
	width: 90%;
	max-width: 500px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	transform: translateY(20px) scale(0.95);
	transition: transform 0.3s ease;
}

.feedback-modal-overlay.open .feedback-modal {
	transform: translateY(0) scale(1);
}

.feedback-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.25rem 1.5rem;
	background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
	color: white;
	border-radius: 12px 12px 0 0;
}

.feedback-modal-header h3 {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 600;
}

.feedback-modal-close {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: white;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-size: 1.5rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}

.feedback-modal-close:hover {
	background: rgba(255, 255, 255, 0.3);
}

.feedback-form {
	padding: 1.5rem;
}

.feedback-type-selector {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.feedback-type-option {
	flex: 1;
	cursor: pointer;
}

.feedback-type-option input {
	display: none;
}

.feedback-type-label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 1rem;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-weight: 500;
	color: #666;
	transition: all 0.2s;
}

.feedback-type-label svg {
	width: 20px;
	height: 20px;
}

.feedback-type-option input:checked + .feedback-type-label {
	border-color: #2a5298;
	background: rgba(42, 82, 152, 0.05);
	color: #2a5298;
}

.feedback-type-option:hover .feedback-type-label {
	border-color: #2a5298;
}

.feedback-form-group {
	margin-bottom: 1.25rem;
}

.feedback-form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
	color: #333;
	font-size: 0.9rem;
}

.feedback-form-group input,
.feedback-form-group textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 0.95rem;
	font-family: inherit;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

.feedback-form-group input:focus,
.feedback-form-group textarea:focus {
	outline: none;
	border-color: #2a5298;
	box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.feedback-form-group input[readonly] {
	background: #f5f5f5;
	color: #666;
}

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

.feedback-form-actions {
	display: flex;
	gap: 1rem;
	justify-content: flex-end;
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid #eee;
}

.feedback-btn-cancel {
	padding: 0.75rem 1.5rem;
	background: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 8px;
	color: #666;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
}

.feedback-btn-cancel:hover {
	background: #eee;
}

.feedback-btn-submit {
	padding: 0.75rem 1.5rem;
	background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
	border: none;
	border-radius: 8px;
	color: white;
	font-weight: 500;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.2s;
}

.feedback-btn-submit:hover {
	background: linear-gradient(135deg, #1e3c72 0%, #0a1c3d 100%);
	transform: translateY(-1px);
}

.feedback-btn-submit svg {
	width: 18px;
	height: 18px;
}

.feedback-success {
	padding: 3rem 2rem;
	text-align: center;
}

.feedback-success svg {
	width: 64px;
	height: 64px;
	color: #4caf50;
	margin-bottom: 1rem;
}

.feedback-success h4 {
	margin: 0 0 0.5rem 0;
	font-size: 1.25rem;
	color: #333;
}

.feedback-success p {
	margin: 0;
	color: #666;
}

/* Footer icon styling */
.footer-icon {
	width: 16px;
	height: 16px;
	vertical-align: middle;
	margin-right: 0.5rem;
	opacity: 0.9;
}

/* Contact Modal - reuses feedback modal styles */
.contact-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1001;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.contact-modal-overlay.open {
	opacity: 1;
	visibility: visible;
}

.contact-modal-overlay.open .feedback-modal {
	transform: translateY(0) scale(1);
}

/* Required field indicator */
.required {
	color: #dc3545;
}

@media (max-width: 768px) {
	.feedback-tab {
		right: -2px;
		top: auto;
		bottom: 200px;
		transform: rotate(-90deg);
		transform-origin: bottom right;
		padding: 0.6rem 1rem;
		font-size: 0.85rem;
	}
}

@media (max-width: 480px) {
	.feedback-tab {
		bottom: 180px;
		padding: 0.5rem 0.75rem;
		font-size: 0.75rem;
	}
	
	.feedback-tab span {
		display: inline;
	}
	
	.feedback-tab svg {
		width: 14px;
		height: 14px;
	}
	
	.feedback-modal {
		width: 95%;
		max-height: 85vh;
	}
	
	.feedback-type-selector {
		flex-direction: column;
		gap: 0.75rem;
	}
	
	.feedback-form-actions {
		flex-direction: column-reverse;
	}
	
	.feedback-btn-cancel,
	.feedback-btn-submit {
		width: 100%;
		justify-content: center;
	}
}