
/* .chat-popup {
    position: relative;
    width: 100%;
    height: 400px;  
    background-color: #f9f9f9;
    overflow: hidden;
  } */
  
  .ROBOT {
    /* position: absolute;
    top:50px;
    bottom: 10px;
    right: 10px;
    width: 60px;
    height: auto; */
    transition: all 0.8s ease-in-out;
    z-index: 1010;
  }

  .ROBOT-table{
        /* robot del inicio */
        transition: all 0.8s ease-in-out;
        z-index: 1010;

  }
  .ROBOT-table.hablando{
    position: absolute;
    top: 100px !important;;
    bottom: 50%;
    right: 50%;
    transform: translate(50%, 50%) scale(2.9); /* Centrado y agrandado */
    z-index: 10000;
  }

  
  .ROBOT.hablando {
    position: absolute;
    top:50px;
    bottom: 50%;
    right: 50%;
    transform: translate(50%, 50%) scale(2.9); /* Centrado y agrandado */
    z-index: 10000;

  }
  


#gifHabla {
    display: none;
    width: 100px;
    height: auto;
}


.anchomenu_encuesta{
    width: 150px !important;
}
#advice-text{
    color: blue;    
}
#confirm-no, #confirm-yes{
cursor: pointer;
}

#advice-text {
    line-height: 1.1;
    font-family: Arial, sans-serif;
    font-size: 12px;
  }


.gif-container {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 100px;
}

.gif-container img {
    width: 100%;
    height: 100%;
}

.cuestion_gad{
    
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    background-color:#b8e1b98b;
    /* background-color:#0328048b; */
    padding: 10px;
    margin-bottom: 20px;
}



.btn_redondo{
    border-radius: 5px;
    height: 30px;
    border: 0px;
    margin: 5px;
}

#gad7-container{
  max-height: 400px; /* Puedes ajustar este valor */
  overflow-y: auto;
}


.btn_redondo{
    cursor: pointer;
}

.table-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 97% !important;
    max-width: 280px !important;
    /* max-height: 390px !important; */
    transform: translate(-50%, -50%);
    background: rgba(216, 235, 255, 0.3);
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    border-radius: 15px !important;
    z-index: 1000;

    /* Efecto de vidrio */
backdrop-filter: blur(10px) !important;
-webkit-backdrop-filter: blur(10px) !important; /* Para compatibilidad con Safari */
border: 1px solid rgba(172, 236, 193, 0.3) !important;

}




.table-container h2 {
  color: rgb(55, 54, 54) !important;
  font-family:Arial, Helvetica, sans-serif;


}

.close {
    display: inline-block;
    padding: 5px 10px;
    background-color: red;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
  }
  .close:hover {
    background-color: darkred;
  }

  .close-chat {
    display: inline-block;
    padding: 5px 10px;
    background-color: red;
    
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;

    position: absolute; /* Permite posicionarlo dentro del contenedor padre */
    top: 5px; /* Ajusta para colocarlo fuera o dentro del borde superior */
    left: 10px; /* Lo posiciona hacia la derecha del contenedor padre */

  }

  @keyframes parpadeo {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.blink {
    animation: parpadeo 1s infinite;
}

  .close-chat:hover {
    background-color: darkred;
  }

.table-container table {
    width: 100%;
    border-collapse: collapse;
}

.table-container table td {
    text-align: center;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    border: 1px solid #ddd;
}

.overlay-emociones {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.5); */
    /* z-index: 103; */
}

.chat-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(250, 250, 250, 0.3);
    /* background: white; */
    width: 98% !important;
    max-width: 410px !important;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    z-index: 1001;
    

    /* Efecto de vidrio */
backdrop-filter: blur(10px) !important;
-webkit-backdrop-filter: blur(10px) !important; /* Para compatibilidad con Safari */
}

.chat-popup textarea {
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
}

.chat-popup button {
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Estilo base para la imagen */
img[alt="GIF"] {
    width: 50px; /* Ancho base para pantallas grandes */
    height: auto;
    position: absolute;
    top: -5px;
    right: 70px;
    bottom: 20px;
    transition: all 0.3s ease; /* Animación suave para cambios */
    /* background: red; */
}


#procesando{
    margin: 0 auto;
    width: 40px; /* Ancho base para pantallas grandes */
    height: auto;
    right: 200px;
    top: 15px;
}

#procesando-chat{
    margin: 0 auto;
    width: 40px; /* Ancho base para pantallas grandes */
    height: auto;
    right: 200px;
    bottom: 20px;
}


.emotion-container {
    margin-left:10px;
    margin-right:10px;
    margin-top:5px;
    text-align: center;
    font-size: 18px; /* Tamaño del emoji */
    cursor: pointer;
     
}

.emotion-container:hover {
    
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.08);
    /* background-color: #f0fdf4; */
     
     
    /* background-color: #4caf4f4f; */
}

.emotion-label {
    display: block;
    margin-top: 5px;
    font-size: 8px; /* Tamaño de la letra de la emoción */
    font-weight: bold;
    color: #333; /* Color del texto */
}
.chat-history{
    padding: 10px; text-align: justify;max-height: 350px; overflow-y: scroll;margin-top: 20px; margin-bottom: 10px;
}




/* Estilo responsivo para pantallas medianas */
@media (max-width: 768px) {
    
    .table-container{
        
        width: 85% !important;
        /* background: #4CAF50; */
        padding-left: 20px;
        padding-right: 20px;
            
    }

    .chat-popup{
        width: 90% !important;
        /* background: #ad3737; */
    }
    

    .chat-history{
        margin: 0 auto;
        width: 90% !important; 
        /* background: #4CAF50 !important; */
    }
    


}



/* Estilo responsivo para pantallas pequeñas */
@media (max-width: 620px) {
   
    .chat-history{
        width: 370px; 
        /* background: #4CAF50 !important; */
    }

    #procesando{
        left:70px;
    }

    .overlay-emociones {
        width: 90%;
    }

    /* .table-container{
        width: 97%;
            
    } */

    .chat-popup {
        padding: 5px !important ;
        width: 90% !important;
       }

    /* .table-container table {
        width: 90%;
        
        border-collapse: collapse;
    } */

    
    
    .emotion-label {
        display: block;
        margin-top: 10px;
        font-size: 8px; /* Tamaño de la letra de la emoción */
        
       
    }


}


@media (max-width: 550px) {
    .ROBOT-table{
        top:-5px !important;
        right:80px !important;
        width: 50px !important;
        /* background: #4caf4f48; */
        
        
    }
}






/* Estilo responsivo para pantallas pequeñas */
@media (max-width: 480px) {
    .ROBOT{
        /* right: 170px !important; */
        /* background: #4CAF50; */
        width: 50px !important;
        /* top: -40px !important;; */
         

    }
    .chat-popup {
        padding: 5px !important ;
        width: 90% !important;
       }

    .chat-history{
        margin: 0 auto;
        width: 330px; 
         /* background: #4CAF50 !important; */
        margin-top: 35px;
        left: 20px;

    }

    

    .table-container{
        width: 85% !important;        
    }

    .emotion-container {
       
        font-size: 18px; /* Tamaño del emoji */
        
    }


    .emotion-label {
        display: block;
        margin-top: 3px;
        font-size: 8px; /* Tamaño de la letra de la emoción */
       
    }


    
    /* .emotion-label {
        display: block;
        margin-top: 10px;
        font-size: 1.7vw; 
        
        
    } */

   


}

/* Estilo responsivo para pantallas pequeñas */
@media (max-width: 410px) {
    
    .table-container h2{
        font-size: clamp(18px, 5vw, 38px);
    }
            

    .overlay-emociones {
        width: 80%;
    }
    .table-container {
        width: 79% !important;
        
    }


    .emotion-container {
       
        font-size: 18px; /* Tamaño del emoji */
        
    }


    .emotion-label {
        display: block;
        margin-top: 3px;
        font-size: 8px; /* Tamaño de la letra de la emoción */
       
    }

    .chat-popup {
        padding: 5px !important ;
        /* width: 360px !important; */
       }


       
}


/* Estilo responsivo para pantallas pequeñas */
@media (max-width: 390px) {

    .table-container{
        /* width: auto; */
        /* background: #4CAF50 !important; */
    }
    .emotion-label{
        /* display:none ; */
    }
    
    .table-container table {
        /* width: 95%; */
        /* width: 320px !important; */
        border-collapse: collapse;
        /* background: #ad3737; */
    }
    .chat-popup {
     padding: 5px !important ;
     /* width: 350px !important; */
    }
   
     
    
}