/* ==========================================================================
   LiveMap Navigation & Interactive Map Stylesheet (src/modules/map/livemap.css)
   - Zero Margin/Padding Full-Bleed Map Layout
   - Floating Map Controls (Zoom Bar & Legend)
   - Sidebar Expansion Interaction on Marker Click (GEMINI.md Rule 2)
   ========================================================================== */

#view-livemap {
    width: 100% !important;
    height: calc(100vh - var(--nav-height, 72px)) !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    background: #F2F4F7 !important;
    padding: 0 !important;
    margin: 0 !important;
}

#map-container {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1 !important;
}

/* Floating Zoom Indicator & Control Pill */
#zoom-indicator-float {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0 16px;
    min-width: 340px;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border-radius: 99px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.map-view-toggle-btn {
    background: none;
    border: none;
    height: 100%;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 800;
    color: #475569;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.map-view-toggle-btn:hover {
    color: #0f172a;
    transform: translateY(-1px);
}

/* Side Information Sheet (Expanded on marker click) */
.map-detail-sidebar {
    position: absolute;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 90vw;
    height: 100%;
    background: #ffffff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 24px;
    box-sizing: border-box;
}

.map-detail-sidebar.open {
    transform: translateX(0);
}
