/* ===========================================================
   FIRE INTELLIGENCE EUROPE 3.0
   MAP.CSS
=========================================================== */

/* ===========================
   Map Container
=========================== */

.map-container{

    position:relative;

    width:100%;

    height:100%;

    overflow:hidden;

    background:#08111d;

}

/* ===========================
   Leaflet Map
=========================== */

#map{

    width:100%;

    height:100%;

    z-index:1;

}

/* ===========================
   Leaflet Controls
=========================== */

.leaflet-control-container{

    font-family:'Inter',sans-serif;

}

.leaflet-bar{

    border:none !important;

    box-shadow:0 10px 30px rgba(0,0,0,.35);

}

.leaflet-bar a{

    width:40px;

    height:40px;

    line-height:40px;

    background:#162235;

    color:#fff;

    border:none;

}

.leaflet-bar a:hover{

    background:#ff5d2a;

}

.leaflet-control-attribution{

    background:rgba(15,24,40,.85);

    color:#c9d2df;

    border-radius:8px;

    padding:4px 8px;

}

/* ===========================
   Floating Toolbar
=========================== */

.floating-toolbar{

    position:absolute;

    top:20px;

    right:20px;

    display:flex;

    flex-direction:column;

    gap:12px;

    z-index:900;

}

.floating-toolbar button{

    width:48px;

    height:48px;

    background:#162235;

    color:#fff;

    border:none;

    border-radius:12px;

    font-size:20px;

    cursor:pointer;

    transition:.25s;

    box-shadow:0 10px 25px rgba(0,0,0,.35);

}

.floating-toolbar button:hover{

    background:#ff5d2a;

    transform:translateY(-2px);

}

/* ===========================
   Floating Statistics
=========================== */

.floating-stats{

    position:absolute;

    left:20px;

    bottom:20px;

    display:flex;

    gap:16px;

    z-index:900;

}

.floating-card{

    min-width:120px;

    background:rgba(22,34,53,.92);

    backdrop-filter:blur(10px);

    border-radius:14px;

    padding:16px;

    box-shadow:0 12px 30px rgba(0,0,0,.35);

    border:1px solid rgba(255,255,255,.08);

}

.floating-card .value{

    display:block;

    font-size:28px;

    font-weight:700;

    color:#fff;

}

.floating-card .label{

    display:block;

    margin-top:6px;

    font-size:13px;

    color:#9fb0c5;

}

/* ===========================
   Custom Marker
=========================== */

.fire-marker{

    width:18px;

    height:18px;

    border-radius:50%;

    background:#ff5d2a;

    border:3px solid #fff;

    box-shadow:0 0 20px rgba(255,93,42,.8);

}

.aircraft-marker{

    width:18px;

    height:18px;

    border-radius:50%;

    background:#0984e3;

    border:3px solid white;

}

.helicopter-marker{

    width:18px;

    height:18px;

    border-radius:50%;

    background:#00cec9;

    border:3px solid white;

}

/* ===========================
   Popup
=========================== */

.leaflet-popup-content-wrapper{

    background:#162235;

    color:white;

    border-radius:14px;

}

.leaflet-popup-tip{

    background:#162235;

}

.leaflet-popup-content{

    font-size:14px;

    line-height:1.5;

}

/* ===========================
   Scale
=========================== */

.leaflet-control-scale{

    margin-bottom:20px;

}

/* ===========================
   Loading Overlay
=========================== */

.map-loading{

    position:absolute;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(8,17,29,.75);

    color:white;

    font-size:20px;

    z-index:950;

}

/* ===========================
   Animation
=========================== */

@keyframes firePulse{

    0%{

        transform:scale(0.8);

        opacity:.7;

    }

    50%{

        transform:scale(1.25);

        opacity:1;

    }

    100%{

        transform:scale(0.8);

        opacity:.7;

    }

}

.fire-marker{

    animation:firePulse 2s infinite;

}
