.autocomplete-section {
    background-color: #FFCF56; /* Jaune */
    padding: 35px 20px;
    text-align: center;
}

.autocomplete-section p {
    color: #FFFFFF;
    font-family: "Barlow", Sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 32px;
}

.autocomplete-form {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.autocomplete-form input[type="text"] {
    border-radius: 0;
    padding: 0 17px;
    color: #666;
    height: 55px;
    font-size: 16px;
}

.autocomplete-btn {
    position: absolute;
    width: 45px;
    height: 45px;
    text-align: center;
    background-color: transparent;
    top: 10px;
    right: 5px;
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
}

.autocomplete-btn i._custom-icon {
  color: #000;
}

/*.autocomplete-btn:hover {
    background-color: #FFCF56;
}*/

.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 10;
}

.suggest-item {
    padding: 10px;
    cursor: pointer;
}

.suggest-item:hover {
    background-color: #f2f2f2;
}
.autocomplete-error {
    color: #b00020; /* rouge moderne */
    margin-bottom: 15px;
    font-size: 1rem;
    background-color: #ffe5e5;
    padding: 8px 12px;
    border-radius: 4px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
.btn-spinner .loader {
    width: 35px;
    height: 35px;
}

.loader {
  border-radius: 50%;
  display: inline-block;
  position: relative;
  border: 3px solid;
  border-color: #FFF #FFF transparent transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.loader::after,
.loader::before {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 3px solid;
  border-color: transparent transparent #FFCF56 #FFCF56;
  width: 18px;   /* ajusté pour mieux s’intégrer au bouton */
  height: 18px;
  border-radius: 50%;
  animation: rotationBack 0.5s linear infinite;
  transform-origin: center center;
}
.loader::before {
  width: 12px;
  height: 12px;
  border-color: #FFF #FFF transparent transparent;
  animation: rotation 1.5s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
#specialite-search {text-align: left; appearance: none; border-radius: 0 !important;}
