#footerScroll {
  display: none;
}

/* Oeil pour Pswd */
#togglepswd {
  color: #a9a9a9;
  font-size: 20px;
}

#tableStats {
  margin-bottom: 6em;
}

.behind-footer {
  margin-bottom: 30px;
}

/* Taille des icones dans la modal légende (index.php) */
li img {
  width: 35px;
  height: 52px;
}

/* Curseur zoom affichage image + frame sur Map */
.dispPic {
  cursor: -webkit-zoom-in;
  cursor: zoom-in;
}
/* sl-divider color */
sl-divider {
  --color: var(--bs-border-color) !important;
}
/*******************************************/
/** couleur de fond modal BS              **/
/*******************************************/
.modal-body {
  background-color: var(--color-dominant-1) !important;
}
/*******************************************/
/** terminal like infos poster generation **/
/*******************************************/
#terminal {
  font-family: "Courier New", Courier, monospace;
  height: 400px;
  background-color: #000;
  color: #00ff00;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  overflow-y: auto;
  white-space: pre-wrap;
}

.blink {
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
/*******************************/
/** TypeWriter color change   **/
/*******************************/
#typeWriter {
  color: white;
  transition: all 5s;
}

/*******************************/
/** Font Invader              **/
/*******************************/
@font-face {
  font-family: "invadersregular";
  src:
    url("../fonts/invaders-6ry1-webfont.woff2") format("woff2"),
    url("../fonts/invaders-6ry1-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "invaders_froinvadersfromspace";
  src:
    url("../fonts/invaders.from.space-webfont.woff2") format("woff2"),
    url("../fonts/invaders.from.space-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

.invafont {
  font-family: invaders_froinvadersfromspace;
}

.invader-font {
  font-family: invadersregular;
}
/**********************************/
/** chart container in dashboard **/
/**********************************/
#chart-container {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: block;
}
/* Counter color in Dashboard */
.Alive {
  text-align: center;
  background-color: #139d08;
  color: white;
}
.Dead {
  text-align: center;
  background-color: #e50000;
  color: white;
}
.Hidden {
  text-align: center;
  background-color: #ff8c00;
  color: white;
}
.Damaged {
  text-align: center;
  background-color: #929292;
  color: white;
}
/*******************************/
/**** change the accordion indicator button icons ****/
/*******************************/
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' class='bi bi-arrow-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z'/%3E%3C/svg%3E");
}
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' class='bi bi-arrow-up' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 15a.5.5 0 0 0 .5-.5V2.707l3.146 3.147a.5.5 0 0 0 .708-.708l-4-4a.5.5 0 0 0-.708 0l-4 4a.5.5 0 1 0 .708.708L7.5 2.707V14.5a.5.5 0 0 0 .5.5'/%3E%3C/svg%3E");
}
.accordion-button::after {
  transition: rotate(180deg);
} /*******************************/
/**** Patch to revert carousel indicator to white while using the global BS5 dark mode ****/
/*******************************/
[data-bs-theme="light"] .carousel .carousel-control-prev-icon,
[data-bs-theme="light"] .carousel .carousel-control-next-icon,
[data-bs-theme="light"].carousel .carousel-control-prev-icon,
[data-bs-theme="light"].carousel .carousel-control-next-icon {
  filter: none;
}
[data-bs-theme="light"] .carousel .carousel-indicators [data-bs-target],
[data-bs-theme="light"].carousel .carousel-indicators [data-bs-target] {
  background-color: #fff;
}
/*******************************/
/*Text on picture carousel BS5 */
/*******************************/
.bottom-left {
  position: absolute;
  bottom: 4px;
  left: 10px;
  color: white;
  text-shadow: 1px 1px black;
}
/************************************/
/*Text on picture carousel Shoelace */
/************************************/
.bottom-left-SL {
  position: relative;
  bottom: 25px;
  color: white;
  text-shadow: 1px 1px black;
}
.carousel-item-container {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
}

/************************************/
/*Tweak Shoelace icons              */
/************************************/
.flex-sl-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}
.flex-sl-icon-a {
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}
/*******************************/
/*Text on picture massonery    */
/*******************************/
.bottom-left-mas {
  position: absolute;
  bottom: 35px;
  left: 5px;
  color: white;
  text-shadow: 1px 1px black;
  font-size: 12px !important;
}
.ref-mas {
  font-size: 14px;
}
/*******************************/
/*Text on picture row list     */
/*******************************/
.row-pic {
  position: relative;
}
.bottom-left-row {
  position: absolute;
  bottom: 1px !important;
  left: 3px !important;
  color: white;
  text-shadow: 1px 1px black !important;
  font-size: 12px !important;
  letter-spacing: 0.035em !important;
}
.bottom-left-row_M {
  position: absolute;
  bottom: 0px !important;
  left: 3px !important;
  color: white;
  text-shadow: 1px 1px black !important;
  font-size: 11px !important;
}
/*******************************/
/*Text under picture addpic    */
/*******************************/
.text-img {
  position: relative;
  display: inline-block;
}

.name-img {
  position: absolute;
  left: 0;
  color: white; /* Couleur du texte */
  padding: 2px; /* Espacement autour du texte */
  margin: 0; /* Supprime les marges par défaut */
  font-size: 12px;
}

/*******************************/
/********* General CSS *********/
/*******************************/
.modal-header.sidetails {
  background-color: #e5e5e5;
}
.modal-footer.sidetails {
  background-color: #e5e5e5;
}

.full-row-line {
  background-color: var(--bs-tertiary-bg);
}
.table-row {
  cursor: pointer;
}
.table-row:hover {
  background-color: #7c7a7a !important;
}
.table-row-hover:hover {
  background-color: #7c7a7a !important;
}

.deadtext {
  color: #656565;
}
.gotittext {
  color: #62de6d;
}

.my-effect img {
  margin-bottom: -6px;
  cursor: pointer;
}
.my-effect img:hover {
  opacity: 0.6;
  transition: 0.3s;
}

/**************************************/
/*** Tooltip dates flashs bar graph ***/
/**************************************/
.tooltipDesign {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  color: white;
  opacity: 1;
  pointer-events: none;
  position: absolute;
  transform: translate(-50%, 0);
  transition: all 0.3s ease;
  border: black solid 2px;
  padding: 10px;
}
.tooltipUl {
  margin: 0;
  list-style: none;
  padding: 0;
  text-align: center;
}
.tableDesign {
  border-spacing: 10px;
}
.tableDesign td {
  padding-left: 10px;
  padding-right: 10px;
}
/***************************************/
/*** customized tooltip in Tabulator ***/
/***************************************/
.tab-tooltip {
  background-color: var(--sl-tooltip-background-color);
  color: black;
  font-size: 20 !important;
  font-weight: bold;
}
/***************************************/
/*** wrap comments text in Tabulator ***/
/***************************************/
.details-container {
  display: block;
  width: 450px; /* La largeur de la zone parente où le texte sera affiché */
  overflow-wrap: break-word; /* ou overflow-wrap: break-word; */
}
@media screen and (min-width: 601px) {
  /*div.table {
        width: 80%;
        font-size: 20px;
    }*/
  .cell-details {
    font-size: 18px;
    margin-left: 12px;
  }
  .cell-details-2 {
    font-size: 16px;
    margin-left: 12px;
  }
  .cityTitle {
    font-size: 35px;
    margin-bottom: -1.5rem;
  }
  .cityText {
    font-size: 25px;
  }
  .hidden-large {
    display: none !important;
  }
  td img {
    width: 150px;
    height: 150px;
  }
  /*******************************/
  /*** Doughnut CSS big screen ***/
  /*******************************/
  .chart-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: auto;
  }
  .chart-containerD {
    position: relative;
    width: 70%;
    height: 70%;
    margin: auto;
  }

  .doughnut-chart-container {
    height: 190px;
    width: 190px;
    float: right;
  }
  .doughnut-chart-containerB {
    height: 270px;
    width: 270px;
    float: left;
  }
  .doughnut-chart-containerC {
    height: 250px;
    width: 265px;
    float: left;
  }
}

@media screen and (max-width: 600px) {
  div.pagination {
    font-size: 14px;
  }
  #tmodal {
    width: 100%;
    font-size: 16px;
  }
  .cityTitle {
    font-size: 22px;
    margin-bottom: -1.5rem;
  }
  .cityText {
    font-size: 18px;
  }
  .cell-details {
    font-size: 16px;
    margin-left: 15px;
  }
  .cell-details-2 {
    font-size: 14px;
    margin-left: 15px;
  }
  .cell-details-M {
    font-size: 16px;
  }
  .cell-details-2-M {
    font-size: 14px;
  }

  .hidden-small {
    display: none !important;
  }
  #map {
    height: 700px;
  }
  td img {
    width: 100px;
    height: 100px;
  }
  /*******************************/
  /** Doughnut CSS small screen **/
  /*******************************/
  .chart-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: auto;
  }
  .chart-containerD {
    position: relative;
    width: 70%;
    height: 70%;
    margin: auto;
  }

  .doughnut-chart-container {
    height: 130px;
    width: 130px;
    float: right;
  }
  .doughnut-chart-containerB {
    height: 260px;
    width: 260px;
    float: left;
  }
}
.rotation {
  transform: rotate(0deg);
}
/**********************************/
/** Login screen Image on mobile **/
/**********************************/
#intro {
  background-image: url("/assets/img/DrHouse.jpg");
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* taille image masonry*/
.img-masonry {
  width: 150px;
  height: 150px;
}

/**********************************/
/** Common button desktop/mobile **/
/**********************************/
/* Floating round button */
.btn-floating {
  padding: 8px;
  width: 40px;
  line-height: 25px !important;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
}
.btn-floating:hover {
  opacity: 0.7;
}
/* Bouton Eye pour PSWD */
.btn-eye {
  font-size: 15px !important;
}
/* Modal buttons depuis listes */

sl-button.btn-GM::part(base) {
  background-color: #dd4b39 !important;
  color: white;
}
sl-button.btn-GM::part(base):hover {
  background-color: #e36e60 !important;
}

sl-button.btn-WZ::part(base) {
  background-color: #6cc9fa !important;
  color: black;
}
sl-button.btn-WZ::part(base):hover {
  background-color: #89d3fb !important;
}

/* Button got-it */
sl-button.btn-gotIt::part(base) {
  background-color: #139d08 !important;
  color: white;
}
sl-button.btn-gotIt::part(base):hover {
  background-color: #42b039 !important;
}
sl-button.btn-gotIt > sl-icon {
  font-size: 0.9rem;
}

/* Bouton not-yet */
sl-button.btn-notYet::part(base) {
  background-color: #085d9d !important;
  color: white;
}
sl-button.btn-notYet::part(base):hover {
  background-color: #397db0 !important;
}
sl-button.btn-notYet > sl-icon {
  font-size: 0.9rem;
}
sl-icon-button.btn-insta::part(base) {
  color: #ac2bac !important;
}
/********************************/

/* Bouton not yet marker pop-up */
.btn-notYet-pop {
  background-color: #085d9d;
  color: white;
  transition: background-color 0.3s ease;
}
.btn-notYet-pop:hover {
  background-color: #397db0;
  color: white;
}
/* Bouton delete marker pop-up */
.btn-delete-pop {
  background-color: #dc3545;
  color: white;
  transition: background-color 0.3s ease;
}
.btn-delete-pop:hover {
  background-color: #da515f;
  color: white;
}

/* Bouton got it marker pop-up */
.btn-gotIt-pop {
  background-color: #139d08;
  color: white;
  transition: background-color 0.3s ease;
}
.btn-gotIt-pop:hover {
  background-color: #42b039;
  color: white;
}

/* Bouton Waze marker pop-up */
.btn-WZ-pop {
  background-color: #6cc9fa;
  color: black;
  font-size: 17px;
}
.btn-WZ-pop:hover {
  background-color: #89d3fb;
  color: black;
}

/* Bouton Google Map it marker pop-up */
.btn-GM-pop {
  background-color: #dd4b39;
  color: white;
}
.btn-GM-pop:hover {
  background-color: #e36e60;
  color: white;
}
.btn-insta-pop {
  color: #ac2bac;
  font-size: 28px;
}
.custom-btn-map {
  position: relative;
}
.custom-btn-map img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
}
/*************************************/
.color-GM {
  color: #dd4b39 !important;
}

/* POI Delete button */
.icon-button-delPOI sl-icon-button::part(base) {
  color: #dc3545;
}

.icon-button-delPOI sl-icon-button::part(base):hover,
.icon-button-delPOI sl-icon-button::part(base):focus {
  color: var(--bs-danger-text-emphasis);
}

.icon-button-delPOI sl-icon-button::part(base):active {
  color: #dc3545;
}
/********************************************/
/*** Table Batch Liste                      */
/********************************************/
.table-batch {
  color: #fff !important;
  font-family: "Questrial" !important;
  font-size: 18px !important;
}
/********************************************/
/*** Affichage des infos sur la map Leaflet */
/********************************************/
.info-leaflet {
  padding: 5px 5px;
  color: #292929;
  font-family: "Questrial";
  font-size: 16px;
  background: rgba(229, 229, 229, 0.8);
  border-radius: 0.3em;
  min-width: 180px;
}

/********************************************/
/*** Affichage Assets map Leaflet           */
/********************************************/
.assets-leaflet {
  padding: 5px 5px;
  color: #292929;
  font-family: "Questrial", sans-serif;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 0.3em;
  max-width: 90px;
}
.table-assets {
  font-family: "Questrial", sans-serif;
  font-size: 1.1em;
  border-spacing: 1em;
  background: rgba(255, 255, 255, 0.7) !important;
  color: black !important;
  border-radius: 0.3em;
}
/********************************************/
/*** Affichage message map Leaflet POI & SIbyMAP */
/********************************************/
#map-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  background-color: transparent;
  font-size: 2rem;
  text-align: center;
  color: #1325b5e0;
  pointer-events: none;
}
/********************************************/
/*** Affichage map POI & SIbyMAP + adresse search */
/********************************************/
#map-container {
  position: relative;
  width: 100%;
  height: 100vh;
}

.mapbox-searchbox-field {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 300px;
  max-width: 90%;
}

/********************************************/
/*** Affichage bouton Eye carte Leaflet     */
/********************************************/
.eye-leaflet {
  font-size: 17px;
}
/********************************************/
/*** Affichage bouton draggable Leaflet     */
/********************************************/
.draggable-leaflet {
  font-size: 17px;
}
/********************************************/
/*** Affichage bouton draggable disable red */
/********************************************/
.draggable-red-leaflet {
  background-color: rgb(190, 21, 21) !important;
}
/*********************************************/
/*** Affichage bouton draggable enable green */
/*********************************************/
.draggable-green-leaflet {
  background-color: rgb(10, 163, 74) !important;
}
/********************************************/
/*** Affichage bouton aroundMe Leaflet     */
/********************************************/
.aroundme-leaflet {
  font-size: 17px;
}
.aroundme-greyed-leaflet {
  background-color: rgb(206, 206, 206) !important;
}
.aroundme-green-leaflet {
  color: rgb(10, 163, 74) !important;
}
.aroundme-black-leaflet {
  color: black !important;
}
/********************************************/
/*** Affichage bouton locate Leaflet     */
/********************************************/
.locate-greyed-leaflet {
  background-color: rgb(206, 206, 206) !important;
}
/********************************************/
/*** Affichage bouton Liste carte Leaflet     */
/********************************************/
.list-leaflet {
  padding: 7px 7px 7px 7px;
  color: #292929;
  font-size: 17px;
  background: rgba(255, 255, 255, 1);
  border-radius: 0.2em;
  border-style: solid;
  border-width: 2px;
  border-color: rgba(189, 189, 189, 1);
}
/********************************************/
/*** Popup marker Leaflet                   */
/********************************************/
.text-popup {
  font-family: "Questrial", sans-serif;
  font-size: 1.2em;
  color: var(--bs-light) !important;
}
.pills-popup {
  left: 98% !important;
  /*top: 12% !important;*/
}
/*******************************/
/** Card header color carousel map    *********/
/** Lihgt-mode used for Gene-map */
/*******************************/
.carou-header {
  background-color: rgba(var(--bs-secondary-color-rgb), 0.7) !important;
  color: var(--bs-secondary-bg) !important;
}
/********************************************/
/*** POI marker, icon position              */
/********************************************/
.POIicon {
  line-height: 1.5 !important;
}
/********************************************/
/*** marker setup display shape choice size */
/********************************************/
.marker-thumb img {
  width: 40px;
  height: 60px;
}

/*************************************/
/******* Ion icons specs            **/
/*************************************/
.ion-size {
  width: 19px;
  height: 19px;
  display: block;
  margin: auto;
  position: absolute;
  top: 19%;
  left: 23%;
}
.ion-size-flash {
  width: 19px;
  height: 19px;
  display: block;
  margin: auto;
  position: absolute;
  top: 19%;
  left: 23%;
}
.ion-size-hammer {
  width: 18px;
  height: 18px;
  display: block;
  margin: auto;
  position: absolute;
  top: 19%;
  left: 27%;
}
.poi-size-bag {
  width: 16px;
  height: 16px;
  display: block;
  margin: auto;
  position: absolute;
  top: 17%;
  left: 26%;
}
.poi-size {
  width: 16px;
  height: 16px;
  display: block;
  margin: auto;
  position: absolute;
  top: 21%;
  left: 27%;
}
/*************************************/
/*********** message erreur Contact **/
/*************************************/
.help-block.with-errors {
  color: #ff5050;
  margin-top: 5px;
}
/********************************************/
/*** Upload SI pictures croppic.php         */
/********************************************/
.image-container {
  padding: 20px;
  width: 677px;
  height: calc(100% - 100px);
  border-right: 1px solid rgba(255, 255, 255, 0.239);
  border-bottom: 1px solid rgba(255, 255, 255, 0.239);
}
.image-workspace {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image_area {
  position: relative;
}
.img-croppic {
  display: block;
  max-width: 100%;
}
.img-preview {
  overflow: hidden;
  width: 350px;
  height: 350px;
  /*margin-left: 10px; */
  border: 1px solid white;
}
.rotate {
  padding-left: 10px;
  margin-bottom: 0px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.239);
  border-bottom: 1px solid rgba(255, 255, 255, 0.239);
  height: 100px;
}
.rotate .btn {
  background-color: #4c75a3;
}
.action-button {
  margin-left: 10px;
}
/*******************************/
/**** Tailored alert        ****/
/*******************************/
.icon::before {
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.callout {
  position: relative;
  --bs-link-color-rgb: var(--bd-callout-link);
  --bs-code-color: var(--bd-callout-code-color);
  --bs-bg-opacity: 1;
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--bd-callout-color, inherit);
  background-color: var(--bd-callout-bg, var(--bs-gray-100));
  border-left: 0.25rem solid var(--bd-callout-border, var(--bs-gray-300));
  border-radius: var(--bs-border-radius) !important;
}
.callout h4 {
  margin-bottom: 0.25rem;
}
.callout > :last-child {
  margin-bottom: 0;
}
.callout + .callout {
  margin-top: -0.25rem;
}
.callout .highlight {
  background-color: rgba(0, 0, 0, 0.7);
}
.callout::before {
  content: "";
  position: absolute;
  top: calc(50% - 0.8rem);
  left: calc(-0.8rem - 2px);
  width: 1.6rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sl-font-serif);
  font-weight: var(--sl-font-weight-bold);
  color: var(--sl-color-neutral-0);
  clip-path: circle(50% at 50% 50%);
}

.callout-info {
  --bd-callout-color: var(--bs-info-text-emphasis);
  --bd-callout-bg: rgba(3, 40, 48, var(--bs-bg-opacity)) !important;
  --bd-callout-border: var(--bs-info-border-subtle);
}
.callout-info::before {
  content: "i";
  font-style: italic;
  background-color: var(--bs-info-border-subtle);
}

.callout-success {
  --bd-callout-color: var(--bs-success-text-emphasis);
  --bd-callout-bg: rgba(5, 27, 17, var(--bs-bg-opacity)) !important;
  --bd-callout-border: var(--bs-success-border-subtle);
}
.callout-success:before {
  font-family: inherit; /* Ou une police standard comme Arial */
  content: "✔";
  color: rgba(5, 27, 17, var(--bs-bg-opacity));
  background-color: var(--bs-success-border-subtle);
}

.callout-warning {
  --bd-callout-color: var(--bs-warning-text-emphasis);
  --bd-callout-bg: rgba(51, 39, 20, var(--bs-bg-opacity)) !important;
  --bd-callout-border: var(--bs-warning-border-subtle);
}
.callout-warning:before {
  content: "!";
  background-color: var(--bs-warning-border-subtle);
}

.callout-danger {
  --bd-callout-color: var(--bs-danger-text-emphasis);
  --bd-callout-bg: rgba(44, 11, 14, var(--bs-bg-opacity)) !important;
  --bd-callout-border: var(--bs-danger-border-subtle);
}
.callout-danger:before {
  content: "!!";
  background-color: var(--bs-danger-border-subtle);
}

/* Custom styles for the select button group */
.select-button-group {
  display: flex;
  align-items: stretch;
  gap: 0; /* ou 2px pour une légère séparation */
}

.select-button-group sl-select,
.select-button-group sl-button {
  --sl-input-border-radius: 0;
  border-radius: 0;
}

.select-button-group sl-select {
  border-top-left-radius: var(--sl-input-border-radius-medium);
  border-bottom-left-radius: var(--sl-input-border-radius-medium);
}

.select-button-group sl-button {
  border-top-right-radius: var(--sl-input-border-radius-medium);
  border-bottom-right-radius: var(--sl-input-border-radius-medium);
}
/* Custom styles for the Search Box winvaded, SIbyMap and POIbyMap */

#address-search-box {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
/* Search box Mapbox via API */
/*
#address-search-box input {
  width: 100%;
  padding: 10px 15px;
  border: none;
  outline: none;
  box-sizing: border-box;
  background-color: white;
  color: black;
  font-size: 1rem;
  font-weight: 400;
} */

#address-search-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
  background-color: white;
}

#address-search-box ul li {
  padding: 10px 15px;
  border-top: 1px solid #eee;
  cursor: pointer;
}

#address-search-box ul li:hover {
  background: #f5f5f5;
}

/* AdvancedSearch styles */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  transition:
    opacity 0.15s,
    transform 0.1s;
  user-select: none;
  opacity: 0.35;
}
.pill-btn.active {
  opacity: 1;
}
.pill-btn:hover {
  transform: scale(1.05);
  opacity: 0.75;
}
.pill-btn.active:hover {
  opacity: 1;
}

.pill-pts {
  background: var(--bs-warning, #f0a500);
  color: #000;
  border-color: var(--bs-warning, #f0a500);
}
.pill-A {
  background: #228b22;
  color: #fff;
  border-color: #228b22;
}
.pill-DG {
  background: #95a5a6;
  color: #fff;
  border-color: #95a5a6;
}
.pill-H {
  background: #ff8c00;
  color: #fff;
  border-color: #ff8c00;
}
.pill-D {
  background: #e50000;
  color: #fff;
  border-color: #e50000;
}
.pill-U {
  background: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

/* Style shape pills */
.shape-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 0.4rem 0.6rem;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.15s;
  min-width: 64px;
}
.shape-pill img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 4px;
  opacity: 0.5;
}
.shape-pill.active {
  border-color: var(--bs-warning, #f0a500);
  color: var(--bs-warning, #f0a500);
  background: rgba(240, 165, 0, 0.1);
}
.shape-pill.active img {
  opacity: 1;
}

/* Arrondissements */
#arrondSelect {
  background: rgba(30, 30, 40, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 8px;
  width: 100%;
  max-height: 150px;
}
#arrondSelect option {
  padding: 4px 8px;
}

/* Color modal */
.color-swatch-wrap {
  position: relative;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.15s;
}
.color-swatch-wrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}
.color-swatch-wrap .color-name {
  font-size: 0.7rem;
  text-align: center;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.75);
}
.color-swatch-wrap .check-overlay {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
}
.color-swatch-wrap.selected {
  border-color: var(--bs-warning, #f0a500);
}
.color-swatch-wrap.selected .check-overlay {
  display: flex;
}

/* Color trigger buttons */
.color-trigger-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.color-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}
.color-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 1px 8px;
  font-size: 0.75rem;
  margin: 2px;
}

/* Result card */
.result-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  cursor: pointer;
}
.result-item:hover {
  background: rgba(255, 255, 255, 0.09);
}
.thumb-wrap {
  position: relative;
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
}
.thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb-copy {
  position: absolute;
  bottom: 4px;
  left: 4px;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.45);
  padding: 1px 4px;
  border-radius: 3px;
  white-space: nowrap;
}
.result-info {
  flex: 1;
  min-width: 0;
}
.result-info .ref {
  font-weight: 700;
  color: var(--bs-warning, #f0a500);
  font-size: 0.95rem;
}
.result-info .city {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}
.result-info .date {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}
.status-icons {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
  font-size: 1rem;
}

/* Section labels */
.filter-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 6px;
}
.filter-section {
  margin-bottom: 1.1rem;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}
