/**
 * Style CSS dla wtyczki mapy z pomiarem odległości do kantorów
 */

.kantor-revers-mapa-container {
    margin: 20px 0;
    font-family: Arial, Helvetica, sans-serif;
}

.kantor-revers-mapa-header {
    margin-bottom: 15px;
}

.kantor-revers-mapa-header h2 {
    margin-bottom: 10px;
    font-size: 24px;
    color: #333;
}

.kantor-revers-mapa-header p {
    margin-bottom: 15px;
    color: #666;
}

.kantor-revers-mapa {
    width: 100%;
    height: 600px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.kantor-revers-mapa-info {
    margin-top: 20px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 4px;
    color: #444;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.kantor-revers-mapa-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.kantor-revers-mapa-info p {
    margin-bottom: 0;
    line-height: 1.5;
}

.kantor-revers-mapa-legend {
    background: white;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 15px;
    border-radius: 4px;
    margin-top: 15px;
    line-height: 1.5;
    color: #555;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.kantor-revers-mapa-legend i {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    opacity: 0.7;
    vertical-align: middle;
}

.kantor-revers-mapa-legend i.punkt-marker {
    background-color: #e41a1c;
    border-radius: 50%;
}

.kantor-revers-mapa-legend i.kantor-marker {
    background-color: #3388ff;
    border-radius: 50%;
}

/* Marker lokalizacji */
.lokalizacja-marker {
    background-color: #e41a1c;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Style dla popup */
.leaflet-popup-content {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.leaflet-popup-content strong {
    font-weight: bold;
    color: #333;
}

/* Responsywność */
@media (max-width: 768px) {
    .kantor-revers-mapa {
        height: 450px;
    }
    
    .kantor-revers-mapa-header h2 {
        font-size: 20px;
    }
    
    .kantor-revers-mapa-info {
        font-size: 14px;
    }
    
    .kantor-revers-mapa-legend {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .kantor-revers-mapa {
        height: 350px;
    }
    
    .kantor-revers-mapa-header h2 {
        font-size: 18px;
    }
    
    .kantor-revers-mapa-info {
        font-size: 13px;
    }
}