﻿.map-page {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: calc(100svh - var(--header-height, 4.25rem));
    position: relative;
}

.map-page iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
    display: block;
}

body.map-view {
    overflow: hidden;
}

body.map-view footer {
    display: none;
}

/* The popup sits over the map iframe, so it stays dark in both themes —
   a light panel would wash out against the terrain underneath. */
.map-info-popup {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(12, 24, 22, 0.45);
}

.map-info-content {
    max-width: 28rem;
    background: #15201D;
    padding: 1.35rem var(--space-5);
    border-radius: var(--radius-lg);
    color: #E4EDEA;
    box-shadow: var(--shadow-soft);
}

.map-info-content h3 {
    color: #E9B15F;
    margin-bottom: var(--space-3);
}

.map-info-content p {
    margin-bottom: 0.85rem;
}

.map-info-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.15rem;
}

.map-info-content ul li {
    margin-bottom: 0.45rem;
    padding-left: 1.25rem;
    position: relative;
}

.map-info-content ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #E9B15F;
}

.map-info-close {
    padding: 0.65rem 1.15rem;
}
