/* Contenedor del mapa */
#interactive-map {
    height: 450px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-top: 20px;
}

/* Marcadores personalizados */
.custom-marker {
    background: transparent;
}

.marker-container {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--marker-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.marker-number {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

/* Hover efecto para los marcadores */
.marker-container:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Estilos para los controles del mapa */
.leaflet-control-zoom {
    border: none !important;
    margin: 15px !important;
}

.leaflet-control-zoom a {
    background-color: white !important;
    border: none !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    color: #666 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
}

.leaflet-control-zoom-in {
    border-radius: 4px 4px 0 0 !important;
}

.leaflet-control-zoom-out {
    border-radius: 0 0 4px 4px !important;
}

/* Estilos para los popups */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.leaflet-popup-tip {
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.leaflet-popup-content {
    margin: 12px;
    font-family: inherit;
}

.leaflet-popup-content h4 {
    font-family: inherit;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Lista de ubicaciones */
.location-category h3 {
    font-family: inherit;
    color: var(--category-color);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #333;
}

.location-item {
    cursor: pointer;
    font-size: small;
    transition: all 0.2s ease;
}

.location-item:hover {
    color: var(--category-color);
    padding-left: 5px;
}

.location-number {
    color: var(--category-color);
    font-weight: 500;
    margin-right: 8px;
}

/* Layout general */
.map-container {
    display: flex;
    background-color: #FEFCF3;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 1400px;
    padding: 20px;
}

.map-wrapper {
    flex: 1;
    padding: 0 20px;
}

.locations-list {
    flex: 0.6;
    padding: 20px 60px;
}

/* Estilos para el marcador principal */
.main-marker {
    background: transparent;
}

.main-marker-container {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-marker-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-marker-dot {
    width: 12px;
    height: 12px;
    background-color: #007cba;
    border: 2px solid white;
    border-radius: 50%;
    margin: auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.location-category .location-items {
    display: none;
}

.location-category.active .location-items {
    display: block;
}

.location-category h3 {
    margin-top: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.main-location-title {
    color: #333;
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 1px solid #333;
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .map-container {
        flex-direction: column;
    }
    
    #interactive-map {
        height: 400px;
    }
}