body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

.ui.sidebar {
    width: 260px !important;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.bottom-item {
    margin-top: auto;
    border-top: 1px solid rgba(34,36,38,.1);
}

.pusher {
    height: 100%;
    margin-left: 260px !important;
    position: relative;
    width: calc(100% - 260px) !important;
}

#map {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

/* Base class for 16:9 ratio */
.map-export-mode {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 1920px !important;
    height: 1080px !important;
    z-index: 2000;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

/* Custom styles for Provider markers */
.provider-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.cloudflare-marker { background-color: #F38020; }
.zscaler-marker { background-color: #0066CC; }
.cato-marker { background-color: #5B2B82; }

/* Custom user marker when no logo */
.user-marker-fallback {
    width: 14px;
    height: 14px;
    background-color: #db2828;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    cursor: pointer;
}

/* Custom user marker with logo */
.user-marker-logo {
    width: 32px;
    height: 32px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    filter: drop-shadow(0px 2px 3px rgba(0,0,0,0.3));
}

/* Tooltip tweak for maplibre */
.maplibregl-popup-content {
    font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
    padding: 12px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
