@keyframes spinElegido {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}


p{
  margin-bottom:0px !important;
}

.reading-box {
background-color: #fcfcfc !important;  
padding: 20px;
border-radius: 8px;
max-height: 180px;
overflow-y: auto;
margin-bottom: 20px;
border: 1px solid #ccc;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.reading-box p {
font-size: 13px !important;
line-height: 1.5;
padding: 2px;
margin: 0;
}

/* Personalizar el scroll reading */
.reading-box::-webkit-scrollbar {
  width: 8px; /* Ancho del scrollbar */
}

.reading-box::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.reading-box::-webkit-scrollbar-thumb {
  background-color: #888; 
  border-radius: 10px; 
}

.reading-box::-webkit-scrollbar-thumb:hover {
  background-color: #555; 
}


/* Personalizar el scroll */
.page:-webkit-scrollbar {
  width: 2px!important; /* Ancho del scrollbar */
}

.page::-webkit-scrollbar-track {
  background: #f1f1f1; /* Fondo del track */
  height: 2px!important;
}

.page::-webkit-scrollbar-thumb {
  background-color: #d9d9d9; /* Color del thumb */
   height: 2px!important;
/*  border-radius: 10px;  */
}

.page::-webkit-scrollbar-thumb:hover {
  background-color: #555; /* Color del thumb cuando pasa el cursor */
}


#summary-class-content{
  display: none;
}
/* Estilo específico para lecciones tipo 'listening' */
/*#iniciar.listening {
  background-color: #f8f9fd;
  color: #333;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#iniciar.listening h1 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}*/



#iniciar.listening h2 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

#iniciar.listening h3 {
  font-size: 14px;
  font-weight: normal;
  color: #555;
  margin-bottom: 5px;
}

#iniciar.listening .object-title {
  font-size: 14px;
  font-weight: bold;
  color: #222;
  margin-bottom: 20px;
}

/* Estilo para el reproductor de audio */
.audio-player {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
  width: 100%;
}

.audio-player .play-button {
  width: 40px;
  height: 40px;
  background-color: #695cfe;
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 10px;
  text-align: center;
}

.audio-player .play-button::before {
  content: attr(data-icon);
}


.audio-player .playback-speed {
  font-size: 14px;
  color: #695cfe;
  margin-bottom: 10px;
  cursor: pointer;
}

.audio-player .progress-bar {
  width: 100%;
  height: 8px;
  background-color: #ddd;
  border-radius: 3px;
  overflow: hidden;
  margin: 5px 5px;
  position: relative;
  cursor: pointer;

}

#speedControlBtn {
  all: unset; /* Elimina todos los estilos predeterminados del botón */
  font-size: 14px;
  color: #695cfe;
  margin-bottom: 10px;
  cursor: pointer; /* Mantiene el cursor de puntero para que parezca interactivo */
}



.audio-player .progress-bar .progress {
  height: 100%;
  width: 0%; /* Esto es un ejemplo */
  background-color: #695cfe;
  transition: width 0.3s ease;
}

.audio-player .time-indicators {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
}



#ai-response-label {
  color: #FFFFFF;
  border: none;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 3px; /* Espaciado interno */
  z-index: 9999; /* Asegura que esté al frente */
  border-radius: 5px; /* Bordes redondeados */
  background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
  outline: none;
  max-width: 80%; /* Limita el ancho máximo a un porcentaje de la pantalla */
  word-wrap: break-word; /* Ajusta el texto que sea demasiado largo */

}


.word-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.word-info h3 {
  font-size: 24px;
  margin: 0;
  color: #3b5998;
}

.pronunciation {
  font-size: 18px;
  color: #666;
}

.translation {
  font-size: 16px;
  color: #666;
}

.audio-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 15px 0;
}

.example {
  margin-top: 10px;
}

.example-title {
  font-weight: bold;
  color: #333;
  font-size: 14px;
}

.example-sentence {
  margin: 5px 0;
}

.english {
  color: #3b5998;
  font-size: 16px;
}

.spanish {
  color: #666;
  font-size: 14px;
}

.save-btn {
  width: 100%;
  background-color: #377dff;
  color: white;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  margin-top: 15px;
  cursor: pointer;
}

.save-btn-guardado {
  width: 100%;
  background-color: #4caf50; /* Verde */
  color: white;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  margin-top: 15px;
  cursor: pointer;
}

.menu-button-header {
  background-color: transparent;  
  border: none;
  cursor: pointer;
  padding-right: 10px;
}
.word {
  cursor: pointer;
  transition: background-color 0.5s ease-in-out; /* Transición para el cambio de color de fondo */
}

.word.highlight {
  background-color: #ccff99; /* Color de resaltado */
}

/* Si deseas añadir transiciones también para el tooltip, puedes hacerlo de esta forma */
.custom-tooltip {
  position: absolute;
  background-color: white;
  border: 1px solid #ccc;
  color: #333;
  padding: 5px 10px;
  border-radius: 5px;
  text-align: center;
  white-space: nowrap;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease-in-out; /* Transición para la opacidad del tooltip */
}

.custom-tooltip.show {
  opacity: 1; /* Mostrar tooltip */
}

.custom-tooltip.hide {
  opacity: 0; /* Ocultar tooltip */
}

.custom-tooltip::after {
  content: '';
  position: absolute;
  top: 100%; /* Posiciona la flecha en la parte inferior del tooltip */
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border: 5px solid transparent;
  border-top-color: white;
}


.custom-tooltip-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 10px;
  cursor: pointer;
}

.custom-tooltip-icon:hover {
  opacity: 0.8;
}

.play-icon {
  background: url('../../../../../assets/avatar/img/play.png') no-repeat center center;
  background-size: contain;
  cursor: pointer;
}

.translate-icon {
  background: url('../../../../../assets/avatar/img/idiomas.png') no-repeat center center;
  background-size: contain;
  cursor: pointer; /* Cambia el cursor a "manito" */
  display: inline-block; /* Asegura que el elemento se comporte como un bloque en línea */
}
}

.translate-icon:hover {
  cursor: pointer; /* Cambia a la "manito" cuando el mouse esté sobre el elemento */
}



.add-to-dictionary-icon {
  background: url('../../../../../assets/avatar/img/diccionario.png') no-repeat center center;
  background-size: contain;
  cursor: pointer;
}



/* Estilo para el botón */
.speaker-button {
  background-color: #685cfe; /* Fondo violeta */
  border: none;
  border-radius: 50%; /* Hacerlo circular */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
  margin-left: -50px;
  cursor: pointer;
}

/* Estilo para el ícono */
.speaker-icon {

  font-size: 16px; /* Tamaño del ícono */
}


#custom-tooltip.hide {
  display: none !important;  /* Se asegura de ocultarlo con prioridad */
}

.preload-container {
  display: inline-block;
  font-size: 16px;
  color: #555; /* Color del preloader */
}

.preload-container::after {
  content: '';
  animation: pulsating-dots 1s infinite;
}

@keyframes pulsating-dots {
  0% { content: ''; }
  20% { content: '.'; }
  40% { content: '..'; }
  60% { content: '...'; }
  80% { content: '..'; }
  100% { content: '.'; }
}


/* Estilos del div cuando está oculto */
.output-div {

  opacity: 0;
  overflow: hidden; /* Esto oculta el contenido cuando está colapsado */
  transition: opacity 0.5s ease, padding 0.5s ease, margin-bottom 0.5s ease;
  padding: 0;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 0;
  border: 1px solid #e6e6e6;
  border-radius: 15px;
  width: 75%;
  margin-top: 10px;
  display: none;

}

/* Estilos del div cuando está visible */
.output-div.visible {
  display: block;
  height: auto;
  padding: 10px; /* Espaciado interno */
  margin-bottom: 15px; /* Espaciado inferior cuando está visible */
  background-color: #e0f7fa; /* Fondo celeste suave */
  border: 1px solid #86dae5; /* Borde celeste más oscuro */
  border-radius: 8px; /* Bordes redondeados */
  box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3); /* Sombra celeste */
  opacity: 1;
  transition: all 0.3s ease; /* Transición suave */
}

.preload-container-input {
  display:block;
  font-size: 16px;
  color: #555; /* Color del preloader */
  margin-left: auto;
  margin-bottom: 10px;
}

.preload-container-input::after {
  content: '';
  animation: pulsating-dots 1s infinite;
}

@keyframes pulsating-dots {
  0% { content: ''; }
  20% { content: '.'; }
  40% { content: '..'; }
  60% { content: '...'; }
  80% { content: '..'; }
  100% { content: '.'; }
}


/* Estilos del div cuando está oculto */
.output-div-input {
  text-align: left !important;
  margin-left: auto;
  opacity: 0;
  overflow: hidden; /* Esto oculta el contenido cuando está colapsado */
  transition: opacity 0.5s ease, padding 0.5s ease, margin-bottom 0.5s ease;
  padding: 0;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 0;
  border: 1px solid #ccc;
  border-radius: 15px;
  width: 75%;
  margin-top: 10px;
  display: none;

}

/* Estilos del div cuando está visible */
.output-div-input.visible {
  display: block;
  height: auto;
  padding: 10px 10px; /* Espaciado interno */
  margin-bottom: 15px; /* Espaciado inferior cuando está visible */
  background-color: #fff8e1; /* Fondo claro amarillo */
  border: 1px solid #ffeb3b; /* Borde amarillo */
  border-radius: 8px; /* Bordes redondeados */
  box-shadow: 0 4px 15px rgba(255, 235, 59, 0.4); /* Sombra amarilla */
  opacity: 1;
  transition: all 0.3s ease; /* Transición suave */
}

.boton-traducir{
  position:absolute;
  right:-50px;
  bottom:10px;
  border:none;
  background:none;
  color: #685cfe;
  transition: transform 0.3s ease, color 0.3s ease; /* Suaviza la animación */
}

.boton-traducir:hover{
  color: #685cfe;
  transform: scale(1.2);
}

.boton-traducir:focus{
  color: #685cfe;
}

.boton-correccion{
  position:absolute;
  left:-72px;
  bottom:10px;
  border: none;
  transition: transform 0.3s ease, color 0.3s ease; /* Suaviza la animación */
  background: #e9ecef;
  border-radius: 100px;
  padding-top: 3px;
  padding-bottom: 3px;
  color: #685cfe !important;
}

.boton-correccion:hover{
  color: #685cfe !important;
  transform: scale(1.1);
}

.boton-correccion:focus{
  color: #685cfe !important;
}


.boton-audio-usuario{
  position:absolute;
  left:-35px;
  bottom:10px;
  border: none;
  transition: transform 0.3s ease, color 0.3s ease; /* Suaviza la animación */
  background: #e9ecef;
  border-radius: 100px;
  padding-top: 3px;
  padding-bottom: 3px;
  color: #685cfe !important;
  width: 31px;
    text-align: center !important;
}

.boton-audio-usuario:hover{
  color: #685cfe !important;
  transform: scale(1.1);
}

.boton-audio-usuario:focus{
  color: #685cfe !important;
}


.boton-reproducir{
  position:absolute;
  font-size: 16px;
  right:-80px;
  bottom:10px;
  border:none;
  background:none;
  color: #685cfe;
  transition: transform 0.3s ease, color 0.3s ease; /* Suaviza la animación */
}

.boton-reproducir:hover{
  color: #685cfe;
  transform: scale(1.2);
}

.boton-reproducir:focus{
  color: #685cfe;
}


#main-principal{
  height: 100vh !important;
  position: relative;
}

/* Main */
#main {
  position: absolute;
  height: 100%;
  
}

body {
  margin: 0;
  padding: 0;
  width: 100vw !important;
  height: 100vh !important;
  overflow: hidden !important; /* Opcional: Para evitar scrollbars */
}


.row {
  margin-right: 0px !important;

  margin-top: 0px !important;
}

.row>* {

  padding-right: 0 !important;
  padding-left: 0 !important;
  margin-top: 0 !important;
}

.mb-4 {
 margin-bottom: 0 !important; 
}

/* Color themes */
:root, .theme-dark {
  --colorBody: #88ccff;
  --colorBackground: #202020;
  --colorPanel: rgba(32,32,32,0.98);
  --colorBorderPassive: rgba(136,204,255,0.6);
  --colorBorderActive: #88ccff;
  --colorUserText: #88ccff;
  --colorSystemText: #cc77ff;
  --colorToolbarPassive: rgba(136,204,255,0.6);
  --colorToolbarPassive2: rgba(136,204,255,0.3);
  --colorToolbarActive: #88ccff;
  --widthLabel: 5rem;
  --colorGlow: #88ccff;
}
.theme-light {
  --colorBody: #505050;
  --colorBackground: #ECF0F1;
  --colorPanel: #ECF0F1;
  --colorBorderPassive: #d0d0d0;
  --colorBorderActive: #d0d0d0;
  --colorUserText: #404444;
  --colorSystemText: #678fb9;
  --colorToolbarPassive: rgba(80,80,80,0.75);
  --colorToolbarPassive2: rgba(80,80,80,0.5);
  --colorToolbarActive: #606666;
  --widthLabel: 5rem;
  overflow-y: hidden !important;
}

.course-playing{
  padding:0 !important;
}



::-webkit-scrollbar { margin-left: 10px; width: 10px; height: 20px; }


input[type="range"] {
  position: relative; width: 180px; height: 0.8rem; line-height: 2rem;
  -webkit-appearance: none; appearance: none; margin-top: 0.6rem;
  cursor: pointer; pointer-events: auto;
  background: repeating-linear-gradient(
    to right, var(--colorToolbarPassive),
    var(--colorToolbarPassive) 2px,
    transparent 2px,
    transparent 44.5px
  );
}
input[type="range"]::-webkit-slider-runnable-track {
  background: var(--colorToolbarPassive); height: 2px;
}
input[type="range"]::-moz-range-track {
  background: var(--colorToolbarPassive); height: 2px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  background: var(--colorToolbarActive);
  margin-top: -0.6rem; height: 1.4rem; width: 0.8rem; border-radius: 0.1rem;
}
input[type="range"]::-moz-range-thumb {
  border: none; background-color: var(--colorToolbarActive); height: 1.2rem;
  width: 0.8rem; border-radius: 0.1rem;
}
input[type="range"]:focus { outline: none; }
input[type="range"]:focus::-webkit-slider-thumb { outline: none; }
input[type="range"]:focus::-moz-range-thumb { outline: none; }

#input {
  flex: 1; background-color: transparent; color: #3a3939;
  border: 0; outline: none; line-height: 2rem; font-family: "Inter", sans-serif;
  font-size: 1.4rem; cursor: pointer; pointer-events: auto; margin: 0;
  padding: 0 6px;
}
/* Placeholder cuando el input está habilitado */
#input:not(:disabled)::placeholder {
  color: #3a3939;
  opacity: 0.8;
}

/* Placeholder cuando el input está deshabilitado */
#input:disabled::placeholder {
  color: #3a3939;
  opacity: 0.5;
}
input[type="color"] { background: none; border: 0; }

/* Pages */
.pages {
  position: absolute; top: 18px; left: 30px; right: 10px; bottom: 18px;
  display: flex; flex-direction: column; row-gap: 6px;
}
.custom-row { display: flex; row-gap: 0; column-gap: 8px; }
.custom-column { flex: 1; display: flex; flex-direction: column; row-gap: 2px; }
.page {
  flex-grow: 1; display: flex; flex-direction: column;
  overflow-y: auto; overflow-x: hidden; min-height: 0; margin: 8px 0 8px 0;
  padding-right: 0px;
}
.rowWrap {
  display: flex; row-gap: 2px; column-gap: 8px; flex-wrap: wrap;
}
.vspace {
  flex-shrink: 0; height: 2rem;
}
.vbar {
  height: 1px; background-color: var(--colorToolbarPassive2);
  flex-shrink: 0; margin: 1rem 0 1rem 0;
}
.fill, .filler {
  flex-shrink: 0; flex-grow: 1; min-width: 0;
}
.filler { visibility: hidden; pointer-events: none; }
.command, .text {
  display: inline-flex; height: calc( 2rem + 2px); font-size: 1.4rem;
  line-height: calc( 2rem + 2px); padding: 0 6px; gap: 12px;
  vertical-align: middle; text-align: left; font-family: "SansRegularCondensed";
  color: var(--colorToolbarPassive); white-space: nowrap; overflow: hidden;
}
.command, .text {
  font-family: "SansRegularCondensed"; color: var(--colorToolbarPassive);
}
.command { cursor: pointer; pointer-events: auto; }
.command > svg, .text > svg {
  height: 2rem; width: 2rem; padding: 1px 0;
  min-height: 2rem; min-width: 2rem;
}
.label {
  width: var(--widthLabel); flex-shrink: 0; color: var(--colorToolbarPassive2);
}
.border {
  position: absolute; top: 0; left: 0; bottom: 0; right: 0;
  background: transparent; border-width: 3px; border-style: solid;
  border-color: var(--colorBorderActive); pointer-events: none;
  border-radius: inherit;
}
.glow { box-shadow: 0 0 25px 5px var(--colorGlow); }
.theme-light .glow { box-shadow: none; }



/* Left panel */
#left {
  position: absolute; margin: 4px; pointer-events: none;
  background-color: var(--colorPanel);
}
#avatar, #view {
  position: absolute; opacity: 1; top: 0; left: 0; right: 0;
  bottom: 0; pointer-events: auto; overflow: hidden;
  border-radius: inherit;

}

#avatar {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#avatar.visible {
  opacity: 1;
}



  /* Loading */
  #loading {
    display: block; position: absolute; top: 6px; left: 6px; width: 300px;
    height: 30px; pointer-events: none; font-size: 1rem;
    background-color: transparent;
  }
  #loading-back, #loading-top {
    display: block; position: absolute; top: 10px; left: 20px; bottom: 10px;
    width: 95px;
  }
  #loading-back {
    background: repeating-linear-gradient(
      to right, var(--colorToolbarPassive2),
      var(--colorToolbarPassive) 5px,
      transparent 5px,
      transparent 10px
    );
  }
  #loading-top {
    clip-path: inset(0 100% 0 0);
    background: repeating-linear-gradient(
      to right, var(--colorBody),
      var(--colorBody) 5px,
      transparent 5px,
      transparent 10px
    );
  }
  #loading-value {
    display: block; position: absolute; top: 0; left: 125px; bottom: 0;
    right: 0; line-height: 30px; text-align: left; font-size: 1.4rem;
    font-family: "SansRegularCondensed";
  }


  /* Right panel */
  #right {
    position: absolute; margin: 0px;
    background-color: white;
    /*box-shadow: 0px 0px 7px 6px rgba(230,230,230,1);*/
  }
  #right .border { border-color: var(--colorBorderPassive); }
  .session { display: none; width: 100%; }
  .session.selected { display: block; }
  .message {
    position: relative; display: block; width: 100%; min-height: 2rem;
  }
  .message * {
    text-align:left; line-height: 24px; font-size: 18px;
  }
  .message > * {
    display: block;
    
  }
  .message ul, .message ol { margin: 0 0 0 2rem; }
  .message.user > * { color: black; }
  .message > .toolbar-left {
    position: absolute; left:0; bottom:0; padding: 0;
    display: none; row-gap: 0; column-gap: 4px;
  }
  .message > .toolbar-right {
    position: absolute; right: 0; bottom:0; padding: 0;
    display: flex; row-gap: 0; column-gap: 4px;
    display: none;
  }


  .message {
    font-size:  19px !important;
    width: 75%;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    box-sizing: border-box;
    color:black !important;
    border-radius: 15px; /* Borde redondeado */
  }

/* Estilos para mensajes de usuario */
.message.user {
  font-size:  19px !important;
  background-color:#e1f5f5 !important;
  text-align: right !important;
  margin-left: auto;
  margin-right: 10px;
}

/* Estilos para mensajes sin clase de usuario */
.message:not(.user) {
  background-color: #f0f2f2;
  text-align: left;
  margin-right: auto;
}

/* Estilos para mensajes sin clase de usuario */
.message.spin:not(.user) {
  background-color: transparent;
  text-align: left;
  margin-right: auto;
}
code { font-family: monospace; font-size: 1rem; }
#directory div:first-child div[data-entry-move="up"] { visibility: hidden; }
#directory div:last-child div[data-entry-move="down"] { visibility: hidden; }
/*#right textarea {
  flex: 1; min-height: 2rem; margin: auto; background: transparent;
  border: 0; font-family: "SansRegular"; font-size: 1.4rem; padding: 0 6px;
  line-height: 2rem; resize: none; outline: none; color: var(--colorUserText);
  pointer-events: auto;
}
#right textarea[data-item="ai-openai-ai1"], #right textarea[data-item="ai-openai-ai2"],
#right textarea[data-item="ai-gemini-ai1"], #right textarea[data-item="ai-gemini-ai2"] {
  color: var(--colorSystemText);
}
#right textarea::placeholder { color: inherit; opacity: 0.3; }*/
.emoji { cursor: pointer; pointer-events: auto; }
#morphs .label { width: calc( 2.5 * var(--widthLabel) ); }


#BottomHelp {
  position: absolute;
  margin: 0;
  background-color: white;
/*  box-shadow: 0px 4px 7px 6px rgba(230, 230, 230, 1);*/
  padding: 20px; /* Añadido para mayor separación del contenido */
  overflow: hidden;

  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  border-top:1px solid #cdcbcb;
}

/* Estado visible */
#BottomHelp.show {
  transform: translateY(0);
  opacity: 1;
  z-index: 10000;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
  color: #333;
}



/* Bottom panel */
#bottom {
  position: absolute; margin: 0px;
  background-color: white;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  /*box-shadow: 0px 4px 7px 6px rgba(230,230,230,1);*/
}
#bottom .border { border-color: var(--colorBorderPassive); }
/*#bottom textarea {
  flex: 1; min-height: 2rem; margin: 0; background: transparent;
  border: 0; font-family: "SansRegular"; font-size: 1.4rem;
  line-height: 2rem; resize: none; outline: none; color: var(--colorUserText);
  pointer-events: auto; box-sizing: border-box;
  overflow: hidden; 
  resize: none;  

}
#bottom textarea::placeholder { color: var(--colorUserText); opacity: 0.3; }*/


/* Iniciar panel */
#iniciar {
  position: absolute; margin: 0px; padding: 25px 25px 60px 25px;
  background-color: white;
  box-shadow: 0px 3px 3px 3px rgba(230,230,230,1);
}
#iniciar .border { border-color: var(--colorBorderPassive); }
/*#iniciar textarea {
  flex: 1; min-height: 2rem; margin: 0; background: transparent;
  border: 0; font-size: 1.2rem;
  line-height: 2rem; resize: none; outline: none; color: #3e3f42;
  pointer-events: auto; box-sizing: border-box;
}
#iniciar textarea::placeholder { color:#695cfe; font-size: 1.2rem; opacity: 0.5; }*/


#flag, #score { color: var(--colorToolbarPassive2); }

[data-image-type^='video/']:before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='16' height='16' viewBox='-10 -10 58 58'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M43,42H5c-2.209,0-4-1.791-4-4V10c0-2.209,1.791-4,4-4h38c2.209,0,4,1.791,4,4v28 C47,40.209,45.209,42,43,42z M12,8H5c-1.104,0-2,0.896-2,2v2h9V8z M23,8h-9v4h9V8z M34,8h-9v4h9V8z M45,10c0-1.104-0.896-2-2-2h-7v4 h9l0,0V10z M45,14L45,14H3v20h42l0,0V14z M45,36L45,36h-9v4h-2v-4h-9v4h-2v-4h-9v4h-2v-4H3v2c0,1.104,0.896,2,2,2h38 c1.104,0,2-0.896,2-2V36z M21.621,29.765C21.449,29.904,21.238,30,21,30c-0.553,0-1-0.447-1-1V19c0-0.552,0.447-1,1-1 c0.213,0,0.4,0.082,0.563,0.196l7.771,4.872C29.72,23.205,30,23.566,30,24c0,0.325-0.165,0.601-0.405,0.783L21.621,29.765z' fill='gray'%3E%3C/path%3E%3C/svg%3E");
  margin-right: 4px;
}

/* Misc */
.text.selected, .command.selected, .screen:active, .command:active,
.range:active , .emoji.selected, .emoji:active {
  color: var(--colorToolbarActive); filter: drop-shadow(0 0 8px var(--colorGlow));
}
.theme-light .text.selected, .theme-light .command.selected,
.theme-light .screen:active, .theme-light .command:active,
.theme-light .range:active, .theme-light .emoji.selected,
.theme-light .emoji:active {
  background-color: var(--colorToolbarActive); color: var(--colorPanel);
  filter: none; border-radius: 6px;
}
.grayed { opacity: 0.3; }
.noselect {
  -webkit-touch-callout: none; -webkit-user-select: none;
  -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none;
  user-select: none; -webkit-user-select: none;
}
.nodrag {
  -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none;
  -o-user-drag: none; -ms-user-drag: none; user-drag: none;
}
.disabled { opacity: 0.5; cursor: default; pointer-events: none; }
.hidden { display: none; }
.starttransparent { opacity: 1; }

@keyframes spin-and-grow {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.5);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.spin:after {
  position: relative;
  top:4px;
  padding-top:5px;
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #3498db;  /* Color primario del spinner (azul) */
  border-right-color: #f39c12; /* Color secundario del spinner (naranja) */
  border-bottom-color: #e74c3c; /* Color terciario del spinner (rojo) */
  border-left-color: #2ecc71;  /* Cuarto color del spinner (verde) */
  animation: spin-and-grow 1.2s linear infinite;
  box-shadow: 0px 0px 15px #ffc109; /* Sombra alrededor del spinner */
}

@keyframes spin-and-grow2 {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.5);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.spin-call:after {
  background-color: rgba(255, 255, 255, 0.3);
  position: relative;
  background: transparent;
  top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  padding-top:5px;
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #3498db;  /* Color primario del spinner (azul) */
  border-right-color: #f39c12; /* Color secundario del spinner (naranja) */
  border-bottom-color: #e74c3c; /* Color terciario del spinner (rojo) */
  border-left-color: #2ecc71;  /* Cuarto color del spinner (verde) */
  animation: spin-and-grow2 1.2s linear infinite;
  box-shadow: 0px 0px 15px #ffc109; /* Sombra alrededor del spinner */
  justify-content: center;
  align-items: center;
  text-align: center;
}


.container-fluid{
  padding-left: 0px !important;
  padding-right: 0px !important;
}


/* Fonts */
@font-face {
  font-family:"SansRegular";
  src: url("https://befluently.com/assets/frontend/default-new/css/fontawesome-all.min.css") format('truetype');
}
@font-face {
  font-family:"SansItalic";
  src: url("./fonts/FiraSansCondensed-Italic.ttf") format('truetype');
}
@font-face {
  font-family:"SansBold";
  src: url("./fonts/FiraSansCondensed-Bold.ttf") format('truetype');
}
@font-face {
  font-family:"SansBoldItalic";
  src: url("./fonts/FiraSansCondensed-BoldItalic.ttf") format('truetype');
}
@font-face {
  font-family:"SansRegularCondensed";
  src: url("./fonts/FiraSansExtraCondensed-Regular.ttf") format('truetype');
}
@font-face {
  font-family:"SansBoldCondensed";
  src: url("./fonts/FiraSansExtraCondensed-Bold.ttf") format('truetype');
}

/*css emma*/
/* Default styles (Desktop - layout-full) */
#main.ratio-wide { width: min(96vw, 192vh, 1400px); height: min(48vw,96vh,700px); }
#main.ratio-normal { width: min(96vw, 128vh, 1040px); height: min(72vw,96vh,780px); }
#main.layout-new { width: 100%; height: 100%; }
#main.layout-new #left { top: 0; left: 0; bottom: 0; right: 0; margin: 0; }
#main.layout-new #left .border { display: none; }
#main.layout-new #right { top: 14%; left: 65%; bottom: 6%; right: 5%; max-width: 800px; border-radius: 16px;}
/*#main.layout-new #bottom { top: 85%; left: 65%; bottom: 5%; right: 5%; max-width: 800px; }*/
#main.layout-new #BottomHelp {  left: 65%; bottom: 5%; right: 5%; max-width: 800px; }
#main.layout-new #iniciar { top: 13%; left: 64%; bottom: 5%; right: 4%; max-width: 800px; }
#main.layout-new #avatar { top: 0; left: 0; bottom: 0; right: 45%; }
#main.layout-new #avatar-holo-loader { top: 0; left: 0; bottom: 0; right: 45%; }


#right-sessions {
  display: flex;
  flex-direction: column;
  height: 100%; /* O una altura fija si no está dentro de algo con height 100% */
  border-radius: 16px;
  padding-right: 15px;
}


#sessions {
  flex: 1;
  
}

#bottom {
  position: sticky;
  bottom: 0;
  background: white;
  padding-top: 5%;
  /*border-top: 1px solid #eee;*/
  z-index: 10;
}

#iniciar {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra verticalmente */
  align-items: center; /* Centra horizontalmente */
  min-height: 83vh;

  text-align: center; /* Centra el texto dentro del div */
  padding: 20px; /* Añade un poco de espacio alrededor del contenido */
  box-sizing: border-box; /* Asegura que el padding se incluya en el tamaño total del div */
  z-index: 1;
  border-radius: 16px;

}

#iniciar h1 {
  font-size: 22px;
  margin-bottom: 25px;
  margin-top: 15px;
  color: #2c3e50; /* Color oscuro para un buen contraste */
}

#iniciar h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #34495e; /* Color ligeramente más claro que el título principal */
}

#iniciar p {
  font-size: 13px;
  color: #7f8c8d; /* Color gris suave para el texto descriptivo */
}

#iniciar ul {
  list-style-type: none;
  padding: 0;
  font-size: 18px;
  margin-bottom: 20px;
  color: #7f8c8d; /* Color gris suave para los elementos de la lista */
}

#iniciar li {
  margin-bottom: 10px;
}

#boton-iniciar {
  background-color: #695cfe; /* Azul brillante para el botón */
  color: white;
  border: none;
  border-radius: 5px;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

#boton-iniciar:hover {
  background-color: #5a4bce; /* Azul más oscuro para el hover */
}

#boton-volver {
  background-color: #695cfe; /* Azul brillante para el botón */
  color: white;
  border: none;
  border-radius: 5px;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

#boton-volver:hover {
  background-color: #5a4bce; /* Azul más oscuro para el hover */
}



/* Estilos específicos para dispositivos móviles */
@media (max-width: 768px) {
  #main.layout-new #left { top: 6%; left: 0; bottom: 69%; right: 0; border-radius: 2px; box-shadow: none !important;}
  #main.layout-new #right { top: 31%; left: 0; height: 69%; right: 0; border-radius: 0px; }
  /*#main.layout-new #bottom { top: 77%; left: 0; bottom: 5%; right: 0; }*/
  #main.layout-new #BottomHelp {  left: 0; bottom: 0; right: 0; position: fixed;}
  #main.layout-new #iniciar { top: 30%; left: 0; bottom: 4%; right: 0;height:100%; }
  #main.layout-new #avatar { right: 0%; }
   #main.layout-new #avatar-holo-loader { right: 0%; }

  #iniciar {
    display: block;
  }

  #bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white; /* o el color de fondo de tu app */
  z-index: 888;
  padding: 10px;

}

#chat-input-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#input {
  flex: 1;
  resize: none;
  padding: 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-right: 10px;
}

.start-recording-button-container,
.recording-contorl-buttons-container {
  display: flex;
  align-items: center;
}


#right-sessions {
  padding-bottom: 100px; /* ajustá si es necesario según la altura del footer fijo */
}

#iniciar {
  min-height: auto;

}

}





.audio-recording-container {
  width: 100%;
  height: 100vh;
  /* view port height*/
  /*targeting Chrome & Safari*/
  display: block;
  /*targeting IE10*/
  flex-direction: column;
  justify-content: center;
  /*horizontal centering*/
  align-items: center;

}

.start-recording-button:hover {
  opacity: 1;
}
.recording-contorl-buttons-container {
  /*targeting Chrome & Safari*/
  display: -webkit-flex;
  /*targeting IE10*/
  display: -ms-flex;
  display: flex;
      justify-content: flex-end;

  /*horizontal centering*/
  align-items: center;
  width: 334px;
}
.cancel-recording-button,
.stop-recording-button {
  font-size: 70px;
  cursor: pointer;
}
.cancel-recording-button {
  color: red;
  opacity: 1;

}
.cancel-recording-button:hover {
  color: rgb(206, 4, 4);
}
.stop-recording-button {
  color: #33cc33;
  opacity: 1;
}
.stop-recording-button:hover {
  color: #27a527;
}
.recording-elapsed-time {
  /*targeting Chrome & Safari*/
  display: -webkit-flex;
  /*targeting IE10*/
  display: -ms-flex;
  display: flex;
  justify-content: center;
  /*horizontal centering*/
  align-items: center;
}
.red-recording-dot {
  font-size: 25px;
  color: red;
  margin-right: 12px;
  /*transitions with Firefox, IE and Opera Support browser support*/
  animation-name: flashing-recording-dot;
  -webkit-animation-name: flashing-recording-dot;
  -moz-animation-name: flashing-recording-dot;
  -o-animation-name: flashing-recording-dot;
  animation-duration: 2s;
  -webkit-animation-duration: 2s;
  -moz-animation-duration: 2s;
  -o-animation-duration: 2s;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -o-animation-iteration-count: infinite;
}

.start-recording-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #695cfe; /* Círculo verde */
  border-radius: 50%; /* Hace que el contenedor sea circular */
      margin-top: 2px;
}







/* The animation code */
@keyframes flashing-recording-dot {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes flashing-recording-dot {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes flashing-recording-dot {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes flashing-recording-dot {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.elapsed-time {
  font-size: 25px;
  color: black;
}
.recording-contorl-buttons-container.hide {
  display: none;
}
.overlay {
  position: absolute;
  top: 0;
  height: 100vh;
  width: 100%;
  background-color: rgba(82, 76, 76, 0.35);
  /*targeting Chrome & Safari*/
  display: -webkit-flex;
  /*targeting IE10*/
  display: -ms-flex;
  display: flex;
  justify-content: center;
  /*horizontal centering*/
  align-items: center;
}
.overlay.hide {
  display: none;
}
.browser-not-supporting-audio-recording-box {
  /*targeting Chrome & Safari*/
  display: -webkit-flex;
  /*targeting IE10*/
  display: -ms-flex;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /*horizontal centering*/
  align-items: center;
  width: 317px;
  height: 119px;
  background-color: white;
  border-radius: 10px;
  padding: 15px;
  font-size: 16px;
}
.close-browser-not-supported-box {
  cursor: pointer;
  background-color: #abc1c05c;
  border-radius: 10px;
  font-size: 16px;
  border: none;
}
.close-browser-not-supported-box:hover {
  background-color: #92a5a45c;
}
.close-browser-not-supported-box:focus {
  outline: none;
  border: none;
}
.audio-element.hide {
  display: none;
}
.text-indication-of-audio-playing-container {
  height: 20px;
}
.text-indication-of-audio-playing {
  font-size: 20px;
}
.text-indication-of-audio-playing.hide {
  display: none;
}
/* 3 Dots animation*/
.text-indication-of-audio-playing span {
  /*transitions with Firefox, IE and Opera Support browser support*/
  animation-name: blinking-dot;
  -webkit-animation-name: blinking-dot;
  -moz-animation-name: blinking-dot;
  -o-animation-name: blinking-dot;
  animation-duration: 2s;
  -webkit-animation-duration: 2s;
  -moz-animation-duration: 2s;
  -o-animation-duration: 2s;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -o-animation-iteration-count: infinite;
}
.text-indication-of-audio-playing span:nth-child(2) {
  animation-delay: .4s;
  -webkit-animation-delay: .4s;
  -moz-animation-delay: .4s;
  -o-animation-delay: .4s;
}
.text-indication-of-audio-playing span:nth-child(3) {
  animation-delay: .8s;
  -webkit-animation-delay: .8s;
  -moz-animation-delay: .8s;
  -o-animation-delay: .8s;
}
/* The animation code */
@keyframes blinking-dot {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* The animation code */
@-webkit-keyframes blinking-dot {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* The animation code */
@-moz-keyframes blinking-dot {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* The animation code */
@-o-keyframes blinking-dot {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
}

/* Medium devices */

@media (min-width: 768px) {}

/* Large devices */

@media (min-width: 992px) {}

/*Ipad pro view*/

/* 
  @media (min-width: 1024px) {
  
  } */

/* Extra Large devices */

@media (min-width: 1200px) {}




.stop-recording-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #695cfe; /* Círculo violeta */
  border-radius: 50%; /* Hace que el contenedor sea circular */
  margin-left: 20px; /* Añade espacio entre el botón de cancelar y el de detener */
}

.stop-recording-button {
  width: 24px;
  height: 24px;
  cursor: pointer;
  opacity: 1;
}

.stop-recording-button-container:hover .stop-recording-button {
  opacity: 1;
}




.recording-contorl-buttons-container {
  display: flex;
  justify-content: flex-end;

  align-items: center;
  width: 334px;
}

/* Estilo para el contador */
.recording-elapsed-time {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px; /* Ancho fijo para evitar movimiento */
}

.elapsed-time {
  font-size: 25px;
  width: 60px; /* Ancho fijo para que el texto no cambie de posición */
  text-align: center; /* Centra el texto */
  margin-right: 10px;
}

/* Estilo para el botón redondo de detener grabación */
.stop-recording-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #695cfe; /* Círculo violeta */
  border-radius: 50%; /* Hace que el contenedor sea circular */
  margin-left: 20px; /* Añade espacio entre el botón de cancelar y el de detener */
}

.stop-recording-button {
  width: 24px;
  height: 24px;
  cursor: pointer;
  opacity: 1;

}

.stop-recording-button-container:hover .stop-recording-button {
  opacity: 1;
}


/* Contenedor de las ondas de audio */
.audio-waves {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  width: 100px; /* Ancho ajustado para las 6 ondas */
}

/* Estilo de cada onda */
.wave {
  width: 4px;
  height: 15px;
  margin: 0 2px;
  background-color: #695cfe;
  border-radius: 2px;
  animation: wave-animation 1.2s infinite ease-in-out;
}

/* Animación de las ondas */
@keyframes wave-animation {
  0%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(2);
  }
}

/* Diferentes retrasos en la animación para cada onda */
.wave:nth-child(1) {
  animation-delay: 0s;
}
.wave:nth-child(2) {
  animation-delay: 0.2s;
}
.wave:nth-child(3) {
  animation-delay: 0.4s;
}
.wave:nth-child(4) {
  animation-delay: 0.6s;
}
.wave:nth-child(5) {
  animation-delay: 0.8s;
}


/* Estilo para la cabecera del chat */
.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 60px;
  background-color: #484646;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 16px 16px 0 0;
}

.chat-header-left {
  display: flex;
  align-items: center;
}

.profile-pic-header {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.profile-name {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

.chat-header-right {
  display: flex;
  align-items: center;
}

.call-button-header {
  background-color: #484646;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.call-button-header img {
  width: 24px;
  height: 24px;
}

.call-button-header:hover {
/*  background-color: #45a049;*/
color: #dddddd;
transform: scale(1.1); /* se agranda un poco */
  transition: color 0.3s ease, transform 0.3s ease;
}





.video-call-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.profile-pic {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-bottom: 40px;
  animation: pulse 2s infinite;
  border: 3px solid #754ffe;
  margin-top:7%;
}

#call-status {
  margin-bottom: 16px;
  font-size: 24px;
  visibility: hidden;
}

#select-call-type {
  margin-bottom: 16px;
  font-size: 24px;
  color: white;
}

.call-buttons {
  display: flex;
  gap: 20px;
}

.call-button {
  background-color: #;
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  width: 72px;
  height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  outline: none;
  visibility: hidden;
}

.call-button.end {
  background-color: #b00020;
}

.call-button.video-call {
  background-color:#4CAF50;
  visibility: visible;
}

.call-button.voice-call {
  background-color: #ffffff;
  color: #0000000;
  visibility: visible;
}

.call-button svg {
  fill: #000;
  width: 32px;
  height: 32px;
}




.user-camera {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 150px;
  height: 100px;

  z-index: 10;
  display: none;
}


.user-camera video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(105, 92, 254, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 20px rgba(105, 92, 254, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(105, 92, 254, 0);
  }
}


@media screen and (max-width: 768px) {
  .call-button-header img {
      width: 20px;
      margin-top: 6px;
      height: 20px;
    }
    .call-button-header {
      background-color: transparent;
    }

    .call-button-header:hover {
    background-color: transparent !important;
  }


  .reading-container {
    display: contents !important;
  }

  .carousel-container {
    
        margin-top: -5% !important;
      }
    
}



@media screen and (max-width: 768px) {
  #call-status, #select-call-type {
    font-size: 18px;
  }

  .call-button {
    width: 56px;
    height: 56px;
  }

  .call-button svg {
    width: 24px;
    height: 24px;
  }

  .profile-pic {
    width: 140px;
    height: 140px;
    margin-bottom: 40px;
  }

  .user-camera {
    width: 120px;
    height: 90px;
  }

 

}

.hide_call {
  display: none;
  height: 100%;
}

#call-screen-container {

  height: 100%;
}

#call-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-call-container {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#user-video {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 120px;
  height: 120px;
  background-color: black;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #fff
}

@media screen and (max-width: 600px) {

#user-video {
  
  width: 80px!important;
  height: 90px!important;

}
}



.instruction {
  background-color: #e9f2ff;
  border-radius: 8px;
  padding: 10px;
  font-size: 13px;
  margin-bottom: 20px!important;
  line-height: 1.5;
}


  /* Avatars Style */
.listening-avatars {
  display: flex;
  justify-content: center;
  gap: 20px;
      align-items: center;

}

.listening-avatar {
  text-align: center;
}

.listening-avatar-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ddd;
  transition: border-color 0.3s ease;
}

.listening-avatar-img:hover {
  border-color: #007bff;
}

.listening-avatar-name {
  margin-top: 8px;
  font-size: 14px;
  font-weight: bold;
  color: #333;
}


#boton-iniciar:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Spinner específico del avatar */
.avatar-spinner {
  display: none;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#boton-siguiente-leccion {
    display: none;
    text-align: center;
    /*margin-top: 30px;*/
    width: 100%;
}

/* Nuevo estilo para el botón */
.btn-siguiente-leccion {
    background-color: #695cfe;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 15px 32px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 90%;
    margin-left: 5%;
}

.btn-siguiente-leccion:hover {
    background-color: #5a4bce;
    color:white;
}

.animated-text {
  font-size: 18px;
  font-weight: bold;
  color: #ffbf00;
  margin-bottom: 12px;
  display: inline-block;
  white-space: nowrap;
}

.animated-text span {
  opacity: 0;
  animation: fadeInOut 2s ease-in-out infinite;
  display: inline-block;
}

@keyframes fadeInOut {
  0%   { opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}

.btn-siguiente-leccion {
  position: relative;
  background-color: #695cfe;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 15px 32px;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 90%;
  margin-left: 5%;
  overflow: hidden;
  font-weight: bold;
}

.btn-siguiente-leccion::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 20%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.2) 80%
  );
  transform: skewX(-20deg);
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}

.flecha {
  display: inline-block;
  margin-left: 8px;
  animation: mover-flecha 1.2s ease-in-out infinite;
}

@keyframes mover-flecha {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}



.start-recording-button-container.disabled {
  pointer-events: none; /* Deshabilita la capacidad de hacer clic */
  opacity: 0.5; /* Cambia la opacidad para indicar que está deshabilitado */
  cursor: not-allowed; /* Cambia el cursor a "no permitido" */
}

/* Estilo para el botón cuando se deshabilita, en color gris claro */
.start-recording-button-container.disabled .start-recording-button {
  filter: grayscale(100%); /* Convierte el icono a gris */
}

@media screen and (max-width: 768px) {
 .message * {
    text-align:left; line-height: 24px; font-size: 14px;
  }
  }




.mic-spinner {
    display: block;      
  width: 24px;
  height: 24px;
  border: 3px solid #ffffff;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: mic-spin 1s linear infinite;
   box-sizing: border-box; 
}

@keyframes mic-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.vocabulary-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.vocabulary-popup {
  background: white;
  border-radius: 20px;
  padding: 30px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  text-align: center;
  position: relative;
}

.vocabulary-popup-title {
  font-size: 24px;
  color: #111;
  margin-bottom: 10px;
}

.vocabulary-popup-desc {
  font-size: 16px;
  color: #333;
  margin-bottom: 25px;
}

.vocabulary-words-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  text-align: left;
  margin-bottom: 25px;
}

.vocabulary-word-item {
  display: flex;
  align-items: center;
}

.vocabulary-word-item input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #7b2cbf;
  border-radius: 5px;
  margin-right: 10px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}

.vocabulary-word-item input[type="checkbox"]:checked {
  background-color: #7b2cbf;
}

.vocabulary-word-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.vocabulary-word-item label {
  cursor: pointer;
  color: #333;
  font-size: 15px;
}

.vocabulary-popup-button {
  background-color: #7b2cbf;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s;
}

.vocabulary-popup-button:hover {
  background-color: #5a189a;
}

.vocabulary-output {
  margin-top: 20px;
  font-size: 15px;
  color: #222;
}



.vocabulary-close-button {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}




.speaker-button-avatar {
  
    border: none;
    border-radius: 50%; /* Hacerlo circular */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;

    cursor: pointer;
}

/* Estilo para el ícono */
.speaker-icon-avatar {
    color: #685cfe; /* Color del ícono */
    font-size: 18px; /* Tamaño del ícono */
}



.boton-audio-usuario-pronunciacion{
  position:absolute;
  left:-22px;
  bottom:10px;
  border: none;
  transition: transform 0.3s ease, color 0.3s ease; /* Suaviza la animación */
  background: #e9ecef;
  border-radius: 100px;
  padding-top: 3px;
  padding-bottom: 3px;
  color: #685cfe !important;
  width: 31px;
    text-align: center !important;
}

.boton-audio-usuario-pronunciacion:hover{
  color: #685cfe !important;
  transform: scale(1.1);
}

.boton-audio-usuario-pronunciacion:focus{
  color: #685cfe !important;
}


.boton-audio-avatar-pronunciacion{
  position:absolute;
  left:-36px;
  bottom:10px;
  border: none;
  transition: transform 0.3s ease, color 0.3s ease; /* Suaviza la animación */
  background: #e9ecef;
  border-radius: 100px;
  padding-top: 3px;
  padding-bottom: 3px;
  color: #685cfe !important;
  width: 31px;
    text-align: center !important;
}

.boton-audio-avatar-pronunciacion:hover{
  color: #685cfe !important;
  transform: scale(1.1);
}

.boton-audio-avatar-pronunciacion:focus{
  color: #685cfe !important;
}


  .modality-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  .modality-selector span {
    font-size: 13x;
  }

  .modality-selector label {
    font-size: 13px;
    font-weight: 500;
  }

  .modality-selector select {
    font-size: 13px;
    padding: 4px 8px; /* Menos padding */
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #ffffff;
    color: #333;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    width: 200px; /* Más ancho */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D'14'%20height%3D'10'%20viewBox%3D'0%200%2014%2010'%20xmlns%3D'http%3A//www.w3.org/2000/svg'%3E%3Cpath%20d%3D'M1%201l6%206%206-6'%20stroke%3D'%23666'%20stroke-width%3D'2'%20fill%3D'none'%20fill-rule%3D'evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
  }

  .modality-selector select:focus {
    border-color: #007bff;
    outline: none;
    background-color: #fff;
  }

  .carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top:-10%;
}

.nav-button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #695cfe;
  display: none;
}

.carousel-content {
  width: 150px;
  height: 150px;
  position: relative;
}

.reading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  padding: 5px;
  font-family: Arial, sans-serif;

}

.reading-container i {
  font-size: 36px;
  color: #333;
  margin-bottom: 8px;
}

.reading-title {
  font-size: 16px;
  font-weight: bold;
}

.recomendado {
  margin-top: 8px;
  color: #f5d100;
  font-size: 14px;
  font-weight: bold;
}


.lesson-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  border-radius: 8px;
  padding: 10px;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;

  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.lesson-container.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.writing-box {
  background-color: #fcfcfc !important;  
  padding: 20px;
  border-radius: 8px;
  max-height: 160px;
  width: 100%;
  overflow-y: auto;
  margin-bottom: 5px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.writing-box textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  font-size: 14px;
  resize: vertical;
  border: none;
  outline: none;
  font-family: inherit;
}

#word-count {
  width: 100%;
  text-align: right;
  font-size: 14px;
  color: #555;
  margin-bottom: 5px
 
}

/* Scrollbar personalizado */
.writing-box::-webkit-scrollbar {
  width: 8px;
}

.writing-box::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.writing-box::-webkit-scrollbar-thumb {
  background-color: #d9d9d9; 
/*  border-radius: 10px; */
}

.writing-box::-webkit-scrollbar-thumb:hover {
  background-color: #555; 
}

#chat-input-container {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  /*padding: 10px 12px;*/
  background-color: #fff;
  position: sticky;
  bottom: 0;
  z-index: 10;
  border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
        min-height: 55px;
}

#input {
  width: 100%;
  min-height: 38px;
  max-height: 120px; /* o más si querés permitir más expansión */
  resize: none;
  overflow-y: auto;

  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 16px;
  font-family: inherit;
  color: #333;

  box-shadow: none;
  outline: none;
  transition: height 0.1s ease-in-out;
  margin-right: 10px;
}

#voice-button {
  background-color: #695cfe;
  color: white;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#voice-button i {
  font-size: 18px;
}





/*#avatar-holo-loader {
  position: fixed;
  bottom: 0;
  margin-bottom: -35px;
  left: 18.5%; 
  width: 450px;
  height: 650px;
  z-index: 1000;
}
*/

.hologram {
  padding-top: 10%;
  padding-left: 20%;
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px cyan);
  animation: flicker 2.5s infinite ease-in-out, glow 3s ease-in-out infinite alternate;
  border-radius: 50px;
  overflow: hidden;
}

.hologram img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1; /* Antes: 0.8 */
  /* mix-blend-mode: screen; */ /* Comentado o eliminado */
}
.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  margin-left: 20%;
  width: 100%;
  height: 5px;
  background: rgba(0, 255, 255, 0.5);
  animation: scan 2.5s linear infinite;
  z-index: 3;
}

@media (max-width: 768px) {
  .scan-line {
    height: 3px;
  }

  .vocabulary-words-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  text-align: left;
  margin-bottom: 25px;
}
}


.hologram::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://media.giphy.com/media/xTiTnxpQ3ghPiB2Hp6/giphy.gif") center/cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.2;
  pointer-events: none;
  border-radius: 50px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 80%);
}

@keyframes scan {
  0% { top: 0; opacity: 0; }
  50% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@keyframes flicker {
  0%, 100% { opacity: 0.9; }
  45% { opacity: 0.7; }
  55% { opacity: 0.9; }
  70% { opacity: 0.8; }
}

@keyframes glow {
  from { filter: drop-shadow(0 0 4px cyan); }
  to   { filter: drop-shadow(0 0 20px cyan); }
}


@media (max-width: 768px) {

  #boton-registro {
    margin-top:0px !important;

}

#mostrarInicioMaterial{
  border-radius: 30px;
  border: 1px solid #695cfe !important;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
}


.hologram {
  padding-top: 14%;
  padding-left: 0%;
  position: relative;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px cyan);
  animation: flicker 2.5s infinite ease-in-out, glow 3s ease-in-out infinite alternate;
  border-radius: 50px;
  overflow: hidden;
   transform: scale(1.8); /* Aumenta el tamaño al 120% */
}

}



#avatar-holo-loader {
  position: absolute; opacity: 1; top: 0; left: 0; right: 0;
  bottom: 0; pointer-events: auto; overflow: hidden;
  border-radius: inherit;
}


#boton-registro {
    background-color: #695cfe; /* Azul brillante para el botón */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 90%;
    display: none;
    margin-top:35px;
    margin-left:5%;

}

#boton-registro:hover {
    background-color: #5a4bce; /* Azul más oscuro para el hover */
}

.listening-label {

    align-items: center;

    color: #695cfe;

    display: flex;
  
  align-items: center;

  font-family: Arial, sans-serif;

  justify-content: center;
  }

  .icon-listening {
    font-size: 30px;
    padding-right: 10px;


  }

  .text-listening {
    font-size: 20px;
  font-weight: bold;
  }

  @media (max-width: 768px) {
  .icon-listening {
    font-size: 5vw; /* Aproximadamente 6% del ancho de la pantalla */
    padding-right: 2vw;
  }

  .text-listening {
    font-size: 4vw; /* Texto un poco más chico que el ícono */
  }

  #iniciar h1{
    font-size: 5vw;
  }

  .instruction{
    font-size: 3vw !important;
  }

  .listening-avatar-img {
    width: 20vw;
    height: 20vw;
  }

  #boton-iniciar {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 5vw;
  }
}



#avatar-controls {
  position: absolute;
  bottom: 5px;     /* separación del borde inferior */
  right: 10px;       /* alineado a la izquierda */
  display: flex;
  gap: 10px;
  z-index: 1001;
  visibility: hidden;
}

.avatar-button {
  background: transparent;
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
   filter: drop-shadow(0 0 1px #000);
  pointer-events: auto !important;
}
#main.layout-new.minimized #right {
  top: 5% !important;
  left: 0;
  right: 0;
  bottom: 25%;
  height: 100%;
  border-radius: 0;
}

/* Animación al ocultar #left */
#left.hide-up {
  transition: all 0.3s ease;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  height: 0;
/*  overflow: hidden;*/
}


#show-avatar-tab {
  display: none;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #9a76e3;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 1002;
  cursor: pointer;
  transition: opacity 0.3s ease;
  margin-top:70px;
}

#show-avatar-tab.show {
  display: block;
}


#mute-avatar:hover{
  transform: scale(1.1);
  color:white!important;
}

#profile-dropdown-icon {
  margin-left: 8px;
  font-size: 12px;
  display: inline-block;
  vertical-align: middle;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

#profile-dropdown-icon:hover {
  transform: scale(1.1);
  color: white;
}



.call-buttons-video {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
   
}


.call-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.call-button svg {
  width: 24px;
  height: 24px;
}



@media (max-width: 768px) {

#main-principal {

 background-color: #f7f7f7;
}

#main {

 background-color: #f7f7f7;
}


.message:not(.user) {
    background-color: #ffffff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.07);
    border: 1px solid #efefef;
  }


.message.user {
       box-shadow: 0 0 2px rgba(0, 0, 0, 0.03);
    border: 1px solid #efefef;
}

#main.layout-new #right{

 background-color: #f7f7f7;
  }

  #input{

 background-color: #fdfcfc;
 border: 1px solid #dddddd;
 box-shadow: 1 -2px 3px rgba(0, 0, 0, 0.06);
  }

   #bottom{

 background-color: #f7f7f7;
  }

    #chat-input-container{

 background-color: #f7f7f7;
  }

  
.fondo-blanco {
  background-color: white !important;
}

.message.spin {
  box-shadow: none;
  border: none; /* opcional si también querés sacar el borde */
  background-color: transparent; /* o el color de fondo que prefieras */
}

#right-sessions{
  padding-bottom: 25%!important;
/*  margin-bottom: 15%!important;*/
}

.pages{
  top:8px!important;
}

.swal2-container {
  z-index: 99999999 !important;
}


/*.avatar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
  justify-items: center;
}*/


}


.checkmark-topic {
  color: #695cfe; /* violeta definido */
  margin-right: 10px;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.2;
}

#confirmReport:hover {
    background-color: #5947d2;
  }
  

.start-recording-button {
  width: 24px;             /* o el tamaño que necesites */
  height: 24px;
  background: transparent; /* o algún color */
  border: none;
  cursor: pointer;

  display: flex;           /* Flexbox para centrar */
  align-items: center;
  justify-content: center;

  padding: 0;
}

.start-recording-button i {
  font-size: 20px;         /* tamaño del ícono */
  color: white;            /* o el color que quieras */
}

.fa-custom-send {
  display: block;
  width: 24px;
  height: 24px;
  background-image: url('../../../../../assets/avatar/img/sent.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
    background-color: transparent;
  border:none;
}


.fa-custom-microphone {
  display: block;
  width: 24px;
  height: 24px;
  background-image: url('../../../../../assets/avatar/img/microphone.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
    background-color: transparent;
  border:none;
}

.fa-custom-cancel {
  display: block;
  width: 26px;
  height: 26px;
  background-image: url('../../../../../assets/avatar/img/cancel.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  border:none;
}


    #memoriesAccordion .accordion-button {
        font-weight: bold;
        background: #f9f9f9 !important;
        color: #333;
        margin-bottom: 10px;
    }

    #memoriesAccordion .accordion-button:not(.collapsed) {
        background-color: #e2e6ea;
        color: #000;
    }

    #memoriesAccordion .accordion-body {
        background-color: #ffffff;
    }

    #memoriesAccordion .memory-tag {
        display: inline-flex;
        align-items: center;
        background-color: #f6c23e; /* amarillo suave */
        color: white;
        border-radius: 20px;
        padding: 8px 14px;
        margin: 5px;
        font-size: 0.95rem;
        font-weight: 500;
    }

    #memoriesAccordion .memory-tag .remove-btn {
        margin-left: 10px;
        color: white;
        background: none;
        border: none;
        font-weight: bold;
        cursor: pointer;
        font-size: 1rem;
        line-height: 1;
    }

    #memoriesAccordion .memory-tag .remove-btn:hover {
        color: #fff;
        text-shadow: 0 0 5px #000;
    }

    #memoriesAccordion .accordion {
        margin-top: 20px;
    }


    .vocabulary-popup-button:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.7;
    transition: background 0.3s;
}

.call-buttons-video {
  display: flex;
  flex-direction: column; /* columna principal */
  align-items: center;
}

.call-buttons-video p {
  
}

.call-buttons-video button {
  margin: 0 5px; /* espacio horizontal entre botones */
}

/* contenedor solo de los botones */
.call-buttons-video-buttons {
  display: flex;
  flex-direction: row; /* botones en fila */
  justify-content: center;
  gap: 10px; /* separación entre botones */
}


#subtitulo-llamada {

  font-size: 16px;
  color: white;
  background: rgba(0, 0, 0, 0.6); /* fondo oscuro semitransparente */
  padding: 6px 12px;
  border-radius: 6px;
  margin: 0 0 12px 0;
  text-align: center;
  max-width: 70vw; /* máximo 70% del ancho de la pantalla */
  word-wrap: break-word; /* que el texto pase a otra línea si es necesario */
  opacity: 0;                 /* Inicialmente invisible */
  transition: opacity 0.5s ease;
  position: fixed;
}

/* Clase que muestra el subtítulo */
#subtitulo-llamada.visible {
  display: block;  /* Lo muestra */
  opacity: 1;      /* Lo hace visible */

}


@media screen and (max-width: 600px) {

.spin-call::after {
  background-color: rgba(255, 255, 255, 0.3);
  content: "";
  position: absolute;
  top: 50%;
  left: 47%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #3498db;
  border-right-color: #f39c12;
  border-bottom-color: #e74c3c;
  border-left-color: #2ecc71;
  animation: spin-and-grow2 1.2s linear infinite;
  box-shadow: 0px 0px 15px #ffc109;
}



  #subtitulo-llamada {
    font-size: 14px;
    max-width: 95vw;
    line-height: 1.4em;
    max-height: calc(1.4em * 5.5);
    overflow-y: auto;
    position: relative;
    scrollbar-width: thin;            /* para Firefox */
    scrollbar-color: #aaa transparent;/* para Firefox */
    box-shadow: inset 0 -12px 10px -10px rgba(0, 0, 0, 0.2);
  }

  /* Scrollbar para WebKit (Chrome, Safari, Edge) */
  #subtitulo-llamada::-webkit-scrollbar {
    width: 8px;
  }

  #subtitulo-llamada::-webkit-scrollbar-thumb {
    background-color: #aaa; /* color gris */
    border-radius: 4px;
  }

  #subtitulo-llamada::-webkit-scrollbar-track {
    background: transparent;
  }

  /* Indicador de scroll (fade que NO se mueve) */
  #subtitulo-llamada::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2em;
    width: 100%;
   
    pointer-events: none;
    z-index: 1;
  }
}

#recording-indicator {
  position: relative;
/*  z-index: 9999;*/
  /*margin-top: 10px;*/
}

#recording-indicator i {
  font-size: 40px; /* tamaño grande */
  color: #00cc66;  /* verde */
  animation: pulse 1.5s infinite;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

@media screen and (max-width: 600px) {
  #recording-indicator i {
  font-size: 30px; /* tamaño grande */
}
  }

/* Animación de pulso */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


.subtitle-container {
  position: relative;
  width: 100%;
  min-height: 40px; /* altura mínima si quieres */
  display: flex;
  justify-content: center;
  align-items: center;
}


/* Estilo cuando está desactivado */
#recording-indicator.off i {
  color: #888; /* gris */
  animation: none; /* sin animación */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}


/* Fuente personalizada */
.driver-popover {
  font-family: 'Inter', sans-serif !important;
}

/* Colores de fondo, texto y botones */
.driver-popover-title {
  font-size: 18px!important;
  font-weight: 600!important;
  color: white !important;
  border-bottom: 1px solid #eee!important;
  padding-bottom: 8px!important;
  /*background-color:#9a76e3!important;*/
}

.driver-popover-description {
  font-size: 15px!important;
  color: white !important;
  margin-top: 8px!important;
}

/* Botones */
.driver-popover-footer button {
  font-family: 'Inter', sans-serif!important;
  font-weight: 600!important;
  /*background-color: #754ffe!important;*/
  color: white!important;
  border: none!important;
  padding: 8px 14px!important;
  margin-right: 8px!important;
  border-radius: 6px!important;
  cursor: pointer!important;
  transition: background-color 0.3s ease!important;
}

.driver-popover-footer button:hover {
  background-color: #5d3ed8;
}

/* Botón "No volver a mostrar" */
.cancel-tutorial-btn {
  background-color: #f5d100!important;
  color: #333!important;
  border: none!important;
  padding: 6px 12px!important;
  font-size: 14px!important;
  margin-top: 10px!important;
  border-radius: 4px!important;
  cursor: pointer!important;
  font-weight: 600!important;
}
.cancel-tutorial-btn:hover {
  background-color: #e6c200!important;
}



.driver-popover-next-btn{
  background-color: #f5d100 !important;
  text-shadow: none !important;
  color:white !important;
}


.driver-popover-prev-btn{
  background-color: #f5d100 !important;
  text-shadow: none !important;
  color:white !important;
}

#driver-popover-content{
  background-color: #9a76e3 !important;
}

.driver-popover-progress-text{
  color: white !important;
}


@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}



.nav-button {
  animation: pulse 1.2s infinite ease-in-out;
  transition: transform 0.3s;
}








