*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif;
}

#chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#chatbot-button {
    width: 50px;
    height: 50px;
    background-color: #39a900;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    top: 0;
}

#chatbot-button img {
    width: 40px;
    height: 42px;
}

#chatbot-box {
    width: 350px;
    height: 580px;
    background-color: #fff;
    border: #04324d 1px solid;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 22px;
    right: 76px;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
}

#chatbot-box.chatbox-hidden {
    transform: translateY(100%);
    display: none;
    height: 50px;
}



#chatbot-header {
    background-color: #04324d;
    color: #fff;
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    
}

#zaju{
    width: 40px;
    height: 40px;
    padding: 0px;
    border-radius: 100%;
    background-color: #39a900;
}

#chatbot-header h3 {
    margin: 0;
}

#chatbot-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: unset;
}

.chatbot-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    overflow: hidden;
}

/* Estilos generales para la caja de mensajes */
#chatbot-messages {
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-top: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    overflow-y: auto;
}

/* Estilo para las burbujas de los mensajes */
.chat-bubble {
    max-width: 90%;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
}

/* Burbujas de mensajes del usuario */
.user-message {
    background-color: #4CAF50;
    color: white;
    text-align: left;
    clear: both;
    float: right;
}

/* Burbujas de respuestas del chatbot */
.chatbot-message {
    background-color: #e0e0e0;
    color: #333;
    text-align: left;
    /* float: left; */
    clear: both;
    word-wrap: break-word;
}


#chatbot-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    margin:20px 11px;
}

#chatbot-form {
    display: flex;
    align-items:center;
    border-top: 1px solid #ccc;
    background-color: white;
}

#chatbot-form button {
    background-color: transparent;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display:flex;
    align-items: center;
    justify-content: center;
    transition: backgroud-color 0.3s;
    margin: 10px;
}

#img {
    position: absolute;
    top: 90%;       /* Centra verticalmente */
    left: 92%;      /* Centra horizontalmente */
    transform: translate(-50%, -50%);  /* Ajusta el desplazamiento para que la imagen esté perfectamente centrada */
    width: 38px;
}
    

.chatbot-name {
    font-size: 18px;
    font-weight: bold;
}

.online-status {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #32CD32;
}

.online-status::before {
    content: '';
    width: 10px;
    height: 10px;
    background-color: #32CD32;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

#imgx {
    width: 30px;
    height: 30px;
    padding: 3px;
    border-radius: 100%;
    background: none;
     
}

#imgm {
     width: 30px;
    height: 30px;
    padding: 3px;
    border-radius: 100%;
    background: none;
}

.hidden {
    display: none;
}

#chatbot-box.minimized {
    height: 59px;
    overflow: hidden;
}

.chatonline{
    display: flex;
    flex-direction: column;
    flex: 1;
}

@font-face {
    font-family: 'Work Sans';
    src:url("../fonts/WorkSans-Medium.ttf") format('truetype');
    font-size: medium;
}

.menu-button, .menu-description, .menu-option {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
}

.menu-button {
    display: flex;
    align-items: center;
    margin: 5px 0; /* Reduce el margen entre los botones */
    padding: 5px 0; /* Reduce el espacio interno */
    border: none;
    border-radius: 25px 25px 25px 0; /* Ajuste de borde redondeado */
    cursor: pointer;
    background-color: #0c324c;
    color: white;
    width: 100%;
    max-width: 225px; /* Ajusta el ancho máximo según sea necesario */
    font-size: 14px; /* Reduce el tamaño de la fuente */
    overflow: hidden;
    
}

.menu-option {
    background-color: #5ba630;
    padding: 7px 0px; /* Reduce el espacio interno */
    border-top-left-radius: 10px;
    border-bottom-left-radius: 0px;
    font-weight: medium ;
    color: white;  
    font-size: 14px; /* Reduce el tamaño de la fuente */
    min-width: 30px; /* Reduce el ancho mínimo */
    text-align: center;

}

.menu-description {
    overflow-wrap: break-word; /* Espacio entre el cuadro verde y la descripción */
    text-align: left;
    margin-left: 5px;
}

.menu-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

#rating-box {
    top: 50%;
    left: 50%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.rating-textarea {
    width: 100%;
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
}

.stars {
    margin: 10 px 0;
}

.star {
    font-size: 25px;
    cursor: pointer;
    color: gray;
}

.star:hover,
.star.selected {
    color: gold;
}

.download-btn{
    padding: 5px;
    border: none;
    border-radius: 5px;
    margin-bottom: 5px;
    background-color: #5ba630;
    color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.submit-rating {
    padding: 5px;
    border: none;
    border-radius: 5px;
    margin-bottom: 5px;
    background-color: #5ba630;
    color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.send-email {
    padding: 5px;
    border: none;
    border-radius: 5px;
    margin-bottom: 5px;
    background-color: #5ba630;
    color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

#download-btn {
    margin-left: 12px;
}

.countdown-timer {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}


#check-form-div {
  text-align: center;
  /* margin-top: 50px; */
}

.check-form button {
  padding: 10px;
  margin: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background-color: transparent;
  transition: transform 0.2s;
}

.check-button {
  background-color: #4CAF50; /* Verde aceptar */
}

.no-check-button {
  background-color: #f44336; /* Rojo cancelar */
}

.check-form button:hover {
  transform: scale(1.05);
}

.check-form img {
  width: 64px;
  height: 64px;
}
