* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
header.nav_bar {
  width: 100%;
  height: 90px;
  box-shadow: 0px 0px 10px 0px #89898945;
  padding: 15px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}
header.nav_bar img {
  max-width: 270px;
  width: 100%;
}
.upload_pdf {
  margin: 30px 0px;
  padding: 0px 30px;
}
.wrapper {
  min-height: 565px;
  background: #39bec212;
  border-radius: 10px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
}
.wrapper h2 {
  font-size: 50px;
  font-weight: 700;
  text-align: center;
  line-height: 70px;
  color: #3c3c3b;
}
.wrapper h2 span {
  color: #39bec2;
}

.chat-wrapper {
  min-height: 765px;
  background: #39bec212;
  border-radius: 10px;
  width: 100%;
  padding: 30px;
}
.pdf_block {
  width: 100%;
  height: 100%;
}
/* ===== Button Upload ========= */
.js .input-file-trigger {
  display: block;
  padding: 14px 45px;
  background: #39bec2;
  color: white;
  font-size: 20px;
  font-weight: 600;
  transition: all 0.4s;
  cursor: pointer;
  border-radius: 10px;
}
.js .input-file {
  position: absolute;
  top: 0;
  left: 0;
  width: 225px;
  padding: 14px 0;
  opacity: 0;
  cursor: pointer;
}

/* quelques styles d'interactions */
.js .input-file:hover + .input-file-trigger,
.js .input-file:focus + .input-file-trigger,
.js .input-file-trigger:hover,
.js .input-file-trigger:focus {
  background: #3c3c3b;
  text-decoration: none !important;
}

/* styles du retour visuel */
.file-return {
  margin: 0;
}
.file-return:not(:empty) {
  margin: 1em 0;
}
.js .file-return {
  font-style: italic;
  font-size: 0.9em;
  font-weight: bold;
}

.credit {
  border: 1px solid #ddd;
  padding: 2px;
  width: 410px;
  background: #eee;
  border-radius: 5px;
  position: absolute;
  bottom: 0;
}

/* ======= Chat Box =========== */

.chat_block .card {
  height: 100%;
  width: 100%;
  background-color: white;
}

.chat_block .card #header {
  background: #323639;
}
.pdf_block iframe {
  min-height: 630px;
  height: 100%;
}

.chat_block .card #header h1 {
  color: #fff;
  font-size: 20px;
  font-family: "Finger Paint", cursive;
  padding: 10px;
}
.chat_block .card #header img {
  color: #fff;
  
  float:right;
  margin-top:-38px;
  padding-right:10px;
}

.chat_block .card #message-section::-webkit-scrollbar {
  width: 10px;
}

.chat_block .card #message-section {
  height: 33vw;
  padding: 0 2.5vw;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}

.chat_block .card #message-section::-webkit-scrollbar-track {
  background: var(--scrollbarBG);
}

.chat_block .card #message-section::-webkit-scrollbar-thumb {
  background-color: var(--thumbBG);
  border-radius: 6px;
  border: 3px solid var(--scrollbarBG);
}

.chat_block .card #message-section #bot,
.chat_block .card #message-section #user {
  position: relative;
  bottom: 0;
  min-height: 1.5vw;
  border: 1px solid #323639;
  background-color: #fff;
  border-radius: 0px 1.5vw 1.5vw 1.8vw;
  padding: 1vw;
  margin: 1.5vw 0;
}

.chat_block .card #message-section #user {
  border: 1.5px solid #39bec2;
  border-radius: 1.5vw 0vw 1.5vw 1.8vw;
  background-color: #39bec2;
  float: right;
}

.chat_block .card #message-section #user #user-response {
  color: #fff;
}

.chat_block .card #message-section .message {
  color: #3c3c3b;
  clear: both;
  line-height: 1.2vw;
  font-size: 1.2vw;
  padding: 8px;
  position: relative;
  margin: 8px 0;
  max-width: 85%;
  word-wrap: break-word;
  z-index: 2;
}

.chat_block .card #input-section {
  width: 100%;
  padding: 15px;
  position: relative;
}

.chat_block .card #input-section input {
  color: #3c3c3b;
  outline: none;
  height: 60px;
  width: 100%;
  border: 1px solid #39bec27a;
  padding: 15px;
  border-radius: 50px;
  box-shadow: 0px 0px 5px 1px #39bec21f;
}

.chat_block .card .send {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  outline: none;
}

.chat_block .card .send .circle {
  position: absolute;
  right: 40px;
  top: 23%;
  width: 30px;
  height: 30px;
}

.chat_block .card .send .circle i {
  font-size: 40px;
  color: #39bec2;
}
