/* Outage map. Colors match the banner and status page. */
.pbn-map { position: relative; height: 420px; border-radius: 10px; overflow: hidden; border: 1px solid #e3e6e8; background: #eef1ea; z-index: 0; }
.pbn-map.pbn-map-plain { background: #f4f6f2; }
.pbn-map .leaflet-container, .pbn-map.leaflet-container { font: inherit; }
.pbn-map-btn { background: #fff; border: 1px solid #c3c4c7; border-radius: 6px; padding: 6px 10px; font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.15); color: #1d2327; }
.pbn-map-btn:hover { border-color: #1d5fa8; color: #1d5fa8; }
.pbn-map-legend { background: rgba(255,255,255,.94); border-radius: 8px; padding: 7px 10px; font-size: 12px; line-height: 1.5; box-shadow: 0 1px 4px rgba(0,0,0,.15); display: flex; flex-wrap: wrap; gap: 2px 12px; max-width: 260px; color: #1d2327; }
.pbn-lg { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pbn-sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; border: 2px solid transparent; box-sizing: border-box; }
.pbn-sw-exchange { border-style: dashed; background: transparent; }
.pbn-sw-wireless { border-radius: 50%; }
.pbn-sw-soon { border-style: dashed; background: transparent; }
.pbn-map-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.45); color: #fff; font-size: 16px; font-weight: 600; z-index: 1000; opacity: 0; pointer-events: none; transition: opacity .2s; text-align: center; padding: 20px; }
.pbn-map-hint.is-on { opacity: 1; }
.pbn-pop { font-size: 14px; line-height: 1.45; min-width: 180px; }
.pbn-pop-title { font-weight: 700; font-size: 15px; }
.pbn-pop-out .pbn-pop-title { color: #b42318; }
.pbn-pop-maint .pbn-pop-title, .pbn-pop-soon .pbn-pop-title { color: #8a5a00; }
.pbn-pop-ok .pbn-pop-title { color: #1f7a3d; }
.pbn-pop-kind { font-size: 12px; color: #646970; margin: 1px 0 4px; }
.pbn-map-tip { font-weight: 600; }
@media (max-width: 600px) {
	.pbn-map { height: 320px; }
	.pbn-map-legend { max-width: 200px; font-size: 11px; }
}

.pbn-map-legend.pbn-map-legend-below { background: transparent; box-shadow: none; padding: 8px 2px 0; max-width: none; }
@media (max-width: 600px) {
	.pbn-map .leaflet-control-attribution { font-size: 10px; line-height: 1.3; }
	.pbn-map-btn { padding: 5px 8px; font-size: 12px; }
}
/* Buttons on and under the map. Themes (OceanWP, Elementor) style every <button> big, bold and
   uppercase, so everything that matters is set here explicitly. */
.pbn-map button, .pbn-map-legend button {
	-webkit-appearance: none; appearance: none; box-sizing: border-box; width: auto !important; height: auto !important; min-height: 0 !important; min-width: 0 !important;
	margin: 0 !important; font-family: inherit !important; text-transform: none !important; letter-spacing: normal !important; text-shadow: none !important;
	box-shadow: none !important; line-height: 1.3 !important; text-align: left; transition: background-color .15s, border-color .15s, color .15s;
}
.pbn-map .pbn-map-btn { background: #fff !important; color: #1d2327 !important; border: 1px solid #c3c4c7 !important; border-radius: 6px !important; padding: 6px 10px !important; font-size: 13px !important; font-weight: 600 !important; box-shadow: 0 1px 4px rgba(0,0,0,.15) !important; }
.pbn-map .pbn-map-btn:hover { border-color: #1d5fa8 !important; color: #1d5fa8 !important; }

/* Map / Satellite */
.pbn-bgswitch { display: inline-flex; background: #fff; border-radius: 7px; box-shadow: 0 1px 4px rgba(0,0,0,.2); padding: 2px; margin-bottom: 6px; }
.pbn-map .pbn-bgswitch-btn { background: transparent !important; color: #3c434a !important; border: 0 !important; border-radius: 5px !important; padding: 5px 12px !important; font-size: 13px !important; font-weight: 600 !important; cursor: pointer; }
.pbn-map .pbn-bgswitch-btn:hover { color: #1d5fa8 !important; }
.pbn-map .pbn-bgswitch-btn[aria-pressed="true"] { background: #1d2327 !important; color: #fff !important; }
.pbn-map .leaflet-top.leaflet-right .leaflet-control { clear: both; }

/* The key under the map, with layer switches */
.pbn-map-legend.pbn-map-legend-below { background: transparent; box-shadow: none; padding: 10px 2px 0; max-width: none; gap: 6px 14px; align-items: center; font-size: 13px; }
.pbn-lg-label { color: #646970; margin-left: 6px; }
.pbn-map-legend .pbn-lg-btn { display: inline-flex !important; align-items: center; gap: 6px; background: #fff !important; color: #1d2327 !important; border: 1px solid #c3c4c7 !important; border-radius: 999px !important; padding: 4px 12px 4px 8px !important; font-size: 13px !important; font-weight: 500 !important; cursor: pointer; white-space: nowrap; }
.pbn-map-legend .pbn-lg-btn:hover { border-color: #1d5fa8 !important; }
.pbn-map-legend .pbn-lg-btn:focus-visible { outline: 2px solid #1d5fa8 !important; outline-offset: 2px; }
.pbn-map-legend .pbn-lg-btn[aria-pressed="true"] { background: #f0f6fc !important; border-color: #8fb3dc !important; }
.pbn-map-legend .pbn-lg-btn[aria-pressed="false"] { color: #8c8f94 !important; background: #fff !important; }
.pbn-map-legend .pbn-lg-btn[aria-pressed="false"] .pbn-sw { background: transparent !important; border-color: #c3c4c7 !important; }
.pbn-lg-btn .pbn-check-mark { font-size: 11px; width: 12px; text-align: center; }
.pbn-map-sat { background: #2b2f2a; }
@media (max-width: 600px) { .pbn-map-legend.pbn-map-legend-below { font-size: 12px; } .pbn-lg-label { flex-basis: 100%; margin: 2px 0 0; } }
.pbn-map .leaflet-control-attribution { font-size: 11px !important; line-height: 1.4 !important; padding: 1px 6px !important; }
.pbn-map.pbn-map-boxing, .pbn-map.pbn-map-boxing .leaflet-interactive { cursor: crosshair !important; }
.pbn-map .pbn-box-btn { margin-top: 6px !important; }
.pbn-map .pbn-box-btn[aria-pressed="true"] { background: #1d5fa8 !important; color: #fff !important; border-color: #1d5fa8 !important; }
.pbn-map .leaflet-control, .pbn-map-legend { -webkit-user-select: none; user-select: none; }
.pbn-map.pbn-map-boxing { -webkit-user-select: none; user-select: none; }
