/* @import url("https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); */

:root {
  --primary-gradient: linear-gradient(
    45deg,
    rgb(78, 83, 106) 0%,
    rgb(56, 61, 82) 50%,
    rgb(37, 44, 63) 100%
  );
  --primary-color: #252c3f;
  --text-color: rgb(38, 36, 32);
  --text-color-2: rgb(255, 255, 255);
  --bg-color: rgb(255, 255, 255);
  --text-color-3: rgb(56, 44, 77);
}
body {
  width: 100%;
  height: auto;
  /* font-family: "Urbanist"; */
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-bottom: 0;
}
a {
  text-decoration: none;
}
main {
  width: 100%;
  min-height: 100vh;
  padding: 50px 100px;
  position: relative;
  display: flex;
  flex-direction: column;
  background-image: url(../images/bg.jpg);
  background-size: cover;
}

header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  margin-right: 6px;
}
.logo {
  font-size: 52px;
  color: var(--text-color);
  font-weight: 900;
}

.mainArea {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  margin: 100px 0;
}

.question {
  font-size: 45px;
  color: var(--text-color);
  margin-bottom: 20px;
  line-height: 1.3;
  font-weight: 900;
}
.qDesc {
  font-size: 24px;
  color: rgb(38, 36, 32);
  font-weight: normal;
  width: 80%;
  margin: 0 auto;
  margin-bottom: 30px !important;
}
.trim-select {
  width: 100%;
  height: 300px;
  background-color: var(--bg-color);
  border-radius: 30px;
  display: grid;
  place-content: center;
  position: relative;
  transition: 1s ease-in-out;
  margin-bottom: 20px;
  transform: translateX(0);
}
.trim-select.prev,
.trim-select.next {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}
.trim-select.prev {
  transform: translateX(100%);
}
/* .trim-select */
.trim-select input {
  -webkit-appearance: none;
  border: solid 4px transparent;
  border-radius: inherit;
  width: 100%;
  height: 100%;

  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
/* .trim-select input:hover {
  border-color: var(--text-color);
} */
.trim-select.active input {
  border-color: var(--text-color);
}
.trim-select img {
  width: 109px;
  margin: 0 auto;
  margin-bottom: 40px;
  pointer-events: none;
}
.trim-select label {
  font-size: 24px;
  color: var(--text-color);
  font-weight: 900;
  pointer-events: none;
}
.select-service {
  width: 100%;
  height: 85px;
  display: grid;
  align-content: center;
  position: relative;
  margin-bottom: 20px;
}
.select-service input {
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: solid 3px transparent;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
.select-service input:hover {
  border-color: rgb(38, 36, 32);
}
.select-service input:checked {
  background: #252c3f;
  border-color: #252c3f;
}
.select-service input:checked ~ label {
  color: var(--text-color-2);
  padding-left: 70px;
  padding-right: 20px;
}
.select-service label {
  font-size: 20px;
  color: var(--text-color);
  font-weight: bold;
  pointer-events: none;
  position: relative;
  transition: 0.5s ease-in-out;
  padding: 0 30px;
  text-align: start;
}
.select-service input:before {
  content: "\f058";
  font-family: "font Awesome 6 Free";
  font-weight: 900;
  color: var(--text-color-2);
  font-size: 20px;
  position: absolute;
  left: 0;
  opacity: 0;
  transition: 0.5s ease-in-out;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.select-service input:checked:before {
  left: 30px;
  opacity: 1;
}

.lineHeading {
  font-size: 20px;
  color: var(--text-color);
  font-weight: 500;
  margin-bottom: 20px;
  text-align: start;
}

.textmsg {
  width: 100%;
  height: calc(100% - 50px);
  border-radius: 10px;
  margin: 0 auto;
  border: solid 3px transparent;
  padding: 20px 40px;
  transition: 0.3s ease-in-out;
}
.textmsg:focus {
  outline: none;
  border-color: var(--text-color);
}
.next-prev {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.next-prev button {
  border-radius: 50px;
  width: 300px; 
  height: 63px;
  background: var(--primary-gradient);
  color: var(--text-color-2);
  font-weight: bold;
  font-size: 15px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}



@media (max-width: 768px) {
  .next-prev {
    flex-direction: column; 
    gap: 10px; 
  }

  .next-prev button {
    width: 100%; 
  }

    .next-prev button.next {
    order: -1; 
  }
}

.next-prev button.prev {
  background: var(--text-color-2);
  color: var(--primary-gradient);
  border: 3px solid var(--primary-color);
}
.next-prev button.next {
  border: 0;
}
.next-prev button.next::before,
.next-prev button.next::after {
  content: "";
  position: absolute;
  right: 100%;
  top: 0;
  background-color: rgba(255, 255, 255, 0.5);
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0, 100% 0, 50% 100%, 0% 100%);
  transition: 0.4s;
  z-index: 0;
}
.next-prev button.prev::after {
  content: "";
  position: absolute;
  right: 100%;
  top: 0;
  background-color: rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0, 100% 0, 50% 100%, 0% 100%);
  transition: 0.4s;
  z-index: 0;
}
.next-prev button:hover::before,
.next-prev button:hover::after {
  right: -100%;
}
.next-prev button::after {
  transition-delay: 0.2s;
}

.RangeSlide {
  padding: 20px 0 20px 0;
  text-align: start;
}
.RangeSlide label {
  font-size: 16px;
  color: var(--text-color);
  margin-bottom: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* .RangeSlide input {
  -webkit-appearance: none;
  background-color: rgb(0, 0, 0);
  width: 100%;
  height: 24px;
  border-radius: 10px;
  position: relative;
} */
/* .RangeSlide input::-webkit-slider-thumb {
  -webkit-appearance: none;
  border-radius: 50%;
  width: 43px;
  height: 43px;
  background: #252c3f;
  cursor: grab;
}
.RangeSlide input::-moz-range-thumb {
  -webkit-appearance: none;
  border-radius: 50%;
  width: 43px;
  height: 43px;
  background: var(--primary-gradiant);
  cursor: grab;
} */
#step3 .next-prev {
  margin: 0;
}
.inputField {
  width: 100%;
  min-height: 90px;
  border: solid 3px transparent;
  border-radius: 50px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 16px;
  justify-content: start;
  transition: 0.5s ease-in-out;
  background-color: var(--bg-color);
}
.inputField label {
  text-align: start;
}
.inputField input[type="radio"] {
  -webkit-appearance: none;
  width: 37px;
  height: 37px;
  border: solid 3px transparent;
  border-radius: 50%;
  margin-left: 20px;
  cursor: pointer;
  position: relative;
  transition: 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.inputField input[type="radio"]::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--text-color-2);
  font-size: 20px;
  display: grid;
  border: solid 2px var(--text-color);
  border-radius: 50%;
  place-content: center;

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.inputField input[type="radio"]:checked {
  background-color: var(--text-color);
}
.inputField input[type="text"],
.inputField input[type="number"],
.inputField textarea {
  margin-left: 55px;
  width: 100%;
  height: 100%;
  border: 0;
  background-color: transparent;
}

.inputField input[type="url"]{
  margin-left: 20px;
  width: 100%;
  height: 100%;
  border: 0;
  background-color: transparent;
}

.inputField textarea {
  height: 180px !important;
  margin-top: 30px;
}
.inputField input[type="text"]:focus,
.inputField input[type="url"]:focus,
.inputField input[type="number"]:focus,
.inputField textarea:focus {
  outline: none;
}
.inputField:focus-within {
  border-color: var(--text-color);
}
.inputField label {
  margin-left: 20px;
  font-size: 24px;
  font-weight: bold;
  color: var(--text-color);
}
.smallText {
  font-size: 13px;
  color: rgb(0, 0, 0);
  font-weight: 900;
  text-transform: uppercase;
  display: block;
}
.inputField input[type="url"]::placeholder {
  font-size: 13px;
  color: var(--text-color);
  font-weight: bold;
}

/* Style pour les flèches des champs number */
.inputField input[type="number"]::-webkit-inner-spin-button,
.inputField input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none; /* Supprime le style par défaut */
  appearance: none;
  margin: 0;
}


.inputField {
  position: relative;
}


.inputField .custom-spin-button {
  position: absolute;
  right: 30px;
  top: 50%;
  background: var(--primary-gradient);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 15%;
  gap: 0;
}

.inputField .custom-spin-button span {
  display: block;
  width: 30px;
  height: 20px;
  background-color: white;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 8l-6 6h12z"/></svg>') no-repeat center;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 8l-6 6h12z"/></svg>') no-repeat center;
mask-size: contain;
  -webkit-mask-size: contain;
  cursor: pointer;
  border-radius: 50%; /* Ajoute des bords arrondis */
   
}

.inputField .custom-spin-button span.down {
  transform: rotate(180deg);
}


.uploadArea {
  width: 100% !important;
  height: 100% !important;
}
.uploadArea .smallText {
  text-align: center !important;
  margin-top: 10px;
}
.uploadArea .uploadInner {
  border: solid 3px transparent;
  text-align: center;
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  border-radius: 30px;
  cursor: pointer;
  padding-top: 25px;
  position: relative;
  background-color: var(--bg-color);
}

.uploadInner.highlight::before {
  content: "Drop it Like it's Hot";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 30px;
  display: grid;
  background-color: rgba(255, 255, 255, 0.5);
  place-content: center;
  color: var(--text-color-3);
  transition: 0.5s ease-in-out;
  border-radius: inherit;
}
.uploadInner input[type="file"] {
  display: none;
}
.uploadInner h3 {
  font-size: 24px;
  color: var(--text-color);
  font-weight: bold;
  margin-bottom: 3px;
}
.uploadInner span {
  font-size: 12px;
  font-weight: 900;
  line-height: 3;
  color: var(--text-color);
}

.agreement {
  display: flex;
  align-items: center;
  justify-content: start;
  margin-top: 30px;
}
.agreement input {
  -webkit-appearance: none;
  width: 35px;
  height: 32px;
  background-color: var(--bg-color);
  border-radius: 4px;
  cursor: pointer;

  position: relative;
}
.agreement input::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  position: absolute;
  border: solid 2px var(--text-color);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--text-color);
  color: var(--text-color-2);
  display: grid;
  place-content: center;
  pointer-events: none;
  opacity: 0;
  transition: 0.2s ease-in-out;
}
.agreement input:checked:before {
  opacity: 1;
}
.agreement label {
  margin-left: 20px;
  font-size: 13px;
  font-weight: normal;
  color: var(--text-color);
}
.agreement label a {
  font-weight: 900;
  color: var(--text-color);
  text-decoration: underline;
}
#step5 .qDesc {
  width: 100%;
}
footer {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  height: auto;
  justify-content: end;
  align-items: center;
}
.stepnumber {
  font-size: 18px;
  color: var(--text-color);
  font-weight: bold;
}
.social-icons i {
  font-size: 18px;
  color: rgb(1, 1, 1);
  margin-left: 38px;
}
#sub img {
  width: 30px;
}

#error {
  position: fixed;
  top: 20px;
  left: 20px;
}

.thankyou img {
  margin: 0 auto;
  margin-bottom: 20px;
}
.thankyou .thankyouHeading {
  font-size: 60px;
  color: var(--text-color);
  margin-bottom: 10px;
  font-weight: 900;
}
.thankyou .thank-desc {
  font-size: 45px;
  font-weight: 200;
  margin: 0 auto;
  margin-bottom: 15px;
  width: 40%;
  font-weight: 600;
  line-height: normal;
}
.thankyou a button {
  color: var(--bg-color) !important;
}

fieldset.step {
  display: none;
  transition: opacity 0.3s;
  opacity: 1;
  position: relative;
}

fieldset.step.active {
  display: block;
}

/* Style pour l'animation de transition */
.page-transition {
  opacity: 0;
}

/* Styles pour la section de vérification */
.verification-container {
  background-color: #f9f9f9;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 30px;
}

.verification-section {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.verification-section:last-child {
  border-bottom: none;
}

.verification-content {
  padding: 10px;
  font-size: 16px;
  background-color: white;
  border-radius: 8px;
}




.trim-select.selected {
  border: 4px solid var(--primary-color);
  box-shadow: 0 0 15px rgba(37, 44, 63, 0.3);
  transform: scale(1.05);
}

.trim-select.selected::after {
  content: "\f058"; /* Icône Font Awesome check-circle */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: var(--primary-color);
  background-color: white;
  border-radius: 50%;
}

.selection-text {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: bold;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.selection-text.visible {
  opacity: 1;
}

/* Ajoutez ceci pour que les boutons radio soient plus visibles lorsqu'ils sont survolés */
.trim-select input:hover {
/*   border-color: var(--primary-color); */
  border-width: 4px;
}

/* Ajoutez ceci pour améliorer l'apparence des éléments sélectionnés dans la liste */
.select-service input:checked {
  background: var(--primary-color);
  border-color: var(--primary-color);
}


/* STYLES DASHBOARD */
.primary-bg-color {
  background-color: #2b3348 !important;
}

.spinner-primary-border {
  border-color: #2b3348 !important;
  border-right-color: transparent !important;
}

.spinner-white-border {
  border-color: #fff !important;
  border-right-color: transparent !important;
}

.btn-primary-custom {
  background-color: #2b3348 !important;
  border-color: #2b3348 !important;
  color: #fff !important;
}

.btn-secondary-custom {
  background-color: #fff !important;
  border: 1.5px solid #2b3348 !important;
  color: #2b3348 !important;
}