﻿.location-map-component {
    width: 100%;
}

.location-map-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .65rem;
    margin-bottom: 1.25rem;
}

.location-map-filter {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem 1rem;
    border: 1px solid rgba(7, 26, 60, .18);
    border-radius: 999px;
    background: #fff;
    color: #071a3c;
    font-size: .9rem;
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

    .location-map-filter:hover {
        border-color: #071a3c;
        transform: translateY(-1px);
    }

    .location-map-filter.active {
        border-color: #071a3c;
        background: #071a3c;
        color: #fff;
    }

.location-map-filter-dot {
    display: inline-block;
    width: .7rem;
    height: .7rem;
    border: 2px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(7, 26, 60, .18);
}

.location-map-card {
    width: 100%;
    height: 500px;
    padding: 0;
    overflow: hidden;
    border-radius: 30px;
    background: #e8ecef;
}

.gelarto-location-map {
    width: 100%;
    height: 100%;
}

.location-map-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 2rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, .8);
    color: #071a3c;
    text-align: center;
}

    .location-map-empty i {
        margin-bottom: 1rem;
        font-size: 2rem;
        color: #e50051;
    }

/* Marker Mapbox */

.gelarto-map-marker {
    width: 46px;
    height: 54px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.gelarto-map-marker-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 2px auto 0;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: var(--marker-color, #071a3c);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .28);
    transform: rotate(-45deg);
}

.gelarto-map-marker-content {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .95rem;
    font-weight: 800;
    line-height: 1;
    transform: rotate(45deg);
}

    .gelarto-map-marker-content.marker-brand-small {
        font-size: .65rem;
        letter-spacing: -.05em;
    }

/* Popup */

.gelarto-map-popup {
    min-width: 220px;
    color: #071a3c;
    font-family: "Work Sans", sans-serif;
}

.gelarto-map-popup-category {
    margin-bottom: .25rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gelarto-map-popup-title {
    margin-bottom: .45rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.gelarto-map-popup-description {
    margin-bottom: .65rem;
    color: #4d5663;
    font-size: .85rem;
    line-height: 1.45;
    white-space: pre-line;
}

.gelarto-map-popup-address {
    margin-bottom: .65rem;
    color: #4d5663;
    font-size: .82rem;
    line-height: 1.4;
}

.gelarto-map-popup-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.gelarto-map-popup-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: #071a3c;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

    .gelarto-map-popup-link:hover {
        color: #e50051;
    }

.mapboxgl-popup-content {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.mapboxgl-ctrl-group {
    overflow: hidden;
    border-radius: 12px;
}

@media (max-width: 767.98px) {
    .location-map-card {
        height: 430px;
        border-radius: 22px;
    }

    .location-map-filters {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: .35rem;
    }

    .location-map-filter {
        flex: 0 0 auto;
    }
}
