@import url("https://fonts.googleapis.com/css2?family=Inria+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");

body#connexion {
  background-color: #d3015b;
}

#container {
  box-shadow: 0px 0px 17px 2px rgba(64, 64, 64, 0.3);
  width: 500px;
  height: 600px;
  background-color: #fff;
  border-radius: 10px;
}

#container h2 {
  font-size: 18px;
}

#container h3 {
  font-size: 16px;
}

img,
label {
  user-drag: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
}

.form-control {
  border-radius: 50px;
}

.inria-sans-light {
  font-family: "Inria Sans", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.inria-sans-regular {
  font-family: "Inria Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.inria-sans-bold {
  font-family: "Inria Sans", sans-serif;
  font-weight: 700;
  font-style: normal;
}

input::placeholder {
  font-size: 12px;
  color: #888888 !important;
}

#btn-connexion {
  border-radius: 50px;
  width: 100%;
  background-color: #ffc6c3;
  color: #000;
  font-size: 14px;
}

.body-experience {
  background-color: #d3015b;
  height: 100vh;
  width: 100%;
}

.container-iframe {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.responsive-iframe {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 96vh;
  border: none;
}

#deconnexion {
  font-size: 11px;
  color: #ffffff;
  border: 1px solid #fff;
  border-radius: 10px;
}

#deconnexion:hover {
  border: 2px solid #fff;
  font-weight: 700;
}

#container_form {
  max-width: 600px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  padding: 30px;
  box-shadow: 0px 0px 15px -1px rgba(0, 0, 0, 0.1);
  /*border-radius: 10px;*/
}

#headerExperience {
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: #d3015b;
  width: 100%;
  z-index: 10;
}

#containerForm {
  width: 100%;
}

#containerForm form label {
  margin-bottom: 8px;
}

textarea:focus,
input:focus {
  border-color: inherit;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
}
.emoji-label {
  cursor: pointer;
}

.choix-label {
  cursor: pointer;
}

.emoji-image {
  width: 100%;
  height: 100%;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.choix-label {
  width: 100%;
  height: 100%;
}

/* Lorsque l'input est sélectionné, l'image associée est mise en avant */
input[type="radio"]:checked + .emoji-label .emoji-image {
  opacity: 1;
}

/* Optionnel : Survol de l'image pour donner un retour visuel */
.emoji-label:hover .emoji-image {
  opacity: 0.8;
}

input[type="radio"]:checked + .choix-label .choix-image,
input[type="checkbox"]:checked + .choix-label .choix-image {
  border: #e90b5d solid 3px;
  border-radius: 5px;
}

.send-button {
  background: var(--success-gradient);
  border: none;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
  margin-top: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.choix-label:hover .choix-image {
  border: #e90b5d solid 3px;
  border-radius: 5px;
}

.checkbox-img {
  width: 100%;
  max-width: 250px;
}

.btn-radio-button {
  background-color: #ff0000;
  padding: 3px 7px 3px 7px;
  border-radius: 5px !important;
  color: #fff;
}

/* Cache les inputs radio */
.btn-check {
  display: none;
}

/* Style par défaut pour les labels qui agissent comme des boutons */
.btn-radio-button {
  border: none;
  color: #fff;
  padding: 3px 7px;
  cursor: pointer;
}

/* Style appliqué lorsque le radio est sélectionné */
.btn-check:checked + .btn-radio-button {
  border: #ff0000 solid 2px;
  color: #ff0000;
}

/* Style pour l'effet hover */
.btn-radio-button:hover {
  border: #ff0000 solid 2px !important;
  color: #ff0000 !important;
}

.file-drop-area {
  padding: 20px;
  /*border: 2px dashed #ccc;*/
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s ease;
  background-color: #f5f5f5;
  border-radius: 5px;
}

div.file-drop-area.highlight {
  border-color: #007bff; /* Couleur de survol */
}

.file-message {
  font-size: 16px;
  color: #666;
  font-weight: 500;
}
.file-submessage {
  font-size: 12px;
  color: #9c9c9c;
  font-weight: 300;
}

.file-input {
  display: none;
}

.btn-form,
.btn-send-video {
  font-family: "Inria Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #ff0000;
  color: #ffffff;
}

.btn-send-video:disabled,
.btn-send-video[disabled] {
  background-color: #ffffff !important;
  opacity: 1 !important;
  color: #000000 !important;
  border: 2px solid #000;
}

.btn-form:hover,
.btn-send-video:hover {
  scale: 1.1;
  color: #fff;
  background-color: #ff0000;
}

.btn-send-video:hover {
  scale: 1.1;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.fadeOut {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
}

@media (max-width: 575.98px) {
  #container {
    width: 100%;
    height: 100%;
  }

  #container h2 {
    font-size: 16px;
  }

  #container h3 {
    font-size: 14px;
  }

  #btn-connexion {
    font-size: 14px;
  }
}

#welcome-message {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 101;
  background-color: #d3015b;
  color: #fff;
}

#container-video-enter {
  position: absolute;
  z-index: 100;
  background-color: #000;
  width: 100%;
  height: 100%;
}

.pulse {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0px hsla(7, 51%, 52%, 0.5);
  }
  100% {
    box-shadow: 0 0 0 15px #c3554600;
  }
}

#enter-button {
  color: #fff;
  opacity: 1;
  box-shadow: 0px 0px 13px 2px #c35546ad;
  border-radius: 2px;
  font-size: 25px;
  background-color: #c35546;
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
}

#preview,
#playback {
  width: 100%;
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translate(-50%, 0);
}

:root {
  --hue: 223;
  --red: hsl(3, 90%, 50%);
  --white: hsl(0, 0%, 100%);
  --primary: hsl(var(--hue), 90%, 50%);
  --primary-t: hsla(var(--hue), 90%, 50%, 0);
  --gray1: hsl(var(--hue), 10%, 90%);
  --gray3: hsl(var(--hue), 10%, 70%);
  --gray9: hsl(var(--hue), 10%, 10%);
  --trans-dur: 0.3s;
  --trans-timing: cubic-bezier(0.65, 0, 0.35, 1);
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --accent-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --shadow-soft: 0 20px 40px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.recorder {
  background-color: #ffffff;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin: auto;
  outline: transparent;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  border: none;
  margin-top: 0px;
  user-select: none; /* Empêche la sélection du texte */
  -webkit-user-select: none; /* Pour les navigateurs WebKit (Chrome, Safari) */
  -moz-user-select: none; /* Pour Firefox */
  -ms-user-select: none; /* Pour Internet Explorer/Edge */
}
.recorder__label-start,
.recorder__label-end {
  display: block;
  position: relative;
}
.recorder__label-start,
.recorder__label-end-text {
  transition: opacity var(--trans-dur);
}
.recorder__label-start {
  margin-inline: 0 0.5em;
}
.recorder__label-end {
  margin-inline: 0.5em 0;
}
.recorder__label-end-text {
  opacity: 1;
}
.recorder__label-end-text + .recorder__label-end-text {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}
[dir="rtl"] .recorder__label-end-text + .recorder__label-end-text {
  right: 0;
  left: auto;
}
.recorder__switch {
  background-color: #2b2d42;
  border-radius: 0.75em;
  box-shadow: 0 0 0 0.125em var(--primary-t), 0 0.25em 0.25em rgba(0, 0, 0, 0.1);
  display: flex;
  padding: 0.25em;
  width: 2.5em;
  height: 1.5em;
}
.recorder__switch,
.recorder__switch-handle {
  transition: background-color var(--trans-dur), box-shadow var(--trans-dur),
    transform var(--trans-dur) var(--trans-timing),
    transform-origin var(--trans-dur) var(--trans-timing);
}
.recorder__switch-handle {
  background-color: #fff;
  border-radius: 50%;
  display: block;
  transform-origin: 0 0.5em;
  width: 1em;
  height: 1em;
}
[dir="rtl"] .recorder__switch-handle {
  transform-origin: 100% 0.5em;
}
.recorder__timer {
  display: block;
  overflow: visible;
  width: 100%;
  height: auto;
}
.recorder__timer-ring {
  transition: r var(--trans-dur) var(--trans-timing),
    stroke-dasharray var(--trans-dur) var(--trans-timing),
    stroke-dashoffset var(--trans-dur) var(--trans-timing),
    stroke-width var(--trans-dur) var(--trans-timing);
}
.recorder:focus-visible .recorder__switch {
  box-shadow: 0 0 0 0.125em var(--primary), 0 0.25em 0.25em rgba(0, 0, 0, 0.1);
}
.recorder:active .recorder__switch-handle {
  transform: scaleX(1.5);
}
.recorder[aria-pressed="true"] .recorder__label-start {
  opacity: 0.4;
}
.recorder[aria-pressed="true"] .recorder__label-end-text {
  opacity: 0;
}
.recorder[aria-pressed="true"]
  .recorder__label-end-text
  + .recorder__label-end-text {
  opacity: 1;
}
.recorder[aria-pressed="true"] .recorder__switch-handle {
  background-color: var(--red);
  transform: translateX(100%);
  transform-origin: 100% 0.5em;
}
[dir="rtl"] .recorder[aria-pressed="true"] .recorder__switch-handle {
  transform: translateX(-100%);
  transform-origin: 0 0.5em;
}
.recorder[aria-pressed="true"] .recorder__timer-ring {
  r: 6.5px;
  stroke-width: 3px;
}
.recorder[aria-pressed="true"]:active .recorder__switch-handle {
  transform: translateX(100%) scaleX(1.5);
}
[dir="rtl"] .recorder[aria-pressed="true"]:active .recorder__switch-handle {
  transform: translateX(-100%) scaleX(1.5);
}

.product-container {
  box-shadow: 0px 0px 40px -12px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  position: relative;
  padding: 5px;
}

.products:hover {
  scale: 1.1;
  cursor: pointer;
}

.heart {
  position: absolute;
  top: 10px;
  right: 15px;
}

.red-bg.active {
  animation: like 0.5s 1;
  fill: transparent;
  fill: red;
}
.red-bg {
  fill: transparent;
  fill: rgb(202, 202, 202);
  stroke-width: 30;
  transition: all 0.5s;
}

@-webkit-keyframes like {
  0% {
    transform: scale(1);
  }
  90% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1.1);
  }
}

.text-checkbox {
  font-size: 13px;
  line-height: 1.2; /* Ajuste l'espacement des lignes */
  display: inline-block; /* Permet d'ajuster la position */
  vertical-align: middle; /* Aligne verticalement avec le bouton */
  margin-left: 10px; /* Espacement entre le bouton et le texte */
  max-width: 200px; /* Ajuste la largeur max si nécessaire */
  word-wrap: break-word;
}

input[type="checkbox"] {
  accent-color: #d81a6b; /* Change la couleur de la case cochée */
}

.send-button {
  background: var(--success-gradient);
  border: none;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
  margin-top: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.send-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  color:#fff;
}
