/**
 * Formulaire de réservation, sous TC Horizon.
 *
 * S'ajoute à devis.css, dont il reprend les champs, les tuiles, les erreurs,
 * les étapes et le récapitulatif. Le balisage est celui du webform « booking » :
 * ces règles ne font que le mettre en forme.
 */

/* --- En-tête : le voyage à gauche, le départ à droite ------------------------- */

.tc-resa-tete__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px 40px;
  align-items: end;
}

.tc-resa-depart {
  padding: 18px 20px;
  border-radius: 18px;
  background: #FFFFFF;
  box-shadow: 0 0 0 1px var(--dv-bord), 0 10px 30px rgba(0, 0, 0, .06);
}

.tc-resa-depart p {
  margin: 0;
}

.tc-resa-depart__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--dv-sable-fonce);
}

.tc-resa-depart__dates {
  margin: 4px 0 2px !important;
  font-family: var(--tc-serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}

.tc-resa-depart__dates::first-letter {
  text-transform: uppercase;
}

.tc-resa-depart__prix {
  font-size: 16px;
  color: var(--dv-gris);
}

.tc-resa-depart__statut {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px !important;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--dv-ok);
}

.tc-resa-point {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tc-success, #1FA97B);
}

.tc-resa-depart__changer {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  color: var(--dv-vert);
  text-underline-offset: 3px;
}

/* Le départ et le détail calculé d'origine : le récapitulatif les remplace. */
.tc-resa__form #departure,
.tc-resa__form #booking_details {
  display: none;
}

/* --- Les voyageurs : le tableau devient une pile de cartes ------------------------ */

.tc-resa__form .tc-resa-voyageurs > legend {
  display: none;
}

.tc-resa__form .webform-multiple-table table,
.tc-resa__form .webform-multiple-table tbody {
  display: block;
  width: 100%;
  border: 0;
}

.tc-resa__form .webform-multiple-table thead {
  display: none;
}

.tc-resa__form .webform-multiple-table tbody > tr {
  position: relative;
  display: block;
  margin: 0 0 14px;
  padding: 16px 20px 20px;
  border: 1px solid var(--dv-bord);
  border-radius: 16px;
  background: #FFFFFF;
}

.tc-resa__form .webform-multiple-table tbody > tr > td {
  display: block;
  padding: 0;
  border: 0;
}

/* L'intitulé « Voyageur 1 » et le tarif calculé, ajoutés par le script. */
.tc-resa-voyageur__tete {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  min-height: 44px;
  margin: 0 0 10px;
  padding-right: 110px;
  font-size: 18px;
  font-weight: 800;
}

.tc-resa-voyageur__tarif {
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--dv-vert-clair);
  font-size: 15px;
  font-weight: 700;
  color: var(--dv-vert);
}

.tc-resa-voyageur__tarif:empty {
  display: none;
}

.tc-resa-voyageur__tarif.is-hors {
  background: #FFF4F3;
  color: var(--dv-rouge);
}

/* Les champs d'un voyageur : civilité, prénom, nom, puis la date. */
.tc-resa__form .webform-multiple-table tbody > tr > td:first-child {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 18px;
}

.tc-resa__form .webform-multiple-table tbody > tr > td:first-child > .tc-resa-voyageur__tete,
.tc-resa__form .webform-multiple-table tbody > tr > td:first-child > .birthday_section {
  grid-column: 1 / -1;
}

.tc-resa__form .webform-multiple-table .form-item {
  margin: 0;
}

.tc-resa__form .webform-multiple-table .form-item > label {
  margin-bottom: 6px;
  font-size: 16px;
}

/* Tous les champs d'un voyageur sont obligatoires : l'intro le dit, pas
   chaque intitulé. */
.tc-resa__form .webform-multiple-table .form-required::after {
  content: none;
}

.tc-resa__form .birthday_section .container-inline > .form-item {
  display: block;
  min-width: 0;
}

.tc-resa__form .birthday_section .container-inline select {
  width: 100%;
}

.tc-resa__form .birthday_section .container-inline {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1.2fr;
  gap: 8px;
  max-width: 480px;
}

.tc-resa__form .birthday_section .container-inline label {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.tc-resa__form .birthday_section select {
  padding-right: 34px;
  background-position: right 12px center;
}

/* Retirer : le bouton-image du webform cède la place à un vrai bouton écrit. */
.tc-resa__form .webform-multiple-table--operations {
  position: absolute !important;
  top: 16px;
  right: 10px;
  width: auto !important;
  white-space: nowrap;
}

.tc-resa__form .webform-multiple-table--operations input[type="image"].is-remplace {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.tc-resa-retirer {
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--dv-rouge);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.tc-resa-retirer:focus-visible {
  outline: 3px solid var(--tc-focus, var(--dv-jaune));
  outline-offset: 2px;
}

.tc-resa__form .webform-multiple-table tbody > tr:only-child .tc-resa-retirer {
  display: none;
}

/* Ajouter un voyageur. */
.tc-resa__form .webform-multiple-add {
  margin: 0 0 12px;
}

.tc-resa__form .webform-multiple-add input[type="submit"] {
  min-height: 56px;
  padding: 0 24px 0 50px;
  border: 2px dashed var(--dv-sable);
  border-radius: 999px;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238F6530' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") left 20px center / 20px no-repeat;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  color: var(--dv-sable-fonce);
  cursor: pointer;
}

.tc-resa__form .webform-multiple-add input[type="submit"]:hover {
  border-style: solid;
}

.tc-resa__form .webform-multiple-add input[type="submit"]:disabled {
  border-color: var(--dv-bord);
  background-color: var(--dv-fond);
  color: var(--dv-gris);
  cursor: not-allowed;
  filter: grayscale(1);
}

.tc-resa__form .webform-multiple-add input[type="submit"]:disabled:hover {
  border-style: dashed;
}

.tc-resa-ajout__raison {
  margin: 8px 0 0 4px;
  font-size: 15px;
  color: var(--dv-gris);
}

.tc-resa__form .webform-multiple-add input[type="submit"]:focus-visible {
  outline: 3px solid var(--tc-focus, var(--dv-jaune));
  outline-offset: 2px;
}

.tc-resa-tarifs {
  margin: 0 0 30px;
  font-size: 15.5px;
  color: var(--dv-gris);
}

/* --- Les documents : passeports, billets ---------------------------------------- */

.tc-resa__form .tc-resa-depot {
  padding: 18px;
  border: 2px dashed #CFCBC3;
  border-radius: 16px;
  background: var(--dv-fond);
}

/* Une seule mention « obligatoire », sur l'intitulé du dépôt. */
.tc-resa__form .tc-resa-depot .form-managed-file .form-required::after,
.tc-resa__form .tc-resa-depot .webform-file-button.form-required::after,
.tc-resa__form .tc-resa-depot .form-item .form-item .form-required::after {
  content: none;
}

.tc-resa__form .tc-resa-depot .description {
  margin: 10px 0 0;
}

.tc-resa__form .tc-resa-depot input[type="file"] {
  max-width: 100%;
  font: inherit;
  font-size: 16px;
}

.tc-resa__form .tc-resa-depot input[type="submit"] {
  min-height: 48px;
  margin: 10px 0 0;
  padding: 0 20px;
  border: 2px solid var(--dv-vert);
  border-radius: 999px;
  background: #FFFFFF;
  font: inherit;
  font-weight: 800;
  color: var(--dv-vert);
  cursor: pointer;
}

.tc-resa__form .tc-resa-depot .file,
.tc-resa__form .tc-resa-depot .file a {
  font-weight: 700;
  color: var(--dv-vert);
}

.tc-resa-tuiles--passeports input[value="yes"] + label::before,
.tc-resa-tuiles--vols input[value="Yes"] + label::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='11' y='6' width='26' height='36' rx='3'/%3E%3Ccircle cx='24' cy='20' r='5'/%3E%3Cpath d='M17 33h14'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='11' y='6' width='26' height='36' rx='3'/%3E%3Ccircle cx='24' cy='20' r='5'/%3E%3Cpath d='M17 33h14'/%3E%3C/svg%3E");
}

.tc-resa-tuiles--vols input[value="Yes"] + label::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 27l14-4 10-15 4 2-5 13 11-2 3-5 3 1-2 9-24 7z'/%3E%3Cpath d='M8 40h32'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 27l14-4 10-15 4 2-5 13 11-2 3-5 3 1-2 9-24 7z'/%3E%3Cpath d='M8 40h32'/%3E%3C/svg%3E");
}

.tc-resa-tuiles--passeports input[value="later"] + label::before,
.tc-resa-tuiles--vols input[value="No"] + label::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='16'/%3E%3Cpath d='M24 15v10l6 4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='16'/%3E%3Cpath d='M24 15v10l6 4'/%3E%3C/svg%3E");
}

.tc-resa-tuiles--passeports label.option::before,
.tc-resa-tuiles--vols label.option::before {
  content: "";
  width: 46px;
  height: 46px;
  background: var(--dv-sable-fonce);
  -webkit-mask: no-repeat center / contain;
  mask: no-repeat center / contain;
}

/* --- Les coordonnées ------------------------------------------------------------ */

/* Les rangées du webform (et celles de l'adresse) : souples, elles se
   replient d'elles-mêmes quand la place manque. */
.tc-resa__form .webform-flexbox {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 24px;
  margin: 0 0 22px;
}

.tc-resa__form .webform-flexbox > .webform-flex {
  flex: 1 1 220px !important;
  min-width: 0;
}

.tc-resa__form .webform-flexbox > .webform-flex:has(.tc-resa-champ--gender) {
  flex: 0 0 150px !important;
}

.tc-resa__form .webform-flexbox > .webform-flex > .webform-flex--container {
  margin: 0;
}

.tc-resa__form .webform-flex .form-item {
  margin: 0;
}

.tc-resa__form .tc-resa-champ--address > legend {
  display: none;
}

.tc-resa__form .tc-resa-champ--address .webform-flexbox {
  margin-bottom: 18px;
}

/* En France, le code postal avant la ville. */
.tc-resa__form .tc-resa-champ--address .webform-flex:has([name$="[postal_code]"]) {
  order: -1;
  flex: 0 1 200px !important;
}

/* Tous les champs de contact sont obligatoires : la phrase d'introduction le
   dit une fois. */
.tc-resa__form .tc-resa-contact .form-required::after {
  content: none;
}

/* --- Le paiement : des tuiles, avec les montants ---------------------------------- */

.tc-resa__form .tc-resa-paiements .form-radios {
  display: grid;
  gap: 12px;
}

.tc-resa__form .tc-resa-paiements .form-radios > .form-item {
  position: relative;
  margin: 0;
}

.tc-resa__form .tc-resa-paiements .form-radios > .form-item > input {
  position: absolute;
  top: 50%;
  left: 20px;
  z-index: 1;
  width: 22px;
  height: 22px;
  margin: -11px 0 0;
  accent-color: var(--dv-vert);
  pointer-events: none;
}

.tc-resa__form .tc-resa-paiements .form-radios > .form-item > label.option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 24px;
  margin: 0;
  padding: 18px 20px 18px 58px;
  border: 2px solid var(--dv-bord);
  border-radius: 16px;
  background: #FFFFFF;
  font-size: 16px;
  font-weight: 500;
  color: var(--dv-gris);
  cursor: pointer;
}

.tc-resa__form .tc-resa-paiements .form-radios > .form-item > label.option:hover {
  border-color: var(--dv-sable);
}

.tc-resa__form .tc-resa-paiements .form-radios > .form-item > input:checked + label.option {
  border-color: var(--dv-vert);
  background: var(--dv-vert-clair);
  box-shadow: inset 0 0 0 1px var(--dv-vert);
}

.tc-resa__form .tc-resa-paiements .form-radios > .form-item > input:focus-visible + label.option {
  outline: 3px solid var(--tc-focus, var(--dv-jaune));
  outline-offset: 3px;
}

.tc-resa-paiement__titre {
  display: block;
  font-size: 17.5px;
  font-weight: 800;
  color: var(--dv-encre);
}

.tc-resa-paiement__montants {
  display: grid;
  gap: 2px;
  text-align: right;
  font-size: 15.5px;
  color: var(--dv-encre);
  white-space: nowrap;
}

.tc-resa-paiement__montants b {
  font-size: 18px;
}

/* --- La vérification --------------------------------------------------------------- */

.tc-resa__form .tc-resa-verif > legend {
  display: none;
}

.tc-resa__form .tc-resa-verif__bloc {
  margin: 0 0 14px !important;
  padding: 18px 20px;
  border: 1px solid var(--dv-bord);
  border-radius: 16px;
}

.tc-resa__form .tc-resa-verif__bloc hr {
  display: none;
}

.tc-resa__form .tc-resa-verif__bloc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16.5px;
}

.tc-resa__form .tc-resa-verif__bloc th,
.tc-resa__form .tc-resa-verif__bloc td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--dv-bord);
  text-align: left;
}

.tc-resa__form .tc-resa-verif__bloc thead th {
  font-size: 14.5px;
  color: var(--dv-gris);
}

.tc-resa__form .tc-resa-verif__bloc td.price,
.tc-resa__form .tc-resa-verif__bloc th.price {
  text-align: right;
  white-space: nowrap;
}

.tc-resa__form .tc-resa-verif__bloc .bill {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  font-size: 16.5px;
}

.tc-resa__form .tc-resa-verif__bloc .bill.total {
  font-size: 18px;
  font-weight: 800;
}

.tc-resa__form .tc-resa-verif__bloc .bill .detail span + span {
  margin-left: 6px;
}

.tc-resa__form .tc-resa-verif__bloc .value + .label,
.tc-resa__form .tc-resa-verif__bloc .value + .currency {
  margin-left: .3em;
}

.tc-resa__form .tc-resa-verif__bloc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tc-resa__form .tc-resa-verif__bloc ul li {
  padding: 2px 0;
}

.tc-resa__form .tc-resa-verif__bloc tfoot td {
  border-bottom: 0;
}

.tc-resa__form .tc-resa-cgv {
  margin: 0 0 26px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--dv-fond);
}

.tc-resa__form .tc-resa-cgv > legend {
  display: none;
}

.tc-resa__form .tc-resa-cgv .form-type-checkbox,
.tc-resa__form .tc-resa-cgv .form-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
}

.tc-resa__form .tc-resa-cgv input[type="checkbox"] {
  flex: none;
  width: 26px;
  height: 26px;
  margin: 0;
  accent-color: var(--dv-vert);
}

.tc-resa__form .tc-resa-cgv label {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.tc-resa__form .tc-resa-cgv a {
  color: var(--dv-vert);
}

/* --- L'espace client ---------------------------------------------------------------- */

.tc-resa-comptes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tc-resa-compte {
  padding: 20px 22px 22px;
  border: 1px solid var(--dv-bord);
  border-radius: 18px;
}

.tc-resa-compte--creer {
  border-color: var(--dv-sable);
  box-shadow: inset 0 4px 0 var(--tc-highlight, var(--dv-jaune));
}

.tc-resa-compte__titre {
  margin: 0 0 4px;
  font-family: var(--tc-serif);
  font-size: 22px;
  font-weight: 700;
}

.tc-resa-compte__texte {
  margin: 0 0 16px;
  font-size: 15.5px;
  color: var(--dv-gris);
}

.tc-resa-compte .webform-flexbox {
  display: grid;
  gap: 16px;
  margin: 0 0 16px;
}

.tc-resa-compte .webform-section-title {
  display: none;
}

.tc-resa-compte .form-actions {
  margin: 8px 0 0;
  padding: 0;
  border: 0;
}

.tc-resa-compte .form-actions input[type="submit"] {
  width: 100%;
  margin: 0;
  padding-right: 28px !important;
  background-image: none !important;
}

.tc-resa-compte--connexion .form-actions input[type="submit"] {
  border-color: var(--dv-vert);
  background: #FFFFFF !important;
  color: var(--dv-vert);
}

/* La connexion : une case « Se souvenir de moi » sans nom, qui n'enregistre
   rien, et des liens en double. On garde un seul « Mot de passe oublié ? ». */
.tc-resa-compte--connexion .form-item-forgotten-your-password .checkbox > label,
.tc-resa-compte--connexion .more-links {
  display: none;
}

.tc-resa-compte--connexion .forgotPass {
  display: inline-block;
  margin-top: 4px;
  font-weight: 700;
  color: var(--dv-vert);
  text-underline-offset: 3px;
}

.tc-resa-compte .password-strength,
.tc-resa-compte .password-confirm {
  margin-top: 8px;
  font-size: 15px;
  color: var(--dv-gris);
}

/* Les atouts du compte : trois lignes cochées. */
.tc-resa-compte__atouts {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--dv-vert-clair);
  list-style: none;
}

.tc-resa-compte__atouts li {
  position: relative;
  padding-left: 28px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--dv-encre);
}

.tc-resa-compte__atouts li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--dv-vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* --- L'étape « Votre compte » en pleine largeur --------------------------------------- */
/* Ni carte du voyage ni récapitulatif (voir trip-booking.html.twig) : la carte
   blanche prend toute la page, et les deux comptes s'y partagent la place. */

.tc-devis__corps--large {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1160px;
}

.tc-devis__corps--large .tc-resa-comptes {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.tc-devis__corps--large .tc-resa-compte {
  padding: 30px 32px 32px;
  border-radius: 22px;
}

.tc-devis__corps--large .tc-resa-compte__titre {
  font-size: 26px;
}

/* Création : prénom et nom côte à côte ; le mot de passe et sa confirmation
   restent l'un sous l'autre. */
.tc-devis__corps--large .tc-resa-compte--creer .webform-flexbox:has(.webform-flex + .webform-flex) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tc-devis__corps--large .tc-resa-compte--creer .form-type-password-confirm {
  display: grid;
  gap: 16px;
}

.tc-devis__corps--large .tc-resa-compte--creer .form-type-password-confirm > .form-item {
  margin: 0;
}

/* Les champs à l'aplomb du bloc des atouts et du bouton : sans les marges
   que la grille du webform ajoute entre ses colonnes. */
.tc-devis__corps--large .tc-resa-compte .webform-flex,
.tc-devis__corps--large .tc-resa-compte .webform-flex--container {
  margin: 0;
  padding: 0;
}

.tc-devis__corps--large .tc-resa-compte--creer .webform-flexbox {
  gap: 16px;
}

/* La connexion reste à hauteur de lecture, sans s'étirer. */
.tc-devis__corps--large .tc-resa-compte--connexion {
  position: sticky;
  top: calc(var(--tc-chrome-offset, 0px) + 24px);
  background: var(--dv-fond);
}

/* --- Le récapitulatif ---------------------------------------------------------------- */

.tc-resa-recap__voyageurs {
  margin: 0;
  padding: 0 22px;
  list-style: none;
}

.tc-resa-recap__voyageurs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--dv-bord);
  font-size: 16px;
}

.tc-resa-recap__voyageurs li span:last-child {
  font-weight: 700;
  white-space: nowrap;
}

.tc-resa-recap__voyageurs li.is-vide {
  font-style: italic;
  color: var(--dv-gris);
}

.tc-resa-recap__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 22px 4px;
  font-size: 18px;
  font-weight: 800;
}

.tc-resa-recap__total b {
  font-family: var(--tc-serif);
  font-size: 26px;
  color: var(--dv-vert);
}

.tc-resa-recap__echeance {
  margin: 0;
  padding: 0 22px 18px;
  font-size: 15.5px;
  color: var(--dv-gris);
}

.tc-resa-recap__echeance:empty {
  display: none;
}

/* --- Réactif ------------------------------------------------------------------ */

@media (max-width: 1080px) {
  .tc-resa-tete__grille {
    grid-template-columns: minmax(0, 1fr);
  }

  .tc-resa-depart {
    max-width: 520px;
  }
}

@media (max-width: 960px) {
  .tc-devis__corps--large .tc-resa-comptes {
    grid-template-columns: minmax(0, 1fr);
  }

  .tc-devis__corps--large .tc-resa-compte--connexion {
    position: static;
  }
}

@media (max-width: 700px) {
  .tc-devis__corps--large .tc-resa-compte {
    padding: 22px 18px 24px;
  }

  .tc-devis__corps--large .tc-resa-compte--creer .webform-flexbox:has(.webform-flex + .webform-flex) {
    grid-template-columns: minmax(0, 1fr);
  }

  .tc-resa__form .webform-multiple-table tbody > tr {
    padding: 14px 14px 18px;
  }

  .tc-resa__form .birthday_section .container-inline {
    grid-template-columns: 1fr 1.5fr 1.3fr;
    gap: 6px;
  }

  .tc-resa__form .birthday_section .container-inline select {
    padding: 12px 24px 12px 10px;
    background-position: right 8px center;
    background-size: 12px;
    font-size: 16.5px;
  }

  .tc-resa__form .webform-multiple-table tbody > tr > td:first-child,
  .tc-resa__form .webform-flexbox,
  .tc-resa__form .webform-flexbox:has(.tc-resa-champ--gender),
  .tc-resa__form .tc-resa-champ--address .webform-address,
  .tc-resa__form .tc-resa-champ--address .fieldset-wrapper,
  .tc-resa-comptes {
    grid-template-columns: minmax(0, 1fr);
  }

  .tc-resa__form .tc-resa-paiements .form-radios > .form-item > label.option {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 52px;
  }

  .tc-resa-paiement__montants {
    text-align: left;
  }

  .tc-resa__form .webform-multiple-add input[type="submit"] {
    width: 100%;
  }
}
