/* Base variables */
:root {
  --primary-color: #094951;
  --primary-color-light: #12606b;;
  --accent-color: #F05512;
  --accent-over-color: #e14400;
  --highlight-color: #ff6600;
  --error-color: red;
  --text-color: #333;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  --header-img-height: 30px;
}


/* Base styles */
body {
  font-family: var(--font-main);
  color: var(--text-color);
  align-items: flex-start;

}



/* Header styles */
header {
  text-align: center;
  background: white;
  padding: 0px;
}

.faq-main-container {
  background: white;
  padding: 20px;
}



.wizzard-title {
  max-width: 95%;
  margin: 10px auto;
  padding: 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(9, 73, 81, 0.10);
  text-align: center;
  color:#094951;
  font-size: 1.4em !important;


}

.wizzard-breadcrumbs {
  max-width: 90%;
  margin: 10px auto;
  padding: 10px;
  background: transparent;
  text-align: center;
  color:#094951;
  font-size: 1.2em !important;
  display: flex;
  justify-content: center;
  align-items: center;
}


.wizzard-content {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}



.wizzard-content input[type="date"], input[type="time"] {
  -webkit-appearance: none;
  appearance: none;

  font-size: 1.4rem;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  padding-left: 1rem;
  padding-right: 1rem;

  height: auto; /* Ne pas forcer height si padding est bien */
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  outline: none;
  width: 100%;
  max-width: 300px;
  color: var(--primary-color);
  background-color: #fff !important;

  text-align: center;
  box-sizing: border-box;
  
}

.wizzard-column {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: center; /* ou `flex-start` si tu veux aligner à gauche */
  padding: 10px;
}

.wizzard-title input[type="datetime-local"] {
  /*font-size: 1rem;
  padding: 1rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
  max-width: 300px;
  color: var(--primary-color);

  border: 1px solid var(--primary-color);
  border-radius: 4px;

  text-align: center;
  height: 2.5rem;*/


  -webkit-appearance: none;
  appearance: none;

  font-size: 1rem;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  padding-left: 1rem;
  padding-right: 1rem;

  height: auto; /* Ne pas forcer height si padding est bien */
  border: 1px solid var(--primary-color);
  border-radius: 4px; /*12px;*/
  outline: none;
  width: 100%;
  max-width: 300px;
  color: var(--primary-color);
  background-color: #fff !important;

  text-align: center;
  box-sizing: border-box;
  
}

.wizzard-content input[type="date"]:focus, input[type="time"]:focus {
  border-color: var(--highlight-color);
  box-shadow: 0 0 8px rgba(255,102,0,0.3);
}


.wizzard-breadcrumbs button {

  display: inline-block;
  text-decoration: none;
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  background-color: var(--accent-color);
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  margin: 10px;
  border: none;
  white-space: nowrap;  /* pour ne pas autoriser le saut de ligne */
}



.wizzard-breadcrumbs button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(240, 85, 18, 0.3);
  background-color: var(--accent-over-color);
}

.wizzard-box {
  display: none;

}
.wizzard-box.active {

  display: block;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 10px;
  gap: 15px;
  padding: 10px;
  
}




.wizzard-content input[type="radio"],
  .wizzard-content label {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px; /* espace entre les éléments */
  }






/* CSS pour aligner et styliser les boutons radio */
.wizzard-contentRadio {
  display: flex;
  align-items: center; /* Centre verticalement le bouton et le label */
  gap: 8px; /* Espace entre le bouton radio et le label */
  margin: 10px 0; /* Espace vertical entre les options */
}

/* Style pour les inputs radio */
input[type="radio"] {
  appearance: none; /* Supprime le style par défaut */
  width: 16px; /* Largeur fixe pour un cercle parfait */
  height: 16px; /* Hauteur identique pour un cercle parfait */
  min-width: 16px; /* Empêche la compression */
  min-height: 16px; /* Empêche la compression */
  border: 2px solid var(--accent-color); /* Bordure orange */
  border-radius: 50%; /* Forme circulaire */
  background-color: #fff; /* Fond blanc */
  cursor: pointer;
  position: relative;
}

/* Style pour le bouton radio sélectionné */
input[type="radio"]:checked::before {
  content: "";
  display: block;
  width: 12px; /* Largeur fixe pour un cercle parfait */
  height: 12px; /* Hauteur identique pour un cercle parfait */
  min-width: 12px; /* Empêche la compression */
  min-height: 12px; /* Empêche la compression */
  background-color: var(--accent-color); /* Remplissage orange */
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centre le point intérieur */
}


.custom-fieldset {
  border: 2px solid var(--accent-color); /* change la couleur ici */
  border-radius: 8px;
  padding: 1rem;
}

.custom-fieldset legend {
  color: var(--primary-color);       /* couleur du texte de la légende */
}

/* Style pour les labels */
.wizzard-contentRadio label {
  font-size: 1em;
  color: var(--primary-color); /* Couleur du texte */
  cursor: pointer;
  width: 200px;
}



.wizzard-columnRadio {
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* Conteneur du message de confirmation */
.confirmation-box {
  border: 2px solid var(--accent-color);
  background-color: #fff8f0;
  padding: 20px;
  margin: 30px auto;
  text-align: center;
  border-radius: 10px;
  max-width: 500px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Titre orange */
.confirmation-title {
  color: var(--accent-color);
}

.download-button {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  color: #fff !important;
  background-color: var(--accent-color); /* ex: #ff6600 */
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none !important;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  
}

.download-button:hover {
  background-color: var(--accent-over-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(240, 85, 18, 0.3);
  text-decoration: none !important; /* Assure que le soulignement ne revient pas au survol */
}

.faq-main-container h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 20px;  
  font-size: 1.5em;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header-title {
  font-weight: bold;
  color: var(--accent-color);
  font-size: 22px;
}

.header-img {
  max-height: var(--header-img-height);
  margin-bottom: 5px;


}



.slogan {
  margin-top: 0px;
  font-size: 18px;
  color: var(--primary-color);
}

/* Map styles */
#map {
  width: 100%;
  height: 70vh;
  z-index: 600;

}

/* Controls and form elements */
#controls,
#controls label,
#controls span,
#controls select,
#controls input,
#controls textarea,
#controls button {
  color: var(--primary-color);
}

#controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 10px;
  gap: 15px;
  padding: 10px;
 /* background: #fff;
  box-shadow: 0 0 10px rgba(9, 73, 91, 0.1);*/
}

#controlsLeftAligned {
  display: column;
  align-items: flex-start;
  justify-content: left;
  flex-wrap: wrap;
  gap: 15px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 0 10px rgba(9, 73, 91, 0.1);
}

#controlsContact {
  display: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 0 10px rgba(9, 73, 91, 0.1);
}



/* Form elements */
button,
select,
input {
  padding: 5px;
  font-size: 14px;
  display: inline-block;
  width: auto;
  min-width: 100px;
  box-sizing: border-box;
}

#gpxButton {
  background-color: var(--accent-color);
  color: white !important;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  height: 2.5rem;
}

#gpxButton:hover{
  background-color: var(--accent-over-color);
  box-shadow: 0 4px 8px rgba(240, 85, 18, 0.3);
  transform: translateY(-2px);
  
}

#resetMapButton {
  background-color: white;
  color: var(--primary-color) !important;
  font-weight: normal;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  height: 2.5rem;
}



/* DateTime input styles */
.datetime-label {
  display: flex;
  align-items: center;
  font-family: var(--font-main);
  font-weight: 600;
  color: var(--text-color);
  font-size: 1rem;
  gap: 12px;
  margin: 12px 0;
  max-width: 100%;
  flex-wrap: wrap;
}

.datetime-label input[type="datetime-local"] {
  padding: 8px 12px;
  font-size: 1rem;
  border: 2px solid var(--highlight-color);
  border-radius: 6px;
  background-color: #fff;
  color: var(--text-color);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  flex-shrink: 0;
  min-width: 250px;
  max-width: 250px;
}

.datetime-label input[type="datetime-local"]:focus {
  border-color: #e65c00;
  box-shadow: 0 0 8px rgba(255, 102, 0, 0.5);
}


.unit-toggle button {
  color: var(--primary-color); 
  padding: 2x 2px;
  font-size: 13px;
  border-radius: 6px;
  border: 0px solid #ccc;
  
  background-color: #fff;
  cursor: pointer;
}




/*Ombre sous la modale*/
#paymentModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1010;
  
}

#paymentContent {
  position: relative;
  background: white;
  border-radius: 15px;
  padding: 20px;
  width: 80%;
  max-width: 80%;
  height: calc(100% - 120px); /* prend presque toute la hauteur de l'écran */
  margin: 50px auto 50px auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;

} 



.payment-form {
  height: 100px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;

}





.close-modal {
  position: absolute;
  top: 16px;
  right: 12px;
  background: none;
  border: none;
  font-size: 28px;
  color: #333;
  cursor: pointer;
  z-index: 1001;
  line-height: 1;
  padding: 0;
  transition: color 0.2s ease-in-out;
}

.close-modal:hover {
  color: #000;
}



.voucher-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  width: 100%;
  max-width: 100%;
}

.voucher-container input[type="text"] {
  flex-grow: 1;
  min-width: 0;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.voucher-btn {
  flex-shrink: 0;
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  height: 36px;
  white-space: nowrap;
}

.voucher-btn:hover {
  background-color: var(--primary-color-light);
}

.voucher-btn:active {
  background-color: var(--primary-color);
}

#voucher {
  background-color: #fff3e0; /* Change ici la couleur */
  border: 1px solid #ccc;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: #333; /* couleur du texte */
}


.voucher-label {
  margin-left: 10px;
  color: var(--accent-color);
  font-weight: 500;
  font-size: 14px;
}


#paymentContent input {
  width: 100%;
  margin: 10px 0;
  padding: 8px;
}


.payment-summary {
  
  flex-shrink: 0;
  text-align: center;
  
  margin-bottom: 10px;
}

.payment-summary h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.2em;
}

/* Nouveau bloc pour afficher les infos en ligne */
.summary-details {
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  gap: 30px; /* espace entre les éléments */
  flex-wrap: wrap; /* utile si l'écran est petit */
}

.summary-details p {

  margin: 0;
  font-size: 0.9em;
}


.button-row {
  display: flex;
  gap: 10px;
}


.pay-btn {
  padding: 12px;
  background: var(--accent-color)!important;
  color: white !important;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100%;
}


.pay-btn:hover {
  background: var(--accent-over-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(240, 85, 18, 0.3);
}

.cancel-btn {
  padding: 12px;
  background: #6c757d !important;
  color: white !important;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#modalPrice {
  color: white !important;
}

.dateTimeAlert {
  margin-top: 8px;
  color: red; 
  font-size: 14px;
  font-weight: bold;
}


.cancel-btn:hover {
  background: #5a6268;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}


/* Mini Profile */
.mini-profile {
  position: fixed;
  top: 40px;
  bottom: unset;
  right: 20px;
  background: rgba(255, 255, 255, 0.85) !important;
  border-radius: 50px;
  padding: 10px 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: none;
  cursor: pointer;
  align-items: center;
  gap: 5px;
  flex-direction: column;
  font-size: 14px;
  z-index: 1000;
}

.profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2px;
  font-size: 13px;
  color: var(--primary-color);
}

.profile-name {
  font-weight: bold;
  color: var(--primary-color);
}

.mini-profile img {
  height: 35px;
  border-radius: 50%;
}

.mini-profile-hint {
  background: var(--primary-color-light) !important;
  color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  margin: 12px auto 0 auto;
  text-align: center;
  font-size: 1em;
  box-shadow: 0 2px 8px rgba(60,80,120,0.06);
  max-width: 320px;
  width: fit-content;

  transition: opacity 0.3s;
  display: none;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.mini-profile-distance-max-hint-error {
  background: red;
  color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  margin: 12px auto 0 auto;
  text-align: center;
  font-size: 1em;
  box-shadow: 0 2px 8px rgba(60,80,120,0.06);
  max-width: 320px;
  width: fit-content;
  transition: opacity 0.3s;
  display: none;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.mini-profile-hint-error {
  background: red;
  color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  margin: 12px auto 0 auto;
  text-align: center;
  font-size: 1em;
  box-shadow: 0 2px 8px rgba(60,80,120,0.06);
  max-width: 320px;
  width: fit-content;
  transition: opacity 0.3s;
  display: none;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Intensity Section */
.intensity {
  margin-top: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}


#activityChart {
  object-fit: contain;

}

#chartContainer {
  flex-grow: 1;
  overflow-y: auto;
  padding: 15px;
  
  border-radius: 8px;

}

/* Tooltip */
.tooltip {
  position: absolute;
  background-color: var(--text-color);
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 14px;
  max-width: 200px;
  z-index: 1001;
  display: none;
  pointer-events: none;
}

/* Profile Selection */
.choose-profiles {
  text-align: center;
  margin: 20px 0;
}

.choose-profiles a {
  display: inline-block;
  text-decoration: none;
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  background-color: var(--primary-color);
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.choose-profiles a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(9, 73, 81, 0.18);
  background-color: var(--primary-color-light);
}

#toggle-jockeys {
  display: inline-block;
  text-decoration: none;
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  background-color: var(--accent-color);
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  width: fit-content;
  margin: 20px auto;
}

#toggle-jockeys:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(240, 85, 18, 0.3);
  background-color: #e14400;
}

#toggle-expertMode {
  display: inline-block;
  text-decoration: none;
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  background-color: var(--primary-color);
  border-radius: 25px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  width: fit-content;
  margin: 20px auto;
}

#toggle-expertMode:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(9, 73, 81, 0.18);
  background-color: #12606b;
  color: #fff;
  letter-spacing: 0.5px;
  filter: brightness(1.08);
}

/* Footer */
footer {
  background-color: #f8f8f8;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--primary-color);
  border-top: 1px solid #ddd;
}

.footer-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 10px;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-slogan {
  font-weight: bold;
  color: var(--primary-color);
  margin: 10px 0;
}

.footer-info {
  color: var(--primary-color);
  margin: 5px 0;
}

.footer-legal {
  margin-top: 15px;
  color: var(--primary-color);
}

.footer-legal-link {
  color: var(--accent-color);
  font-weight: bold;
  text-decoration: none;
}

.footer-legal-link:hover {
  text-decoration: underline;
}

.language-selector {
  margin: 0.5rem 0 0.5rem 0;
  text-align: right;
  font-size: 0.9em;
  background-color: transparent;
  color: var(--primary-color);
  width: 50px; /* pour centrer le select */
  margin-left: auto;
  margin-right: auto;
  min-width: 150px;
  max-width: 150px;
}

.language-selector select {
  padding: 0.4em 0.6em;
  /*border-radius: 5px;*/
  background-color: transparent;
  border: none;
  font-size: 0.9em;
  color: var(--primary-color);
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 5px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.activity-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
  text-decoration: none;
  display: block;
  color: inherit;
  width: 280px;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.activity-card img {
  
  height: 200px;

  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 15px;
  background-color: #f5f5f5;
}

.activity-card h3 {
  margin: 0;
  color: var(--text-color);
  font-size: 1.4em;
}

.jockey-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
  text-decoration: none;
  display: block;
  color: inherit;
  width: 230px;
  cursor: pointer !important;
}

.jockey-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  cursor: pointer;
}

.jockey-card img {
  height: 180px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 5px;
  background-color: #f5f5f5;
}

.jockey-card h3 {
  margin: 0;
  color: var(--text-color);
  font-size: 1.4em;
}

.jockey-card.selected {
  border: 2px solid var(--accent-color);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2); 
  transform: scale(1.02);
}

.jockey-card-name {
  font-weight: bold;
}

.jockey-card-shortdescription {
  height: 70px;
  display: flex;
  align-items: center;   /* centre verticalement */
  justify-content: center; 
  text-align: center;
  font-size: 1em;
  color: #555;
}

.jockey-card-price, .jockey-card-price-imperial {
  color: var(--accent-color);
  font-weight: bold;
  margin-top: auto;
  font-size: 1em;
}

.jockey-card-allure-metric, .jockey-card-allure-imperial {
  font-style: italic;
  color: #555;
  font-size: 1em;
}

#miniProfile {
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(60,80,120,0.10);
  /* autres styles éventuels */
}

.no-bullets {
  list-style-type: none;  /* supprime les puces */
  padding-left: 0;        /* enlève le padding à gauche */
  margin-left: 0;         /* enlève la marge à gauche */
}

.lj-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}
.lj-link:hover {
  text-decoration: underline;
  color: #d9440e;
}

.lj-footer {
  background: #f8f8f8;
  font-size: 0.9em;
  padding: 10px 0 5px 0;
  text-align: center;
  color: #555;
  border-top: 1px solid #e0e0e0;
}
.footer-links {
  margin-bottom: 5px;
}
.footer-links .lj-link {
  margin: 0 8px;
  color: var(--accent-color);
  text-decoration: none;
}
.footer-sep {
  color: #bbb;
}
.footer-info, .footer-legal {
  margin: 2px 0;
  font-size: 0.85em;
}



.faq-container {
  max-width: 700px;
  margin: 20px auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(9,73,81,0.10);
  padding: 2px 18px 18px 18px;
  position: relative;
}
.faq-container h3 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 1.5em;
  font-weight: bold;
  letter-spacing: 1px;
}
.faq-container h4 {
  color: var(--primary-color);
  margin-top: 1.7em;
  margin-bottom: 0.5em;
  font-size: 1.15em;
  border-left: 4px solid var(--primary-color);
  padding-left: 10px;
  font-weight: 600;
}
.faq-container a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

.faq-container a:hover {
  text-decoration: underline;
}

.cgv-container {
  max-width: 700px;
  margin: 40px auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(9,73,81,0.10);
  padding: 36px 32px 28px 32px;
  position: relative;
}
.cgv-container h3 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 1.5em;
  font-weight: bold;
  letter-spacing: 1px;
}
.cgv-container .cgv-date {
  text-align: center;
  color: #888;
  font-size: 1em;
  margin-bottom: 24px;
}
.cgv-container h4 {
  color: var(--primary-color);
  margin-top: 1.7em;
  margin-bottom: 0.5em;
  font-size: 1.15em;
  border-left: 4px solid var(--primary-color);
  padding-left: 10px;
  font-weight: 600;
}
.cgv-container p {
  color: var(--text-color)3;
  line-height: 1.7;
  margin-bottom: 0.7em;
}
.cgv-container .cgv-icon {
  display: block;
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 10px;
}




.standard-container {
  max-width: 500px;
  margin: 20px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 24px 24px 24px;
  text-align: center;
}
  .standard-container h3 {
    text-align: center;
    margin-bottom: 24px;
    color: var(--primary-color);
  }

  .standard-container h4 {
    color: var(--primary-color);
    margin-top: 1.7em;
    margin-bottom: 0.5em;
    font-size: 1.15em;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
    font-weight: 600;
  }

  .standard-container img {
  display: block;
  margin: 20px auto 0 auto;
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  }

  .standard-container a {
  color: #F05512;
  text-decoration: none;
  font-weight: bold;
}

.standard-container a:hover {
  text-decoration: underline;

}

.standard label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--primary-color);
  text-align: left;
}


/* ****************************************************** */
/* Media Queries */ 
/* ****************************************************** */

@media screen and (max-width: 600px) {

    #controls {
      flex-direction: column;
      align-items: center;
    }


    #wizzard-box {
      flex-direction: column;
      align-items: center;
    }

    .tooltip {
      display: none !important;
    }

    
    #miniProfile:not([style*="display: none"]) ~ #choose-profiles {
      display: none !important;
    }
    
    #miniProfile[style*="display: none"] ~ #choose-profiles {
      display: block !important;
    }

    .mini-profile {

      bottom: 10px;
      top: unset;

    }




    label {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      width: 100%;
    }

    button,
    textarea,
    select,
    input {
      width: 80%;
      min-width: unset;
      margin: 5px;
    }


    .voucher-btn {
      width: unset;
      min-width: unset;

    }
    .close-modal {
      width: unset;
      min-width: unset;

    }

    /* Nouveau bloc pour afficher les infos en ligne */
.summary-details {
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  gap: 10px; /* espace entre les éléments */
  flex-wrap: wrap; /* utile si l'écran est petit */
}

.summary-details p {

  margin: 0;
  font-size: 0.7em;
}
 


    .datetime-label {
      font-size: 1.1rem;
      gap: 8px;
      text-align: left;
    }

    .datetime-label input[type="datetime-local"] {
      width: 100%;
      min-width: unset;
      max-width: 100%;
      flex-grow: 1;
    }

    .activity-card {
      flex: 1 1 calc(50% - 5px);
      max-width: calc(50% - 5px);
      min-width: 0;       /* Empêche les débordements */
      margin: 5px 0;
      box-sizing: border-box;
    }

    .activity-card img {
      width: 100%;
      max-width: 120px;
      height: auto;
      object-fit: contain;
    }

    .activity-card h3 {
      margin: 0;
      color: var(--text-color);
      font-size: 1em;
    }

    




    .jockey-card {
      flex: 1 1 calc(50% - 5px);
      max-width: calc(50% - 5px);
      min-width: 0;    
      margin: 5px 0;
      box-sizing: border-box;
    }

    .jockey-card img {
      width: 100%;
      max-width: 120px;
      height: auto;
      object-fit: contain;
    }

    .jockey-card-price, .jockey-card-price-imperial {
      font-size: 1em;
    }
    
    .jockey-card-allure-metric, .jockey-card-allure-imperial {
      font-size: 0.80em;
    }

    .jockey-card-shortdescription {
      height: 80px;
      display: flex;
      align-items: center;   
      justify-content: center; 
      text-align: center;
      font-size: 0.85em;
      color: #555;
    }



  .wizzard-column {
    width: 100%;
  }
    
.wizzard-title {

  font-size: 1.15em !important;


}

.wizzard-breadcrumbs {
  font-size: 1.15em !important;
}

.download-button {
  font-size: 14px;
  padding: 10px;
  width: 100%;
   /*white-space: normal; Autorise le retour à la ligne si nécessaire */
}


}