.modal {
  z-index: 1055 !important;
}
.modal-backdrop {
  z-index: 1050 !important;
}
.modal-dialog {
  max-width: 500px !important;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f0f4f8;
}
.header {
  background-color: #1E90FF;
  border-bottom: 3px solid #FFD700;
  color: #FFFFFF;
  padding: 20px 0;
}
.header h1 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #FFD700;
}
.header p {
  font-size: 1.2rem;
  color: #FFFFFF;
}
.search-container {
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
  background: #F8F9FA;
  border-radius: 10px;
  text-align: center;
}
.form-group {
  margin-bottom: 15px;
}
input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.error {
  color: #FF4500;
}
button {
  background: #1E90FF;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
button:hover {
  background: #FFA500;
}
.plumber-card {
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(30, 144, 255, 0.3);
  margin-bottom: 1.5rem;
  background-color: #F8F9FA;
  transition: transform 0.3s;
  padding: 20px;
  overflow: visible;
}
.plumber-card:hover {
  transform: translateY(-5px);
}
.btn-primary {
  background-color: #EED400;
  color: #0F0F0F;
  border: none;
}
.btn-primary:hover {
  background-color: #FFA500;
  color: #FFFFFF;
}
.ville-card { border: 1px solid #1E90FF; border-radius: 10px; padding: 15px; margin-bottom: 10px; }
.ville-card:hover { transform: translateY(-5px); }
.logo-svg {
  width: 100px;
  height: 100px;
  fill: #FFF;
  transition: all 0.3s ease;
}
@media (max-width: 576px) {
  .logo-svg {
    width: 70px;
    height: 70px;
  }
}
.premium-cta { background-color: #FF4500; color: #FFFFFF; padding: 20px; border-radius: 15px; margin-bottom: 20px; cursor: pointer; }
.premium-cta-content { display: none; }
.premium-cta-content.show { display: block; }
.premium-badge { background-color: #FFD700; color: #000; padding: 2px 8px; border-radius: 5px; margin-left: 10px; }
.pagination-btns { display: flex; justify-content: center; gap: 10px; }
.dropdown-menu { 
  max-height: 300px; 
  overflow-y: auto; 
  border: none; 
  border-radius: 10px; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
  background-color: #fff; 
  padding: 10px 0;
  scrollbar-width: none;
  max-width: 300px; /* Limiter la largeur maximale */
  width: auto; /* S'adapter au contenu */
  margin: 0 auto; /* Centrer le menu */
}
.dropdown-item { 
  padding: 10px 20px; 
  color: #1E90FF; 
  font-weight: 500; 
  transition: all 0.2s ease; 
  border-radius: 5px; 
  margin: 2px 0; 
  width: 100%; /* Prendre toute la largeur du menu */
  box-sizing: border-box; 
}
.dropdown-item:hover { 
  background-color: #1E90FF; 
  color: #fff; 
}
.dropdown-menu::-webkit-scrollbar { 
  display: none;
}
.btn-primary.dropdown-toggle { 
  background-color: #1E90FF; 
  border: none; 
  padding: 10px 20px; 
  border-radius: 8px; 
  font-weight: 600; 
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-primary.dropdown-toggle:hover { 
  background-color: #1565C0; 
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); 
}
.dropdown {
  display: flex;
  justify-content: center;
  width: 100%;
}
#map {
  height: 400px;
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  border: 2px solid #1E90FF;
  border-radius: 10px;
}
@media (max-width: 576px) {
  .header h1 { font-size: 1.4rem; }
  .header p { font-size: 1rem; }
  .plumber-card { 
    margin-bottom: 1rem;
    padding: 15px;
  }
  .btn-primary.dropdown-toggle { 
    padding: 8px 15px;
    max-width: 100%;
  }
  .dropdown-menu { 
    max-width: 250px; /* Réduire encore sur petits écrans */
  }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
.premium-cta {
  animation: bounce 2s infinite ease-in-out;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
  }
}
.premium-badge {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1A1A1A;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 4px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.5);
  animation: pulse 2s infinite ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.premium-badge i {
  color: #FFFFFF;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
}
.article-section {
            background: #F8F9FA;
            border-radius: 10px;
            padding: 30px;
            margin: 0px auto;
            max-width: 800px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        .article-section h2 {
            color: #1E90FF;
            font-weight: bold;
        }
        .article-section p {
            color: #333;
            line-height: 1.6;
        }
