:root{
    --green:#80a203;
    --text:#999999;
    --muted:#718079;
    --surface:rgba(255,255,255,.97);

    --top-button-bg:#fff;
    --top-button-icon:#80a203;
    --top-button-active:#ff0000;
    
    /* Afstand van de kaartknoppen tot de onderkant */
    --map-buttons-bottom:40px;
}

/* ============================================================
   BASIS
   ============================================================ */

*{
    box-sizing:border-box;
}

html,
body{
    width:100%;
    height:100%;
    margin:0;
    overflow-x:hidden;     /* NIEUW */
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
    color:var(--text);
}

body{
    overflow:hidden;
    background:#dce7e1;
}

#map{
    position:fixed;
    inset:0;
    z-index:1;
    background:#dfe8e4;
}

/* ============================================================
   KAART LADEN
   ============================================================ */

.map-loading{
    position:absolute;
    z-index:900;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    min-width:250px;
    padding:22px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 14px 45px #0002;
    font-size:13px;
    text-align:center;
}

.map-loading span{
    font-size:11px;
    color:var(--muted);
}

.loader{
    width:27px;
    height:27px;
    border:3px solid #dce9e3;
    border-top-color:#2e8b68;
    border-radius:50%;
    animation:spin .8s linear infinite;
}

@keyframes spin{
    to{
        transform:rotate(360deg);
    }
}

.retry{
    margin-top:8px;
    border:0;
    background:#2e8b68;
    color:#fff;
    padding:9px 13px;
    border-radius:9px;
    cursor:pointer;
}

.error-icon{
    font-size:32px;
}

/* ============================================================
   TOPBAR
   ============================================================ */

.topbar{
    position:fixed;
    z-index:2000;
    top:18px;
    left:18px;
    right:18px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    pointer-events:none;
}

.brand,
.top-actions{
    pointer-events:auto;
}

/* ============================================================
   BRAND
   ============================================================ */

.brand{
    display:flex;
    align-items:center;
    width:auto;
    max-width:calc(100vw - 70px);
    padding:7px 10px;
    background:var(--top-button-bg);
    backdrop-filter:blur(15px);
    -webkit-backdrop-filter:blur(15px);
    border-radius:18px;
    box-shadow:0 8px 28px #0002;
}

.brand-logo{
    display:block;
    width:auto;
    height:48px;
    max-width:210px;
    object-fit:contain;
}

/* ============================================================
   GEMEENSCHAPPELIJKE BUTTONSTIJL
   ============================================================ */

.icon-btn{
    width:38px;
    height:38px;
    min-width:38px;
    min-height:38px;

    display:grid;
    place-items:center;

    padding:0;

    border:0;
    border-radius:50%;

    background:var(--top-button-bg);
    color:var(--top-button-icon);

    font-size:16px;

    cursor:pointer;

    box-shadow:
        0 4px 10px rgba(0,0,0,.12),
        0 10px 24px rgba(0,0,0,.08);

    transition:
        background .15s ease,
        color .15s ease,
        transform .15s ease,
        box-shadow .15s ease;
}

.icon-btn:active{
    transform:translateY(0);
}

.icon-btn:focus-visible{
    outline:3px solid rgba(128,162,3,.35);
    outline-offset:2px;
}

.icon-btn i{
    color:inherit;
    pointer-events:none;
}

.add-top-btn{
    font-size:18px;
}

.menu-btn{
    font-size:19px;
}

/* ============================================================
   TOP ACTIONS
   ============================================================ */

.top-actions{
    position:fixed;
    top:18px;
    right:18px;
    z-index:2100;

    display:flex;
    flex-direction:column;
    align-items:flex-end;

    gap:8px;
}

/* ============================================================
   UNIFORME MODAL BASIS
   ALLE DRIE EXACT DEZELFDE KAART
   ============================================================ */

.modal-card,
.brand-info-card{
    width:min(400px,calc(100vw - 24px));
    height:auto;
    min-height:0;
    max-height:calc(100dvh - 24px);

    padding:22px;
    margin:0;

    background:var(--surface);

    border:0;
    border-radius:24px;

    box-shadow:0 18px 55px #13271f2e;

    overflow:auto;

    scrollbar-width:none;
    -ms-overflow-style:none;

    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
}

.modal-card::-webkit-scrollbar,
.brand-info-card::-webkit-scrollbar{
    display:none;
    width:0;
    height:0;
}

/* ============================================================
   PANEL / MENU
   ============================================================ */

.panel-header{
    position:relative;

    display:flex;
    justify-content:center;
    align-items:flex-start;

    min-height:82px;

    text-align:center;
}

.panel-brand{
    width:100%;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.panel-logo{
    display:block;

    width:auto;
    max-width:230px;
    height:72px;

    object-fit:contain;

    margin:0 auto 8px;
}

.panel-header p{
    margin:5px 0 0;

    color:var(--muted);

    font-size:12px;
    font-weight:700;

    text-align:center;
}

/* ============================================================
   ZOEKEN
   ============================================================ */

.search-wrap{
    display:flex;
    align-items:center;
    gap:8px;

    height:46px;
    margin:20px 0 14px;
    padding:0 13px;

    border:1px solid #e1e8e4;
    border-radius:13px;

    background:#f7f9f8;
}

.search-wrap span{
    font-size:22px;
    color:#7d8984;
}

.search-wrap input{
    flex:1;
    min-width:0;

    border:0;
    outline:0;
    background:transparent;

    font:inherit;
    font-size:13px;
}

/* ============================================================
   LEGENDA
   ============================================================ */

.legend{
    padding-bottom:14px;
    border-bottom:1px solid #e7ece9;
}

.legend-heading{
    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:9px;
}

.section-title{
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:1.2px;
    font-weight:800;
    color:#89948f;
}

.legend-subtitle{
    margin-top:2px;

    font-size:10px;
    color:#9aa59f;
}

.legend-count{
    padding:5px 8px;

    border-radius:999px;

    background:#edf5f1;
    color:#2e8b68;

    font-size:9px;
    font-weight:800;

    text-transform:uppercase;
    letter-spacing:.7px;
}

.legend-list{
    display:grid;
    gap:5px;
}

.legend-item{
    display:flex;
    align-items:center;
    gap:10px;

    width:100%;
    padding:7px 8px;

    border:1px solid transparent;
    border-radius:13px;

    background:transparent;

    cursor:pointer;

    font:inherit;
    color:#56635e;
    text-align:left;
}

.legend-item:hover{
    background:#f5f8f6;
    border-color:#e4ece7;
}

.legend-item.active{
    background:#edf6f1;
    border-color:#d5e8df;
    color:#215f47;
}

.legend-symbol{
    width:32px;
    height:32px;
    flex:0 0 32px;

    display:grid;
    place-items:center;

    border-radius:10px;
    font-size:16px;
}

.legend-symbol:not(.all) {
    background: var(--category-color);
}

.legend-symbol.all {
    background: #E0E0E0;
}



.legend-label{
    display:flex;
    flex-direction:column;

    min-width:0;
    flex:1;
}

.legend-label strong{
    font-size:11px;
}

.legend-label small{
    margin-top:2px;

    font-size:9px;
    color:#89958f;
}

.legend-check{
    width:19px;
    height:19px;

    display:grid;
    place-items:center;

    opacity:0;

    border-radius:50%;

    background:#2e8b68;
    color:#fff;

    font-size:10px;
}

.legend-item.active .legend-check{
    opacity:1;
}

.legend-icon{
    width:22px;
    height:22px;
    display:block;
}

/* ============================================================
   AANMELDEN IN MENU
   ============================================================ */

.menu-signup{
    position:relative;

    flex:0 0 auto;

    margin-top:14px;
    padding:15px 14px 16px;

    text-align:center;

    background:linear-gradient(145deg,#edf7f2,#ffffff);

    border:1px solid #d8ebe2;
    border-radius:18px;

    box-shadow:0 6px 18px #245c4712;

    overflow:hidden;
}

.menu-signup-content{
    width:100%;
    min-width:0;
}

.menu-signup-content strong{
    display:block;

    margin:0 0 5px;

    color:#245c47;

    font-size:12px;
    line-height:1.3;
}

.menu-signup-content p{
    max-width:260px;

    margin:0 auto 12px;

    color:#718079;

    font-size:9.5px;
    line-height:1.45;
}

.menu-signup-btn{
    display:flex;
    align-items:center;
    justify-content:center;

    width:100%;
    max-width:205px;
    min-height:36px;

    margin:0 auto;
    padding:9px 14px;

    border:0;
    border-radius:10px;

    background:#2e8b68;
    color:#fff;

    font:inherit;
    font-size:12px;
    font-weight:700;

    cursor:pointer;

    box-shadow:0 4px 10px #2e8b6830;

    transition:
        transform .15s ease,
        background .15s ease,
        box-shadow .15s ease;
}

/* ============================================================
   LOCATIELIJST
   ============================================================ */


.custom-marker,.popup-placeholder {
    background: var(--category-color);
}



/* ============================================================
   MARKERS
   ============================================================ */

.custom-marker{
    width:36px;
    height:36px;

    display:grid;
    place-items:center;

    border:2px solid #fff;
    border-radius:50%;

    box-shadow:0 5px 14px #0004;

    transform:none;
}

.custom-marker span{
    transform:none;
    font-size:20px;
}

.marker-icon-img{
    width:22px;
    height:22px;

    display:block;

    margin:auto;

    object-fit:contain;
}

.popup-placeholder .marker-icon-img{
    width:60px;
    height:60px;
}

.ui-icon-img{
    width:22px;
    height:22px;

    display:block;

    object-fit:contain;
}


.info-icon {
   width:14px;
    height:14px;

    object-fit:contain;

    flex:0 0 14px;
}
/* ============================================================
   MARKER CLUSTER
   ============================================================ */

.custom-cluster-icon{
    background:transparent !important;
    border:0 !important;
}

.custom-cluster{
    width:36px;
    height:36px;

    display:grid;
    place-items:center;

    border:1px solid #fff;
    border-radius:50%;

    background:linear-gradient(145deg,#43aa7f,#267557);
    color:#fff;

    box-shadow:0 4px 12px #0004;

    font-size:12px;
    font-weight:600;
}

.custom-cluster span{
    line-height:1;
}

/* ============================================================
   POPUP
   ============================================================ */

.leaflet-popup-content-wrapper{
    padding:0;

    border-radius:19px;

    overflow:hidden;

    box-shadow:0 14px 45px #0004;
}

.leaflet-popup-content{
    width:min(310px, calc(100vw - 32px)) !important;
    margin:0;
}
.leaflet-popup-tip-container{
    left:50% !important;
    margin-left:-20px !important;
}
.popup-placeholder{
    position:relative;
overflow:hidden;
    height:130px;

    display:grid;
    place-items:center;

    overflow:hidden;

    color:#fff;
    font-size:48px;
}

.popup-placeholder-icon{
    width:100%;
    height:100%;

    display:grid;
    place-items:center;
}

.popup-placeholder-photo{
    position:absolute;
    inset:0;

    display:none;

    width:100%;
    height:100%;

    object-fit:cover;
}

.popup-placeholder.has-photo .popup-placeholder-icon{
    display:none;
}

.popup-placeholder.has-photo .popup-placeholder-photo{
    display:block;
}

.popup-body{
    padding:15px 16px 16px;
}

.popup-type{
    display:inline-flex;

    padding:4px 8px;

    border-radius:999px;

    background:#edf5f1;
    color:#2c7b5d;

    font-size:9px;
    font-weight:800;

    text-transform:uppercase;
}

.popup-type-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    flex-shrink: 0;
}
.popup h3{
    margin:8px 0 4px;
    font-size:18px;
	color:var(--category-color);
	font-weight:600;
}

.popup-address{
    color:#68756f;
    font-size:11px;
    line-height:1.4;
}

.popup-description{
    margin-top:9px;
    padding-top:8px;

    border-top:1px solid #e5ebe8;

    color:#68756f;

    font-size:11px;
    line-height:1.4;
}

.popup-description strong{
    display:block;

    margin-bottom:7px;

    color:#2c6f55;

    font-size:10px;
    line-height:1.3;
}


.popup-title{
    margin-top:9px;
    padding-top:8px;
border-top:1px solid #e5ebe8;
   

    color:#68756f;

    font-size:11px;
    line-height:1.4;
}

.popup-title strong{
    display:block;

    margin-bottom:7px;

    color:#2c6f55;

    font-size:10px;
    line-height:1.3;
}

.popup-title-noline{
    margin-top:9px;
    padding-top:8px;
   

    color:#68756f;

    font-size:11px;
    line-height:1.4;
}

.popup-title-noline strong{
    display:block;

    margin-bottom:7px;

    color:#2c6f55;

    font-size:10px;
    line-height:1.3;
}

/* ============================================================
   STATUS
   ============================================================ */

.status-line{
    display:flex;
    align-items:center;
    gap:5px;

    margin-top:10px;

    font-size:11px;
}

.status-good strong{
    color:#27815f;
}

.status-ok strong{
    color:#a77912;
}

.status-low strong{
    color:#bd4e4e;
}

.updated-line{
    margin-top:3px;

    color:#78847e;

    font-size:11px;
}

.updated-line em{
    display:block;

    margin-top:3px;

    color:#b06d22;

    font-style:normal;
}

.status-current{
    display:flex;
    align-items:center;
    gap:9px;

    margin-top:10px;
    padding:10px 11px;

    border:1px solid #e2e9e5;
    border-radius:12px;

    background:#f7f9f8;
}

.status-current > span{
    width:27px;
    height:27px;

    display:grid;
    place-items:center;

    border-radius:8px;

    background:#fff;

    font-size:15px;

    box-shadow:0 1px 4px #0000000a;
}

.status-current > div{
    display:flex;
    flex-direction:column;
    gap:2px;
}

.status-current small{
    color:#7d8983;

    font-size:8px;
    font-weight:800;

    letter-spacing:.8px;
    text-transform:uppercase;
}

.status-current strong{
    font-size:11px;
}

.status-current.status-good{
    border-color:#cfe8dc;
    background:#f2faf6;
}

.status-current.status-ok{
    border-color:#eadfbc;
    background:#fffaf0;
}

.status-current.status-low{
    border-color:#efd0d0;
    background:#fff7f7;
}


/* .status-buttons button.current{
    border:5px solid currentColor !important;
} */

.status-question{
    margin-top:13px;

    color:#53625b;

    font-size:10px;
    font-weight:800;
}

.status-buttons{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));

    gap:6px;

    margin-top:7px;
}

.status-buttons button{
    position:relative;

    min-width:0;
    min-height:38px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:4px;

    padding:8px 4px;

    border:1px solid #e1e8e4;
    border-radius:10px;

    background:#f8faf9;
    color:#596760;

    cursor:pointer;

    font-size:10px;
    font-weight:700;
    line-height:1.15;

    white-space:normal;
    overflow-wrap:anywhere;

    transition:.15s ease;
}

.status-buttons button:hover{
    transform:translateY(-1px);

    box-shadow:0 3px 10px #0000000d;
}

.status-buttons button:disabled{
    opacity:.5;
    cursor:wait;
    transform:none;
}

.status-btn-dot{
    width:18px;
    height:18px;

    display:flex;
    align-items:center;
    justify-content:center;

    flex:0 0 18px;
}

.status-btn-dot img{
    width:18px;
    height:18px;

    display:block;

    object-fit:contain;
}

.status-current img{
    width:20px;
    height:20px;

    display:block;

    object-fit:contain;
}

.popup-address{
    display:flex;
    align-items:center;
    gap:5px;
}

.status-buttons .status-good{
    border-color:#cfe8dc;
    background:#f3faf6;
    color:#267455;
}

.status-buttons .status-ok{
    border-color:#eadfbc;
    background:#fffaf0;
    color:#92701b;
}

.status-buttons .status-low{
    border-color:#efd0d0;
    background:#fff6f6;
    color:#a94f4f;
}

.status-buttons button.current{
    border:1px solid currentColor;

    font-weight:600;

    box-shadow:0 3px 10px #0000000d;
}

.status-buttons button.current.status-good{
    background:#e8f6ef;
}

.status-buttons button.current.status-ok{
    background:#fbf1d8;
}

.status-buttons button.current.status-low{
    background:#fbe7e7;
}

.status-feedback{
    min-height:15px;

    margin-top:6px;
    padding:0 4px;

    color:#2e8b68;

    font-size:8px;
    font-weight:800;

    text-align:center;
}

/* ============================================================
   BADGES
   ============================================================ */

.new-badge{
    display:inline-flex;
    vertical-align:middle;

    margin-left:5px;
    padding:3px 6px;

    border-radius:999px;

    background:#fff1c9;
    color:#8a6713;

    font-size:8px;
    font-weight:800;
    letter-spacing:.5px;
}

.verified-badge,
.unverified-badge{
    display:inline-block;
    vertical-align:middle;

    margin-left:5px;
    padding:4px 7px;

    border-radius:999px;

    font-size:8px;
    font-weight:800;
}

.verified-badge{
    background:#e7f6ed;
    color:#23764f;
}

.unverified-badge{
    background:#fff4df;
    color:#9a6b17;
}

/* ============================================================
   PROBLEEM MELDEN
   ============================================================ */

.popup-problem-btn{
    width:100%;

    margin-top:8px;
    padding:7px;

    border:1px solid #eadede;
    border-radius:9px;

    background:#f4f6f5;
    color:#a56b6b;

    font-size:9px;
    font-weight:700;

    cursor:pointer;
}

.problem-marker-info{
    margin-bottom:12px;
    padding:9px 10px;

    border-radius:10px;

    background:#f1f7f4;
    color:#39715a;

    font-size:11px;
    font-weight:700;
}

.problem-card .form-label{
    display:block;

    margin:11px 0 6px;

    color:#596760;

    font-size:10px;
    font-weight:800;
}

.problem-card .form-label span{
    color:#8b9691;
    font-weight:500;
}

.problem-card .form-control{
    width:100%;

    padding:9px;

    border:1px solid #dfe7e3;
    border-radius:10px;

    outline:none;

    background:#f8faf9;

    font:inherit;
    font-size:11px;
}

.problem-card select.form-control{
    height:38px;
}

.problem-card .modal-submit{
    width:100%;

    margin-top:12px;
    padding:10px;

    border:0;
    border-radius:10px;

    background:#2e8b68;
    color:#fff;

    font-weight:800;

    cursor:pointer;
}

.problem-card .modal-submit:disabled{
    opacity:.55;
    cursor:wait;
}


/* ============================================================
   LOCATIE / GEOLOCATIE
   ============================================================ */

.map-control-btn.location-btn{
    font-size:20px;
}
.location-btn.location-active i{
    color:var(--green) !important;
}


.location-btn.locating{
    animation:pulse-location 1.2s infinite;
}

@keyframes pulse-location{
    0%, 100%{
        box-shadow:0 0 0 0 #2e8b6800;
    }

    50%{
        box-shadow:0 0 0 6px #2e8b6820;
    }
}


.user-location-marker{
    width:16px;
    height:16px;

    border:2px solid #fff;
    border-radius:50%;

    background:#287cf0;

    box-shadow:0 2px 10px #0005;
}

.location-note{
    position:fixed;
    z-index:2000;

    left:50%;
    top:82px;

    transform:translateX(-50%);

    display:none;

    padding:9px 13px;

    border-radius:12px;

    background:#fff;
    color:#56635e;

    box-shadow:0 8px 25px #0003;

    font-size:11px;
    font-weight:700;
}

.location-note.show{
    display:block;
}

/* ============================================================
   AANMELD MODAL — INHOUD
   ============================================================ */

.modal{
    position:fixed;
    inset:0;
    z-index:3000;

    display:none;

    align-items:center;
    justify-content:center;

    padding:0;
}

.modal.open{
    display:flex;
}

.modal-backdrop{
    position:absolute;
    inset:0;

    background:rgba(15,23,42,.38);

    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);

    cursor:pointer;
}

.modal-card{
    position:relative;
    z-index:1;
}

.modal-card h2{
    margin:0 40px 7px 0;

    color:var(--text);

    font-size:25px;
    letter-spacing:-.6px;
}

.modal-intro{
    margin:5px 0 22px;

    color:var(--muted);

    font-size:12px;
    line-height:1.5;
}

.modal-close{
    position:absolute;
    z-index:5;

    top:14px;
    right:14px;

    width:34px;
    height:34px;

    border:0;
    border-radius:10px;

    background:#f1f4f2;
    color:var(--text);

    font-size:22px;
    line-height:1;

    cursor:pointer;
}


/* .modal-close {
    position: absolute;
    top: 14px;
    right: 14px;

    width: 34px;
    height: 34px;
    min-width: 34px;
    max-width: 34px;

    padding: 0;
    border: 0;
    border-radius: 10px;

    background: #f1f3f2;
    color: #4b5b52;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    line-height: 1;
    cursor: pointer;

    -webkit-appearance: none;
    appearance: none;
    flex: 0 0 32px;
}
*/
.modal-card label{
    display:block;

    margin:15px 0 7px;

    color:var(--text);

    font-size:12px;
    font-weight:700;
}

.modal-card label span{
    color:var(--muted);
    font-weight:400;
}

.modal-card form input,
.modal-card form select,
.modal-card form textarea{
    width:100%;

    padding:11px 12px;

    border:1px solid #dfe7e2;
    border-radius:11px;

    outline:none;

    background:#fff;
    color:var(--text);

    font:inherit;
}

.modal-card form input:focus,
.modal-card form select:focus,
.modal-card form textarea:focus{
    border-color:#5fa889;

    box-shadow:0 0 0 3px rgba(95,168,137,.14);
}

.modal-card textarea{
    min-height:90px;
    resize:vertical;
}

.photo-help,
#addLocationModal .upload-help{
    color:#7a8781;

    font-size:9.5px;
    line-height:1.3;
}

.photo-help{
    margin-top:-6px;
    margin-bottom:10px;
}

#addLocationModal .upload-help{
    margin-top:3px;
    margin-bottom:4px;
}

.photo-help strong,
#addLocationModal .upload-help strong{
    color:#2e8b68;
}

#newPhoto{
    width:100%;

    padding:8px;

    border:1px solid #dfe7e3;
    border-radius:10px;

    background:#f8faf9;

    font-size:11px;
}

.modal-submit{
    width:100%;

    margin-top:20px;
    padding:13px 16px;

    border:0;
    border-radius:11px;

    background:linear-gradient(145deg,#43aa7f,#267557);
    color:#fff;

    font-size:14px;
    font-weight:700;

    cursor:pointer;

    box-shadow:0 7px 18px rgba(38,117,87,.2);
}

.modal-submit:disabled{
    opacity:.6;
    cursor:wait;
}

.form-message{
    min-height:20px;

    margin-top:12px;

    font-weight:600;
    text-align:center;
}

.form-message.success{
    color:#16803c;
}

.form-message.error{
    color:#c62828;
}

/* ============================================================
   AANMELDEN — INHOUD BINNEN DE GEMEENSCHAPPELIJKE KAART
   ============================================================ */

#addLocationModal .modal-intro{
    margin:4px 0 9px;

    padding:8px 10px;

    border-radius:11px;

    background:#edf6f1;
    color:#477061;

    font-size:11px;
    line-height:1.35;
}

#addLocationModal form{
    display:grid;
    gap:0;
}

#addLocationModal label{
    margin:7px 0 4px;

    font-size:10.5px;
}

#addLocationModal input,
#addLocationModal select,
#addLocationModal textarea{
    padding:8px 10px;

    border:1px solid #e1e9e4;
    border-radius:10px;

    background:#fff;

    font-size:11px;
}

#addLocationModal textarea{
    min-height:55px;
    max-height:65px;

    resize:none;
}

#addLocationModal #newPhoto{
    padding:7px;

    font-size:10.5px;
}

#addLocationModal .photo-help{
    margin-top:3px;
    margin-bottom:4px;

    font-size:9.5px;
    line-height:1.3;
}

#addLocationModal .modal-submit{
    margin-top:10px;
    padding:10px 14px;

    font-size:13px;
}

#addLocationModal .form-message{
    min-height:16px;

    margin-top:6px;

    font-size:11px;
}

/* ============================================================
   INFORMATIEVENSTER
   Alleen inhoudelijk
   ============================================================ */

.brand-info-card{
    position:relative;
}

.brand-info-text{
    margin:0 0 14px;

    color:#667085;

    font-size:14px;
    line-height:1.55;
}

.brand-info-logo{
    display:flex;
    align-items:center;
    justify-content:center;

    margin:0 0 16px;
    padding:10px 0 6px;
}

.brand-info-logo img{
    display:block;

    width:auto;
    max-width:230px;
    height:72px;

    object-fit:contain;
}

.info-hero{
    display:flex;
    align-items:center;
    gap:12px;

    margin:0 35px 16px 0;
    padding:13px;

    border-radius:16px;

    background:linear-gradient(145deg,#edf7f1,#f7fbf9);
}

.info-hero-icon{
    width:46px;
    height:46px;
    flex:0 0 46px;

    display:grid;
    place-items:center;

    border-radius:14px;

    background:#41a66f;
    color:#fff;

    font-size:25px;
}

.info-hero h2{
    margin:0;

    font-size:22px;
    letter-spacing:-.4px;
}

.info-hero p{
    margin:3px 0 0;

    color:#718079;

    font-size:11px;
}

.info-box{
    display:flex;
    align-items:flex-start;
    gap:10px;

    margin:8px 0;
    padding:11px 12px;

    border:1px solid #e6ece8;
    border-radius:14px;
}

.info-box > span{
    width:32px;
    height:32px;
    flex:0 0 32px;

    display:grid;
    place-items:center;

    border-radius:10px;

    font-size:16px;
}

.info-box strong{
    display:block;

    margin-bottom:2px;

    font-size:11px;
}

.info-box p{
    margin:0;

    color:#68756f;

    font-size:10.5px;
    line-height:1.45;
}

.info-green{
    background:#f2faf6;
    border-color:#d6ebdf;
}

.info-green > span{
    background:#dff2e7;
}

.info-orange{
    background:#fff8ef;
    border-color:#f0dfc7;
}

.info-orange > span{
    background:#fae7cb;
}

.info-purple{
    background:#f7f4fc;
    border-color:#e5dcf2;
}

.info-purple > span{
    background:#e9e0f6;
}

.info-blue{
    background:#f1f7fc;
    border-color:#d7e5f1;
}

.info-blue > span{
    background:#dfeef9;
}

/* ============================================================
   VERBORGEN VELDEN
   ============================================================ */

.hp-field,
.sr-only{
    position:absolute !important;

    width:1px !important;
    height:1px !important;

    padding:0 !important;
    margin:-1px !important;

    overflow:hidden !important;

    clip:rect(0,0,0,0) !important;

    white-space:nowrap !important;

    border:0 !important;
}

.hp-field{
    left:-10000px !important;
    opacity:0 !important;
}

/* ============================================================
   KAARTKNOPPEN
   ============================================================ */

.leaflet-control-custom-zoom{
    position:fixed !important;

    right:18px !important;
    bottom:calc(var(--map-buttons-bottom) + env(safe-area-inset-bottom,0px)) !important;

    z-index:1200 !important;

    display:flex !important;
    flex-direction:column !important;
    align-items:flex-end !important;

    gap:8px !important;

    width:auto !important;
    height:auto !important;

    margin:0 !important;
    padding:0 !important;

    float:none !important;
    clear:none !important;

    border:0 !important;
    background:transparent !important;

    box-shadow:none !important;
}

.leaflet-control-custom-zoom .icon-btn{
    width:38px;
    height:38px;
    min-width:38px;
    min-height:38px;

    flex:0 0 38px;

    margin:0;
    padding:0;

    display:grid;
    place-items:center;

    border:0;
    border-radius:50%;

    background:#ffffff;
    color:var(--top-button-icon);

    box-shadow:
        0 4px 10px rgba(0,0,0,.12),
        0 10px 24px rgba(0,0,0,.08);

    font-size:16px;

    cursor:pointer;

    transition:
        background .15s ease,
        color .15s ease,
        transform .15s ease,
        box-shadow .15s ease;
}

.leaflet-control-custom-zoom .icon-btn:active{
    transform:translateY(0);
}

.leaflet-control-custom-zoom .icon-btn i{
    color:var(--text);
    pointer-events:none;
}

/* ============================================================
   DESKTOP
   ============================================================ */

@media(min-width:801px){

    .status-buttons button{
        min-height:38px;
        padding:8px 4px;
        font-size:10px;
    }
}

/* ============================================================
   TABLET / MOBILE
   ============================================================ */

@media(max-width:800px){

	.leaflet-popup-content-wrapper {
    max-width: calc(100vw - 24px);
}
	
	.modal{
        padding:12px;
    }
	
    .topbar{
        top:10px;
        left:10px;
        right:10px;
    }

    .brand{
        padding:5px 8px;
    }

    .brand-logo{
        height:40px;
        max-width:155px;
    }

    .top-actions{
        top:10px;
        right:10px;
        gap:7px;
    }

    .top-actions .icon-btn{
        width:38px;
        height:38px;
        min-width:38px;
        min-height:38px;
    }

	
    /* --------------------------------------------------------
       Menu-inhoud
       -------------------------------------------------------- */

    .legend{
        padding-bottom:10px;
    }

    .legend-list{
        gap:3px;
    }

    .legend-item{
        padding:6px 7px;
    }

    .legend-symbol{
        width:29px;
        height:29px;
        flex-basis:29px;
    }

    .locations-list{
        min-height:80px;
        margin-top:10px;
    }

    .add-location{
        margin-top:8px;
        padding:10px;
    }

    .add-location-content strong{
        font-size:11px;
    }

    .add-location-content p{
        font-size:9.5px;
    }

    .add-location-content a{
        padding:7px 10px;
        font-size:10px;
    }

 
  
    /* --------------------------------------------------------
       Kleine formulierinstellingen
       -------------------------------------------------------- */

    .status-buttons{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:5px;
    }

    .status-buttons button{
        min-height:36px;
        padding:7px 3px;
        font-size:8.5px;
    }

    .status-btn-dot{
        font-size:10px;
    }

    .new-badge{
        font-size:7px;
    }

    /* --------------------------------------------------------
       Locatie-notificatie
       -------------------------------------------------------- */

    .location-note{
        top:66px;
    }

    /* --------------------------------------------------------
       Kaartknoppen mobiel
       -------------------------------------------------------- */

    .leaflet-control-custom-zoom{
        right:10px !important;
        bottom:var(--map-buttons-bottom) !important;
        gap:7px !important;
    }

    .leaflet-control-custom-zoom .icon-btn{
        width:38px;
        height:38px;
        min-width:38px;
        min-height:38px;
        flex-basis:38px;
        border-radius:50%;
    }

    /* --------------------------------------------------------
       Markers mobiel
       -------------------------------------------------------- */

    .custom-marker{
        width:36px;
        height:36px;
    }

    .custom-marker span{
        font-size:20px;
    }

    .custom-cluster{
        width:36px;
        height:36px;
        font-size:11px;
        border-width:1px;
    }

    /* --------------------------------------------------------
       Logo's
       -------------------------------------------------------- */

    .brand-info-logo img,
    .panel-logo{
        max-width:200px;
        height:62px;
    }

    /* --------------------------------------------------------
       Aanmeldformulier — alleen inhoud
       -------------------------------------------------------- */

    #addLocationModal .modal-card h2{
        margin-bottom:4px;
        font-size:20px;
    }

    #addLocationModal .modal-intro{
        padding:7px 9px;
        margin-bottom:7px;
        font-size:10.5px;
    }

    #addLocationModal label{
        margin:6px 0 3px;
        font-size:10px;
    }

    #addLocationModal input,
    #addLocationModal select,
    #addLocationModal textarea{
        padding:7px 9px;
        font-size:11px;
    }

    #addLocationModal textarea{
        min-height:48px;
        max-height:58px;
    }

    #addLocationModal .modal-submit{
        margin-top:8px;
        padding:9px 12px;
    }

    .add-location-btn{
        width:auto;
    }
}

/* ============================================================
   KLEINE SCHERMEN
   ============================================================ */

@media(max-width:600px){

    .modal-card h2{
        font-size:21px;
    }

    #addLocationModal .modal-intro{
        margin-bottom:10px;
    }

    .brand-info-logo img,
    .panel-logo{
        max-width:200px;
        height:62px;
    }
}

/* ============================================================
   ZEER KLEINE SCHERMEN
   ============================================================ */

@media(max-width:520px){

	.leaflet-popup-content {
    width: min(300px, calc(100vw - 40px)) !important;
}
	.leaflet-popup-content-wrapper {
    border-radius: 14px;
}
	
	.modal{
        padding:10px;
    }
	
    .brand-logo{
        height:36px;
        max-width:135px;
    }
}
/* ============================================================
   LEAFLET
   Aangepaste dingen
   ============================================================ */
.leaflet-popup-close-button{
    z-index:10 !important;

    width:20px !important;
    height:20px !important;

    top:10px !important;
    right:10px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    padding:0 !important;
    margin:0 !important;

    border:0 !important;
    border-radius:50% !important;

    background:rgba(255,255,255,.92) !important;
    color:#596760 !important;

    font-size:15px !important;
    font-weight:400 !important;
    line-height:1 !important;

    text-align:center !important;

    box-shadow:0 3px 10px rgba(0,0,0,.22) !important;

    opacity:1 !important;
}


/* ============================================================
   ACTIEVE MARKER
   ============================================================ */

.custom-marker.active{
    transition:opacity .18s ease;
}

.custom-marker.active::after{
    content:"";

    position:absolute;
    inset:-5px;

    border:2px solid #80a203;
    border-radius:50%;

    animation:markerPulse .8s infinite;
}

@keyframes markerPulse{

    0%{
        transform:scale(.9);
        opacity:.9;
    }

    100%{
        transform:scale(1.4);
        opacity:0;
    }

}
/* ============================================================
   QR + DEEL BUTTONS
   ============================================================ */

.popup-actions{
    display:flex;
    flex-direction:row;
    align-items:stretch;
    gap:6px;

    width:100%;
    margin-top:8px;
}

.popup-actions .popup-qr-btn,
.popup-actions .popup-share-btn{
    display:flex;
    align-items:center;
    justify-content:center;

    flex:1 1 0;
    width:0;
    height:29px;

    box-sizing:border-box;
    margin:0;
    padding:0 8px;

    border:1px solid #e1e5e2;
    border-radius:9px;

	background:#f4f6f5;
    color:#69766f;

    text-align:center;
    text-decoration:none;

    font-size:9px;
    font-weight:700;
    line-height:1;
}