:root {
    --eulm-brand-color: #C80C0E; /* BRAND COL */
    --eulm-text-color: #333;
    --eulm-secondary-color: #555;
    --eulm-light-gray: #f0f0f0;
}


/* Container */
.eulm-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Map placeholder */
#eulm-map {
    width: 100%;
    height: 400px;
    background-color: #f0f0f0;
    margin-bottom: 30px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* 2. MARKER STYLING */

.eulm-custom-marker {
    background-color: var(--eulm-brand-color);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
    transition: all 0.2s ease-out;
    cursor: pointer;
}

/* Povećavanje na hover/fokus */
.eulm-custom-marker:hover,
.leaflet-marker-icon.leaflet-interactive:focus .eulm-custom-marker {
    transform: scale(1.8);
    background-color: var(--eulm-brand-color);
    z-index: 1000;
}


/* 3. POPUP */
.leaflet-popup-content-wrapper {
    min-width: 250px !important; 
}

.leaflet-popup-content {
    font-size: 1.2rem; /* veličina */
    line-height: 1.5;
    color: var(--eulm-text-color);
    min-width: 230px !important; 
}

.leaflet-popup-content strong {
    font-size: 1.1em;
    color: var(--eulm-brand-color);
}
.leaflet-popup-content a {
    color: var(--eulm-brand-color);
}

.eulm-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    padding: 0 10px; 
}

.eulm-select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    flex: 1 1 45%; 
    min-width: 120px;
    font-size: 14px;
    background-color: #fff;
    color: var(--eulm-text-color);
    box-sizing: border-box; 
	height: 2.9em; 
    line-height: 1.2;
}

@media (max-width: 991px) {
    .eulm-filters {
        gap: 0; 
    }
    .eulm-select {
        flex: 1 1 100%;
        min-width: 100%;
        margin-bottom: 15px; 
    }
    .eulm-filters .eulm-select:last-child {
        margin-bottom: 0;
    }
}

/* List Title */
.eulm-list-title {
    margin-bottom: 20px;
    font-size: 1.5em;
    color: var(--eulm-text-color);
}

/* List Layout - Mobile */
.eulm-location-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 992px) {
    .eulm-location-list {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 columns */
        gap: 20px;
    }
}

/* List Items */
.eulm-location-item {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 6px;
    background: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.eulm-location-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.eulm-location-name {
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 5px;
    color: var(--eulm-brand-color);
}

.eulm-location-type {
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--eulm-secondary-color);
    background: #f9f9f9;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
}

.eulm-location-secondary {
    font-size: 0.95em;
    color: var(--eulm-secondary-color);
    margin-bottom: 15px;
    line-height: 1.5;
}

.eulm-location-country {
    font-weight: 600;
}

/* Icons / Actions */
.eulm-location-icons {
    display: flex;
    gap: 10px;
    margin-top: auto; 
    padding-top: 15px;
    border-top: 1px solid #f5f5f5;
}

.eulm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--eulm-light-gray);
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.2s;
    color: var(--eulm-brand-color);
}

.eulm-icon:hover {
    background-color: #e0e0e0;
}

/* Ikone Dashicons */
.eulm-icon::before {
    font-family: dashicons;
    font-size: 18px;
}
.eulm-icon-phone::before { content: "\f525"; } 
.eulm-icon-email::before { content: "\f466"; } 
.eulm-icon-web::before { content: "\f319"; }   
.eulm-icon-gmaps::before { content: "\f230"; } 

/* Helper for JS filtering */
.eulm-hidden {
    display: none !important;
}

