
.chatbot {
    position: fixed;
    bottom: 2%;
    right: 3%;
    height: 100px;
    width: 100px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.chatbot img {
    height: 100%;
    width: 100%;
    border-radius: 50%;
}

/* modal chat bot */

/* Estilo del modal chat */
.modal-chat {
    display: none;
    /* Ocultar modal por defecto */
    position: fixed;
    z-index: 2000;
    left: auto;
    top: auto;
    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.4);
    /* Fondo oscuro semitransparente */
}

/* Contenido del modal chat */
.modal-content-chat {
    background-color: #EFEFEF;
    /* padding: 20px; */
    /* border: 1px solid #888; */
    width: 377px;
    margin-left: 72%;
    margin-top: 20%;
    height: 543px;
    border-radius: 5%;
}

.modal-content-chat .encabezado {
    border-radius: 15px 15px 0px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #04667C;
    padding: 0px;
}

.modal-content-chat .encabezado .nino {
    width: 35px;
    height: 35px;
    margin-right: 5%;
    margin-left: 17%;
}

.modal-content-chat .encabezado .nina{
    width: 42px;
    height: 42px;
    margin-left: 5%;
    margin-right: 10px;
}

.modal-content-chat .encabezado h3 {
    color: #FFF;
    font-size: 20px;
    line-height: normal;
    margin: 20px;
}

.modal-content-chat .chat {
    position: relative; /* Cambiamos la posición a relativa */
    max-height: 400px; /* Ajusta según sea necesario */
    overflow-y: auto;
    padding: 10px; /* Opcional: agrega espacio alrededor del contenido */
}

.conversation-container {
    position: relative; /* Cambiamos la posición a relativa */
    max-height: 400px; /* Ajusta según sea necesario */
    overflow-y: auto;
    padding: 10px; /* Opcional: agrega espacio alrededor del contenido */
}

.pregunta {
    position: absolute;
    bottom: 4%;
    
}

.modal-content-chat .conversacion {
    display: flex;
    align-items: center;
    height: auto;
    width: auto;
    align-content: end;
    margin-top: 0px;
}

.modal-content-chat .img-bot {
    margin-right: 10px;
    /* Espacio entre la imagen y el diálogo */
}

.modal-content-chat .bot {
    background-color: white;
    border-radius: 12px;
    padding: 10px;
}

.modal-content-chat .user {
    display: flex;
    align-items: center;
    height: auto;
    width: auto;
    align-content: end;
    margin-top: 0px;
    margin-left: 15%;
}

.modal-content-chat .img-usr {
    margin-left: 5%;
    /* Espacio entre la imagen y el diálogo */
}

.modal-content-chat .usr {
    background-color: white;
    border-radius: 12px;
    padding: 10px;
    width: 210px;
}

.modal-content-chat .pregunta {
    display: flex;
    align-items: center;
    height: auto;
    width: 20%;
    margin-top: 80%;
  
    
}

.modal-content-chat .img-pgt {
    margin-left: 5%;
    /* Espacio entre la imagen y el diálogo */
    margin-top: -10%;
    margin-right: 5%;
}

.modal-content-chat .img-pgt img {
    height: 40px;
    width: 40px;
}

.modal-content-chat .pgt {
    
    border-radius: 12px;
    padding: 10px;
    width: 85%;
    margin-top: -10%;
    margin-left: 3%;

}

.modal-content-chat img {
    width: 40px;
    height: 50px;
    border-radius: 50%;
}

.modal-content-chat input[type="text"]{
    background-color: white;
    border-radius: 12px;
    padding: 10px;
    width: 100%;
    margin-top: -10%;
    margin-left: 3%;
    border: none;
}

.modal-content-chat input[type="text"]:focus {
    outline: none; /
}

.modal-content-chat .bot::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20%;
    border-width: 10px;
    border-style: solid;
    border-color: rgba(31, 33, 36, 0.1) transparent transparent transparent;
}

.modal-content-chat p {
    color: var(--primario, #007393);
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
    /* Ajustar los márgenes a cero para evitar espacios innecesarios */
}

/* Botón para cerrar el modal chat */
.close-chat {
    background-image: url(../iconos/ui/close-circle.svg);
    float: right;
    font-size: 28px;
    font-weight: bold;
    background-size: cover;
    width: 30px;
    height: 30px;
    margin-left: 21%;
}

.close-chat:hover,
.close-chat:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}