#plxmap {
    height: 100vh;
    width: 100%;
    position: relative;
}

canvas.mapboxgl-canvas {
    width: 100% !important;
}

/* Business Markers*/
.plexMarker {
    position: absolute;
    transform-origin: bottom center;
    cursor: pointer;
    z-index: 1;
}

.plexMarker::after {
    width:0;
    height:0;
    border-right:20px solid transparent;
    border-left:20px solid transparent;
    border-top:20px solid #fff;
}

.marker-content {
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 15px;
    padding: 4px 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    white-space: nowrap;
    font-size: 12px;
    border: 1px solid #ddd;
}

.marker-content img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 1000px;
}

.marker-title {
    font-weight: bold;
    color: #333;
}

.marker-rating {
    color: #FF8800;
    font-weight: bold;
}

.nmp_mapboxgl-marker {
    transform: none !important;
    transform-origin: bottom center !important;
    position: absolute !important;
    will-change: transform;
}

/* The Business Information Panel */
#business-info {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: bottom 0.3s ease;
    z-index: 999;
    padding: 30px 15px;
}

#business-info.active {
    bottom: 0;
}

#map-business-rating {
    color:var(--primary-color);
}

#close-info {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}
div#business-map-content {
    display: flex;
    gap: 15px;
    padding-right: 25px;
    justify-content: center;
    align-items: center;
}

img#map-business-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 1000px;
}

.map-business-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

div#map-business-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.map-business-button {
    background:#FF8800;
    color:#fff;
    border-radius: 10px;
    padding: 8px 15px;
    font-size: 0.8em;
}

#close-business-map-info {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    border-radius: 1000px;
    padding: 5px;
    border: 0px;
    background: #000;
    color: #fff;
}

/* Business Cats */
.map-cats {
    position: fixed;
    display: flex;
    gap:10px;
    top:10px;
    width:80%;
    overflow-x:scroll;
    max-height:200px;
    right:5px;
}

.map-cat {
    display: flex;
    align-items: center;
    gap:5px;
    background:rgba(255,255,255,0.4);
    backdrop-filter: blur(15px);
    color:#000;
    padding: 8px 15px;
    font-size: 0.8em;
    font-weight: 300;
    border:0px;
    border-radius: 10px;
}
.map-cat.active {
    background: var(--primary-color);
    color:#fff;
    font-weight: 600;
}