/* Modal limite hauteur + overflow y */

.ks-modal-scroll {
  max-height: 96vh;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.ks-modal-scroll::-webkit-scrollbar {
  display: none;
}

img[src="https://s.w.org/images/core/emoji/16.0.1/svg/2716.svg"]
{
  position: relative;
  left: 48%;
  top: -45%;
}


.info-simple {
  font-weight:normal;
  font-size:0.8rem;
  background: linear-gradient(135deg, #ffffff, #a3a3a3, #ffffff);
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: shimmer 20s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Fond animé */
.area {
  background: #3b8fff;
  background: -webkit-linear-gradient(to left, #60b5ff, #3b8fff);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  right: 0px;
}

.circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 93%;
  height: 100%;
  overflow: hidden;
}

.circles li {
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  animation: animate 25s linear infinite;
  bottom: 0px;
}

.circles li:nth-child(1) {
  left: 25%;
  width: 80px;
  height: 80px;
  animation-delay: 0s;
  background: rgba(100, 17, 17, 0.2);
}

.circles li:nth-child(2) {
  left: 10%;
  width: 20px;
  height: 20px;
  animation-delay: 2s;
  animation-duration: 12s;
  background: rgba(68, 199, 56, 0.2);
}

.circles li:nth-child(3) {
  left: 70%;
  width: 20px;
  height: 20px;
  animation-delay: 4s;
  background: rgba(228, 16, 175, 0.2);
}

.circles li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 18s;
  background: rgba(3, 111, 126, 0.2);
}

.circles li:nth-child(5) {
  left: 65%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
  background: rgba(233, 121, 17, 0.2);
}

.circles li:nth-child(6) {
  left: 75%;
  width: 110px;
  height: 110px;
  animation-delay: 3s;
  background: rgba(128, 18, 95, 0.2);
}

.circles li:nth-child(7) {
  left: 35%;
  width: 150px;
  height: 150px;
  animation-delay: 7s;
  background: rgba(195, 236, 13, 0.2);
}

.circles li:nth-child(8) {
  left: 50%;
  width: 25px;
  height: 25px;
  animation-delay: 15s;
  animation-duration: 45s;
  background: rgba(248, 204, 10, 0.2);
}

.circles li:nth-child(9) {
  left: 20%;
  width: 15px;
  height: 15px;
  animation-delay: 2s;
  animation-duration: 35s;
  background: rgba(11, 184, 146, 0.2);
}

.circles li:nth-child(10) {
  left: 85%;
  width: 150px;
  height: 150px;
  animation-delay: 0s;
  animation-duration: 11s;
  background: rgba(92, 5, 5, 0.2);
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 0;
  }

  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
    border-radius: 50%;
  }
}

/* Modal */
.kampouss-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
.kampouss-modal.is-hidden {
  display: none;
}
.kampouss-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
}
.kampouss-dialog {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 95%;
  max-width: 790px;
  padding: 1.6rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.kampouss-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: transparent !important;
  border: none !important;
  font-size: 1.2rem !important;
  cursor: pointer;
  padding: 3px 12px !important;
  color: black !important;
}

/* Steps */
.kampouss-steps {
  position: relative;
  z-index: 2;
}

.ks-step {
  text-align: center;
  display: none;
  opacity: 0;
  transition: all 0.25s ease;
}

.ks-step h2 {
  margin-bottom: 20px;
}

.ks-step p {
  color: #ffffff;
}

.ks-step-1 h2 {
  margin-bottom: 5px;
}

.ks-step.ks-active {
  display: block;
  opacity: 1;
}
.ks-hero {
  text-align: center;
  padding: 1rem;
}
.ks-hero h1 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  color: #ffffff;
}
.ks-hero p {
  color: #eee;
  margin-bottom: 1rem;
}
.ks-step h2 {
  color: #ffffff;
}

/* Form fields */
.ks-field label {
  color: #eee;
}

.ks-form .ks-field {
  margin-bottom: 1rem;
}
.ks-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: #eee;
}
.ks-form input,
.ks-field input,
#ks_matieres_precise {
  border-width: 2px;
  display: block;
  width: 80%;
  margin: 10px 0;
  padding: 12px 15px;
  border-radius: 12px;
  margin-left: 12%;
  outline: none;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: background 0.3s, box-shadow 0.3s;
}
.ks-form input::placeholder {
  color: #ddd;
}
.ks-form input:focus,
.ks-field input:focus {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 10px rgba(61, 231, 27, 0.5);
}
.ks-password-hint {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.25rem;
}

/* Cards */
.ks-cards {
  display: flex;
  align-items: stretch;
  align-content: center;
  gap: 10px;
}
.ks-card {
  padding: 10px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  color: white;
  height: 100%;
}
.ks-card:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.ks-card.ks-selected[data-value="aide"] {
  background: linear-gradient(135deg, #74b9ff, #0984e3);
}
.ks-card.ks-selected[data-value="aider"] {
  background: linear-gradient(135deg, #00b894, #55efc4);
}
.ks-card.ks-selected[data-value="les-deux"] {
  background: linear-gradient(135deg, #fd79a8, #e84393);
}

/* Bubbles */
.ks-bubbles {
  /* display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
  justify-content: center; */
}

.ks-helper {
  background: linear-gradient(135deg, #696969, #636363);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  cursor: not-allowed;
  font-size: 0.8rem !important;
  margin-bottom: 0;
}

.bubble {
  background: linear-gradient(135deg, #37c7ab, #2ea893);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  border: none;
  margin-bottom: 5px;
}

.bubble-active {
  transform: scale(1.02);
  box-shadow: 0 2px 11px 8px rgba(255, 255, 255, 0.25);
  filter: brightness(1.1);
  border: solid 1px;
}

.bubble-active::after {
  animation: bbct-check-appear 0.25s ease-out;
}

.bubble-active::after {
  content: "✔";
  position: absolute;
  top: 0px;
  right: -5px;
  background-color: rgb(34, 197, 94);
  color: white;
  font-size: 0.6rem;
  font-weight: bold;
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 3px;
  border-radius: 50%;
}

.bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  filter: brightness(1.1);
}

#ks_matieres_precise {
  margin-top: 10px;
}

.ks-sub-info {
  margin-top: 20px;
}

.ks-sub-info p {
  font-size: 0.9rem !important;
}

.ks-field {
  margin-bottom: 25px;
}

/* Actions */
.ks-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 3rem;
}
.ks-btn {
  /*  background: linear-gradient(135deg, #ff6b6b, #feca57); */
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s;
}

.ks-btn:hover {
  transform: scale(1.05);
}

.ks-btn-primary {
  background: linear-gradient(90deg, #7dd871, #29bb55);
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.26);
  filter: brightness(0.95);
  border: none;
  font-weight: bold;
}

/* Success */
.ks-success {
  text-align: center;
  padding: 1rem;
}
.ks-confetti {
  font-size: 3rem;
  margin: 1rem 0;
}

#confetti {
  position: relative;
  z-index: 999999;
}

/* small */
.ks-hint {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.3rem;
}

.password-icon,
.password-icon-confirm {
  display: flex;
  align-items: center;

  position: absolute;
  top: 50%;
  right: 2.5rem;
  transform: translateY(-50%);
  width: 20px;

  color: #f9f9f9;
  transition: all 0.2s;
}

.password-icon {
  top: 30%;
}

.password-icon:hover,
.password-icon-confirm:hover {
  cursor: pointer;
  color: #ff4754;
}

.password-icon .feather-eye-off,
.password-icon-confirm .feather-eye-off {
  display: none;
}

.toastify {
  border-radius: 25px !important;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  max-height: 96vh;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.toastify::-webkit-scrollbar {
  display: none;
}

.toast-close {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}

.toast-close:hover {
  background-color: transparent;
}

/*Progress Bar*/
.kampouss-progress-wrapper {
  width: 100%;
  margin: 0px auto 30px auto;
  text-align: center;
}

.kampouss-progress-text {
  font-size: 14px;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.kampouss-progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.1);
}

#kampouss-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff6b6b, #feca57);
  border-radius: 10px;
  transition: width 0.5s ease, background 0.5s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.ks-intro {
  color: #ddd;
}

.ks-sub-info p {
  margin-bottom: 0;
}
/* Responsive */
/* MOBILE */
@media (max-width: 799px) {
  .toastify {
    font-size: 0.8rem;
  }
  .ks-hero,
  .ks-success {
    padding: 3.2rem 1.9rem !important;
    padding-top: 1.4rem !important;
  }

  .ks-hero h1 {
    font-size: 2rem;
    margin-bottom: 1.9rem;
  }

  .ks-hero p {
    margin-bottom: 1.4rem;
    font-size: 1.4rem;
  }

  .kampouss-progress-text {
    display: none;
  }

  .ks-cards {
    flex-direction: column;
  }
  .kampouss-dialog {
    padding: 1rem;
    border-radius: 0.8rem;
  }

  .js-ks-preview {
    margin-top: 0.6rem;
    border-radius: 0.6rem;
  }

  .ks-step-1 p {
    margin-bottom: 0.4rem;
  }

  .ks-step h2 {
    font-size: 1.2rem;
    margin: 0;
    margin-bottom: 0.6rem;
  }

  .ks-step-2 p {
    margin-bottom: 0.2rem;
  }

  .ks-intro {
    color: #ddd;
    font-size: 0.9rem;
  }

  .ks-card {
    padding: 0.2rem;
  }
  .ks-card h3 {
    font-size: 0.9rem;
  }

  .ks-card p {
    font-size: 0.7rem;
  }

  .ks-card h3,
  .ks-card p {
    margin-bottom: 0.2rem;
  }

  .ks-actions {
    margin-top: 0.9rem;
  }

  .ks-step-2 .ks-actions {
    margin-top: 0.3rem;
  }

  .ks-field {
    margin-bottom: 10px;
  }

  .kampouss-dialog {
    overflow-y: scroll;
  }

  .password-icon {
    right: 2.5em;
    top: 20%;
  }

  .italic-info {
    font-size: 0.6rem !important;
  }

  .mdp-info {
    font-size: 0.8rem !important;
  }

  .kampouss-progress-wrapper {
    margin: 0.8rem auto 0.8rem auto;
  }

  .ks-bubbles.ks-motivation-combi .bubble {
    margin-bottom: 5px;
  }
  #ks_password,
  #ks_confirm_password {
    margin-bottom: 5px;
  }
}

/* MOBILE TRES PETIT */
@media (max-width: 399px) {
  .ks-step h2 {
    font-size: 1.2rem;
    margin: 0;
    margin-bottom: 0.4rem;
  }

  .ks-step p {
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
  }

  .ks-form label {
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
  }
}

/* DESKTOP */
@media (min-width: 800px) {
  .italic-info {
    font-size: 0.9rem !important;
  }

  .ks-hero,
  .ks-success {
    padding: 3.1rem 1.9rem !important;
  }

  .ks-hero {
    padding-bottom: 0 !important;
  }

  .ks-hero h1 {
    margin-bottom: 1.9rem;
    font-size: 2.6rem;
  }

  .ks-step h2 {
    font-size: 1.9rem;
  }

  .ks-step p {
    font-size: 1.3rem;
  }

  .ks-step-2 p {
    margin-bottom: 0.5rem;
  }

  .ks-cards {
    flex-direction: row;
    padding-left: 0px !important;
    margin-left: -7px;
  }

  .ks-card p {
    font-size: 1rem;
  }

  .ks-card h3,
  .ks-card p {
    margin-bottom: 0.6rem;
  }

  .ks-step-2 .ks-actions {
    margin-top: 1rem;
  }

  .ks-hero p {
    margin-bottom: 3.1rem;
    font-size: 1.8rem;
  }

  .ks-input {
    width: 85% !important;
    margin: 0.4rem auto !important;
  }

  #ks_password,
  #ks_confirm_password {
    margin-top: 25px;
  }

  .ks-field {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .ks-field label {
    margin-right: 25px;
    text-align: left;
  }
}
