/* Make Phoenix main fully fluid */
/* Remove inner max-width limits */
main.main#top .container,
main.main#top .content,
main.main#top .content-wrapper,
main.main#top .page-content {
	max-width: 100% !important;
}

main.main#top>* {
	padding-left: 24px;
	padding-right: 24px;
}

@media (max-width: 768px) {
	main.main#top>* {
		padding-left: 16px;
		padding-right: 16px;
		
	}
}

/* ===== Air-like header (pixel-style) ===== */
@media (max-width: 768px) {
	.air-header .container-fluid {
		padding-right: 0.25rem !important;
		padding-left: 0.25rem !important;
		
	}
}

.leaflet-popup,
.leaflet-popup-content-wrapper,
.leaflet-popup-close-button {
	pointer-events: auto !important;
}


.air-header {
	background: #fff;
	border-bottom: 0;
}

/* лёгкая тень появляется только при скролле */
.air-header.air-scrolled {
	box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}

.air-header-inner {
	height: 86px;
	/* ближе к скриншоту */
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

/* =========================
   AIR FOOTER — INLINE STYLE
   ========================= */
.air-footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 1rem 0;
}

/* LEFT: developer block */
.air-footer-top {
	display: flex;
	align-items: center;
	font-size: 0.9rem;
	color: #6c757d;
}

.air-footer-top strong {
	color: #344050;
	font-weight: 600;
}

/* hide divider */
.air-footer-divider {
	display: none !important;
}

/* RIGHT: links */
.air-footer-bottom {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	font-size: 0.9rem;
}

/* link style */
.air-footer-link {
	color: #6c757d;
	text-decoration: none;
	position: relative;
	padding-left: 1rem;
}

/* vertical separator like air.tashkent.uz */
.air-footer-link:not(:first-child)::before {
	content: "|";
	position: absolute;
	left: 0;
	color: #c7cbd1;
}

/* hover */
.air-footer-link:hover {
	color: #0d6efd;
	text-decoration: underline;
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 768px) {
	.air-footer-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}
	
	.air-footer-bottom {
		flex-wrap: wrap;
		gap: 0.75rem;
	}
	
	.air-footer-link:not(:first-child)::before {
		display: none;
	}
}

.air-footer-icon {
	display: inline-flex;
	align-items: center;
	margin-right: 0.5rem;
	color: #6c757d;
	/* как у текста */
}

.air-footer-icon svg {
	display: block;
}

/* BRAND */
.air-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: #000000;
	min-width: 260px;
}

.air-brand:hover {
	text-decoration: none;
}

.air-brand-logo {
	height: 60px;
	width: auto;
}

.air-brand-text {
	display: grid;
	line-height: 1.05;
}

.air-brand-title {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: .1px;
}

.air-brand-sub {
	font-size: 13px;
	font-weight: 400;
	letter-spacing: .1px;
	margin-top: 0.25rem !important;
}

/* NAV */
.air-nav {
	gap: 54px;
}

.air-navlink {
	color: #111;
	text-decoration: none;
	font-size: 20px;
	font-weight: 500;
}

.air-navlink:hover {
	/* text-decoration: underline; */
}

/* ACTIONS */
.air-actions {
	display: flex;
	align-items: center;
	gap: 18px;
}

/* language */
.air-lang {
	border: 0;
	background: transparent;
	padding: 8px 10px;
	font-size: 20px;
	font-weight: 500;
	color: #111;
}

.air-lang:focus {
	outline: none;
}

@media (max-width: 991.98px) {
	.air-lang {
		display: none !important;
	}
}

/* accessibility */
.air-access {
	border: 0;
	background: transparent;
	padding: 8px 8px;
	font-size: 22px;
	line-height: 1;
	color: #111;
}

.air-access:focus {
	outline: none;
}

.air-glasses {
	display: inline-block;
	transform: translateY(1px);
}

/* burger */
.air-burger {
	border: 0;
	background: transparent;
	padding: 10px;
}

.air-burger-lines {
	display: inline-block;
	width: 26px;
	height: 2px;
	background: #111;
	position: relative;
}

.air-burger-lines::before,
.air-burger-lines::after {
	content: "";
	position: absolute;
	left: 0;
	width: 26px;
	height: 2px;
	background: #111;
}

.air-burger-lines::before {
	top: -8px;
}

.air-burger-lines::after {
	top: 8px;
}

/* ===== Low vision mode ===== */
html.air-a11y body {
	letter-spacing: .2px;
}

html.air-a11y {
	filter: none;
}

html.air-a11y .air-header {
	border-bottom: 2px solid #000;
}

html.air-a11y .air-navlink,
html.air-a11y .air-lang,
html.air-a11y .air-access {
	font-weight: 700;
}

/* увеличим читаемость */
html.air-a11y .air-brand-title,
html.air-a11y .air-brand-sub,
html.air-a11y .air-navlink,
html.air-a11y .air-lang {
	font-size: 22px;
}

/* усиленный контраст ссылок/кнопок */
html.air-a11y a,
html.air-a11y button {
	color: #000 !important;
}

/* ===== Offcanvas design like screenshot ===== */
.air-offcanvas {
	--bs-offcanvas-width: min(520px, 92vw);
	background: #fff;
}

.air-offcanvas-header {
	padding: 26px 22px 10px;
	align-items: flex-start;
}

.air-offcanvas-close {
	border: 0;
	background: transparent;
	font-size: 14px;
	line-height: 1;
	padding: 0 6px;
	color: #111;
}

.air-offcanvas-body {
	padding: 10px 22px 28px;
	display: flex;
	flex-direction: column;
	min-height: calc(100% - 88px);
}

/* Big menu links */
.air-offcanvas-nav {
	display: grid;
	gap: 26px;
	margin-top: 10px;
}

.air-offcanvas-link {
	font-size: 18px;
	font-weight: 500;
	color: #111;
	text-decoration: none;
	line-height: 1.1;
}

/* Language big */
.air-offcanvas-lang {
	margin-top: 28px;
}

.air-offcanvas-langbtn {
	border: 0;
	background: transparent;
	padding: 0;
	font-size: 20px;
	font-weight: 500;
	color: #111;
}

/* Push footer down like screenshot */
.air-offcanvas-footer {
	margin-top: auto;
	padding-top: 26px;
}

/* Made by block + legal links */
.air-offcanvas-made {
	display: flex;
	gap: 14px;
	align-items: center;
	padding: 18px 0 18px;
	border-top: 1px solid rgba(0, 0, 0, .08);
	border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.air-offcanvas-madeicon {
	font-size: 34px;
}

.air-offcanvas-made-title {
	font-weight: 700;
}

.air-offcanvas-made-sub {
	font-weight: 600;
	opacity: .9;
}

.air-offcanvas-legal {
	padding-top: 18px;
	display: grid;
	gap: 18px;
}

.air-offcanvas-legal-link {
	font-size: 12px;
	color: #111;
	text-decoration: none;
}

/* a11y mode */
html.air-a11y .air-offcanvas-link,
html.air-a11y .air-offcanvas-langbtn {
	font-weight: 700;
}

/* ===== Footer like air.tashkent.uz ===== */
.air-footer {
	background: #fff;
	margin-top: 60px;
}

/* .air-footer-inner {
	padding: 28px 0 34px;
} */
/* TOP */
.air-footer-made {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 18px;
	color: #111;
}

.air-footer-icon {
	font-size: 14px;
}

/* DIVIDER */
.air-footer-divider {
	border: 0;
	border-top: 1px solid rgba(0, 0, 0, .1);
	margin: 24px 0;
}

/* BOTTOM */
.air-footer-bottom {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
}

.air-footer-link {
	font-size: 18px;
	color: #111;
	text-decoration: none;
}

.air-footer-link:hover {
	text-decoration: underline;
}

/* MOBILE */
@media (max-width: 768px) {
	.air-footer-bottom {
		gap: 18px;
	}
}

/* A11Y MODE */
html.air-a11y .air-footer-link,
html.air-a11y .air-footer-made {
	font-weight: 700;
}

/* =========================
   BANNER (air.tashkent.uz-like)
   ========================= */
.banner {
	width: 100%;
	background: #fff;
	padding: 24px 24px 10px;
}

/* Верхняя зона (лево/право) */
.banner>.description {
	display: grid;
	grid-template-columns: 1.1fr 1.3fr;
	gap: 28px;
	align-items: start;
}

/* -------- Left: caption -------- */
.banner .caption {
	/* max-width: 720px; */
}

.banner .caption .top {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.banner .caption .top .weather {
	background: var(--phoenix-gray-300);
	border-radius: 10px;
	padding: 10px 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
}

.banner .caption .top .weather img {
	width: 26px;
	height: 26px;
	flex: 0 0 auto;
}

.banner .caption .top .weather p {
	margin: 0;
	font-size: 18px;
	line-height: 1.25;
	color: #111;
	font-weight: 600;
}

.banner .caption h3 {
	margin: 0 0 14px;
	font-size: 1.5625rem;
	line-height: 1.05;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #111;
}

.banner .caption p {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: #7d8794;
	font-weight: 600;
}

/* -------- Right: weather panel -------- */
.banner .weather-panel {
	display: grid;
	gap: 14px;
}

/* top: 2 small cards */
.banner .weather-panel .top {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.banner .weather-panel .top .weather {
	background: var(--phoenix-gray-300);
	border-radius: 10px;
	padding: 10px 12px;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
}

.banner .weather-panel .top .weather img {
	width: 26px;
	height: 26px;
	flex: 0 0 auto;
}

.banner .weather-panel .top .weather p {
	margin: 0;
	font-size: 16px;
	line-height: 1.25;
	color: #111;
	font-weight: 600;
}

/* big today card */
.banner .weather-panel .weather.today {
	border-radius: 0px;
	overflow: hidden;
	min-height: 160px;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: stretch;
	
}

.banner .weather-panel .weather.today .info {
	padding: 14px 16px;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.banner .weather-panel .weather.today .header-text {
	font-size: 18px;
	font-weight: 700;
	opacity: .95;
}

.banner .weather-panel .weather.today .info-today {
	display: flex;
	align-items: center;
	gap: 18px;
}

.banner .weather-panel .weather.today .degree {
	display: flex;
	align-items: center;
	gap: 14px;
	font-weight: 800;
}

.banner .weather-panel .weather.today .degree span,
.banner .weather-panel .weather.today .degree {
	font-size: 56px;
	line-height: 1;
}

.banner .weather-panel .weather.today .degree img {
	width: 64px;
	height: 64px;
}

.banner .weather-panel .weather.today .info-today p {
	margin: 0;
	font-size: 18px;
	line-height: 1.25;
	font-weight: 700;
}

.banner .weather-panel .weather.today .info-today p+p {
	margin-top: 6px;
	font-weight: 600;
	opacity: .9;
}

.banner .weather-panel .weather.today .info-right {
	padding: 14px 16px;
	display: grid;
	gap: 10px;
	align-content: start;
	justify-items: end;
	min-width: 240px;
}

.banner .weather-panel .weather.today .info-right a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .0);
}

.banner .weather-panel .weather.today .btn-forecast {
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, .95);
	font-size: 18px;
	font-weight: 700;
	padding: 4px 0;
	cursor: pointer;
	text-align: right;
}

.banner .weather-panel .weather.today .btn-forecast:hover {
	text-decoration: underline;
}

/* =========================
   BOTTOM: location-date-block
   ========================= */
.banner .location-date-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	align-items: end;
	margin-top: 22px;
	padding-top: 6px;
}

.banner .location-date-block .block p {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 800;
	color: #111;
}

/* Source dropdown */
.banner .locations-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.banner .locations-list>li {
	position: relative;
	max-width: 520px;
}

.banner #locationSelectBtn,
.banner .locations-list .selected {
	width: 100%;
	border: 0;
	background: #eef1f4;
	border-radius: 10px;
	padding: 12px 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 28px;
	font-weight: 700;
	color: #0b5c7a;
	cursor: pointer;
}

.banner #locationSelectBtn svg {
	width: 40px;
	height: 40px;
	color: #0b5c7a;
}

/* dropdown list under source button */
.banner .locations-dropdown {
	position: absolute;
	left: 0;
	top: calc(100% + 8px);
	width: 100%;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
	border: 1px solid rgba(0, 0, 0, .08);
	padding: 8px;
	z-index: 50;
	max-height: 320px;
	overflow: auto;
}

.banner .locations-dropdown li {
	list-style: none;
}

.banner .locations-dropdown button {
	width: 100%;
	border: 0;
	background: transparent;
	padding: 10px 10px;
	border-radius: 10px;
	text-align: left;
	font-size: 16px;
	font-weight: 600;
	color: #111;
	cursor: pointer;
}

.banner .locations-dropdown button:hover {
	background: rgba(0, 0, 0, .05);
}

.banner .locations-dropdown button.active {
	background: rgba(11, 92, 122, .12);
	color: #0b5c7a;
}

.banner .locations-dropdown button:disabled {
	opacity: .45;
	cursor: not-allowed;
}

/* Actual time/date picker panel */
.banner .picker-panel {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.banner .picker-panel strong {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 48px;
	font-weight: 800;
	color: #0b5c7a;
}

.banner .picker-panel .symbol {
	width: 12px;
	height: 12px;
	border-radius: 999px;
	background: rgba(0, 0, 0, .18);
	transform: translateY(6px);
}

/* "Сегодня" chip */
.banner .picker-panel .today {
	margin-left: 14px;
}

.banner .today-btn {
	border: 0;
	background: transparent;
	font-size: 16px;
	font-weight: 800;
	color: #0b5c7a;
	cursor: pointer;
	padding: 8px 10px;
	border-radius: 10px;
}

.banner .today-btn:hover {
	background: rgba(11, 92, 122, .08);
}

.banner .calendar-btn {
	border: 0;
	background: #eef1f4;
	color: #0b5c7a;
	border-radius: 10px;
	padding: 10px 12px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.banner .calendar-btn:hover {
	background: rgba(11, 92, 122, .10);
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 1200px) {
	.banner .caption p {
		font-size: 24px;
	}
	
	.banner .picker-panel strong {
		font-size: 40px;
	}
}

@media (max-width: 992px) {
	.banner {
		padding: 18px 16px 8px;
	}
	
	.banner>.description {
		grid-template-columns: 1fr;
	}
	
	.banner .weather-panel .top {
		grid-template-columns: 1fr;
	}
	
	.banner .weather-panel .weather.today {
		grid-template-columns: 1fr;
	}
	
	.banner .weather-panel .weather.today .info-right {
		justify-items: start;
		min-width: unset;
		padding-top: 0;
	}
	
	.banner .location-date-block {
		grid-template-columns: 1fr;
		align-items: start;
	}
	
	.banner #locationSelectBtn {
		font-size: 22px;
	}
	
	.banner .picker-panel strong {
		font-size: 34px;
	}
}

@media (max-width: 576px) {
	.banner .caption p {
		font-size: 18px;
	}
	
	.banner .weather-panel .top .weather p {
		font-size: 16px;
	}
	
	.banner .weather-panel .weather.today .degree span,
	.banner .weather-panel .weather.today .degree {
		font-size: 44px;
	}
	
	.banner .weather-panel .weather.today .degree img {
		width: 54px;
		height: 54px;
	}
	
	.banner .picker-panel strong {
		font-size: 28px;
	}
}

/* A11Y mode */
html.air-a11y .banner .caption h1,
html.air-a11y .banner .picker-panel strong,
html.air-a11y .banner .weather-panel .top .weather p {
	font-weight: 900;
}

/* Phoenix-styled controls inside banner */
.banner .block>p {
	margin: 0 0 8px;
	font-weight: 800;
	font-size: 18px;
}

.banner .dropdown .btn,
.banner .input-group .form-control,
.banner .input-group .btn {
	border-radius: 10px;
}

/* Flatpickr a bit more Phoenix-like */
.flatpickr-calendar {
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
	border: 1px solid rgba(0, 0, 0, .08);
	font-family: inherit;
}

.flatpickr-day {
	border-radius: 999px;
}

/* ===============================
   FLATPICKR — PHOENIX STYLE
   =============================== */
.fp-phoenix {
	font-family: inherit;
	border-radius: 14px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
	border: 1px solid rgba(0, 0, 0, .1);
}

/* header */
.fp-phoenix .flatpickr-months {
	background: #f5f7f9;
	padding: 12px 16px;
}

.fp-phoenix .flatpickr-current-month {
	font-size: 22px;
	font-weight: 700;
	color: #111;
}

/* arrows */
.fp-phoenix .flatpickr-prev-month,
.fp-phoenix .flatpickr-next-month {
	top: 16px;
	padding: 6px;
}

/* weekdays */
.fp-phoenix .flatpickr-weekdays {
	background: #f5f7f9;
}

.fp-phoenix .flatpickr-weekday {
	font-size: 14px;
	font-weight: 600;
	color: #8a94a6;
}

/* days */
.fp-phoenix .flatpickr-day {
	font-size: 18px;
	font-weight: 600;
	border-radius: 12px;
}

.fp-phoenix .flatpickr-day.today {
	border-color: #0b5c7a;
}

.fp-phoenix .flatpickr-day.selected {
	background: #0b5c7a;
	color: #fff;
}

/* ===== LEFT TIME COLUMN ===== */
.fp-phoenix.hasTime .flatpickr-time {
	border-right: 1px solid rgba(0, 0, 0, .08);
	max-height: 100%;
}

.fp-phoenix .flatpickr-time input {
	font-size: 32px;
	font-weight: 800;
	color: #0b5c7a;
}

.fp-phoenix .flatpickr-time-separator {
	font-size: 26px;
}

/* ===== FOOTER BUTTONS ===== */
.fp-phoenix .flatpickr-footer {
	display: flex;
	gap: 12px;
	padding: 14px;
}

.fp-phoenix .flatpickr-footer button {
	flex: 1;
	border-radius: 12px;
	font-size: 18px;
	font-weight: 700;
	padding: 14px 0;
	border: 0;
}

/* cancel */
.fp-phoenix .flatpickr-footer .flatpickr-cancel {
	background: #6c7a8c;
	color: #fff;
}

/* apply */
.fp-phoenix .flatpickr-footer .flatpickr-confirm {
	background: #12c2a9;
	color: #fff;
}

/* ===== "Сегодня" ===== */
.fp-phoenix .today-btn {
	background: #12c2a9;
	color: #fff;
	font-weight: 700;
	border-radius: 999px;
	padding: 8px 16px;
}

/* Layout exactly like screenshot: left source, right actual */
.air-ld-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
	margin-top: 22px;
}

.air-ld-left {
	flex: 0 0 520px;
	/* ширина левого блока как на скрине */
	max-width: 520px;
}

.air-ld-right {
	flex: 0 0 auto;
	margin-left: auto;
	text-align: right;
}

/* labels */
.air-ld-row .block>p {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 800;
	color: #111;
}

/* Source button look */
.air-source-btn {
	border-radius: 12px;
	font-size: 26px;
	font-weight: 700;
	padding: 14px 18px;
}

/* Right actual: inline row */
.air-actual {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.air-actual-input {
	width: 360px;
	/* ширина строки времени/даты */
	font-size: 44px;
	font-weight: 800;
	color: #0b5c7a;
	border: 0;
	background: transparent;
	padding: 0;
	text-align: right;
	box-shadow: none !important;
}

.air-actual-input:focus {
	outline: none;
}

/* calendar btn same height as on screenshot */
.air-cal-btn {
	border-radius: 12px;
	padding: 12px 14px;
}

/* Mobile responsive: stack */
@media (max-width: 992px) {
	.air-ld-row {
		flex-direction: column;
		align-items: stretch;
	}
	
	.air-ld-left,
	.air-ld-right {
		max-width: 100%;
		flex: 1 1 auto;
		text-align: left;
	}
	
	.air-actual {
		justify-content: flex-start;
	}
	
	.air-actual-input {
		width: 100%;
		text-align: left;
		font-size: 34px;
	}
}

/* =========================
   MSN card inside your .weather-panel (replaces .weather.today)
   ========================= */
/* === MSN FX: make it visible in Phoenix === */
#msnCard.msn-card {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	
	/* чуть светлее база, чтобы эффект читался */
	background: var(--phoenix-gray-700);
	color: #fff;
}

/* 1) базовая текстура (добавляет “живость”) */
#msnCard.msn-card::before {
	content: "";
	position: absolute;
	inset: -35%;
	z-index: 0;
	pointer-events: none;
	opacity: .22;
	transform: rotate(-10deg);
	background:
		radial-gradient(circle at 20% 25%, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 48%),
		radial-gradient(circle at 80% 30%, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 52%),
		radial-gradient(circle at 55% 85%, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0) 55%);
}

/* 2) погодный слой — делаем заметнее */
#msnCard.msn-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: .55;
	/* было .30 — слишком слабо на сером */
}

/* контент всегда поверх */
#msnCard.msn-card>* {
	position: relative;
	z-index: 1;
}


/* topbar */
.msn-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 14px;
	/* background: rgba(0, 0, 0, .10); */
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.msn-topbar-left {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.msn-home {
	font-size: 18px;
	opacity: .9;
}

/* Choices.js will wrap select; these styles keep it MSN-like */
.msn-city-select {
	max-width: 280px;
	min-width: 220px;
	background: transparent;
	color: var(--phoenix-highlight-color);
	border: 0;
	padding-left: 0;
	font-weight: 800;
	font-size: 16px;
	text-transform: uppercase;
}

.msn-myloc {
	border-radius: 12px;
	padding: 8px 12px;
	font-weight: 800;
	color: rgba(0, 0, 0, 0.95);
	background: rgb(238 241 244);
	border: 1px solid rgba(255, 255, 255, .18);
}

.msn-myloc:hover {
	/* background: rgba(255, 255, 255, .18); */
}

.msn-myloc-ico {
	margin-right: 8px;
}

/* body */
.msn-body {
	padding: 25px;
}

@media (max-width: 768px) {
	.msn-body {
		padding: 15px;
	}
}

.msn-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.msn-title {
	font-size: 16px;
	font-weight: 900;
	line-height: 1.1;
}

.msn-time {
	margin-top: 2px;
	font-size: 16px;
	opacity: .85;
}

.msn-pill {
	border-radius: 999px;
	padding: 10px 12px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: rgba(255, 255, 255, .95);
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .16);
}

.msn-pill:hover {
	background: rgba(255, 255, 255, .16);
	color: rgba(255, 255, 255, .98);
}

.msn-main {
	display: grid;
	grid-template-columns: 92px auto 1fr;
	gap: 14px;
	align-items: center;
	margin-top: 12px;
}

.msn-icon {
	width: 82px;
	height: 82px;
	/* border-radius: 999px; */
	/* background: radial-gradient(circle at 30% 30%, #ffcf3a 0%, #ff9a00 55%, #ff7b00 100%); */
	display: grid;
	place-items: center;
	box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .06);
}

.msn-icon img {
	width: 44px;
	height: 44px;
	filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .18));
}

.msn-temp {
	font-size: 74px;
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 1;
}

.msn-deg {
	font-size: 34px;
	font-weight: 900;
	opacity: .95;
	margin-left: 4px;
	position: relative;
	top: -18px;
}

.msn-cond {
	font-size: 18px;
	font-weight: 900;
	line-height: 1.05;
	margin-bottom: 4px;
}

.msn-feels {
	font-size: 15px;
	font-weight: 500;
	opacity: .9;
}

.msn-desc {
	margin-top: 12px;
	font-size: 16px;
	font-weight: 500;
	opacity: .95;
}

/* metrics row */
.msn-metrics {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, .14);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 12px;
	width: 100%;
}

.msn-k {
	font-size: 14px;
	font-weight: 800;
	opacity: .85;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.msn-v {
	margin-top: 2px;
	font-size: 20px;
	font-weight: 900;
}

.msn-i {
	width: 16px;
	height: 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .35);
	display: inline-grid;
	place-items: center;
	font-size: 11px;
	line-height: 1;
	opacity: .8;
}

.msn-arrow {
	margin-left: 6px;
	opacity: .9;
}

/* fit to your banner responsive */
@media (max-width: 768px) {
	.msn-metrics {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.msn-topbar {
		flex-direction: column;
		align-items: stretch;
	}
	
	.msn-city-select {
		max-width: 100%;
		min-width: 0;
	}
	
	.msn-main {
		grid-template-columns: 82px 1fr;
		grid-template-rows: auto auto;
	}
	
	.msn-temp {
		font-size: 62px;
	}
	
	.msn-deg {
		font-size: 30px;
		top: -14px;
	}
	
	.msn-cond {
		font-size: 24px;
	}
	
	.msn-desc {
		font-size: 18px;
	}
	
	.msn-metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ===== GEO status (small text near topbar) ===== */
.msn-geo-status {
	display: none;
	font-size: 12px;
	font-weight: 700;
	margin-left: 10px;
}

.msn-geo-status.is-visible {
	display: inline-block;
}

/* =========================
   Phoenix-like custom modal
   ========================= */
/* backdrop */
.msn-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(17, 24, 39, .55);
	/* dark veil */
	z-index: 1080;
}

/* wrapper */
.msn-modal {
	position: fixed;
	inset: 0;
	z-index: 1085;
	display: grid;
	place-items: center;
	padding: 18px;
}

/* dialog size */
.msn-modal-dialog {
	width: min(920px, 100%);
}

/* card */
.msn-modal-card {
	background: var(--phoenix-body-bg);
	color: var(--phoenix-body-color);
	border: 1px solid var(--phoenix-border-color);
	border-radius: 16px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
	overflow: hidden;
}

/* header */
.msn-modal-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 18px 12px;
	border-bottom: 1px solid var(--phoenix-border-color);
}

.msn-modal-title {
	font-size: 28px;
	font-weight: 800;
	line-height: 1.15;
	margin: 0;
}

.msn-modal-sub {
	margin-top: 6px;
	font-size: 16px;
	opacity: .75;
}

/* body grid */
.msn-modal-body {
	padding: 18px;
}

.msn-modal-grid {
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: 18px;
	align-items: start;
}

/* section label */
.msn-modal-label {
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	opacity: .7;
	margin-bottom: 10px;
}

/* radio list (phoenix feel) */
.msn-radio {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid var(--phoenix-border-color);
	border-radius: 14px;
	cursor: pointer;
	user-select: none;
	background: rgba(0, 0, 0, .02);
}

.msn-radio+.msn-radio {
	margin-top: 10px;
}

.msn-radio input {
	width: 18px;
	height: 18px;
	margin: 0;
}

.msn-radio:hover {
	background: rgba(0, 0, 0, .04);
}

.msn-radio input:checked+span {
	font-weight: 800;
}

/* right column inputs */
.msn-modal-fields .form-control {
	border-radius: 14px;
	padding: 12px 14px;
	font-size: 16px;
}

.msn-modal-fields .form-label {
	font-weight: 800;
}

/* footer */
.msn-modal-footer {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	padding: 12px 18px 18px;
	border-top: 1px solid var(--phoenix-border-color);
}

.msn-modal-footer .btn {
	min-width: 160px;
	border-radius: 14px;
	padding: 12px 14px;
	font-weight: 800;
}

/* close button */
#closeWeatherFeedback {
	border-radius: 12px;
}

/* mobile */
@media (max-width: 900px) {
	.msn-modal-dialog {
		width: min(680px, 100%);
	}
	
	.msn-modal-grid {
		grid-template-columns: 1fr;
	}
	
	.msn-modal-title {
		font-size: 22px;
	}
}

/* dark theme tweaks */
html[data-bs-theme="dark"] .msn-modal-backdrop {
	background: rgba(0, 0, 0, .65);
}

html[data-bs-theme="dark"] .msn-radio {
	background: rgba(255, 255, 255, .04);
}

html[data-bs-theme="dark"] .msn-radio:hover {
	background: rgba(255, 255, 255, .07);
}

/* legend like screenshot */
/* AQI block visual breathing */
/* ===== AQI toolbar (interval switch) ===== */
.aqi-toolbar .aqi-title strong {
	font-size: 1rem;
	font-weight: 800;
}

.aqi-toolbar #aqiIntervalLabel {
	font-size: .9rem;
}

.aqi-toolbar .btn-group .btn {
	border-radius: 10px !important;
}

.aqi-toolbar .btn.active {
	background: var(--phoenix-primary);
	border-color: var(--phoenix-primary);
	color: #fff;
}

/* ===== AQI card spacing ===== */
.aqi-card {
	border-radius: 18px;
	border: 1px solid rgba(0, 0, 0, .08);
}

.aqi-card .card-body {
	padding-left: 20px;
	padding-right: 20px;
}
}

@media (max-width: 576px) {
	.aqi-toolbar {
		gap: 10px;
	}
	
	.aqi-toolbar #aqiIntervalLabel {
		display: none;
	}
	
	/* на совсем маленьких можно скрыть подпись */
}

@media (max-width: 576px) {
	.aqi-toolbar [data-aqi-interval="1"] {
		display: none;
	}
}

/* ===== AQI Legend (Card Footer) ===== */
/* ===============================
   AQI Palette (ONE source of truth)
   =============================== */
:root {
	--aqi-good: rgb(168, 224, 95);
	--aqi-moderate: #fdd64b;
	/* ✅ Moderate строго #ffff00 */
	--aqi-usg: rgb(255, 155, 87);
	--aqi-unhealthy: #f65e5f;
	--aqi-very: #a070b6;
	--aqi-hazardous: #a06a7b;
	
	--aqi-neutral-bg: var(--phoenix-gray-100, #f1f4f7);
	--aqi-neutral-text: var(--phoenix-gray-800, #344050);
}

/* ===============================
   AQI Legend pills
   =============================== */
.aqi-legend {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.aqi-legend-item {
	display: inline-flex;
	align-items: center;
	padding: .45rem .95rem;
	border-radius: 999px;
	font-size: .875rem;
	font-weight: 500;
	background: var(--aqi-neutral-bg);
	color: var(--aqi-neutral-text);
	transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .15s ease;
}

.aqi-legend-item:hover {
	transform: translateY(-1px);
}

.aqi-legend-item.is-active {
	font-weight: 600;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, .12), 0 .25rem .75rem rgba(0, 0, 0, .08);
}

.aqi-legend-item.is-active[data-aqi-level="good"] {
	background: var(--aqi-good);
	color: #0f3d2e;
}

.aqi-legend-item.is-active[data-aqi-level="moderate"] {
	background: var(--aqi-moderate);
	color: #4a4a00;
}

.aqi-legend-item.is-active[data-aqi-level="usg"] {
	background: var(--aqi-usg);
	color: #5a2d0c;
}

.aqi-legend-item.is-active[data-aqi-level="unhealthy"] {
	background: var(--aqi-unhealthy);
	color: #fff;
}

.aqi-legend-item.is-active[data-aqi-level="very"] {
	background: var(--aqi-very);
	color: #fff;
}

.aqi-legend-item.is-active[data-aqi-level="hazardous"] {
	background: var(--aqi-hazardous);
	color: #fff;
}

/* ===============================
   AQI Banner (same palette)
   Требуется: <div id="aqiBanner" class="aqi-banner">...</div>
   =============================== */
#aqiBanner {
	transition: background-color .25s ease, color .25s ease;
}

#aqiBanner[data-aqi-level="good"] {
	background: var(--aqi-good);
	color: #fff;
}

#aqiBanner[data-aqi-level="moderate"] {
	background: var(--aqi-moderate);
	color: #4a4a00;
}

#aqiBanner[data-aqi-level="usg"] {
	background: var(--aqi-usg);
	color: #5a2d0c;
}

#aqiBanner[data-aqi-level="unhealthy"] {
	background: var(--aqi-unhealthy);
	color: #fff;
}

#aqiBanner[data-aqi-level="very"] {
	background: var(--aqi-very);
	color: #fff;
}

#aqiBanner[data-aqi-level="hazardous"] {
	background: var(--aqi-hazardous);
	color: #fff;
}

#aqiBanner[data-aqi-level="unhealthy"] a,
#aqiBanner[data-aqi-level="very"] a,
#aqiBanner[data-aqi-level="hazardous"] a {
	color: #fff;
}

/* Heatmap container (single) */
#aqiHeatmap {
	height: 320px !important;
	min-height: 320px;
}

/* AQI banner layout like screenshot (оставляем, но без forced background!) */
.aqi-banner {
	border-radius: 0;
	padding: 22px 28px;
}

/* ваш layout */
.aqi-banner__grid {
	display: flex;
	gap: 28px;
	align-items: flex-start;
}

.aqi-banner__left {
	min-width: 220px;
}

.aqi-banner__value {
	font-weight: 800;
	font-size: 72px;
	line-height: .9;
	letter-spacing: -1px;
	margin-bottom: 10px;
}

.aqi-banner__meta {
	font-weight: 700;
}

.aqi-banner__label {
	font-size: 18px;
	opacity: .9;
	margin-bottom: 6px;
}

.aqi-banner__pm {
	font-size: 18px;
	line-height: 1.1;
}

.aqi-banner__pmv {
	font-weight: 900;
}

.aqi-banner__right {
	flex: 1;
	padding-top: 6px;
}

.aqi-banner__title {
	font-weight: 900;
	font-size: 34px;
	line-height: 1;
	margin-bottom: 12px;
}

.aqi-banner__lines {
	font-size: 16px;
	line-height: 1.25;
	font-weight: 700;
	opacity: .95;
}

.aqi-banner__link {
	text-decoration: underline;
	text-underline-offset: 4px;
	font-weight: 900;
}

.aqi-banner__note {
	margin-top: 10px;
	font-size: 13px;
	font-style: italic;
	opacity: .85;
}

@media (max-width: 768px) {
	.aqi-banner {
		padding: 16px;
	}
	
	.aqi-banner__grid {
		flex-direction: column;
		gap: 14px;
	}
	
	.aqi-banner__left {
		min-width: auto;
	}
	
	.aqi-banner__value {
		font-size: 52px;
	}
	
	.aqi-banner__title {
		font-size: 34px;
	}
	
	.aqi-banner__lines {
		font-size: 20px;
	}
	
	.aqi-banner__note {
		font-size: 14px;
	}
}

/* desktop padding helper */
@media (min-width: 1200px) {
	.main-desktop-padding {
		padding-left: 2.5rem;
		padding-right: 2.5rem;
	}
}

.aqi-chart-hint {
	padding: .35rem .25rem;
}

.aqi-hint-item {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .35rem .65rem;
	border-radius: 999px;
	background: var(--phoenix-gray-100, #f1f4f7);
	color: var(--phoenix-gray-800, #344050);
	font-weight: 600;
	font-size: .875rem;
}

.aqi-hint-dot {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: #adb5bd;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, .06) inset;
}

/* AQI bottom toolbar responsive */
@media (max-width: 576px) {
	.aqi-heatmap-toolbar-bottom {
		display: grid !important;
		grid-template-columns: 1fr;
		gap: .5rem;
		justify-items: stretch;
	}
	
	.aqi-heatmap-toolbar-bottom .btn-group {
		width: 100%;
	}
	
	.aqi-heatmap-toolbar-bottom .btn-group .btn {
		flex: 1 1 auto;
	}
}

/* ===== AQI Legend — IQAir-like bar ===== */
.aqi-legend--bar {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	border-radius: 8px;
	overflow: hidden;
	/* border: 1px solid rgba(0, 0, 0, .08); */
	background: #fff;
}

/* segments */
.aqi-legend--bar .aqi-legend-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px 14px;
	margin: 0;
	border-radius: 0;
	background: transparent;
	/* цвет зададим по data-aqi-level */
	color: rgba(0, 0, 0, .72);
	font-weight: 600;
	line-height: 1.1;
	border-right: 1px solid rgba(0, 0, 0, .08);
	user-select: none;
}

.aqi-legend--bar .aqi-legend-item:last-child {
	border-right: 0;
}

/* typography */
.aqi-legend--bar .aqi-legend-range {
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .2px;
}

.aqi-legend--bar .aqi-legend-label {
	font-size: 11px;
	font-weight: 400;
	opacity: .95;
}

/* --- Colors (EPA/IQAir style) --- */
.aqi-legend--bar .aqi-legend-item[data-aqi-level="good"] {
	background: #a8e05f;
}

.aqi-legend--bar .aqi-legend-item[data-aqi-level="moderate"] {
	background: #fdd64b;
}

.aqi-legend--bar .aqi-legend-item[data-aqi-level="usg"] {
	background: #ff9b57;
}

.aqi-legend--bar .aqi-legend-item[data-aqi-level="unhealthy"] {
	background: #fe6a69;
	color: #fff;
}

.aqi-legend--bar .aqi-legend-item[data-aqi-level="very"] {
	background: #a97abc;
	color: #fff;
}

.aqi-legend--bar .aqi-legend-item[data-aqi-level="hazardous"] {
	background: #a070b6;
	color: #fff;
}

/* Active highlight (your JS adds .is-active) */
.aqi-legend--bar .aqi-legend-item.is-active {
	box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .18);
	position: relative;
	z-index: 1;
}

/* Optional: small hover */
.aqi-legend--bar .aqi-legend-item:hover {
	filter: saturate(1.02) brightness(0.99);
}

/* Responsive: stack to 2 rows on small screens */
@media (max-width: 768px) {
	.aqi-legend--bar {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	
	.aqi-legend--bar .aqi-legend-item {
		border-right: 1px solid rgba(0, 0, 0, .08);
		border-bottom: 1px solid rgba(0, 0, 0, .08);
	}
	
	.aqi-legend--bar .aqi-legend-item:nth-child(3n) {
		border-right: 0;
	}
	
	.aqi-legend--bar .aqi-legend-item:nth-last-child(-n+3) {
		border-bottom: 0;
	}
}

@media (max-width: 420px) {
	.aqi-legend--bar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	
	.aqi-legend--bar .aqi-legend-item:nth-child(2n) {
		border-right: 0;
	}
	
	.aqi-legend--bar .aqi-legend-item {
		border-bottom: 1px solid rgba(0, 0, 0, .08);
	}
	
	.aqi-legend--bar .aqi-legend-item:nth-last-child(-n+2) {
		border-bottom: 0;
	}
}

/* .flatpickr-months .flatpickr-month .flatpickr-current-month .flatpickr-monthDropdown-months {
	font-size: 16px;
}
.flatpickr-months .flatpickr-month .flatpickr-current-month .cur-year {
	font-size: 16px;
} */
.nav-tabs.nav-tabs-bordered {
	border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.nav-tabs.nav-tabs-bordered .nav-link {
	border: none;
	border-bottom: 2px solid transparent;
	font-weight: 600;
	color: #6c757d;
}

.nav-tabs.nav-tabs-bordered .nav-link.active {
	color: #0d6efd;
	border-bottom-color: #0d6efd;
}

/* ===== Page heading (after air-header) ===== */
.air-page-heading {
	padding: 1.25rem 0 1rem;
	background: transparent;
}

.air-page-title {
	margin: 0;
	font-size: 1.75rem;
	font-weight: 800;
	line-height: 1.2;
	color: #0b1c2d;
}

.air-page-subtitle {
	margin-top: .25rem;
	margin-bottom: 0;
	font-size: .95rem;
	color: rgba(0, 0, 0, .55);
	max-width: 820px;
}

.air-footer-copyright {
	margin-top: .25rem;
	font-size: .75rem;
	line-height: 1.35;
	color: rgba(0, 0, 0, .55);
}

.air-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.air-footer-link {
	font-size: .8rem;
	color: rgba(0, 0, 0, .65);
	text-decoration: none;
}

.air-footer-link:hover {
	text-decoration: underline;
}

/* =========================
   MAP-PLACE (air.tashkent-like)
   Phoenix-friendly
========================= */
.map-place {
	display: grid;
	grid-template-columns: 420px 1fr;
	gap: 16px;
	align-items: stretch;
}

/* Titles */
.map-place h2 {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 12px 0;
	color: #0b5a6e;
}

/* LEFT: stations */
.aqi-stations {
	background: #f6f8fa;
	border-radius: 14px;
	padding: 14px;
	overflow: hidden;
}

.aqi-stations ul {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 560px;
	overflow: auto;
	border-radius: 12px;
}

/* nice scrollbar */
.aqi-stations ul::-webkit-scrollbar {
	width: 10px;
}

.aqi-stations ul::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, .12);
	border-radius: 10px;
	border: 2px solid #f6f8fa;
}

.aqi-stations ul::-webkit-scrollbar-track {
	background: transparent;
}

.aqi-stations li+li {
	border-top: 1px solid rgba(0, 0, 0, .06);
}

.aqi-stations button {
	width: 100%;
	border: 0;
	background: transparent;
	display: grid;
	grid-template-columns: 34px 1fr 64px;
	gap: 12px;
	align-items: center;
	padding: 12px 10px;
	text-align: left;
	border-radius: 10px;
	cursor: pointer;
}

.aqi-stations button:hover {
	background: rgba(0, 0, 0, .04);
}

.aqi-stations button:focus {
	outline: 2px solid rgba(13, 110, 253, .35);
	outline-offset: 2px;
}

.aqi-stations button span {
	font-weight: 700;
	color: rgba(0, 0, 0, .55);
}

.aqi-stations button p {
	margin: 0;
	line-height: 1.25;
	font-weight: 600;
	color: rgba(0, 0, 0, .85);
}

.aqi-stations .score {
	justify-self: end;
	min-width: 52px;
	height: 34px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	color: #1b1b1b;
}

/* RIGHT: map block */
.map-block {
	background: #ffffff;
	border-radius: 14px;
	padding: 14px;
	overflow: hidden;
}

.map {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	background: #eef2f5;
	min-height: 600px;
}

/* Leaflet container */
#map,
#aqiMap {
	width: 100%;
	height: 600px;
}

/* Alert overlay (top center) */
/* ===== Map alert (bottom, above legend) ===== */
.map .alert {
	position: absolute;
	
	/* ↓ размещаем снизу */
	bottom: 72px;
	/* место для aqi-types */
	left: 50%;
	transform: translateX(-50%);
	
	z-index: 520;
	width: min(760px, calc(100% - 24px));
	
	padding: 10px 14px;
	border-radius: 12px;
	
	background: rgba(230, 73, 73, .92);
	color: #fff;
	
	box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
	backdrop-filter: blur(6px);
}

.map .alert p {
	margin: 0;
	font-weight: 600;
	font-size: 13px;
	line-height: 1.35;
}

.map .alert strong {
	font-weight: 800;
}

.map .alert button {
	border: 0;
	background: transparent;
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
	padding: 0 0 0 6px;
}

/* Vertical toggles (left-center) */
/* ===== left vertical tools like air.tashkent.uz ===== */
.aqi-checkboxes {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 520;
	
	list-style: none;
	margin: 0;
	padding: 0;
	
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

/* one button */
.aqi-tool {
	width: 62px;
	height: 62px;
	border: 0;
	background: rgba(80, 80, 80, .55);
	backdrop-filter: blur(6px);
	
	display: flex;
	align-items: center;
	justify-content: center;
	
	color: #fff;
	cursor: pointer;
	position: relative;
	/* for tooltip */
}

.aqi-tool+.aqi-tool {
	border-top: 1px solid rgba(255, 255, 255, .10);
}

.aqi-tool:hover {
	background: rgba(80, 80, 80, .65);
}

.aqi-tool.is-active {
	background: rgba(54, 93, 210, .92);
	/* “синий” активный как на скрине */
}

/* icon sizing */
.aqi-tool-ico {
	font-weight: 900;
	font-size: 18px;
	letter-spacing: .4px;
	line-height: 1;
}

.aqi-tool svg {
	display: block;
	width: 26px;
	height: 26px;
}

.aqi-tool .wi {
	font-size: 26px;
	/* weather-icons */
	line-height: 1;
}

/* ===== tooltip bubble (right) ===== */
.aqi-tool::after {
	content: attr(data-tip);
	position: absolute;
	
	left: calc(100% + 10px);
	top: 50%;
	transform: translateY(-50%);
	
	background: rgba(20, 20, 24, .92);
	color: #fff;
	padding: 8px 12px;
	border-radius: 10px;
	
	font-weight: 800;
	font-size: 14px;
	white-space: nowrap;
	
	opacity: 0;
	pointer-events: none;
	transition: opacity .12s ease;
}

/* маленький "хвостик" */
.aqi-tool::before {
	content: "";
	position: absolute;
	left: calc(100% + 2px);
	top: 50%;
	transform: translateY(-50%);
	
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-right: 8px solid rgba(20, 20, 24, .92);
	
	opacity: 0;
	pointer-events: none;
	transition: opacity .12s ease;
}

.aqi-tool:hover::after,
.aqi-tool:hover::before,
.aqi-tool:focus-visible::after,
.aqi-tool:focus-visible::before {
	opacity: 1;
}

/* focus */
.aqi-tool:focus-visible {
	outline: 3px solid rgba(13, 110, 253, .45);
	outline-offset: -3px;
}

.aqi-tool .fas,
.aqi-tool .far,
.aqi-tool .fal,
.aqi-tool .fab {
	font-size: 26px;
	line-height: 1;
}

/* Legend bar (bottom center) */
.aqi-types {
	position: absolute;
	left: 50%;
	bottom: 12px;
	transform: translateX(-50%);
	z-index: 520;
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
	width: min(820px, calc(100% - 24px));
}

.aqi-types li {
	padding: 10px 12px;
	font-weight: 800;
	text-align: center;
	color: rgba(255, 255, 255, .95);
	font-size: .875rem;
	line-height: 1.1;
}

/* AQI colors (classes) */
.aqi-good {
	background: #9fd35c !important;
}

.aqi-moderate {
	background: #f3c82f !important;
}

.aqi-usg {
	background: #ec8e4f !important;
}

.aqi-unhealthy {
	background: #e95f5e !important;
}

.aqi-very {
	background: #9168a1 !important;
}

.aqi-hazardous {
	background: #9d6878 !important;
}

/* Optional: score text contrast */
.aqi-stations .score.aqi-unhealthy,
.aqi-stations .score.aqi-very,
.aqi-stations .score.aqi-hazardous {
	color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
	.map-place {
		grid-template-columns: 1fr;
	}
	
	.aqi-stations ul {
		max-height: 320px;
	}
	
	#map,
	#aqiMap {
		height: 520px;
	}
	
	.map {
		min-height: 520px;
	}
	
	.map-dropdown {
		max-width: calc(100% - 24px);
	}
}

/* ===== Map dropdown (button + menu) ===== */
/* ===== Map dropdown (compact like air.tashkent.uz) ===== */
.map-dropdown {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 520;
	
	width: 240px;
	/* было 360px */
	border-radius: 12px;
	overflow: hidden;
	
	background: rgba(60, 60, 60, .55);
	backdrop-filter: blur(6px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

/* button */
.map-dd-btn {
	width: 100%;
	border: 0;
	background: transparent;
	
	color: #fff;
	font-weight: 800;
	font-size: 14px;
	/* было 1.25rem */
	padding: 10px 12px;
	/* было 14px */
	
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	line-height: 1.2;
}

/* caret */
.map-dd-caret {
	opacity: .9;
	font-size: 12px;
}

/* menu */
.map-dd-menu {
	max-height: 320px;
	overflow: auto;
	list-style: none;
	margin: 0;
	padding: 6px;
	display: none;
	background: rgba(0, 0, 0, .10);
}

.map-dropdown[data-open="1"] .map-dd-menu {
	display: block;
}

/* items */
.map-dd-item {
	width: 100%;
	border: 0;
	text-align: left;
	
	padding: 10px 10px;
	/* компактнее */
	font-weight: 700;
	/* чуть легче */
	font-size: 13px;
	/* было 1.35rem */
	line-height: 1.2;
	
	color: #fff;
	background: rgba(255, 255, 255, .08);
	border-radius: 10px;
	/* чтобы не было "ступенек" */
	cursor: pointer;
}

.map-dd-item+.map-dd-item {
	margin-top: 6px;
	/* вместо border-top */
}

.map-dd-item:hover {
	background: rgba(255, 255, 255, .14);
}

.map-dd-item.is-active {
	background: rgba(255, 255, 255, .22);
}

/* ===== Meteobot Header ===== */
.meteobot-header {
	background: linear-gradient(180deg,
			var(--phoenix-gray-100),
			var(--phoenix-gray-50));
	border-bottom: 1px solid var(--phoenix-border-color);
	padding: 1rem 1.25rem;
}

.meteobot-header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: .75rem;
}

.meteobot-title {
	display: flex;
	align-items: center;
	gap: .75rem;
}

.meteobot-icon {
	font-size: 1.5rem;
	line-height: 1;
}

.meteobot-controls {
	display: grid;
	grid-template-columns:
		180px 140px 1fr 90px;
	gap: .75rem;
}

.meteobot-controls .control-group {
	display: flex;
}

.meteobot-controls .form-control,
.meteobot-controls .form-select {
	background-color: #fff;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
	.meteobot-controls {
		grid-template-columns: 1fr;
	}
	
	.meteobot-header-top {
		flex-direction: column;
		align-items: flex-start;
	}
	
	#mbReload {
		align-self: flex-end;
	}
}

/* Meteobot table cosmetics */
#meteobotStationsByRegion .table thead th {
	position: sticky;
	top: 0;
	background: var(--phoenix-body-bg);
	z-index: 1;
}

.mb-row-online {
	background: rgba(25, 135, 84, .06);
}

.mb-row-offline {
	background: rgba(220, 53, 69, .06);
}

.mb-row-nodata {
	background: rgba(108, 117, 125, .05);
}

.mb-sort {
	cursor: pointer;
	user-select: none;
}

.mb-sort .mb-sort-ico {
	opacity: .45;
	margin-left: .35rem;
	font-size: .8em;
}

.mb-sort.is-active .mb-sort-ico {
	opacity: 1;
}

.mb-mono {
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum";
}

.mb-sub {
	opacity: .75;
	font-size: .78rem;
}

/* Meteobot AQI dot */

.aqi-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 6px;
	vertical-align: middle;
}

.aqi-good {
	background: #6cc24a;
}

.aqi-moderate {
	background: #f9c74f;
}

.aqi-unhealthy {
	background: #f94144;
}


.mb-aqi-cell {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: .35rem;
}

.mb-popover-title {
	font-weight: 600;
	margin-bottom: .25rem;
}

.mb-popover-line {
	display: flex;
	justify-content: space-between;
	gap: .75rem;
}

.mb-popover-key {
	color: var(--phoenix-600);
}

.mb-popover-val {
	font-variant-numeric: tabular-nums;
}

/* active station row */
.stations-list .station-row.is-active {
	outline: 2px solid rgba(13, 110, 253, .35);
	border-radius: 10px;
}

.aqi-types li {
	cursor: pointer;
}

.aqi-types li.is-active {
	outline: 2px solid rgba(13, 110, 253, .45);
	outline-offset: 2px;
	border-radius: 10px;
	
}

/* ===== AQI alert backgrounds ===== */
.air-aqi-alert {
	transition: background-color .25s ease, color .25s ease;
}

.air-aqi-alert.aqi-good {
	background: #e6f7e9;
	color: #0f5132;
}

.air-aqi-alert.aqi-moderate {
	background: #fff7e6;
	color: #664d03;
}

.air-aqi-alert.aqi-usg {
	background: #fff1e0;
	color: #7a3e00;
}

.air-aqi-alert.aqi-unhealthy {
	background: #fdecea;
	color: #842029;
}

.air-aqi-alert.aqi-very {
	background: #f3e8ff;
	color: #3d1a63;
}

.air-aqi-alert.aqi-hazardous {
	background: #2b0a0a;
	color: #ffffff;
}

/* ===============================
   AQI ALERT — MOBILE COMPACT
   =============================== */

@media (max-width: 768px) {
	.air-aqi-alert {
		padding: 10px 12px;
	}
	
	.air-aqi-alert p {
		margin-bottom: 0;
	}
	
	/* скрываем длинные тексты */
	.air-aqi-alert__desc,
	.air-aqi-alert__details {
		display: none !important;
	}
	
	/* компактная строка */
	.air-aqi-alert__compact {
		display: flex;
		align-items: center;
		gap: 8px;
		font-size: 14px;
		font-weight: 600;
		line-height: 1.3;
	}
	
	.air-aqi-alert__compact .aqi-badge {
		padding: 2px 8px;
		border-radius: 999px;
		font-size: 12px;
		font-weight: 700;
		background: rgba(0, 0, 0, .12);
	}
	
	.air-aqi-alert__reco {
		margin-top: 4px;
		font-size: 12px;
		opacity: .85;
	}
}

/* desktop: скрываем компактный блок */
@media (min-width: 769px) {
	.air-aqi-alert__compact {
		display: none !important;
	}
}

/* ===============================
   Overlays markers (industry/heat)
   Used by: air-map-overlays.js
   =============================== */

.air-ovl {
	/* отключаем дефолтный divIcon фон */
	background: transparent !important;
	border: 0 !important;
}

.air-ovl__pin {
	width: 22px;
	height: 22px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	
	font-size: 14px;
	line-height: 1;
	
	/* “пин” как кнопка */
	box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
	border: 1px solid rgba(255, 255, 255, .75);
	
	/* чуть прозрачности, чтобы не “кричало” */
	opacity: .95;
	
	/* чтобы на белой карте не терялся */
	backdrop-filter: blur(2px);
}

/* Industry (factories) */
.air-ovl--industry .air-ovl__pin {
	background: rgba(13, 110, 253, .92);
	/* синий */
	color: #fff;
}

/* Heat plants (CHP / power) */
.air-ovl--heat .air-ovl__pin {
	background: rgba(220, 53, 69, .92);
	/* красный */
	color: #fff;
}

/* Hover / focus */
.air-ovl__pin:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
}

.air-ovl__pin:active {
	transform: translateY(0);
	box-shadow: 0 5px 12px rgba(0, 0, 0, .18);
}

/* Popup typography */
.leaflet-popup-content b {
	font-weight: 700;
}