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

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	line-height: 1.6;
	color: #333;
	background-color: #f5f5f5;
}

.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);
}

.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;
}

.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;
}

.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;
}

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

.chatbot-close {
	background: none;
	border: none;
	color: white;
	font-size: 1.5rem;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	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: calc(100vw - 40px);
		height: calc(100vh - 100px);
		bottom: 80px;
		right: 20px;
		left: 20px;
	}
}