/* Estilos principales */
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap" rel="stylesheet">
        
        .cls-1{
    fill:#fff;
        }
        
        /* Menú y niveles */
        h1, h2 {
            color: #2c3e50;
            text-align: center;
            margin: 30px;
        }

        p {
            line-height: 1.6;
            margin: 15px 0;
        }


    /* Chatbot */
    .chat-icon:hover {
        background-color: #9b7a2b;
    }

    .chat-icon {
        position: fixed !important;
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        background: #c39734;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0,0,0,0.5);
        transition: background-color 0.3s ease;
        background-image: url("../../images/icons8-technical-support-64.png");
        background-size: 67%;
        background-repeat: no-repeat;
        background-position: center;
        z-index:999;
        padding-top:5px;
    }

    #chat-toggle {
        display: none;
    }

    #chat-toggle:checked ~ .chat-container {
        opacity: 1;
        visibility: visible;
        transform: translateY(-20px);
    }

    #chat-toggle:checked + .chat-icon {
        transform: translateY(-20px);
    }

	
.chat-container.closed {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);  
}

.chat-icon.closed {
    transform: translateY(20px);
}

    .chat-container {
	padding: 5px;
        font-family: Quicksand !important;
        font-weight: 400;
        position: fixed;
        bottom: 90px;
        right: 30px;
        background: white;
        border-radius: 15px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s ease;
        z-index:9999;
	width: -webkit-fill-available;
        height: -webkit-fill-available;
        max-width: 640px;
        max-height: 580px;
    }

.botbody {
    background: #f8f4e9;
    display: flex;
    justify-content: space-evenly;
    padding: 10px;
    align-content: stretch;
    flex-wrap: wrap;
    flex-direction: column;
    background-size:cover;
    height: -webkit-fill-available;
    width: -webkit-fill-available;
    max-width: 630px;
    max-height: 492px;
    border-radius: 0 0 15px 15px;
}

          

.card {
    height: -webkit-fill-available;
    width: -webkit-fill-available;
    max-width: 620px;
    margin: 0 auto;
    position: relative;
    background: transparent;
    box-shadow: none;
    padding: 0;
    max-height: 500px;
    overflow: hidden;
}

#botheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 15px 15px 0 0;
    margin: auto;
    padding: 0px; 
   align-items: center;
background-image: url('../../images/fondo_chat_head.png');
    background-size: cover;
    max-height: 76px;
    width: -webkit-fill-available;
    height: -webkit-fill-available;

}

  #botheader h1 {
    font-size: 1.5rem;
    font-family: "Helvetica";
    color: #fff;
    margin: auto;
}


#message-section {
    overflow-y: auto;
    padding: 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    max-height: 333px;
}

    #message-section #bot, 
    #message-section #user {
        box-sizing: border-box;
        margin: 0 10px 0 0;
        padding: 2px 9px;
border-radius: 10px 0px 20px 10px !important;
        word-break: break-word;
        width: auto; 
        max-width: 582px;
        margin: 5px 0;
    }
        
#message-section::-webkit-scrollbar {
        width: 10px;
        border-radius: 7px;
    }

    #message-section::-webkit-scrollbar-thumb {
        background-color: #cfd4dd;
        border-radius: 3px;
    }
    
    #message-section::-webkit-scrollbar-track {
    background-color: transparent;
    }

    
    #message-section #bot {
        
        color: #000;
        align-self: flex-start;  /* Mensajes del bot a la izquierda */
 
    }
    
    #message-section #user {
        background: #cfe2de;
        color: #000;
        align-self: flex-end;  /* Mensajes del usuario a la derecha */
  
    }
    
#message-section #bot, #message-section #user {
    min-width: auto;
    max-width: max-content;
}
        
#message-section #bot{ 
    margin-left: 0px;
        }



        
 

        
#bot-response, .botones-feedback{
  box-sizing: border-box;
  padding: 8px 12px;
  border-radius: 0px 10px 10px 10px;
  word-break: break-word;
  width: auto;
  max-width: 80% !important;
  margin: 5px 0;
  margin-left: 0px;
  background-color: #e8e4d4;
  color: #000;
  align-self: flex-start;
  min-width: auto;
  max-width: max-content;
  margin-left:0px; 
        } 
        
      .botones-feedback{
            width:fit-content;
	    max-width: max-content;
            margin-left: 0px; 
	    display: flex;
	    gap: 5px;
	    flex-direction: column;
        } 
        
        
    .icon-asistente{
background-image:url(chat-bot-icon-04.png);  
    background-size:cover;
    width:50px;
    height:50px;
}

#input-section {
    max-block-size: max-content;
    position: relative;
    padding: 10px 0;
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0 0 15px 15px;
    border-top: 2px solid #ddd;
    margin-top: revert;
    flex-direction: row;
    flex-wrap: nowrap;
    width: -webkit-fill-available;
    max-width: 600px;
    height: -webkit-fill-available;
    max-height: 112px;
}



 #input-section textarea {
    width: 80%;
    max-height: 150px;
    min-height: 54px;
    padding: 12px;
    font-size: 18px;
    border: 1px solid #000;
    border-radius: 20px;
    margin: 5px;
    background: #fff;
    color: #000;
    resize: none;
    overflow-y: auto;
    line-height: 1.4;
    box-sizing: initial;
    font-family: inherit;
     box-shadow: inset 0 -1px 0 0 #000;
}

    .send {
        background: transparent;
        border: 0;
        cursor: pointer;
        flex: 0 0 auto;
        padding: 11px;
        position: relative;
        box-shadow:none !important;
	margin: 0;
        display: flex;
        align-items: center;

    }
    .send:hover {
        background: transparent !important;

    }

    .send .circle {
        position: relative;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #c39734;
        border-radius: 50%;
        color: #fff;
        transition: background-color 0.3s ease;
    }

    .send .circle:hover {
        background-color: #9b7a2b;
    }

    .send .circle i {
        font-size: 1.5rem;
        margin-left: -0.2rem;
    }

    .circle {
        background-color: #c39734;
        border-radius: 50%;
        color: #fff;
    }

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

    @keyframes typing {
        0% { opacity: 0.5; }
        50% { opacity: 1; }
        100% { opacity: 0.5; }
    }

@media (max-width: 767px) {
    .card {
        width: 100%;
        max-height: 530px;
    }
    
    #message-section {
        scrollbar-width: thin;
        scrollbar-color: #cfd4dd transparent;
        padding: 5px;
    }
    
    #message-section #bot,
    #message-section #user {
        padding: 6px 10px;
        max-width: 340px;
    }
}

/* 
	Mensajes ayuda chatbot
*/
.send-container {
    display: flex;
    flex-direction: column;
    margin-left: 1.6em;
    justify-content: center;
    align-items: baseline;
}

.send-text {
    font-size: 1rem; 
    margin-top: 0.2rem;
    text-align: center;
}

.reset-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: -webkit-fill-available;
    margin: 0 0px;
    align-content: space-around;
    justify-content: center;
    flex-wrap: nowrap;
}

/* 
	RECURSOS IMG MP4
*/
.vp-center {
    display: flex;
    align-items: normal;
    padding: 10px 0;
    justify-content: flex-end;
}

.contenedor-iframe {
  max-width: 582px;
  width: 100%;
  aspect-ratio: 582 / 415; /* Mantiene la proporción */
  margin: 0 auto;
}

.contenedor-iframe iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contenedor-imagen {
  max-width: 582px;
  width: 100%;
  margin: 0 auto; /* Centra el en el chat */
}

.contenedor-imagen img {
  width: 100%;
  height: auto; /* Mantiene la proporción */
  display: block; /* Elimina el espacio extra debajo de la imagen */
}


/*
    IMAGENES CON URL RESPUESTAS BOT

*/


.image {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.image a {
    margin: 1px; /* para margen de texto e imagenes */
}
        
svg { margin: 0 auto; width: 80px; height: auto; }


.titulo-chat{
        display:flex;
        align-items: center;
	width: -webkit-fill-available;
	flex-direction: row;
}
        
#bot-response{
            
         
        }
.boton-like svg, .boton-dislike svg{
            margin: 0 auto; width: 40px; height: auto;
            
        }
.boton-like svg:hover, .boton-dislike svg:hover{
           fill:yellow;
            
        }
.mensajito_bot {
	display: flex;
        width: -webkit-fill-available;
    	overflow-wrap: break-word;
	white-space: normal;
}

/* Iconos de Correo */

.iconos-correo {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: flex-start;
}

.icono-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 5px;
}

.icono-item img {
    width: 100px;
    height: auto;
    margin-bottom: 5px;
}

.icono-item span {
    font-size: 12px;
    text-align: center;
}

.enlaceboton_ {
    cursor: pointer;
    margin: 10px 5px auto auto !important;
    padding: 0em 1em;
    text-align: center;
    text-decoration: none !important;
    display: inline-block;
    background-color: #eae2d6;
    color: #611232 !important;
    box-shadow: inset 0 0 0 0px #611232;
    letter-spacing: 0em !important;
    border-radius: .7em !important;
    letter-spacing: 0em !important;
    letter-spacing: .1em;
    letter-spacing: .1em;
    transition: all 0.3s ease-in-out;
    text-transform: none !important;
    font-size: 1em !important;
    font-weight: 400 !important;
    line-height: .8em !important;
    text-align: left !important;
    border: 1px solid #611232 !important;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    height: 2em !important;
    
        /* Efecto hover */
    &:hover {
        background-color: #611232; 
        color: lavender; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
}

#esquina{
    display:none;
}
.dinamic-boton{
    overflow-wrap: break-word; 
    white-space: normal;
    cursor: pointer;
    margin: 10px 5px auto auto !important;
    padding: 0em 1em;
    text-align: center;
    text-decoration: none !important;
    display: inline-block;
    background-color: #eae2d6;
    color: #611232 !important;
    box-shadow: inset 0 0 0 0px #611232;
    letter-spacing: 0em !important;
    border-radius: .7em !important;
    letter-spacing: 0em !important;
    letter-spacing: .1em;
    letter-spacing: .1em;
    transition: all 0.3s ease-in-out;
    text-transform: none !important;
    font-size: 1em !important;
    font-weight: 400 !important;
    line-height: .99em !important;
    text-align: left !important;
    border: 1px solid #611232 !important;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    height: 2em !important;
    min-height: fit-content;
    
        /* Efecto hover */
    &:hover {
        background-color: #611232; 
        color: lavender; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
}

.dinamic-boton:hover i.bi{
    color:white !important;
}

.pregunta-boton{
    cursor: pointer;
    margin: 10px !important;
    padding: 0.5em 1em;
    text-align: center;
    text-decoration: none !important;
    display: inline-block;
    border-radius: 3em !important;
  letter-spacing: 0em !important;
  border-radius: 1em !important;
  letter-spacing: 0em !important;
    letter-spacing: .1em;
    transition: all 0.3s ease-in-out;
    background-color: #eae2d6;
     color: #611232 !important;
   box-shadow: inset 0 0 0 0px #611232;
    height: auto !important;
    white-space: break-spaces !important;
    white-space: break-spaces !important;
    text-transform: none !important;
    font-size: 1em !important;
    font-weight: 300 !important;
    line-height: normal !important;
    text-align: left !important;
    border: 2px solid #611232 !important;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    
        /* Efecto hover */
    &:hover {
        background-color: #611232; /* Color de fondo al pasar el ratón */
        color: white; /* Color del texto al pasar el ratón */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra más intensa al pasar el ratón */
    }
}

#selector-estados {
    cursor: pointer;
    margin: 10px !important;
    padding: 0.5em 1em;
    text-align: center;
    text-decoration: none !important;
    display: inline-block;
    border-radius: 3em;
    letter-spacing: .1em;
    transition: all 0.3s ease-in-out;
    background-color: #ff67a4;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: revert;

    
        /* Efecto hover */
    &:hover {
        background-color: #fff;
        color: black;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}

.boton-url-explora {
    cursor: pointer;
    margin: 0px !important;
    word-wrap: break-word;
    text-transform: none;
    overflow: visible;
    padding: 0em 1em;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    text-overflow: ellipsis;
    border: 2px solid #611255 !important;
    color: white !important;
    margin: 10px 0px !important;
border-radius: 3em !important;
  letter-spacing: 0em !important;
  border-radius: 1em !important;
  letter-spacing: 0em !important;
background-color: #eae2d6;
  color: #611232 !important;
  box-shadow: inset 0 0 0 0px #611232;
  -webkit-appearance: button;
    font-weight: 400;
    &:hover {
background-color: #611232 !important;
color: #fff !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    }
}

/* Modulos Explora */

  .card-container {
    width: 180px;
    height: 220px;
    perspective: 1000px; /* Añade perspectiva para el efecto 3D */
    cursor: pointer; /* Indica que es interactivo */
    margin: 10px;
  }

  .card-modulos {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d; /* Mantiene la rotación 3D */
    transition: transform 0.5s; /* Transición suave */
  }

  .front, .back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden; /* Oculta la cara trasera cuando no está visible */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid black;
    box-sizing: border-box;
  }

  .front {
    border-radius: 20px;
    border-bottom: 17px solid black;
  }

  .back {
    transform: rotateY(180deg);
    font-size: 9px;
    position: absolute;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 12px;
    border: double;
    align-content: center;
    justify-content: flex-start;
   /* background: linear-gradient(145deg, var(--back-color, #A9CC96), rgba(255,255,255,0.1)); */

  }
  
  .back::-webkit-scrollbar-thumb:hover {
            background: rgba(0, 0, 0, 0.526);
        }

  /* Clase para voltear la carta */
  .card-modulos.flipped {
    transform: rotateY(180deg);
  }
.mensajito_bot svg{
  width: 10px !important;

  height: 20px;
  margin-top: 10px
}
i.bi{
font-size:1em !important; 
color: white;
margin-top:0px;
padding-left:10px;
margin-left: 0.2rem;
    }

#puedo_ayudar{
width: 160px;
  height: 50px;
  background-color: #eae2d6;
  font-size: .8em;
  font-weight: 300;
  padding: 10px;
  margin-top: -70px;
  margin-left:-100px;
    
    
}

.titulo_chat{
font-size:1em;
}

.btn-regresar{
background-color:#d8cfbc; !important;
border-color:#c2b59b !important;
color:#726658 !important;
}

.boton-like, .boton-dislike {
    cursor: pointer !important;
    margin: 10px 5px auto auto !important;
    padding: 0.5em 1em !important;
    text-align: center !important;
    text-decoration: none !important;
    display: inline-block !important;
    box-shadow: inset 0 0 0 0px #611232 !important;
    letter-spacing: 0em !important;
    border-radius: .7em !important;
    letter-spacing: 0em !important;
    letter-spacing: .1em !important;
    letter-spacing: .1em !important;
    transition: all 0.3s ease-in-out !important;
    text-transform: none !important;
    font-size: 1em !important;
    font-weight: 400 !important;
    line-height: .8em !important;
    text-align: left !important;
    border: 1px solid #611232 !important;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out !important;
    height: 2em !important;
    background-color:#d8cfbc; !important;
    border-color:#c2b59b !important;
    color:#726658 !important;
    
        /* Efecto hover */
    &:hover {
        background-color: #611232 !important; /* Color de fondo al pasar el ratón */
        color: lavender !important; /* Color del texto al pasar el ratón */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important; /* Sombra más intensa al pasar el ratón */
    }
}


#btn-scroll-man {
    cursor: pointer !important;
    padding: 0.5em 1em !important;
    box-shadow: inset 0 0 0 0px #611232 !important;
    letter-spacing: .1em !important;
    font-weight: 400 !important;
    line-height: .8em !important;
    text-align: left !important;
    border: 1px solid #611232 !important;
    height: 2em !important;
    background-color: #d8cfbc;
    border-color: #c2b59b !important;
    color: #726658 !important;
}

.sendmessage{
    align-items: center;
    align-content: center;
}
.sendmessage:hover{
background-color:#611232 !important
}
#myBtn{
    padding: 0.5em 1em; 
    box-shadow: rgb(97, 18, 50) 0px 0px 0px 0px inset; 
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, box-shadow 0.2s ease-in-out; 
    margin: 10px !important; 
    color:#726658 !important; 
    border-radius: 1em !important; 
    letter-spacing: 0em !important; 
    font-size: 1em !important; 
    font-weight: 300 !important; 
    line-height: normal !important; 
    text-align: left !important; 
    border: 1px solid #c2b59b !important; 
    background-color:#d8cfbc; !important;
    display: none;
    text-transform: none !important;
    display:none !important;
}