@import "../lart_du_prompt/style_art_du_prompt.css";

.liste {
  line-height: 1.7;
  margin-left: 30px;
  margin-bottom: 1em;
}

.containerchatMD {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: stretch;
}

.etapeIA {
  width: 100%;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  margin: 10px;
  border-radius: 10px;
  border: 1px solid rgba(27, 39, 59, 0.2);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(15, 23, 42, 0.06));
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.etapeIA:hover {
  transform: translateY(-7px);
  box-shadow: 0 5px 25px rgba(120, 142, 241, 0.644);
}

.containerchatMD .chat-illustration {
  font-size: 0;
}

.containerchatMD .chat-illustration svg {
  width: 70px;
  height: 70px;
  display: block;
}

.front {
  width: 100%;
  border-radius: 10px 10px 0 0;
}

.front span {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px 10px 0 0;
}

.mot {
  font-weight: bold;
  font-size: 18px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.motIA1 {
  background-color: rgba(45, 91, 135, 0.22);
  color: #16324a;
}

.motIA2 {
  background-color: rgba(32, 106, 95, 0.22);
  color: #10423b;
}

.containerchatMD .etapeIA:nth-of-type(1) .front {
  background: linear-gradient(135deg, #4e78a6, #2c4867);
}

.containerchatMD .etapeIA:nth-of-type(1) .content1 {
  width: 100%;
  background-color: rgba(45, 91, 135, 0.12);
}

.containerchatMD .etapeIA:nth-of-type(2) .front {
  background: linear-gradient(135deg, #2d9185, #1d5f58);
}

.containerchatMD .etapeIA:nth-of-type(2) .content2 {
  width: 100%;
  background-color: rgba(32, 106, 95, 0.12);
}

.preambule {
  background-color: #0d46b18c;
  border-radius: 10px;
  padding: 10px;
  margin: 10px 0;
  color: white;
}

.containerChatbot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  overflow: hidden;
}

.containerChatbot .texteChatbot {
  width: 45%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.chatbot {
  width: 50%;
  min-width: 0;
  box-shadow: 0 5px 20px rgb(54, 66, 109);
  border-radius: 15px;
  overflow: hidden;
}

.chatbot iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 15px;
}

.chatmd-launcher {
  margin-top: 14px;
}

.chatmd-launcher label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.chatmd-launcher-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.chatmd-launcher-row input {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid #b4bfd4;
  border-radius: 8px;
}

.chatmd-launcher-row button {
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background-color: #1d5f58;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.chatmd-launcher-row button:hover {
  background-color: #2d9185;
}

.btn {
  display: flex;
  justify-content: center;
}

#btnChatbot {
  color: white;
  font-size: 14px;
  font-weight: bold;
  background-color: #f59e0b;
  border-radius: 5px;
  border: none;
  padding: 5px;
  height: 40px;
  margin-left: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.37);
  transition: transform 0.3s ease;
}

#btnChatbot:hover {
  transform: scale(1.05);
}

#btnChatbot:active {
  transform: translate(3px, 3px);
}

.attention{
  background-color: #f59e0b;
  padding: 10px;
  border-radius: 10px;
  color: rgb(110, 26, 26);
}

pre {
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow-x: auto; /* Ajoute une barre de défilement si le code est trop long */
    margin-bottom: 10px;
}

code {
    font-family: 'Courier New', Courier, monospace;
    color: #9b278b; /* Une petite couleur pour faire ressortir le code */
}

.RAGtec{
  background-color: #8b79f0a6;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 15px;
}

.bilan{
  border-radius: 10px;
  padding: 10px;
  background-color: #9b278c88;
}

@media (max-width: 768px) {
  .containerchatMD {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1rem;
  }
}

@media screen and (max-width: 850px) {
  .containerChatbot {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    gap: 15px;
    overflow: visible;
  }

  .containerChatbot .texteChatbot {
    width: 100%;
  }

  .chatbot {
    width: 100%;
    box-shadow: 0 5px 20px rgb(54, 66, 109);
    border-radius: 15px;
  }

  .chatmd-launcher-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .chatbot iframe {
    width: 100%;
    border-radius: 15px;
  }
}
