.vamsys-destination-map-element {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.destination-map-container {
	position: relative;
}

.destination-map-container > div[id$="-map"] {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

@keyframes slideInLeft {
	from {
		transform: translateX(-100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

/* Sidebar */
.sidebar {
    position: absolute;
    top: 2rem;
    left: 1rem;
    width: 300px;
    max-height: calc(100% - 2rem);
    background: #ffffff26;
    backdrop-filter: blur(15px) saturate(1.5);
    -webkit-backdrop-filter: blur(15px) saturate(1.5);
    border-radius: 12px;
    box-shadow: 0 8px 32px #00000026,inset 0 1px #fff3;
    border: 1px solid rgba(255,255,255,.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 410;
    animation: slideInLeft .3s ease-out;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform,opacity;
}

.sidebar[hidden] {
    display: none !important;
}

.sidebar-header {
    background: #1e9fd9;
    background-image: linear-gradient(51deg, rgba(76, 169, 104, .5) 0, rgba(39, 159, 215, .5) 80%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.1);
    color: #223650;
    padding: 1.25rem;
    position: relative;
    flex-shrink: 0;
}

.sidebar-header-content {
    position: relative;
    z-index: 1;
}

.sidebar-title {
    margin: 0;
    margin-bottom: 0px;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: .25rem;
    color: #ffffff;
}

.sidebar-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: .375rem;
    border-radius: 9999px;
    background: #ffffff1a;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    cursor: pointer;
    transition: all .2s;
    z-index: 2;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(99,102,241,.3) transparent;
    /* Force scrollbar to always show when content overflows */
    min-height: 0;
    max-height: 100%;
}

/* Filter Section */
.filter-section {	
	padding: 1rem;
}

.filter-label {
	display: block;
	font-size: .75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #374151;
	margin-bottom: 0.5rem;
}

.airline-select {
	width: 100%;
	padding: .625rem .75rem;
	border: 1px solid rgba(229,231,235,.3);
	border-radius: 8px;
	font-size: .875rem;
	background: #fff9;
	backdrop-filter: blur(20px) saturate(1.5);
	-webkit-backdrop-filter: blur(20px) saturate(1.5);
	cursor: pointer;
	transition: all .2s;
	box-shadow: 0 2px 8px #00000014,inset 0 1px #ffffff1a;
	color: #111827;
}

.airline-select:hover {
	border-color: rgba(229,231,235,.6);
}

.airline-select:focus {
	outline: none;
	border-color: rgba(229,231,235,.8);
	box-shadow: 0 2px 8px #00000014,inset 0 1px #ffffff1a;
}

/* Hub Tiles */
.hub-tiles {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
	
}

.hub-tile {
	padding: 0.75rem;
	border: 1px solid rgba(229,231,235,.3);
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s;
	text-align: center;
	background: #fff9;
	backdrop-filter: blur(20px) saturate(1.5);
	-webkit-backdrop-filter: blur(20px) saturate(1.5);
	box-shadow: 0 2px 8px #00000014,inset 0 1px #ffffff1a;
}

.hub-tile:hover {
	border-color: rgba(229,231,235,.6);
	background: #fffa;
}

.hub-tile.active {
	border-color: #1e9fd9;
	background: linear-gradient(135deg, rgba(30, 159, 217, 0.15) 0%, rgba(30, 159, 217, 0.1) 100%);
	box-shadow: 0 0 0 2px rgba(30, 159, 217, 0.3), 0 2px 8px #00000014, inset 0 1px #ffffff1a;
	position: relative;
}

.hub-tile.active[data-airline="KLM"], 
.hub-tile.active[data-airline="KLC"] {
	border-color: #1e9fd9;
	background: linear-gradient(135deg, rgba(30, 159, 217, 0.15) 0%, rgba(30, 159, 217, 0.1) 100%);
	box-shadow: 0 0 0 2px rgba(30, 159, 217, 0.3), 0 2px 8px #00000014, inset 0 1px #ffffff1a;
}

.hub-tile.active[data-airline="KLM"]::after,
.hub-tile.active[data-airline="KLC"]::after {
	background: #1e9fd9;
}

.hub-tile.active[data-airline="TRA"],
.hub-tile.active[data-airline="TVF"] {
	border-color: #00d66c;
	background: linear-gradient(135deg, rgba(0, 214, 108, 0.15) 0%, rgba(0, 214, 108, 0.1) 100%);
	box-shadow: 0 0 0 2px rgba(0, 214, 108, 0.3), 0 2px 8px #00000014, inset 0 1px #ffffff1a;
}

.hub-tile.active[data-airline="TRA"]::after,
.hub-tile.active[data-airline="TVF"]::after {
	background: #00d66c;
}

.hub-tile.active::after {
	content: '✓';
	position: absolute;
	top: -8px;
	right: -8px;
	width: 20px;
	height: 20px;
	background: #1e9fd9;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: bold;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hub-tile-icao {
	font-size: .875rem;
	font-weight: 700;
	color: #374151;
	margin-bottom: 0.25rem;
}

.hub-tile-name {
	font-size: .75rem;
	color: #6b7280;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Category Tiles */
.category-tiles {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
	
}

.category-tile {
	padding: 0.75rem;
	border: 1px solid rgba(229,231,235,.3);
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s;
	text-align: center;
	background: #fff9;
	backdrop-filter: blur(20px) saturate(1.5);
	-webkit-backdrop-filter: blur(20px) saturate(1.5);
	box-shadow: 0 2px 8px #00000014,inset 0 1px #ffffff1a;
}

.category-tile:hover {
	border-color: rgba(229,231,235,.6);
	background: #fffa;
}

.category-tile.active {
	border-color: #1e9fd9;
	background: linear-gradient(135deg, rgba(30, 159, 217, 0.15) 0%, rgba(30, 159, 217, 0.1) 100%);
	box-shadow: 0 0 0 2px rgba(30, 159, 217, 0.3), 0 2px 8px #00000014, inset 0 1px #ffffff1a;
	position: relative;
}

.category-tile.active[data-airline="KLM"] {
	border-color: #1e9fd9;
	background: linear-gradient(135deg, rgba(30, 159, 217, 0.15) 0%, rgba(30, 159, 217, 0.1) 100%);
	box-shadow: 0 0 0 2px rgba(30, 159, 217, 0.3), 0 2px 8px #00000014, inset 0 1px #ffffff1a;
}

.category-tile.active[data-airline="KLM"]::after {
	background: #1e9fd9;
}

.category-tile.active[data-airline="TRA"],
.category-tile.active[data-airline="TRV"],
.category-tile.active[data-airline="KLC"],
.category-tile.active[data-airline="MPH"] {
	border-color: #00d66c;
	background: linear-gradient(135deg, rgba(0, 214, 108, 0.15) 0%, rgba(0, 214, 108, 0.1) 100%);
	box-shadow: 0 0 0 2px rgba(0, 214, 108, 0.3), 0 2px 8px #00000014, inset 0 1px #ffffff1a;
}

.category-tile.active[data-airline="TRA"]::after,
.category-tile.active[data-airline="TRV"]::after,
.category-tile.active[data-airline="KLC"]::after,
.category-tile.active[data-airline="MPH"]::after {
	background: #00d66c;
}

.category-tile.active::after {
	content: '✓';
	position: absolute;
	top: -8px;
	right: -8px;
	width: 20px;
	height: 20px;
	background: #1e9fd9;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: bold;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.category-tile-name {
	font-size: .875rem;
	font-weight: 600;
	color: #374151;
}

.hub-loading {
	padding: 1.5rem 1rem;
	text-align: center;
	color: #9ca3af;
	font-size: .875rem;
}

.leaflet-control-zoom {
	background: white;
	display: none;
}
