div.leaflet-marker-icon.location-filter.resize-marker {
    background: url( img/resize-handle.png ) no-repeat;  
    cursor: move;
}
div.leaflet-marker-icon.location-filter.move-marker {
    background: url( img/move-handle.png ) no-repeat;  
    cursor: move;
}

div.location-filter.button-container {
    background: none!important;
    background: none!important;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    border-radius: 7px;
    padding-right: 2px;
}
.leaflet-container div.location-filter.button-container a {
    display: inline-block;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #ccc;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: inset rgba(255,255,255,0.75) 0 1px 1px;
    -moz-box-shadow: inset rgba(255,255,255,0.75) 0 1px 1px;
    box-shadow: inset rgba(255,255,255,0.75) 0 1px 1px;    
    background: #fff;
    color: #222;
    text-indent: 0;
    overflow: visible;
    font-size: 13px;
    text-align: center;
    line-height: 36px;
}
.leaflet-container div.location-filter.button-container a:hover {
    background: #f5f5f5;
}

.leaflet-container div.location-filter.button-container a.enable-button {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    background: transparent !important;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 24px 24px !important;
    color: #222 !important;
    text-indent: 0 !important;
    overflow: visible !important;
    text-align: center !important;
    line-height: 36px !important;
    font-size: 0px !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}
.leaflet-container div.location-filter.button-container a.enable-button:hover,
.leaflet-container div.location-filter.button-container.enabled a.enable-button {
    background: #f5f5f5;
    background-image: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
}

/* Prevent text changes when enabled/disabled */
.leaflet-container div.location-filter.button-container.enabled a.enable-button {
    color: #222 !important;
}

.leaflet-container div.location-filter.button-container.enabled a.enable-button i {
    color: #222 !important;
    font-size: 24px !important;
}



.leaflet-container div.location-filter.button-container a:not(.enable-button) {
    width: 90px;
    font-size: 12px;
    line-height: 26px;
    padding-right: 24px!important;
    overflow: hidden;
    text-indent: 0;
    color: #222;
    background: #fff;
    background-image: none;
    background-color:#ebebeb !important;
    color:#666!important;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3) !important; 
	
}

.leaflet-container div.location-filter.button-container a.adjust-button {
    margin-left: 2px;
}

/* Force the PDF icon to be larger and centered */
.leaflet-container div.location-filter.button-container a.enable-button i {
    font-size: 24px !important;
    color: #222 !important;
    display: block !important;
    text-align: center !important;
    line-height: 36px !important;
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 50% !important;
    left: 60% !important;
    transform: translate(-50%, -50%) !important;
}

/* Custom QGIS Print button styling */
.leaflet-control-qgis-print {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.leaflet-container div.location-filter.button-container a.enable-button {
    width: 36px;
    height: 36px;
    padding: 0;
    background: #fff;
    background-image: url(print.png)!important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    color: transparent;
    text-indent: -9999px;
    overflow: hidden;
}

/* .leaflet-control-qgis-print a {
    display: block !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border: 2px solid rgba(0,0,0,0.2) !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #333 !important;
    text-decoration: none !important;
    text-align: center !important;
    line-height: 36px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    overflow: visible !important;
    text-indent: 0 !important;
} */

.leaflet-control-qgis-print a:hover {
    background: #f5f5f5 !important;
    border-color: rgba(0,0,0,0.4) !important;
}



/* === QGIS Print button — final override === */
.leaflet-container .location-filter.button-container > a.enable-button,
.leaflet-container .location-filter.button-container.enabled > a.enable-button,
.leaflet-top.leaflet-right .location-filter.button-container > a.enable-button {
  /* size/shape to match other controls */
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;

  /* TOP = icon, BOTTOM = white plate */
  background:
    url("print.png") center / 24px 24px no-repeat,
    #fff !important;

  /* border/elevation */
  box-shadow: 0 0 0 1px rgba(0,0,0,.12) inset, 0 1px 2px rgba(0,0,0,.15) !important;

  /* neutralize any nudge */
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  font-size: 0 !important;
  color: transparent !important;
  text-indent: 0 !important;
  left: 0 !important;
  top: 0 !important;
  transform: none !important;
}


/* Make the container a positioning context */
.leaflet-container .location-filter.button-container { position: relative !important; }

/* Pin the enable button to the right edge so it never reflows */
.leaflet-container .location-filter.button-container > a.enable-button {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
}

/* Reserve space for the pinned circle when enabled (matches 46px circle) */
.leaflet-container .location-filter.button-container.enabled { padding-right: 46px !important; }

/* Keep the added buttons inline without affecting the pinned one */
.leaflet-container .location-filter.button-container.enabled > a.adjust-button {
  display: inline-block !important;
  vertical-align: top !important;
}


