/* ─────────────────────────────────────────────
   Page : Carte d'une station /station/{slug}/carte
   ───────────────────────────────────────────── */

.station-map-page {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px); /* pleine hauteur moins la navbar */
    overflow: hidden;
}

/* ── Header station ── */
.station-map-header {
    flex-shrink: 0;
    background: var(--white, #fff);
    border-bottom: 1px solid var(--neutral-200, #e5e7eb);
    padding: 0.75rem 1.5rem;
    z-index: 20;
}

.station-map-header__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.station-map-header__back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1px solid var(--neutral-200, #e5e7eb);
    color: var(--color-text, #111827);
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
}

.station-map-header__back:hover {
    background: var(--neutral-100, #f3f4f6);
    border-color: var(--neutral-400, #9ca3af);
}

.station-map-header__info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.station-map-header__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text, #111827);
    margin: 0;
    line-height: 1.2;
}

.station-map-header__massif {
    font-weight: 400;
    color: var(--neutral-500, #6b7280);
}

.station-map-header__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--neutral-500, #6b7280);
    margin: 0;
}

.station-map-header__meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.station-map-header__meta i {
    color: var(--color-primary, #d97706);
}

/* ── Carte ── */
.station-map-wrap {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.station-map-wrap .osm-map {
    width: 100%;
    height: 100%;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .station-map-page {
        height: calc(100vh - 60px);
    }

    .station-map-header {
        padding: 0.625rem 1rem;
    }

    .station-map-header__title {
        font-size: 1rem;
    }

    .station-map-header__meta {
        gap: 0.75rem;
        flex-wrap: wrap;
    }
}
