/**
 * Styles pour la section localisation personnalisée
 * Thème: WPRentals-Child
 */

/* Conteneur principal */
.custom-location-section {
    border-top: 1px solid #eee;
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 30px;
    padding-right: 30px;
    margin: 0 auto 30px;
    max-width: 1200px;
    width: 100%;
}

.custom-location-section-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #222;
}

/* Adresse */
.custom-location-address {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

/* Conteneur de la carte */
.custom-location-map-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

/* Carte */
.custom-location-map {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
}

/* Carte en plein écran */
.custom-location-map.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    border-radius: 0;
}

/* Contrôles de la carte */
.custom-location-map-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.custom-location-map-zoom-in,
.custom-location-map-zoom-out,
.custom-location-map-fullscreen {
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease;
}

.custom-location-map-zoom-in:hover,
.custom-location-map-zoom-out:hover,
.custom-location-map-fullscreen:hover {
    background-color: #f5f5f5;
}

.custom-location-map-zoom-in i,
.custom-location-map-zoom-out i,
.custom-location-map-fullscreen i {
    color: #333;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .custom-location-map-wrapper {
        height: 300px;
    }
    
    .custom-location-section {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
}
