/* ===== Base ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #EDEFF2;
  color: #222;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
}

h1, h2, h3 {
  margin: 20px 0 10px;
  font-size: 18px;
  color: #444;
}

label {
  display: block;
  margin: 10px 0 5px;
  font-weight: 500;
}

input,
select,
textarea,
button {
  width: 100%;
  padding: 10px;
  font-size: 14px;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

/* ===== Conteneur ===== */
#module-reservation-radio-t3p {
  max-width: 600px;
  margin: 0 auto;
  padding: 15px;
  background: #EDEFF2;
}

/* ===== Étapes ===== */
.etape {
  margin-bottom: 30px;
}

/* ===== Blocs ===== */
.etape h3 {
  margin-top: 25px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ddd;
}

/* ===== Radios / checkboxes ===== */
label input[type="radio"],
label input[type="checkbox"] {
  width: auto;
  margin-right: 6px;
}

/* ===== Accordéon (structure) ===== */
.accordion-toggle {
  cursor: pointer;
  background: #eee;
  padding: 10px;
  border-radius: 4px;
}

.accordion-content {
  padding: 10px;
  background: #fafafa;
  border: 1px solid #ddd;
  border-top: none;
}

/* ===== Boutons ===== */
button {
  margin-top: 15px;
  background: #0073aa;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: #005f8d;
}

#modifier {
  background: #777;
}

#modifier:hover {
  background: #555;
}

/* ===== Étape 2 ===== */
#reservation-etape-2 {
  background: #F9F9F9;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.vehicle-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #A0A0A0;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;

  cursor: pointer;
  background: #ffffff;
}

.vehicle-card.active {
  border: 3px solid #0073aa;
  box-shadow: 0 0 0 2px rgba(0,115,170,0.2);
  background: #ffffff;
}

.vehicle-card:hover {
  border-color: #0073aa;
}

.vehicle-image {
  width: 180px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.vehicle-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.vehicle-info {
  flex: 1;
  background: #ffffff;
}

.vehicle-name {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
  text-transform: capitalize;
}

.vehicle-price {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.vehicle-capacity {
  font-size: 14px;
  color: #555;
}

.recap-line {
  margin-bottom: 12px;
  font-size: 16px;
}

.vehicle-card img {
  width: 100%;
  max-width: 160px;
  height: auto;
  display: block;
  margin: 0 auto;
}

#confirm_error {
  display: none;              /* caché par défaut */
  margin: 12px 0;
  padding: 10px 12px;
  text-align: center;
  color: #b00020;
  background: #ffecec;
  border: 1px solid #f5c2c2;
  border-radius: 4px;
  font-size: 14px;
}

#preview_error {
  display: none;              /* caché par défaut */
  margin: 12px 0;
  padding: 10px 12px;
  text-align: center;
  color: #b00020;
  background: #ffecec;
  border: 1px solid #f5c2c2;
  border-radius: 4px;
  font-size: 14px;
}

/* ===== Améliorations visuelles ===== */

/* Titres de sections */
.etape h3 {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  margin-top: 30px;
}

/* Champs */
input,
select,
textarea {
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #0073aa;
  box-shadow: 0 0 0 2px rgba(0,115,170,0.15);
  background: #ffffff;
}

/* Labels */
label {
  font-size: 14px;
  color: #333;
}

/* Bloc prix */
.vehicle-price {
  color: #0073aa;
}

/* Boutons */
button {
  font-size: 15px;
  font-weight: 600;
  padding: 12px;
}

#confirmer {
  background: #0073aa;
}

#confirmer:hover {
  background: #005f8d;
}

#modifier {
  margin-top: 8px;
}

/* Bouton désactivé */
button:disabled {
  background: #b0b0b0 !important;
  cursor: not-allowed;
}

/* Messages d'erreur */
#confirm_error,
#preview_error {
  font-weight: 500;
}

/* Récap */
.recap-line strong {
  color: #333;
}

p {
  color: #333;
}

/* ===== Page merci ===== */

    .merci-center {
      text-align: center;
    }
    .merci-contact {
      text-align: center;
      margin-top: 15px;
    }
	
	 .btn-merci {
    display: inline-block;
    margin: 25px 0;
    padding: 12px 22px;
    background: #FFE5B4; /* orange pastel clair */
    color: #333;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
  }

  .btn-merci:hover {
    background: #FFD28A;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    transform: translateY(-1px);
  }
  .merci-info {
  margin: 20px 0;
  padding: 14px 16px;
  background: #FFEDED;
  border-left: 4px solid #FF4E5E;
  color: #333;
  font-weight: 500;
}

.price-suffix {
  margin-left: 6px;
  font-size: 1.1em;
  color: #FF4E5E;
  font-weight: 500;
}

.merci-code {
  margin: 15px 0;
  font-weight: 600;
}

.merci-print {
  text-align: center;
  margin: 20px 0;
}

.btn-print {
  padding: 11px 22px;
  background: #e0e0e0;
  color: #333;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.btn-print:hover {
  background: #d5d5d5;
}

.price-suffix {
  font-size: 1.0em;
  margin-left: 4px;
}

.price-max {
  color: #1E7E34; /* vert */
  font-weight: 600;
}

.price-estime {
  color: #C0392B; /* rouge doux */
  font-weight: 600;
}

/* ===== Responsive mobile ===== */

@media (max-width: 768px) {

  .vehicle-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .vehicle-image {
    width: 100%;
    height: auto;
  }

  .vehicle-image img {
    max-width: 200px;
  }

  .vehicle-info {
    width: 100%;
  }

  .vehicle-name {
    font-size: 18px;
  }

  .vehicle-price {
    font-size: 22px;
  }

}

/* ===== Responsive simple ===== */
@media (max-width: 600px) {
  h1, h2, h3 {
    font-size: 16px;
  }
}
