/* Centrage et positionnement du bouton Commander un transport sous la bannière en pointe */
.commander-transport-ctn {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  margin-top: -60px; /* remonte le bouton vers la pointe */
  margin-bottom: 40px;
  z-index: 10;
}
.commander-transport-btn {
  background: var(--maintheme);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 16px 48px;
  font-size: 1.5rem;
  font-family: 'Exo2', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 24px rgba(215,24,24,0.13);
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
  outline: none;
  margin-top: 18px;
}
.commander-transport-btn:hover, .commander-transport-btn:focus {
  background: #b31313;
  color: #fff;
  box-shadow: 0 8px 32px rgba(215,24,24,0.18);
  transform: translateY(-2px) scale(1.03);
}

.switch-transport-ctn {
  display: inline-flex;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(215,24,24,0.07);
}
.switch-transport-ctn .btn {
  border-radius: 0;
  font-size: 1.1rem;
  font-family: 'Exo2', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  border: 1.5px solid var(--maintheme);
  background: #fff;
  color: var(--maintheme);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.switch-transport-ctn .btn-check:checked + .btn {
  background: var(--maintheme);
  color: #fff;
  box-shadow: 0 2px 12px rgba(215,24,24,0.13);
}
.switch-btn-left {
  border-top-left-radius: 50px !important;
  border-bottom-left-radius: 50px !important;
  border-right: none;
}
.switch-btn-right {
  border-top-right-radius: 50px !important;
  border-bottom-right-radius: 50px !important;
}
.switch-transport-ctn .btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px #ffeaea;
}

.switch-btn-right.disabled,
.switch-btn-right[disabled],
.switch-transport-ctn .btn[disabled],
.switch-transport-ctn .btn.disabled {
  background: #ececec !important;
  color: #bbb !important;
  border-color: #ddd !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
  box-shadow: none !important;
  text-decoration: line-through;
  font-style: italic;
  filter: grayscale(0.5) brightness(1.1);
  letter-spacing: 0.5px;
  position: relative;
}
.switch-btn-right.disabled span {
  text-decoration: line-through;
  font-style: italic;
  color: #bbb !important;
}

/* Style pour la case à cocher 'J'ai besoin d'un retour' */
.form-check-input#besoinRetour {
  width: 2.2em;
  height: 2.2em;
  border-radius: 0.5em;
  border: 2px solid var(--maintheme);
  background: #fff;
  margin-top: 0.1em;
  margin-right: 0.6em;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(215,24,24,0.10);
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  vertical-align: middle;
}
.form-check-input#besoinRetour:checked {
  background-color: var(--maintheme);
  border-color: var(--maintheme);
  box-shadow: 0 2px 12px rgba(215,24,24,0.13);
}
.form-check-input#besoinRetour:checked::after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.5em;
  height: 1.5em;
  border-radius: 0.2em;
  transform: translate(-50%, -50%);
  background: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 17L14 23L24 11" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/contain no-repeat;
}
.form-check-label[for="besoinRetour"] {
  font-family: 'Exo2', Arial, sans-serif;
  font-size: 1.15rem;
  color: #222;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  user-select: none;
  transition: color 0.15s;
}
.form-check-input#besoinRetour:focus {
  outline: none;
  box-shadow: 0 0 0 2px #ffeaea;
}
.form-check.mb-4.d-flex.justify-content-center {
  align-items: center;
}
.form-check-label[for="besoinRetour"] {
  display: flex;
  align-items: center;
  height: 2.2em;
}
.special-container{
  background-image: url(/assets/img/bg.png);
  background-size: cover;
}