/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --light-bg: #ecf0f1;
  --white: #ffffff;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --border-color: #bdc3c7;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.35);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--light-bg);
}
.modal-header { text-align: center; }
.header-inner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.header-inner h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.header-badge {
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid #bfdbfe;
}

.section-header {
color: var(--primary-color);

  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 0.5rem;

}

.btn-map{
  align-items: center;
  background: linear-gradient(135deg, #ccd3d78e 0%, var(--light-bg) 100%);
  color: var(--primary-color);

  padding:7px 15px;
  font-size: 1rem;
  font-weight: 600;
    transition: all 0.3s ease;
  box-shadow: var(--shadow);
  text-decoration: none;
  border-radius: 10px;
}
.recommendation-box {
  margin-top: 10px;
  width:100%;
  background: #eff6ff;
  border: 1px solid #93c5fd;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1d4ed8;
}

.btn-map2{
  align-items: center;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #2980b9 100%);
  color: var(--white);
  padding:7px 15px;
  font-size: 1.2rem;
  font-weight: 600;
    transition: all 0.3s ease;
  box-shadow: var(--shadow);
  text-decoration: none;
  border-radius: 10px;
}

.btn-map:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);

}

/* L'inner flex : h2 + bouton côte à côte */
.section-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-header h2 {
  margin: 0;
  font-size: 1.5rem;
}
/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Header */
header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 1rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.header-logo {
  width: auto;
  height: 120px;
  object-fit: contain;
}

.header-logo-map {
  width: auto;
  height: 50px;
  object-fit: contain;
}

.header-text {
  text-align: left;
}

header h1 {
  font-size: 2.5rem;
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

header p {
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.95;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
  #footer-logo{
text-align: left !important;
}
.footer-logo-img{
  height:90px !important;
}
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .header-text {
    text-align: center;
  }

  .header-logo {
    width: 60px;
    height: 60px;
  }

  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
  }
}
.header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white);
  padding: 1.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.logo-section h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.subtitle {
  font-size: 1.1rem;
  opacity: 0.95;
  font-weight: 300;
}

/* Main Content */
.main-content {
  padding: 2rem;
  background-color: var(--white);
}

/* Intro Section */
.intro-section {
  margin-bottom: 3rem;
}

.intro-section h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 0.5rem;
}

.intro-text {
  font-size: 1.05rem;
  color: var(--text-dark);
}

.intro-text p {
  margin-bottom: 1rem;
}

.intro-text ul,
.intro-text ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.intro-text li {
  margin-bottom: 0.5rem;
}

.intro-text strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  text-align: center;
  margin: 3rem 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #2980b9 100%);
  color: var(--white);
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-primary svg {
  width: 24px;
  height: 24px;
}

/* Partners Section */
.partners-section {
  margin: 4rem 0;
  padding: 2rem;
  background-color: var(--light-bg);
  border-radius: 10px;
}

.partners-section h2 {
  text-align: center;
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.partner-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.partner-logo {
  margin-bottom: 1rem;
}
.info-buttons-section {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}

.btn-info-home {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.btn-info-home:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-info-home svg {
  width: 24px;
  height: 24px;
}

/* Info modal content */
.info-modal-content {
  padding: 1rem;
}

.info-modal-content h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.info-section {
  margin-bottom: 2rem;
}

.info-section h3 {
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.info-section p {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.info-section ul {
  margin-left: 2rem;
}

.info-section ul li {
  margin-bottom: 0.5rem;
}

.info-section a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
}

.info-section a:hover {
  text-decoration: underline;
}
.logo-placeholder {
  width: 100%;
  height: auto;
  margin: 0 auto;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
}
.logo-placeholder img {
  width: auto;
  max-width: 100%;
  max-height: 120px;
}
.partner-name {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}

.partners-note {
  text-align: center;
  color: var(--text-light);
  font-style: italic;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 2rem;
  margin-top: 3rem;
}
.footer a{

  color: var(--white)
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--white);
}
#footer-logo{
text-align: end;
}
.footer-section p {
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo-img{
  width: auto;
  height: 120px;
  object-fit: contain;
}
/* Map Page Styles */
.map-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.map-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white);
  padding: 0.5rem 2rem;
  box-shadow: var(--shadow);
  z-index: 1000;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
  padding: 0.5rem 1rem;
  /* border: 2px solid var(--white); */
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-back:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.map-header h1 {
  font-size: 1.8rem;
  font-weight: 600;
}

/* Map Controls */
.map-controls {
  background-color: var(--white);
  padding: 0.75rem 2rem;
  box-shadow: var(--shadow);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.filter-section,
.search-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.filter-section label,
.search-section label {
  font-weight: 600;
  color: var(--text-dark);
}

.filter-buttons {
  display: flex;
  gap: 0.5rem;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.5rem;
  border: 2px solid var(--border-color);
  background-color: var(--white);
  color: var(--text-dark);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.filter-btn:hover {
  border-color: var(--secondary-color);
  background-color: var(--light-bg);
}

.filter-btn.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.color-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper svg {
  position: absolute;
  left: 12px;
  color: var(--text-light);
}
.search-input-wrapper .clear-btn svg{
    left: 125px;
}

#city-search {
  padding: 0.5rem 0.5rem 0.5rem 2.5rem;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  width: 220px;
  transition: all 0.3s ease;
}

#city-search:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.clear-btn {
  position: absolute;
  right: 150px;
  top: 11px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.clear-btn:hover {
  color: var(--accent-color);
}

/* Map */
#map {
  flex: 1;
  z-index: 1;
}

/* Custom Leaflet Popup */
.leaflet-popup-content-wrapper {
  border-radius: 10px;
  box-shadow: var(--shadow-hover);
}

.leaflet-popup-content {
  margin: 0;
  min-width: 250px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: var(--white);
  margin: 2% auto;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.form-modal-content {
  max-width: 1300px;
}

.close-modal {
  color: var(--text-light);
  float: right;
  font-size: 2rem;
  margin-top: -20px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: var(--accent-color);
}

/* Establishment Details */
.establishment-header {
  text-align: center;
  margin-bottom: 2rem;
}

.establishment-header h2 {
  color: var(--primary-color);
  display: inline-block;
}

.establishment-type {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.type-arianes {
  background-color: #3498db;
  color: var(--white);
}

.type-predipsy {
  background-color: #f39d12;
  color: var(--white);
}

.establishment-info {
  margin: 1.5rem 0;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--light-bg);
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.info-item svg {
  min-width: 20px;
  color: var(--secondary-color);
  margin-top: 2px;
}

.info-item-content strong {
  display: block;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.btn-fill-form {
  width: 100%;
  padding: 1rem;
background: linear-gradient(135deg, #2c3e50 0%, #52718f 40%);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
}

.btn-fill-form:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Form Styles */
.form-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-color);
}

.form-header h2 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.form-establishment-name {
  color: var(--secondary-color);
  font-weight: 600;
}

.form-section {
  margin-bottom: 2rem;
}

.form-section h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light-bg);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}
.etab-detail-btn {
  margin-top: 10px;
  width: 100%;
  padding: 8px;
 background: linear-gradient(135deg, #2c3e50 0%, #52718f 40%);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group.required label::after {
  content: " *";
  color: var(--accent-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* Checkbox Groups */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
  width: auto;
  cursor: pointer;
}

.checkbox-item label {
  cursor: pointer;
  margin: 0;
  font-weight: normal;
}

/* Radio Groups */
.radio-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.radio-item input[type="radio"] {
  width: auto;
  cursor: pointer;
}

.radio-item label {
  cursor: pointer;
  margin: 0;
  font-weight: normal;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.btn-submit {
  flex: 1;
  padding: 1rem;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 50%
  );
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-cancel {
  flex: 1;
  padding: 1rem;
  background-color: var(--white);
  color: var(--text-dark);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cancel:hover {
  background-color: var(--light-bg);
}

/* Loading Spinner */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}

.marker-cluster {
  background: radial-gradient(#f39d12e0 10%, #3498dbe0 80%) !important;
}
.marker-cluster div {
  background-color: rgba(52, 152, 219, 0) !important;
  color: var(--white);
  font-weight: bold;
}

/* Animation au survol */
.marker-cluster:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Localize button */
.localize-section {
  display: flex;
  align-items: center;
}
.search-button {
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #2c3e50 0%, #52718f 40%);
  color: var(--white);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}
.btn-localize {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.5rem;
  background: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

button:hover {
  box-shadow: var(--shadow-hover);
}

.btn-localize svg {
  min-width: 20px;
}

.filter-btn {
    position: relative;
}
.filter-btn:not([data-tooltip])::after,
.filter-btn:not([data-tooltip])::before {
    display: none;
}
.filter-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    width: 200px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.filter-btn:hover::after,
.filter-btn:hover::before {
    opacity: 1;
}
.info-icon {
    margin-left: 5px;
    opacity: 0.5;
    vertical-align: middle;
    transition: opacity 0.2s ease;
}
.filter-btn:hover .info-icon {
    opacity: 1;
}
/* Responsive Design */
@media (max-width: 768px) {
  .header {
    padding: 1rem 1rem;
  }

  .logo-section h1 {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .main-content {
    padding: 1rem;
  }

  .intro-section h2 {
    font-size: 1.5rem;
  }

  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .map-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-section,
  .search-section {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-buttons {
    flex-direction: column;
  }

  #city-search {
    width: 100%;
  }

  .modal-content {
    width: 95%;
    margin: 5% auto;
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }
}

@media print {
  .map-header,
  .map-controls,
  .btn-back,
  .btn-fill-form,
  .form-actions,
  .close-modal {
    display: none;
  }
}
/* LEAFLET GEOCODER STYLES */
/* ============================================
   STYLES POUR LEAFLET CONTROL GEOCODER
   ============================================ */

/* Conteneur principal du geocoder */
.leaflet-control-geocoder {
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
    background: white !important;
    min-width: 300px;
    z-index: 1000;
}

/* Champ de recherche */
.leaflet-control-geocoder-form {
    margin: 0 !important;
    position: relative;
}

.leaflet-control-geocoder-form input {
    border-radius: 6px !important;
    border: 2px solid #3b82f6 !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: border-color 0.3s ease !important;
}

.leaflet-control-geocoder-form input:focus {
    outline: none !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.leaflet-control-geocoder-form input::placeholder {
    color: #94a3b8 !important;
}

/* Liste des suggestions */
.leaflet-control-geocoder-alternatives {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    margin-top: 2px !important;
    background: white !important;
    z-index: 10000 !important;
    border: 2px solid #3b82f6 !important;
    border-top: none !important;
}

/* Cacher les suggestions quand minimisé */
.leaflet-control-geocoder-alternatives-minimized {
    display: none !important;
}

/* Item de suggestion */
.leaflet-control-geocoder-alternative {
    padding: 10px 12px !important;
    border-bottom: 1px solid #e5e7eb !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}

.leaflet-control-geocoder-alternative:hover {
    background-color: #eff6ff !important;
}

.leaflet-control-geocoder-alternative:last-child {
    border-bottom: none !important;
    border-radius: 0 0 8px 8px !important;
}

/* Texte des suggestions */
.leaflet-control-geocoder-alternative-text {
    color: #1e3a8a !important;
    font-size: 14px !important;
}

/* Scrollbar personnalisée */
.leaflet-control-geocoder-alternatives::-webkit-scrollbar {
    width: 8px;
}

.leaflet-control-geocoder-alternatives::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 0 0 8px 0;
}

.leaflet-control-geocoder-alternatives::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.leaflet-control-geocoder-alternatives::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Animation d'apparition */
.leaflet-control-geocoder-alternatives:not(.leaflet-control-geocoder-alternatives-minimized) {
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ============================================
   AUTOCOMPLÉTION DES VILLES
   ============================================ */

.search-input-wrapper {
    position: relative;
}

.city-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #3b82f6;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 2px;
}

.autocomplete-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

.autocomplete-item:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.autocomplete-item:hover {
    background-color: #eff6ff;
}

.autocomplete-name {
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 4px;
    font-size: 15px;
}

.autocomplete-details {
    font-size: 13px;
    color: #64748b;
}

/* Scrollbar */
.city-autocomplete::-webkit-scrollbar {
    width: 8px;
}

.city-autocomplete::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.city-autocomplete::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.city-autocomplete::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Animation */
.city-autocomplete {
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.linkStyle{
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
}
.linkStyle:hover{
  color: var(--secondary-color)
}

.objUtil{
  display: flex;
  gap:10px;
  justify-content: space-between;
}


.obj, .util {
  flex: 1;  /* chacun prend 50% de la largeur */
}
.objUtil .partners-section{
  margin:1rem 0rem;
}



.info-modal-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.card-icon.blue   { background: #dbeafe; }
.card-icon.indigo { background: #ede9fe; }

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color:var(--text-dark);
  margin: 0;
}

.card-body {
  font-size: 1rem;
  color:var(--text-dark);

  line-height: 1.7;
  margin: 0;
}

.card-list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.card-list li {
    font-size: 1rem;

    color:var(--text-dark);

  line-height: 1.8;
}

.ref-block {
  margin-top: 16px;
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #cbd5e1;
    font-size: 0.8rem;

    color:var(--text-dark);
;
  line-height: 1.7;
}
.form-row .form-group{
  margin-bottom: 0;
}

.ref-block strong { color: #0f172a; }
.ref-block a { color: var(--primary-color); font-weight: 600; }

.card a{
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
}
.card a:hover{
    color: var(--primary-color);

}


.info-modal-content h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}


.form-section h3 {
    border-left: 4px solid var(--secondary-color);
    padding-left: 12px;
    color: var(--primary-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    background-color: #f8f9fa;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="date"]:focus,
.form-group input[type="number"]:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
    background-color: #ffffff;
}


/* Cache les radios natifs */
.radio-group .radio-item input[type="radio"] {
    display: none;
}

/* Style pill pour les labels */
.radio-group .radio-item label {
    display: inline-block;
    padding: 6px 18px;
    border: 1.5px solid var(--border-color);
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-light);
    background-color: #f8f9fa;
    transition: all 0.2s ease;
    user-select: none;
    font-weight: 600;
}

.radio-group .radio-item label:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Pill sélectionné */
.radio-group .radio-item input[type="radio"]:checked + label {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 600;
}


.form-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 24px 30px;
    margin: -30px -30px 24px -30px;
    border-radius: 12px 12px 0 0;
}

.form-header h2 {
    color: white;
    margin: 0 0 4px 0;
    font-size: 1.2rem;
    letter-spacing: 0.03em;
}

.form-header .form-establishment-name {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 0.9rem;
    font-weight: 400;
}


.form-section {
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.form-section:hover {
    box-shadow: var(--shadow);
    transition: box-shadow 0.2s ease;
}

