/* ==========================================================================
   Map Hover Popup
   ========================================================================== */

.map-hover-popup {
    position: fixed;
    z-index: 1100;
    width: max-content;
    max-width: 320px;
    padding: .85rem 1rem;
    color: #fff;
    background: rgba(20, 20, 30, .96);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: .5rem;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .25);
    pointer-events: none;
}

.map-hover-popup[hidden] {
    display: none;
}

.map-hover-popup-state {
    font-size: 1.05rem;
    font-weight: 700;
}

.map-hover-popup-classification {
    margin-top: .1rem;
    font-size: .85rem;
    font-weight: 600;
    opacity: .75;
}

.map-hover-popup-content {
    margin-top: .55rem;
    font-size: .9rem;
    line-height: 1.4;
}

.map-hover-popup-field + .map-hover-popup-field {
    margin-top: .4rem;
}

.map-hover-popup-label {
    font-weight: 700;
}


/* ==========================================================================
   Child Records
   ========================================================================== */

.map-hover-popup-record {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 0;
}

.map-hover-popup-record + .map-hover-popup-record {
    margin-top: .5rem;
}

.map-hover-popup-record-image {
    display: block;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    object-fit: contain;
}

.map-hover-popup-record-name {
    min-width: 0;
    font-weight: 600;
    line-height: 1.25;
}
