* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background-color: #e0e0e0;
}

section {
    width: 100%;
    height: 48vh;
}

.section1 {
    background-color: #f0f0f0;
}

.section2 {
    background-color: #fff;
}

.section3 {
    background-color: #f0f0f0;
}

#chatbot-toggler {
    z-index: 100;
    position: fixed;
    bottom: 20px;
    right: 20px;
    height: 36px;
    width: 140px;
    background-color: #6B8CFA;
    border-radius: 50px;
    box-shadow: 0 0px 6px rgba(0, 0, 0, 0.14);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

#chatbot-toggler .chat-icon {
    display: inline-block;
    width: 18px;
    margin-top: 1px;
    fill: white;
    transition: 0.2s ease-in-out;
}

#chatbot-toggler span {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: white;
    margin-left: 6px;
    margin-top: -1px;
    white-space: nowrap;
    overflow: hidden;
    transition: 0.2s ease-in-out;
}

#chatbot-toggler .arrow-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    display: inline-block;
    margin-top: 1px;
    fill: white;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: 0.2s ease-in-out;
}

#chatbot-toggler:hover {
    transform: scale(1.05);
}

#chatbot-toggler.active {
    width: 36px;
}

#chatbot-toggler.active .chat-icon,
#chatbot-toggler.active span {
    transform: scale(0);
}

#chatbot-toggler.active .arrow-icon {
    display: block;
    width: 12px;
    opacity: 1;
}

#chatbot {
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 380px;
  height: 550px;
  background-color: #fefefe;
  border-radius: 18px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 100;
}

#chatbot.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#chatbot .header {
  height: 48px;
  padding: 14px;
  background-color: #6B8CFA;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

#chatbot .header .logo {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 50%;
  object-fit: cover;
}

#chatbot .header .title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

/* CONTENT */
#chatbot .content {
  height: calc(100% - 100px);
  padding: 14px 14px 8px;
  margin-right: 3px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#chatbot .content::-webkit-scrollbar {
  display: none;
}

#chatbot .content .info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin: 14px 0 22px;
}

#chatbot .content .info .logo {
  width: 60px;
  height: 60px;
  margin-bottom: 8px;
  border-radius: 50%;
  object-fit: cover;
}

#chatbot .content .info .title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #1f2722;
  margin-bottom: 2px;
}

#chatbot .content .info .welcome {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #666;
}

#chatbot .content #hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 8px;
  align-items: center;
  justify-content: center;
}

#chatbot .content #hints .hint {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #1f2722;
  padding: 5px 8px 4px;
  border-radius: 8px;
  background-color: #fafafa;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  transition: 0.12s ease;
}

#chatbot .content #hints .hint:hover {
  background-color: #6B8CFA;
  border-color: #6B8CFA;
  color: #fff;
}

#chatbot .content #hints .hint:active {
  background-color: #5a7cd9;
  border-color: #5a7cd9;
}

#chatbot .content #answer {
  padding-top: 2px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

#chatbot .content #answer .user {
  max-width: 85%;
  margin-left: auto;
  margin-right: 0;
  padding: 7px 10px 6px;
  background-color: #6B8CFA;
  color: #fff;
  border-radius: 8px;
  text-align: left;
  width: fit-content;
}

#chatbot .content #answer .assistant {
  max-width: 85%;
  margin: 14px 0;
  padding: 7px 10px 6px;
  background-color: #f3f3f3;
  color: #1f2722;
  border-radius: 8px;
  text-align: left;
  width: fit-content;
}

#chatbot .content #answer .assistant .person {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 4px;
}

#chatbot .content #answer .assistant .person .logo {
  width: 24px;
  height: 24px;
  margin-right: 6px;
  border-radius: 50%;
  object-fit: cover;
}

#chatbot .content #answer .assistant .person .name {
  font-weight: 500;
}

#chatbot .query {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1px 14px 14px;
  height: auto;
}

#chatbot .query #form-question {
  position: relative;
}

#chatbot .query #form-question button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 32px;
  height: 32px;
  border-radius: 13px;
  border: none;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

#chatbot .query #form-question button:hover {
  background-color: #efefef;
  cursor: pointer;
}

#chatbot .query #form-question button .send-icon {
  width: 15px;
  fill: #555;
}

#chatbot .query #form-question #question {
  width: 100%;
  min-height: 44px;
  height: auto;
  padding: 10px 40px 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 18px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  color: #1f2722;
  outline: none;
  resize: none;
  overflow: hidden;
}

#chatbot .query #form-question #question:focus {
  outline: 1px solid #6B8CFA;
}