/* === SECTION TARIFS === */
.tarif-box {
  background-color: #e0e0e0;
  padding: 40px 20px;
  border-radius: 12px;
  margin-bottom: 60px;
}

.tarif-box .section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.tarif-intro, .tarif-note {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 20px;
  color: #333;
}

.tarif-table-container {
  overflow-x: auto;
}

.tarif-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.tarif-table th, .tarif-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.tarif-table thead {
  background-color: #f0f0f0;
  font-weight: bold;
}

.tarif-table tbody tr:hover {
  background-color: #f9f9f9;
}

.cta-buttons {
  text-align: center;
  margin-top: 30px;
}

.cta-buttons .btn {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.cta-buttons .btn:hover {
  background-color: #555;
}


/* === FORMULAIRE DEVIS === */
.devis-box {
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.devis-box h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #222;
}

.devis-intro {
  font-size: 1rem;
  color: #444;
  margin-bottom: 25px;
}

.devis-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.devis-form .form-group {
  display: flex;
  flex-direction: column;
}

.devis-form label {
  margin-bottom: 5px;
  font-weight: 500;
}

.devis-form input,
.devis-form textarea,
.devis-form select {
  padding: 10px;
  border: 1px solid #ccc;
  background-color: #e0e0e0;
  border-radius: 5px;
  font-size: 1rem;
}

.devis-form input:focus,
.devis-form textarea:focus,
.devis-form select:focus {
  background-color: #d5d5d5;
  outline: none;
  border-color: #999;
}

.devis-form .btn {
  align-self: flex-start;
  padding: 10px 20px;
  background-color: #111;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.devis-form .btn:hover {
  background-color: #333;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.form-row .form-group {
  flex: 1;
  min-width: 200px;
}

/* Étapes intermédiaires */
#etapes-wrapper .form-group {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

#addStepBtn {
  margin-bottom: 20px;
  background: none;
  border: 1px solid #333;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 0.9rem;
  border-radius: 5px;
}

.remove-step {
  background: #c62828;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 5px;
  cursor: pointer;
}

/* Résumé de course */
.form-summary {
  background-color: #e0e0e0;
  padding: 10px 15px;
  border-radius: 5px;
  margin-top: 20px;
}

/* Note service Van */
#note-van-obligatoire {
  color: #333;
  font-size: 0.95em;
  margin-top: 5px;
}

/* ===== CHAMPS DE DATE/HEURE ===== */
.form-group input[type="datetime-local"] {
  width: 100%;
  max-width: 300px;
  min-width: 250px;
}

/* ===== Trajet retour ===== */
/* Alignement horizontal de la ligne "Trajet retour ?" */
.retour-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 300px;
  margin: 10px 0;
}

/* Empêche la case de sauter à droite */
.retour-toggle label {
  margin: 0;
  font-weight: 500;
  font-size: 1rem;
}

.retour-toggle input[type="checkbox"] {
  transform: scale(1.2);
  cursor: pointer;
}


/* Réduction spécifique des selects dans la ligne Passagers / Bagages / Service */
.form-row .form-group select {
  width: 100%;
  max-width: 160px; /* tu peux ajuster à 140px, 120px si tu veux plus petit encore */
  padding: 8px;
  font-size: 0.95rem;
}

.form-row .form-group label {
  font-size: 0.9rem;
}

/* --- Formulaire devis : champ TVA --- */
#tva {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
