﻿#filter-offcanvas-mobile.offcanvas,
#filter-offcanvas-mobile.offcanvas.show {
    height: 100dvh !important;
    max-height: 100dvh !important;
    position: fixed !important;
    z-index: 1055 !important;
    display: flex !important;
    flex-direction: column !important;
}

#filter-offcanvas-mobile .offcanvas-header {
    flex-shrink: 0;
}

#filter-offcanvas-mobile .offcanvas-body {
    flex: 1 1 auto;
    height: auto;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 120px !important;
}

.mobile-filter-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 16px 20px;
    border-top: 1px solid #dee2e6;
    z-index: 1060;
    box-sizing: border-box;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

.mobile-filter-footer #apply-filters-mobile {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.floating-filter-btn {
    position: fixed !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1030 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    visibility: visible;
    opacity: 1;
}

.floating-filter-btn.is-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(20px) !important;
}

#kaart {
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
