@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');

/* event messages */
.chat-message-event {
  width: max-content;
  max-width: 90%;
  padding: 5px 20px 5px 20px;
  border-radius: 7px;
  border: solid 1px gray;
}

.chat-message-event.info {
  background-color: transparent;
  font-family: "Poppins", sans-serif;
  color: #000;
  font-size: 9px;
  font-weight: 300;
  line-height: 9px;
}

.chat-message-event.info strong {
  font-weight: 500 !important;
}

.chat-message-event.info span {
  color: #273886 !important;
}


.selected-documents-message {
  width: max-content;
  max-width: 90%;
  padding: 5px 20px 5px 20px;
  border-radius: 7px;
  border: solid 1px gray;
  background-color: transparent;
  font-family: "Poppins", sans-serif;
  justify-self: center;
  color: #000;
  font-size: 9px !important;
  font-weight: 300;
  line-height: 12px !important;
}

.selected-documents-message strong {
  font-weight: 500 !important;
}

.selected-documents-message span {
  color: #273886 !important;
}




.chat-message-event.success {
  background-color: transparent;
  font-family: "Poppins", sans-serif;
  color: #000;
  font-size: 9px;
  font-weight: 300;
  line-height: 9px;
}

.chat-message-event.error {
  background-color: #fdecea;
  color: #d00000;
}

.selection-row-container {
  /* display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px; */
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  max-width: 90%;
}


/* chat selective container styles */
.response-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background-color: #ECECEC;
  font-family: "Poppins", sans-serif;
  border-radius: 10px;
  padding: 10px;
  width: 100%;
  max-width: 100%;
  transition: width 0.3s ease;
}

.response-header {
  font-weight: bold;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #000;
  padding-bottom: 5px;
  border-bottom: solid 1px #C8C8C8;
}

.selectable-answer {
  border: none;
  padding: 12px;
  font-size: 11px;
  font-weight: 500;
  color: #000 !important;
  cursor: pointer;
  background-color: transparent !important;
  padding: 0px !important;
  margin: 0px !important;
  max-width: 100% !important;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.selectable-answer:hover {
  background-color: transparent;
}

.selectable-answer.selected {
  background-color: transparent;
  /* border-bottom: solid 1px #C8C8C8; */
}


/* chat styles */
.chat-message-sent {
  font-family: "Poppins", sans-serif !important;
  background: #bfc2c4 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #000000 !important;
  padding: 5px 10px !important;
}

.chat-message-received {
  background-color: #ffffff !important;
  border: 1px solid #ffffff;
  border-radius: 10px !important;
  padding: 5px 10px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #000 !important;
  font-family: "Poppins", sans-serif !important;
}

/* #chatbot .main-title{
    font-family: "Poppins", sans-serif !important;
  } */
#chatbot .input-message {
  color: #000 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 11px !important;
}

#chatbot .input-message::placeholder {
  color: #6B6B6B !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
}


.nav-indicator {
  width: 100%;
  text-align: center;
  font-family: "Poppins", sans-serif;
  color: #565656;
  margin-bottom: 8px;
  font-size: 8px !important;
  font-weight: 500 !important;
}

.selected-documents-message {
  margin-bottom: 10px !important;
}

.main-title {
  min-height: 48px;
  height: 75px;
  max-height: 75px;
}

/* Reference chips — shown below AI answers */
.ref-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(67, 96, 232, 0.15);
  align-items: center;
}

.ref-label {
  font-size: 0.7em;
  color: #888;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-right: 4px;
}

.ref-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 20px;
  background: #eef1fd;
  color: #4360e8;
  font-size: 0.75em;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #c3cdf8;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
}

.ref-chip:hover {
  background: #4360e8;
  color: #fff !important;
  border-color: #4360e8;
}