/*Checkboxes styles*/
input[type="checkbox"] {
  display: none;
}

input[type="checkbox"] + label {
  display: inline;
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
  font-weight: 400;

  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

input[type="checkbox"] + label:last-child {
  margin-bottom: 0;
}

input[type="checkbox"] + label:before {
  border-radius: 3px;
  content: "";
  display: inline;
  width: 25px;
  height: 25px;
  border: 2px solid var(--accent);
  position: absolute;
  left: 0;
  top: -7px;
  opacity: 1;
  -webkit-transition: all 0.12s, border-color 0.08s;
  transition: all 0.12s, border-color 0.08s;
}

input[type="checkbox"]:checked + label:before {
  width: 10px;
  top: -7px;
  left: 5px;
  border-radius: 0;
  opacity: 1;
  border-top-color: transparent;
  border-left-color: transparent;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

textarea {
  resize: vertical;
}

.lu-txt {
  font-size: 1.3rem;
  text-align: left;
  color: var(--accent-lighter);
}

.terms {
  padding: 20px 0px;
  display: flex;
}

/* Form */
button[disabled] {
  cursor: not-allowed;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  box-shadow: none;
  opacity: 0.65;
}

.error {
  border: 2px solid red !important;
}

.erreur-date {
  color: red;
  display: block;
  margin-bottom: 10px;
}

.success-form {
  display: none;
  font-size: large;
}
/* Form */

.f-pd-t {
  padding-top: 2%;
}

.datepicker .table-condensed {
  width: 100% !important;
}

/*******/

.prev-nxt-wrp {
  padding-top: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prev-nxt-wrp a {
  color: var(--secondary);;
  cursor: pointer;
}

.next {
  background-color: var(--secondary);;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  text-align: center;
  text-decoration: none;
  margin: 0;
  outline: none;
  padding: 8px 15px;
  border-radius: 50px;
  font-weight: bold;
  transition: background-color 0.3s ease-in-out;
}

.next:hover,
.next:focus {
  background-color: var(--primary-color);
}

.f-label {
  margin-top: 0px;
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 25px;
  font-weight: bold;
}

.f-label-sub {
  font-size: 1.6rem;
  margin-bottom: 25px;
  margin-top: 0px;
  color: var(--secondary);;
}

.crd-wrapper {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  justify-content: center;
}

.crd-wrapper .card {
  width: 46%;
  flex-basis: 46%;
}

@media (max-width: 991px) {
  /* .crd-wrapper {
        gap: 8px;
    }

    .card {
        margin: 0px!important;
    }

    .f-label {
        font-size: 1.2rem;
    }
   
    .crd-wrapper .card {
        width: 100%;
        flex-basis: 100%;
    }*/
  .f-label {
    font-size: 1.2rem;
  }

  .card label p {
    font-size: 0.7rem !important;
  }
}

.crd-wrapper img {
  height: 55px;
}

.crd-nbr p {
  color: var(--secondary);!important;
}

.card * {
  cursor: pointer !important;
}

.card {
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  margin-bottom: 20px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background-color: rgba(233, 233, 233, 0.45);
}

.card input[type="radio"] {
  display: none;
}

.card label {
  display: block;
  padding: 15px;
  text-align: center;
  margin: 0;
}

.card label img {
  max-height: 155px;
  margin: 0 auto;
}

.card label p {
  margin-top: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0px;
  color: var(--secondary);
}

.card input[type="radio"]:checked + label {
  background-color: rgba(233, 233, 233, 0.45);
  border-color: #4caf50;
}

/*******/

.step {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.step.active {
  display: flex !important;
  opacity: 1;
  flex-direction: column;
  justify-content: center;
}

/* Styles for the progress bar */
#progressBar {
  background: #ddd;
  height: 10px;
  width: 90%;
  border-radius: 50px;
  margin: 20px auto;
}

#progress {
  height: 100%;
  background-color: var(--secondary);;
  width: 0%;
  border-radius: 50px;
  transition: width 0.5s ease-in-out;
}

.form-holder {
  border: 1px solid var(--border);
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 18px 45px 0px rgba(0, 0, 0, 0.14);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  animation-duration: 1.4s;
  animation-delay: 0.3s;
  animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  color: #202020;
  box-shadow: 0 0 0 0 rgba(245, 245, 245, 0.7);
  -webkit-animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
  -moz-animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
  -ms-animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
  animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

.form-body {
  padding: 30px 15px 30px 15px;
}

.form-header {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 10px 15px 10px 15px;
  background-color: #fcca03;
  color: #333333;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.6em;
}

.cta-holder .sub {
  margin-top: 15px;
  position: relative;
  clear: both;
}

.formulaire1:hover,
.register-pop:hover {
  -webkit-animation: none;
  -moz-animation: none;
  -ms-animation: none;
  animation: none;
}

@-webkit-keyframes pulse {
  to {
    box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);
  }
}

@-moz-keyframes pulse {
  to {
    box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);
  }
}

@-ms-keyframes pulse {
  to {
    box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);
  }
}

@keyframes pulse {
  to {
    box-shadow: 0 0 0 20px rgba(232, 76, 61, 0);
  }
}

.t-terms {
  padding: 20px 0px;
}

.titref {
  color: #acacac;
  text-align: justify;
  line-height: 1.5em !important;
  font: 700 11px Roboto, sans-serif;
  padding: 20px 3% 10px;
}

select.custom {
  background-image: url(../../img/drop.png);
  padding-right: 20px;
  background-repeat: no-repeat;
  background-position: 95% center;
  -webkit-appearance: none;
  -moz-appearance: none;
}

select.custom::-ms-expand {
  display: none;
}

::placeholder {
  /* Firefox, Chrome, Opera */
  color: #111111 !important;
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #111111 !important;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #111111 !important;
}

.form-control {
  height: 3.5rem;
  margin-bottom: 10px;
  color: var(--primary-color);
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
}

.form-control:focus {
  border-color: var(--secondary);
  background-color: #fcfaff;
  border-width: 1.5px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s,
    -webkit-box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.sub {
  display: flex;
  align-items: center;
  flex-direction: column;
  z-index: 1;
  color: #fff;
  padding: 15px 25px;
  overflow: hidden;
  border-radius: 5px;
  position: relative;
  background: linear-gradient(
  -90deg,
  #1C1F26 0%,
  #2F3E2F 60%,
  #8F8A5C 100%
);


  font-size: 16px;
  margin: 0 auto;
}

.sub:before {
  color: #fff;
  top: 115px;
  left: -50px;
  right: -50px;
  content: "";
  z-index: -1;
  height: 160px;
  position: absolute;
  border-radius: 50%;
  transform: translateY(-50px);
  transition-duration: 850ms;
  background: linear-gradient(
  -90deg,
  #1C1F26 0%,
  #2F3E2F 60%,
  #8F8A5C 100%
);

}

.sub:hover:before {
  top: 0%;
  left: -70px;
  right: -70px;
}

.sub:hover {
  color: #fff;
}

.sub:focus,
.sub:hover {
  color: #fff;
  border: none;
}

.mention-form {
  color: #1860de;
}

.vcenter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sub:focus {
  background-color: #888;
  outline-width: 0 !important;
}

/* ============================ RDV STEP ============================ */
.rdv-step { display: none; padding: 20px; text-align: center; }
.rdv-icon { color: #28a745; font-size: 48px; margin-bottom: 16px; }
.rdv-title { color: var(--primary-color); font-size: 2rem; font-weight: 700; margin-top: 0; margin-bottom: 8px; }
.rdv-subtitle { font-size: 1.4rem; color: #555; margin-bottom: 20px; }
.rdv-field-group { margin-bottom: 16px; text-align: left; }
.rdv-label { display: block; font-weight: 600; font-size: 1.5rem; margin-bottom: 10px; }
.rdv-days { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 10px; }
.rdv-day-item input[type="radio"] { display: none; }
.rdv-day-btn { cursor: pointer; border: 1px solid #ccc; border-radius: 10px; box-shadow: 0 2px 4px rgba(0,0,0,.1); padding: 10px 18px; font-size: 1.4rem; font-weight: 600; display: block; margin: 0; transition: transform .3s ease-in-out, box-shadow .3s ease-in-out; background-color: #fff; }
.rdv-day-btn:hover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(0,0,0,.2); background-color: rgba(233,233,233,.45); }
.rdv-day-item input[type="radio"]:checked + .rdv-day-btn { background-color: rgba(233,233,233,.45); border: 2px solid #4caf50; }
