/* ---- ログイン ---- */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f5;
}
.login-card {
    width: 100%;
    max-width: 380px;
}

/* ---- 地図画面（ナビバーの下を全面地図に） ---- */
.map-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.map-main {
    flex: 1;
    position: relative;
}
#map {
    position: absolute;
    inset: 0;
}

/* ---- ダイアログの橋梁画像 ---- */
.bridge-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    background: #fff;
}

.bridge-noimage {
    padding: 2rem 0;
    text-align: center;
    color: #6c757d;
    background: #e9ecef;
    border-radius: .375rem;
}
.map-notice {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* ---- グラフ ---- */
.chart-box {
    position: relative;
    height: 320px;
}
.chart-box-lg {
    height: 460px;
}
.chart-message {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    background: rgba(255, 255, 255, .8);
}

@media (max-width: 767.98px) {
    .chart-box-lg { height: 320px; }
}
