@import url('https://fonts.googleapis.com/css2?family=Bacasime+Antique&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quattrocento:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');

/* Botón para abrir el chat */
#chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 16px;
  width: 60px;
  height: 60px;
  background:radial-gradient(circle at top left, #630000, #ff1100);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 8px 15px rgba(255, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.botheader{
  position: absolute;
  height: 60px;
  overflow: hidden;
  width: 100%;
  background: #ffffff;
  display: flex;
  justify-content: space-between;

}

.botimg{
  width: 55%;
  display: flex;
  align-items: center;
  margin-left: 1rem;
  
}

.botheader .botclose{
  margin-right: 1rem;
  display: flex;
  align-items: center;
}

.botclose .close{
  cursor: pointer;
  font-size: 17px;
  height: 17px;

}

.botimg img{
  width: 90%;
  height: 60%;
}

#chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.6);
}

#chat-toggle img {
  width: 40px;
  height: 40px;
}

/* Contenedor principal del chat */
#chat-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 360px;
  height: 500px;
  background: linear-gradient(135deg, #ffffff, #f7f7f7);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: none;
  flex-direction: column;
  animation: slideUp 0.5s ease;
  z-index: 1000;
  border-radius: 10px;
  background: rgb(243 243 243);
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Área del chat (donde aparecen los mensajes) */
#chatbox {
  flex: 1;
  overflow-y: auto;
  padding: 65px 10px 10px;
  display: flex;
  flex-direction: column;
}

/* Mensaje general */
.message {
  margin: 10px 0;
  padding: 12px 16px;
  font-size: 0.9rem;
  border-radius: 20px;
  max-width: 100%;
  word-break: break-word;
  box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
}

/* Mensajes del bot (izquierda) */
.message.bot {
  background: linear-gradient(135deg, #ffffff, #ffffff);
  color: rgb(0, 0, 0);
  align-self: flex-start;
  border-bottom-left-radius: 0px;
  text-align: left;
  font-family: 'Open-Sans', sans-serif;
}

/* Mensajes del usuario (derecha) */
.message.user {
  background:linear-gradient(135deg, #af2424, #d70e0e);
  color: rgb(255, 255, 255);
  align-self: flex-end;
  border-bottom-right-radius: 0px;
  text-align: right;
  width: auto; 
  font-family: 'Open-Sans', sans-serif;
}

/* Sección de botones */
#questions, #follow-up-questions, #yes-no-buttons, #sector-buttons, #back-button {
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.button {
  position: relative;
  padding: 10px 15px;
  margin: 6px 0;
  text-align: center;
  background: linear-gradient(135deg, #d82020, #ff1100);
  color: white;
  font-size: 14px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
  font-family: 'Lato', sans-serif;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 0, 0, 0.4);
  background: linear-gradient(135deg, #990000, #ff1100);
}


/* Estilo del área de entrada de texto (si deseas agregarlo) */
#chat-input {
  display: flex;
  padding: 10px;
  background: #ffffff;
  border-top: 2px solid #ff1100;
}

#chat-input input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  outline: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#chat-input button {
  margin-left: 10px;
  padding: 10px 15px;
  border: none;
  background: linear-gradient(135deg, #ff4c4c, #ff1100);
  color: white;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
  transition: background-color 0.3s, transform 0.2s;
}

#chat-input button:hover {
  background: linear-gradient(135deg, #ff6b6b, #ff1100);
  transform: scale(1.05);
}

.custom-link {
  color: #ff0000;
  text-decoration: underline;
}

.email-link {
  color:#ff0000;
  font-weight: bold;
}


  
