/* Styles specific to the map page */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
}

/* Center layout for entire page */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* Container wrapping all elements */
.container {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

/* Header with navigation and theme toggle */
.map-header {
    width: 90vw;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Wrapper around the embedded map */
.map-wrapper {
    width: 90vw;
    height: 80vh;
    max-width: 1200px;
    max-height: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--card-bg);
    border-radius: 1.2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

/* Full size iframe map */
iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Responsive tweaks for small screens */
@media (max-width: 600px) {
    .map-wrapper {
        width: 95vw;
        height: 60vh;
        max-width: 100vw;
        max-height: 70vh;
        border-radius: 0.8rem;
    }
    .map-header {
        width: 95vw;
    }
}
