@import url('https://fonts.googleapis.com/css2?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&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&display=swap');
@import url("https://use.typekit.net/qrb0jox.css");

#chatbot-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
}

#chatbot-toggle img {
  width: 60px;
  height: auto;
}

#chatbot-balloon {
  background-color: #333;
  color: #fff;
  padding: 8px 12px;
  border-radius: 16px;
  font-size: 14px;
  font-family: sans-serif;
}

/* Janela do chatbot */
#chatbot-window {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 300px;
  height: 400px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  font-family: sans-serif;
}

#chatbox {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background-color: #f9f9f9;
}

/* Container de opções agora fica dentro da conversa */
.option-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.option-buttons button {
  padding: 5px;
  background-color: #00bfff;
  border: none;
  border-radius: 30px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.option-buttons button:hover {
  background-color: #c0b819;
}


/* Estilos das mensagens */
.msg {
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  max-width: 90%;
  display: inline-block;
  clear: both;
  padding: 8px 12px;
  border-radius: 12px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.4;
}


#chatbox {
  display: flex;
  flex-direction: column;
}


.msg.bot {
  background-color: #fdf3be;
  align-self: flex-start;
  border-bottom-left-radius: 0;
}

.msg.user {
  background-color: #aee1f9;
  align-self: flex-end;
  border-bottom-right-radius: 0;
}


#chatbot-header {
  display: flex;
  justify-content: space-between;  
  background-color: #00bfff;
  color: white;
  padding: 10px 14px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

#chatbot-header h1 {
  display: flex;
  font-family: 'Droog', sans-serif;
  font-size: 9px;
  font-weight: 300px;
  align-items: center;
}

#chatbot-name {
  display: flex;
  font-family: 'Raleway', sans-serif;
  font-weight:bold;
  font-size: 15px;
  align-items: center;
  margin-right: 10px;
}

#button-chat {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

#minimize-chat {
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
  padding: 0;
}

#minimize-chat:hover {
  color: #ddd;
}


#close-chat {
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
  padding: 0;
}
#close-chat:hover {
  color: #ddd;
}


.calendar-container {
  width: 220px;
  max-height: 250px;
  margin: 8px auto;
  font-size: 12px;
  border-radius: 10px;
  z-index: 999;
}


.flatpickr-calendar {
  font-size: 11px !important;
}

.flatpickr-day {
  padding: 4px 0 !important;
  height: 26px !important;
  max-width: 26px !important;
  line-height: 26px !important;
}



/*ÁREA DE DIGITAÇÃO*/
#input-area {
  display: flex;
  padding: 7px;
  align-items: center;
  gap: 8px;
}

#upload-button {
  background-color: transparent;
  border: none;
  color: #00bfff;
  cursor: pointer;
  font-size: 16px;
}

#upload-button:hover {
  color: #0056b3;
}

#message-input {
  flex-grow: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  resize: none;
  height: 15px; 
  font-size: 12px;
}

#send-message {
  padding: 10px;
  border: none;
  cursor: pointer;
  color:#00bfff;
  background-color: transparent;
}

#send-message:hover {
  color: #0056b3;
}

.chat-image {
  max-width: 60%;
  display: block;
  margin: 10px auto;
  border-radius: 8px;
  margin-left: 100px;
}










  
