.enest-map {
    width: 100%;
    height: 768px;
    border-radius: 0px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: opacity 1s ease;
}




.label-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999; /* 👈 ensures labels appear above map */
    pointer-events: none;
}

.fancy-label {
    position: absolute;
    pointer-events: auto;
    cursor: pointer;
    transform: translate(-50%, -100%);
    z-index: 10000;
}

.fancy-label-box {
    background: #283651;
    color: #fff;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    white-space: normal;
    word-wrap: break-word;
    max-width: 160px;
    position: relative;
    transition: all 0.3s ease;
}

.fancy-label-arrow {
    position: absolute;
    bottom: -6px;
    left: 50%;
    margin-left: -6px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #283651;
}

.fancy-label.right .fancy-label-box { transform: translateX(10px); }
.fancy-label.left .fancy-label-box { transform: translateX(-10px); }

.fancy-label:hover .fancy-label-box {
    background: #3b4b75;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.8);
}

.marker-popup h4 {
    margin: 0 0 5px;
    color: #283651;
}
.marker-popup a {
    color: #0078ff;
    text-decoration: none;
}
.marker-popup a:hover {
    text-decoration: underline;
}
