#wiznet-map-wrapper{
    position:relative;
}

#wiznet-last-updated{

    font-family:Arial,sans-serif;

    font-size:14px;

    color:#555;

    background:#f5f5f5;

    border:1px solid #ddd;

    border-radius:5px;

    padding:8px 12px;

}

#wiznet-map{

    width:100%;
    height:500px;
}

#wiznet-loading{

    position:absolute;

    top:55px;

    left:50%;

    transform:translateX(-50%);

    z-index:1000;

    background:rgba(0,0,0,.75);

    color:#fff;

    padding:10px 18px;

    border-radius:8px;

    font-size:14px;

    font-family:Arial,sans-serif;

    box-shadow:0 3px 10px rgba(0,0,0,.25);

}

/* ==========================================
   Online Station Halo
========================================== */

.wiznet-halo{
    pointer-events:none;
}

/* ==========================================
   Leaflet Zoom Controls
========================================== */

.leaflet-control-zoom a{
    color:#000 !important;
    background:#fff !important;
    font-weight:bold;
}

.leaflet-control-zoom a:hover{
    color:#000 !important;
    background:#f5f5f5 !important;
}


/* ==========================================
   Popup Tabs
========================================== */

.wiznet-popup{
    min-width:220px;
}

.wiznet-popup-title{
    margin-bottom:10px;
    font-size:15px;
}

.wiznet-tabs{
    display:flex;
    gap:6px;
    margin-bottom:10px;
}

.wiznet-tab{

    flex:1;

    padding:6px 10px;

    border:1px solid #d1d5db;

    background:#f3f4f6;

    cursor:pointer;

    border-radius:4px;

    font-size:13px;

}


button.wiznet-tab {
    font-weight: 300!important;
}

.wiznet-tab.active{

    background:#2563eb;

    color:#fff;

    border-color:#2563eb;

}

.wiznet-tab-content{

    display:none;

    line-height:1.6;

}

.wiznet-tab-content.active{

    display:block;

}

.wiznet-label{

    background:transparent !important;

    border:none !important;

    box-shadow:none !important;

    color:#000;

    font-size:11px;

    font-weight:bold;

    white-space:nowrap;

    margin-left:10px;

    margin-top:-8px;

    pointer-events:none;

}


/* ==========================
   Collapsible Legend
========================== */

.wiznet-legend-wrapper {
    position: absolute;
    right: 15px;
    bottom: 15px;
    z-index: 1000;
    font-family: Arial, sans-serif;
}

/* Legend button */

.wiznet-legend-toggle {
    display: block;
    border: none;
    background: #fff;
    color: #222;
    padding: 2px 10px!important;
    border-radius: 6px;
    font-size: 14px!important;
    font-weight: 600!important;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    text-transform: uppercase!important;
}

/* Legend panel */

.wiznet-legend {
    position: absolute;
    right: 0;
    bottom: 42px;

    background: #fff;
    padding: 12px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);

    font-size: 13px;
    line-height: 1.6;
    min-width: 150px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;
}

/* Open state */

.wiznet-legend-wrapper.open .wiznet-legend {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Legend heading */

.wiznet-legend h4 {
    margin: 0 0 10px;
    font-size: 14px;
}

/* Close button */



.wiznet-legend-close {
    position: absolute;
    background: none !important;
    color: black !important;
    font-weight: 500!important;
    border: none!important;
    top: 2px!important;
    right: 5px!important;
    padding: 0!important;
    font-size: 21px!important;
    box-shadow: none!important;
}

/* Divider */

.wiznet-legend hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 10px 0;
}

/* Legend item */

.legend-item {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

/* Status dots */

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

.legend-dot.online {
    background: #00b050;
}

.legend-dot.notfixed {
    background: #ff0000;
}

.legend-dot.offline {
    background: #000;
}

/* Subnet rings */

.legend-ring {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 3px solid;
    background: #fff;
    margin-right: 8px;
    box-sizing: border-box;
}

.legend-ring.cent {
    border-color: #2563eb;
}

.legend-ring.west {
    border-color: #f59e0b;
}

.legend-ring.east {
    border-color: #ec4899;
}