/*!*******************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./templates/routes/main/home/home.css ***!
  \*******************************************************************************************************************/
body {
	background-color: white;
	overflow: hidden;
}

.content {
	padding-top: 0 !important;
	height: 100vh;
	display: flex;
	flex-direction: column;
}

.map-wrapper {
	flex: 1;
	display: flex;
	flex-direction: column;
	height: calc(100vh - 80px);
	position: relative;
}

#map {
	flex: 1;
	min-height: 0;
	width: 100%;
}

.map-footer {
	position: absolute;
	bottom: 1rem;
	left: 0;
	right: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 1rem;
	pointer-events: none;
}

.footer-link {
	pointer-events: auto;
	text-decoration: none;
	color: inherit;
}

.footer-link:hover {
	text-decoration: none !important;
}

a:hover {
	text-decoration: none !important;
}

.gm-style .gm-style-iw-d {
	overflow: hidden !important;
}

button[data-value="close"],
button[title="Close"],
button[aria-label="Close"] {
	pointer-events: auto !important;
	-webkit-user-select: auto !important;
	user-select: auto !important;
}

.gm-style-iw-ch {
	display: none !important;
	border: none !important;
	box-shadow: none !important;
}

.gm-style-iw-chr {
	position: relative !important;
	padding-top: 0 !important;
	pointer-events: auto !important;
}

.gm-ui-hover-effect {
	position: absolute !important;
	width: 48px !important;
	height: 48px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	right: -8px !important;
	top: -7px !important;
	pointer-events: auto !important;
	-webkit-user-select: auto !important;
	user-select: auto !important;
	z-index: 9999 !important;
}

.gm-ui-hover-effect>span {
	width: 24px !important;
	height: 24px !important;
	margin: 0 !important;
	mask-size: 24px;
	mask-position: center;
}

.gm-ui-hover-effect * {
	pointer-events: auto !important;
	cursor: pointer !important;
}

.gm-style-iw button,
.gm-style-iw [role="button"],
.gm-style-iw .gm-ui-hover-effect {
	pointer-events: auto !important;
	cursor: pointer !important;
	outline: none !important;
	border: none !important;
	background: transparent !important;
}

.infowindow-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.infowindow-icon {
    font-size: 20px;
    margin-right: 8px;
}

.infowindow-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.infowindow-type {
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin: 0;
}

/* ── Legenda ─────────────────────────────────────────────────────── */
.map-legend {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
    padding: 12px 16px;
    margin: 0 0 56px 10px;
    font-family: Arial, sans-serif;
    min-width: 190px;
    pointer-events: none;
}

.map-legend__title {
    font-size: 12px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.map-legend__route {
    margin-bottom: 10px;
    transition: opacity .3s;
}

.map-legend__route:last-child {
    margin-bottom: 0;
}

.map-legend__route--dim {
    opacity: .3;
}

.map-legend__route-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.map-legend__line {
    width: 22px;
    height: 5px;
    border-radius: 3px;
    flex-shrink: 0;
}

.map-legend__route-name {
    font-size: 13px;
    font-weight: 600;
    color: #222;
}

.map-legend__buses {
    display: flex;
    gap: 10px;
    padding-left: 30px;
}

.map-legend__bus {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #666;
}

.map-legend__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    flex-shrink: 0;
    transition: background .4s;
}

/* ── Toast notifica bus offline ──────────────────────────────────── */
.map-toast {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background: rgba(40, 40, 40, .92);
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity .35s ease, transform .35s ease;
}

.map-toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

