.social-share-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.share-title {
  font-size: 15px;
  font-weight: 600;
  color: #52246a;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* Estilo específico para ajustar el SVG de X dentro del botón */
.social-icon .x-logo {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

/* Colores de marca y correo */
.social-icon.whatsapp { background-color: #25d366; }
.social-icon.telegram { background-color: #229ed9; }
.social-icon.x-twitter { background-color: #000000; }
.social-icon.linkedin { background-color: #0a66c2; }
.social-icon.facebook { background-color: #1877f2; }
.social-icon.email { background-color: #52246a; }

.main_display{
  width:100%;
  height:auto;
}
.separador_index{
  position: relative;
  width: 100%;
  height: auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  margin-bottom: 1rem;
}

.element_index{
  background-color: #52246a;
  border-radius: 15px;
  padding: 10px 16px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: inherit;
}

.index_center_buttons {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px; 
  align-items: center;
}

/* Forzamos que los botones centrales ignoren el padding largo de .element_index */
.element_index.btn_option {
  width: 45px !important;
  height: 45px !important;
  min-width: 45px !important;
  min-height: 45px !important;
  flex-shrink: 0; 
  border-radius: 50% !important;
  padding: 0 !important; /* Elimina el padding horizontal que deforma el círculo */
  display: flex;        
  align-items: center;   
  justify-content: center; 
  text-align: center;
  font-weight: bold;
  text-decoration: none; 
  transition: background-color 0.2s, transform 0.2s;
  box-sizing: border-box;
}

.element_index.btn_option:hover {
  background-color: #3b194d;
  transform: translateY(-2px);
}


.is-left {
  position: relative; /* Necesario para posicionar el subrayado */
  display: inline-flex; /* Asegura que el ancho se adapte al contenido */
  justify-content: left;
  transition: all 0.3s ease-in-out;
}


.is-left:hover {
  transform: translateX(-5px);
  background-color: #f3ad16;
    color:#551a11;
}

.is-right {
  position: relative; /* Necesario para posicionar el subrayado */
  display: inline-flex; /* Asegura que el ancho se adapte al contenido */
  justify-content: right;
  transition: all 0.3s ease-in-out;
}
.none{
  cursor: auto;
  opacity:0;
  pointer-events: none;
}
.active_btn{
  background-color:#f3ad16;
  color:#551a11;
}
.is-right:hover {
  transform: translateX(5px);
     background-color: #f3ad16;
    color:#551a11;
}

/*PARTE DEL CONTENEDOR PRINCIPAL*/
.lesson_container{
  width:100%;
  display: flex;
  padding:2rem;
  padding-top:1rem;
  height: auto;
  align-items: flex-start;
}
/* Contenedor general para poner el video y el índice lado a lado */
.video_container {
    width: 80%;
    height: auto;
    align-items: center; /* Centra el video verticalmente dentro de su contenedor */
  justify-content: center; /* Centra el video horizontalmente */
}

#miVideo{
  width:90%;
  aspect-ratio: 16 / 9;
  border-radius:10px;
  object-fit: cover;
}

/* Estilos para el panel de keymoments */
.keymoments {
    width: 25%;
    background:#fff; /* Fondo oscuro opcional, ajústalo a tu web */
    color: #551a11;
    padding: 20px;
    padding-right:15px;
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    
  }

.keymoments h3 {
    margin: 0 0 10px 0;
    font-size: 1.125rem;
}

/* Línea separadora morada */
.divider {
    width: 100%;
    height: 2px;
    background-color: #52246a; /* Tono morado */
    margin-bottom: 15px;
    border-radius: 2px;
}

/* Contenedor de la lista con Scrollbar */
.moments-list {
    max-height: 250px; /* Altura máxima antes de que aparezca el scroll */
    overflow-y: auto;   /* Activa la barra de desplazamiento vertical */
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 10px; /* Espacio para que el scroll no tape el texto */
}

/* Estilo personalizado para la barra de desplazamiento (Opcional y moderno) */
.moments-list::-webkit-scrollbar {
    width: 3px;
}
.moments-list::-webkit-scrollbar-track {
    background:#f4f4f9;
    border-radius: 4px;
}
.moments-list::-webkit-scrollbar-thumb {
    background: #52246a;
    border-radius: 4px;
}

/* Cada elemento de los momentos */
.moment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #551a11;
    padding: 10px 10px;
    background-color: #e2d1e7;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

.moment-item:hover {
    background: #f3ad16; /* Sutil destello morado al pasar el ratón */
    transform: translateX(4px);
}

.moment-text {
      font-size:0.889rem;
}

.moment-icon {
    font-size: 1rem;
    color: #52246a;
}
.info_container{
  display: flex;
  justify-content: space-between;
  margin: auto 2rem;
  height: auto;
  width: 100%;
  margin-bottom:6rem;
  align-items: flex-start;
}
.info_info{
  border-radius: 20px;
  width:65%;
  padding:2rem;
box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}
.info_title, .info_title_2{
  margin-bottom:20px;
  text-decoration: underline 2px solid #bb3925;
  text-underline-offset: 4px;
  color:#bb3925;
  font-size: 1.602rem;
}
.info_title_2{
  width: fit-content;
  background-color: #bb3925;
  color: #fff;
text-decoration: none;
padding: 10px;
margin-left: 2rem;
margin-bottom: 2rem;
}
.info_text{
  color: #551a11;
  font-size: 1.125rem;
  padding-left:0.5rem;
  line-height: 1.1;
}
.info_cta{
  position: relative;
  width:20%;
  padding:2rem;
box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  margin: 0 auto;
  font-weight:600;
  line-height: 1.1;
  background-color: #fff;
}
.cta_title{
  font-size:1.266rem;
  color:#551a11;
}
.cta_button_info{
  margin: 0 auto;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  text-decoration: none;
  font-family: "Varela Round", sans-serif;
  border: none;
  cursor: pointer;
  border-radius: 20px;
  padding: 0.75rem;
  color: #fff;
  font-size: 1rem;
  background-color: #52246a;
  margin-top: 1.5rem;
  transition: all 0.3s;
  display: block; /* <-- Añade esto para que margin: 0 auto funcione */
  width: fit-content;
}
.cta_button_info:hover{
    transform: scale(1.05);
  background-color: #bb3925;
}
.cta_image {
  position: absolute;
  right: 0;
  top: -7.9rem;
  height: 80%; /* Ajusta el alto de la imagen en relación al contenedor (ej. 80% o 100%) */
  width: auto; /* Mantiene la proporción original de tu diseño */
  pointer-events: none; /* Evita que la imagen interfiera con clics o interacciones del usuario */
  z-index: 1;
}
.exercises{
  margin-bottom:5rem;
}
/* Posicionamiento fijo del botón */
.voc_floating_btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #52246a;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-family: "Varela Round", sans-serif;
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  transition: background-color 0.3s, transform 0.2s;
}

.voc_floating_btn:hover {
  background-color: #3b194d;
  transform: translateY(-2px);
}

/* Contenedor desplegable */
.voc_index {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 320px;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  z-index: 999;
  font-family: "Varela Round", sans-serif;
  color: #52246a;
  transition: all 0.3s ease-in-out;
}

.voc_dropdown_hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.voc_index:not(.voc_dropdown_hidden) {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.voc_index_header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}

.voc_index_header_icon {
  color: #52246a;
}

.voc_index_title {
  margin: 0;
  font-size: 1.1rem;
  color: #52246a;
  font-weight: bold;
  text-decoration: none;
}

/* Cuadrícula / Lista con scroll */
.voc_index_grid {
  max-height: 250px;
  margin-top:20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
}

.voc_index_grid::-webkit-scrollbar {
  width: 6px;
}
.voc_index_grid::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 4px;
}
.voc_index_grid::-webkit-scrollbar-thumb {
  background: #52246a;
  border-radius: 4px;
}

.voc_index_item {
  background-color: #f3e8ff;
  color: #52246a;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  width:95%;
  transition: background-color 0.2s, transform 0.2s;
}

.voc_index_item:hover {
  background-color: #e9d5ff;
  transform: translateX(4px);
}