/**
 * Style dla bloku mapy restauracji w kategorii.
 */

/* Style dla edytora */
.branch-directory-map-placeholder {
    background-color: #f8f9fa;
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 4px;
}

.branch-directory-map-placeholder-content {
    padding: 20px;
    max-width: 80%;
}

.branch-directory-map-placeholder .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: #ff6b6b;
}

.branch-directory-map-placeholder h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
}

.branch-directory-map-placeholder p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

/* Style dla frontu */
.restaurant-category-map-container {
    width: 100%;
    margin-bottom: 30px;
    max-width: 100%;
    box-sizing: border-box;
}

.restaurant-category-map {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Style dla niestandardowych markerów z avatarami */
.custom-marker {
    background: none;
    border: none;
}

.marker-container {
    position: relative;
    width: 40px;
    height: 40px;
}

.marker-avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    z-index: 2;
}

.marker-pin {
    position: absolute;
    top: 15px;
    left: 10px;
    width: 20px;
    height: 25px;
    background-color: #2c3e50;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    z-index: 1;
}

.marker-pin.featured {
    background-color: #e74c3c;
}

.marker-pin:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background-color: #fff;
    border-radius: 50%;
}

/* Responsywność */
@media (max-width: 768px) {
    .restaurant-category-map {
        height: 400px !important;
    }
}

@media (max-width: 480px) {
    .restaurant-category-map {
        height: 300px !important;
    }
}
