
body {
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    height: 100vh;
}
span.error-widget {
    color: #e85e6c;
    font-size: xx-small;
}
label.required:not(.hidden-label):after {
    content: "*";
    color: #e85e6c;
}
li.li-error {
    color: #e85e6c;
    font-size: 12px;
    font-weight: 500;
    margin-top: 5px;
    border-bottom: 1px dashed #d5d5d5;
}

.is-invalid {
    border: 1px solid #e85e6c;
}
.error-form.text-danger {
    position: absolute;
    background: #faefff;
    width: 100%;
    text-align: center;
    padding: 15px;
    top: 70px;
    border: 1px solid #e3cbed;
    border-radius: 5px;
}

.form .form-group{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    width: 80%;
    height: 50px;
    margin: 15px 0;
}

.form-group input{
    height: 100%;
    width: 100%;
    position: absolute;
    border-radius: 5px;
    padding: 0 20px;
    font-size: 17px;
    font-weight: 500;
    outline: none;
    border: 1px solid black;
}

.form-group label{
    position: absolute;
    pointer-events: none;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    background: #fff;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: 500;
    padding: 3px;
    color: #999;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label{
    color: black;
    top: 0%;
    transform: translateY(-50%) scale(0.85);
}

.icon-right-resa-btn {
    right: 15px;
    position: absolute;
}

.icon-left-resa-btn {
    left: 15px;
    position: absolute;
}

.btn-group .btn-f{
    width: 100%;
}

.btn-group .btn:active{
    transform: scale(0.95);
    opacity: .8;
}

.btn-group .btn:hover{
    opacity: 0.8;
}

#one:checked ~ .global-form .panel{
    left: -430px;
}

#two:checked ~ .global-form .panel{
    left: -860px;
}

#three:checked ~ .global-form .panel{
    left: -1290px;
}
#four:checked ~ .global-form .panel{
    left: -1720px;
}
#one,#two,#three, #four{
    display: none;
}

#one:checked ~ .global-form .indicator .line1,
#two:checked ~ .global-form .indicator .line2,
#three:checked ~ .global-form .indicator .line3,
#four:checked ~ .global-form .indicator .line4{
    border-color: #a30ee3;
}

#one:checked ~ .global-form .indicator .step2 div,
#two:checked ~ .global-form .indicator .step3 div,
#three:checked ~ .global-form .indicator .step4 div,
#four:checked ~ .global-form .indicator .step1 div{
    border-color: #a30ee3;
    background: #a30ee3;
    color: #FFF;
}

#one:checked ~ .global-form .indicator .step2 span,
#two:checked ~ .global-form .indicator .step3 span,
#three:checked ~ .global-form .indicator .step4 span{
    color: #a30ee3;
}

.line:before { content: '';
    border-top: 2px solid black;
    height: 100%;
    width: 100%;
    transform: translateY(-50%);
    position: absolute;
    top: 26px;
}

.form-card {
    border-radius: 5px;
    box-shadow: 0 10px 40px 0px rgba(38,40,64,.2);
}
.ui-menu .ui-menu-item {
    width: 100%;
    color: var(--bs-gray-800);
    font-size: smaller;
    padding: 5px;
    border: 1px dashed #d1e9ff;
}

h1.form-resa-header-title {
  text-align: center;
  background: #dedede;
  border-radius: 0 0 5px 5px;
  padding: 5px;
}
.price-bloc {
    margin: 0 15px;
    text-align-last: justify;
}
span.itinerary-summary-item.price {
    font-size: x-large;
}

/*==================================
* Styles du formulaire de réservation v2
* Classes spécifiques au wrapper et layout du formulaire
==================================== */

.wrapper {
  max-width: 100%;
  width: 100%;
  background: var(--white);
  padding: 10px;
  border-radius: 5px;
  min-height: 521px;
}

.wrapper .header-resa {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.wrapper .header-resa ul {
  display: flex;
}

.wrapper .header-resa ul li {
  margin-right: 10px;
  position: relative;
}

.wrapper .header-resa ul li:last-child {
  margin-right: 0;
}
.header-resa {
  max-height: 45px;
}
.wrapper .header-resa ul li:before {
  content: "";
  position: absolute;
  top: 78%;
  transform: translateY(-50%);
  left: 40px;
  width: 100%;
  height: 2px;
  background: var(--secondary);
}

.wrapper .header-resa ul li:last-child:before {
  display: none;
}

.wrapper .header-resa ul li div {
  padding: 5px;
  border-radius: 50%;
}

.wrapper .header-resa ul li p {
  width: 35px;
  height: 35px;
  background: var(--secondary);
  color: var(--white);
  text-align: center;
  line-height: 35px;
  border-radius: 50%;
}

.wrapper .header-resa ul li.active:before {
  background: var(--green-apple);
}

.wrapper .header-resa ul li.active p {
  background: var(--green-apple);
}

.wrapper .header-resa ul li.completed:before {
  background: var(--green-apple);
}

.wrapper .header-resa ul li.completed p {
  background: var(--green-apple);
}

.wrapper .form_wrap {
  margin-bottom: 30px;
}

input#reservation_form_customer_agreeTerms {
  float: left;
  margin: 5px 5px 0 0;
}

.wrapper .form_wrap h2 {
  color: var(--header-clr);
  text-align: center;
  margin: 5px;
}

.wrapper .form_wrap .input_wrap,
.wrapper .form_wrap .trip-block {
  width: 100%;
  max-width: 350px;
  margin: 0 auto 5px;
}

.wrapper .form_wrap .input_wrap:last-child {
  margin-bottom: 0;
}

.wrapper .form_wrap .input_wrap label {
  display: inline-block;
  margin-bottom: 0px;
}

.wrapper .form_wrap .input_wrap .input {
  border: 2px solid var(--secondary);
  border-radius: 3px;
  padding: 10px;
  display: block;
  width: 100%;
  font-size: 16px;
  transition: 0.5s ease;
}

.wrapper .form_wrap .input_wrap .input:focus {
  border-color: var(--abride-primary);
}

.wrapper .btns_wrap {
  width: 350px;
  max-width: 100%;
  margin: 0 auto;
}

.wrapper .btns_wrap .common_btns {
  display: flex;
  justify-content: space-between;
}

.wrapper .btns_wrap .common_btns.form_1_btns {
  justify-content: flex-end;
}

.wrapper .btns_wrap .common_btns button {
  border: 0;
  padding: 12px 15px;
  background: var(--abride-primary);
  color: var(--white);
  width: 45%;
  justify-content: center;
  display: inline-block;
  align-items: center;
  font-size: 13px;
  border-radius: 3px;
  transition: 0.5s ease;
  cursor: pointer;
  position: relative;
}

button.payment-btn {
  background: var(--black-cod-gray) !important;
}

.wrapper .btns_wrap .common_btns button.btn_back {
  background: var(--secondary);
}

.wrapper .btns_wrap .common_btns button.btn_next .icon {
  display: flex;
  margin-left: 10px;
}

.wrapper .btns_wrap .common_btns button.btn_back .icon {
  display: flex;
  margin-right: 10px;
}

.wrapper .btns_wrap .common_btns button.btn_next:hover,
.wrapper .btns_wrap .common_btns button.btn_done:hover {
  background: var(--next-btn-hover);
}

.wrapper .btns_wrap .common_btns button.btn_back:hover {
  background: var(--back-btn-hover);
}

.modal_wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
}

.modal_wrapper .shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: 0.2s ease;
}

.modal_wrapper .success_wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -800px);
  background: var(--white);
  padding: 50px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  transition: 0.5s ease;
}

.modal_wrapper .success_wrap .modal_icon {
  margin-right: 20px;
  width: 50px;
  height: 50px;
  background: var(--abride-primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
}

.modal_wrapper.active {
  visibility: visible;
}

.modal_wrapper.active .shadow {
  opacity: 1;
}

.modal_wrapper.active .success_wrap {
  transform: translate(-50%, -50%);
}

button.next-btn.disabled {
  opacity: 0.6;
}

h1.form-resa-header-title {
  text-align: center;
  background: #dedede;
  border-radius: 0 0 5px 5px;
  padding: 5px;
}

.trip-block {
  --trip-gutter: 54px;
  --trip-radius: 3px;
    --trip-geo-size: 34px;
  --trip-border: #dcdce6;

  position: relative;
  border: 1px solid var(--trip-border);
  border-radius: var(--trip-radius);
  background: var(--white);
}

.trip-block__row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 4px 10px;
  padding-right: var(--trip-gutter);
  border-radius: calc(var(--trip-radius) - 1px);
  position: relative;
}

.trip-block__row + .trip-block__row {
  border-top: 1px solid var(--trip-border);
}
.trip-block__row:focus-within {
  outline: 1px solid #86b7fe;
  outline-offset: -2px;
}

.trip-block__prefix {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin: 0;
  color: #6b6b80;
  font-size: 0.9rem;
  white-space: nowrap;
  cursor: text;
}

.trip-block__field {
  flex: 1 1 auto;
  min-width: 0;
  position: static;
}

.trip-block__field .form-control {
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 0.95rem;
  text-overflow: ellipsis;
}

.trip-block__field .form-control:focus {
  border: 0;
  box-shadow: none;
  outline: none;
}

.trip-block__field .hidden-label {
  display: none;
}

.trip-block__geo {
  flex: 0 0 auto;
  min-height: 0;
  padding: 0;
  margin: 0;
}

.trip-block__geo .form-check-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

.trip-block__geo .form-check-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--trip-geo-size);
  height: var(--trip-geo-size);
  border-radius: 50%;
  color: #8a8a9e;
  font-size: 17px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.trip-block__geo .form-check-label:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--abride-primary);
}

.trip-block__geo .form-check-input:checked + .form-check-label {
  background: var(--abride-primary);
  color: var(--white);
}

.trip-block__geo .form-check-input:focus-visible + .form-check-label {
  outline: 2px solid var(--abride-primary);
  outline-offset: 2px;
}

.trip-block__swap {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;

  border: 1px solid var(--trip-border);
  border-radius: 50%;
  background: var(--white);
  color: var(--abride-primary);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 11;

  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.trip-block__swap::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
}

.trip-block__swap:disabled {
  opacity: 0;
  cursor: not-allowed;
}
.trip-block {
  border: 1px solid var(--black-cod-gray);
  border-radius: var(--trip-radius);
}

.trip-block__swap:not(:disabled):hover,
.trip-block__swap:not(:disabled):focus-visible {
  background: var(--abride-primary);
  border-color: var(--abride-primary);
  color: var(--white);
}

.trip-block__swap:focus-visible {
  outline: 2px solid var(--abride-primary);
  outline-offset: 2px;
}

.trip-block__swap:not(:disabled):active {
  transform: translateY(-50%) rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .trip-block__swap {
    transition: none;
  }

  .trip-block__swap:not(:disabled):active {
    transform: translateY(-50%);
  }
}

.trip-block__pin {
  flex: 0 0 auto;
  width: 14px;
  height: 20px;
  object-fit: contain;
}
.trip-block .autocomplete-suggestions {
  border-color: var(--trip-border);
  border-radius: 0 0 var(--trip-radius) var(--trip-radius);
  padding: 0;
}
.trip-block__row .loader {
    right: calc(var(--trip-gutter) + var(--trip-geo-size) + 6px);
  left: auto;
  top: 50%;
  width: 18px;
  height: 18px;
  border-width: 2px;
}
.trip-block__row:has(.form-control:not(:placeholder-shown)) .trip-block__prefix-label {
  display: none;
}
.autocomplete-suggestion {
  padding: 3px 5px;
}

.trip-block__row.is-locating .trip-block__field {
  display: flex;
  align-items: center;
  justify-content: center;
}

.trip-block__row.is-locating .trip-block__field > *:not(.loader) {
  display: none;
}

.trip-block__row.is-locating .loader {
  position: static;
  margin: 0;
  transform: none;
}

.trip-block__row.is-locating .trip-block__prefix-label {
  display: none;
}

.trip-block__row:has(.focused-input) {
  z-index: 11;
  background: var(--white);
}
