.leaflet-control.leaflet-compass {
    position:relative;
    color:#1978cf;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 7px rgba(0,0,0,0.65);
    /*margin-left:10px;
    margin-top:10px;*/
}
.leaflet-compass .compass-button {
    display:block;
    float:left;
    width:36px;
    height:36px;
    border-radius:4px;
    cursor: pointer; /* Aggiunto per mostrare che è cliccabile */
}

.leaflet-compass .compass-button.active {
    background: #fff;
}

.leaflet-compass .compass-icon {
    height: 32px;
    width: 32px;
    margin: 2px;
    /*background: url('compass-icon.png') center center no-repeat;*/
    background: url('compass-icon-disabled.svg') center center no-repeat;
    background-size: contain; /* Assicura che l'SVG si adatti */
}

/* Icona quando il pulsante ha la classe .active (quando è ABILITATO) */
.leaflet-compass .compass-button.active .compass-icon {
    /* Sovrascrive l'immagine con quella attiva */
    background: url('compass-icon.svg') center center no-repeat;
    background-size: contain;
}

.leaflet-compass .compass-digit {
}

.leaflet-compass .compass-alert {
    position:absolute;
    right:0;
    bottom:-30px;
    width:100px;
    padding:2px;
    line-height:.95em;
    color:#e00;
    border: 1px solid #888;	
    background-color: rgba(255, 255, 255, 0.75);
    border-radius:4px;
}
