body {
  border: 0;
  margin: 0;
}

/* LOADER (during figma loading) */
.loader {
  position: absolute;
  background: #0028E2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
}

.loader-wheel {
  animation: spin 1s infinite linear;
  border: 2px solid rgba(30, 30, 30, 0.2);
  border-left: 4px solid #fff;
  border-radius: 50%;
  height: 50px;
  margin-bottom: 10px;
  width: 50px;
}

.loader-text {
  color: #fff;
  font-family: arial, sans-serif;
}

.loader-text:after {
  content: 'Loading';
  animation: load 2s linear infinite;
}

@keyframes spin {
0% {
  transform: rotate(0deg);
}
100% {
  transform: rotate(360deg);
}
}

@keyframes load {
0% {
  content: 'Loading';
}
33% {
  content: 'Loading.';
}
67% {
  content: 'Loading..';
}
100% {
  content: 'Loading...';
}
}


/* IFRAME FIGMA */

#figma-embed-bforb {
  border: 0;
  margin: 0;
  width: 100%;
  height: 100dvh;
}

.showSignup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 2px 8px;
  background: rgb(0, 40, 226);
  color: rgb(255, 255, 255);
  border: none;
  border-radius: 8px;
  font-size: 10px;
}


/* WHISPEAK */


.whispeak {
  font-family: "Poppins", Avenir, Helvetica, Arial, sans-serif;
  margin: 0 auto;
  padding: 1rem;
  max-width: 800px;
  font-size: 13px;
  line-height: 1.4;
}


.text1 {
  text-align: center;
}
.text2 {
  text-align: center;
  margin: 1.2em 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}
.text3 {
  color: #6A6B75;
  margin: 1.8em 0;
  text-align: center;
}
.text4 {
  font-weight: 600;
}
.text5 {
  margin-top: 0.4em;
  font-weight: 600;
  background-color: #F0F7FF;
  border-radius: 12px;
  padding: 12px;
}

.fleche-texte {
  vertical-align: middle;
}

.text6 {
  padding-left: 26px;
  position: relative;
  font-size: 11px;
}
.checkbox {
  position: absolute;
  left: 0;
}

.reload-btn {
  width: 40px;
  height: 40px;
  border: 0;
  text-indent: -9999px;
  float: right;
  margin-top: -42px;
  background: #e2edf9 url(img/reload.png) no-repeat center;
  opacity: 0.8;
  border-radius: 60px;
}

.startRecording, 
.stopRecording {
  width: 80px;
  height: 80px;
  border: 0;
  text-indent: -9999px;
  display: block;
}
.startRecording {
  background: url(img/micro.png) no-repeat center;
}

.stopRecording {
  background: url(img/send.png) no-repeat center;
  transition: opacity 1s, filter 1s, transform 2s;
}

.stopRecording.is-disabled {
  opacity: 0.4;
  filter: hue-rotate(110deg);
}

.stopRecording.is-loading {
  transform: translateX(60vw);
}


.buttons-micro {
  display: flex;
  align-items: center;
  justify-content: center;
  /*margin: 40px 0;*/
  height: 136px;
}

.stopRecording {
    position: absolute;
    z-index: 2;
}


/* PROGRESS */
.progress {
    box-sizing: border-box;
    width: 90px;
    height: 89px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: white;
    left: -2px;
}

.progress .overlay {
    box-sizing: border-box;
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: white;
}

.progress .left, .progress .right {
    box-sizing: border-box;
    width: 50%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 3px solid #0028E2;
    border-radius: 100px 0px 0px 100px;
    border-right: 0;
    transform-origin: right;
}

.progress .left {animation: leftanim 4s linear forwards;}
.progress .right {animation: rightanim 4s linear forwards 4s;}

#whispeak-login .progress .left {animation: leftanim 3s linear forwards;}
#whispeak-login .progress .right {animation: rightanim 3s linear forwards 3s;}

@keyframes leftanim {
    0% {transform: rotate(0deg);}

    100% {transform: rotate(180deg);}
}

@keyframes rightanim {
    0% {z-index: 100;transform: rotate(180deg);}

    100% {
        z-index: 100;transform: rotate(359deg);}
}



.halo-visualizer {
    position: absolute;
    /* On le centre et on le met en arrière-plan */
    transform: scale(0); 
    width: 70px;  /* Ajustez la taille selon vos besoins */
    height: 70px;
    background-color: rgba(0, 123, 255, 0.5);
    border-radius: 50%;
    
    /* L'effet de "halo" lumineux */
    box-shadow: 0 0 30px 15px rgba(0, 123, 255, 0.5);

    /* La clé pour une animation fluide ! */
    transition: transform 0.1s ease-out;
    
    z-index: -1; /* Pour le placer derrière le texte du bouton */
}