.commune-map-label {
  background: transparent;
  border: 0;
  width: auto !important;
  height: auto !important;
  pointer-events: none;
}

.commune-map-label span {
  display: block;
  position: absolute;
  transform: translate(-50%, -50%);
  color: #173042;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  width: 110px;
  pointer-events: none;

  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff,
     0 0 3px #fff;
}


.btn-pulse {
  animation: pulse-warning 1.5s infinite;
}

@keyframes pulse-warning {
  0%   { box-shadow: 0 0 0 0 rgba(255,193,7,.7); }
  70%  { box-shadow: 0 0 0 12px rgba(255,193,7,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,193,7,0); }
}


#edit-field-intervention-etat-target-id--wrapper {
  border: 0;
  padding: 0;
  margin: 1em 0;
}

#edit-field-intervention-etat-target-id--wrapper legend {
  float: none;
  width: auto;
  margin: 0 0 .15rem 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

#edit-field-intervention-etat-target-id--wrapper .fieldset-legend {
  font-weight: normal;
}

#edit-field-intervention-etat-target-id--wrapper .fieldset-wrapper {
  margin: 0;
}

#edit-field-intervention-etat-target-id {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
}




.page-user-simple .main-content {
  padding-top: 120px;
}

input[readonly] {
  background-color: #e9ecef;
  cursor: not-allowed;
  opacity: 1;
}

.table-responsive .item-list ul {margin-bottom: 0;}
ul.edp-characteristics {margin-bottom: 0;}

.ui-autocomplete {
  z-index: 10000 !important; /* plus haut que ton menu latéral */
}

/*
[data-menu-styles=dark][data-nav-layout=vertical] .app-sidebar .main-sidebar-header .header-logo .desktop-dark {
  height: 55px; width: auto;
}
[data-menu-styles=dark][data-nav-layout=vertical][data-vertical-style=overlay][data-toggled=icon-overlay-close] .app-sidebar .main-sidebar-header .header-logo .toggle-dark {
{
  height: 55px; width: 55px;
}
*/


.view-taxonomy-term .view-content, .view-taxonomy-term .feed-icons {display:none;}

.views-exposed-form .form--inline .form-actions {
  clear: none;
  float: left; /* pour aligner avec les champs */
  margin-left: 0.5em; /* optionnel : pour espacer le bouton */
}

.views-exposed-form .form--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}


ul.tabs.primary {display:none;}

.card.custom-card .card-header .card-title {text-transform: none;}

/*
.messages__wrapper {
    position: absolute;
    z-index: 1000;
    top: 10px;
    right: 10px;
  }
  */

.messages__wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 500px;
}
.messages__wrapper .messages {
    margin-bottom: 10px;
}

#carte-mes-interventions {width: 70%;}
@media screen and (max-width: 991px) {
  #carte-mes-interventions {width: 100%;}
}

.leaflet-tooltip h3 {font-size: 1.4em;}
.leaflet-tooltip .description {font-size: 1.2em; margin-bottom: 20px;}
.leaflet-tooltip {font-size: 1em;}

.map_leaflet {
    height: 100%;
    z-index: 10;
    min-height: 700px;
}



.leaflet-sidebar {z-index: 998;}
.leaflet-sidebar .close {z-index: 900; color: #000; opacity: 1;}

.leaflet-top, .leaflet-bottom {z-index: 500;}

.leaflet-popup-content-wrapper {/*border-radius: 0px;*/ }
.leaflet-control-layers-group input {opacity: 1; }

.leaflet-tooltip-pane {font-family: "Poppins", sans-serif; text-align: center;}
.leaflet-tooltip-pane h2 {font-family: "Poppins", sans-serif; font-size: 18px; margin: 0 0 10px; padding: 0; line-height: 18px;}
.leaflet-tooltip-pane h3 {font-family: "Poppins", sans-serif; font-size: 16px; margin: 0 0 10px; padding: 0; line-height: 16px; text-transform: uppercase;}
.leaflet-tooltip-pane h4 {font-family: "Poppins", sans-serif; font-size: 14px; margin: 0 0 10px; padding: 0; line-height: 14px;}
.leaflet-tooltip-pane p {font-size: 12px; margin: 0; line-height: 12px;}

.popup-content {font-family: "Poppins", sans-serif; padding-top: 40px;}
.popup-content h2 {font-family: "Poppins", sans-serif; text-align: center; font-size: 20px; margin: 0 0 5px; padding: 0; text-transform: uppercase; line-height: 20px;}
.popup-content h3 {font-family: "Poppins", sans-serif; text-align: center; font-size: 16px;  margin: 0 0 5px; padding: 0; font-weight: normal; line-height: 16px;}
.popup-content h4 {font-family: "Poppins", sans-serif; text-align: center; font-size: 14px;  margin: 0 0 5px; padding: 0; font-weight: normal; line-height: 14px;}
.popup-content img {width: 100%; height: auto; margin-top: 20px;}
.popup-content .description {margin: 20px 0; line-height: 17px;  line-height: 17px;}
.popup-content .metas {text-align: center; margin-top: 10px; padding: 10px; background: #f9f9f9;}


@media screen and (min-width: 992px) and (max-width: 1399px) {
  .border-bottom-lg-none.border-block-end-dashed {border-bottom-style:none!important;} 
  .border-bottom-xl-none.border-block-end-dashed {border-bottom-style:none!important;} 
}


.modal-agenda fieldset {border: 1px solid #e4e9f4; padding: 5px;}
.modal-agenda legend {font-size: 1.05rem;}

body.toolbar-fixed {padding-top: 0!important;}
body.toolbar-fixed .page {margin-top: 79px;}
body.toolbar-fixed header.app-header {top: 79px;}
body.toolbar-fixed aside.app-sidebar {top: 79px;}


#block-vb-masquerade {padding: 10px;}
#block-vb-masquerade h2 {color: white; font-size: 1.2em;}
#block-vb-masquerade .form-item {margin: 0;}


.authentication .app-content {margin-inline-start:0; min-height: 0!important;}
.authentication #block-vb-page-title {display: none;}
.authentication .main-content {margin: 0;}
.authentication li.is-active {display: none;}
.authentication .container-fluid {padding: 0;}
.authentication .card.custom-card {box-shadow:none; margin-block-end:0;}
.authentication .card.custom-card .card-body {padding: 0;}
.authentication .col-xxl-12.col-xl-12 {padding: 0;}
.authentication .page {min-height: inherit;}


.views-field-edit-node, 
.views-field-delete-node, 
.views-field-view-node {padding: 0!important; margin: 0!important; width: 40px;}
.view-vehicules .views-field-nothing {padding: 0!important; margin: 0!important; width: 125px;}

.view-interventions-intervenant .views-field-view-node, .view-interventions .views-field-view-node {padding: 0.74rem!important;}
