/* Reset général */
body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* Conteneur principal en flexbox */
.container {
  display: flex;
  min-height: 100vh;
}

/* Barre latérale */
.sidebar {
  width: 220px;  /* Largeur fixe */
  background-color: rgb(228, 240, 245);
  padding: 20px;
  height: 100vh; /* Pleine hauteur */
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column; /* Forcer l'affichage en colonne */
}

/* Supprime les puces de toutes les listes de navigation */
.sidebar ul,
.no-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Style des liens */
.sidebar a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: black;
  background-color: #ddd;
  border-radius: 5px;
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 10px;
}

.sidebar a:hover {
  background-color: #bbb;
}

/* Contenu principal */
.content {
  flex-grow: 1;
  padding: 20px;
  background-color: rgb(128, 205, 228); /* ou white si tu préfères */
}
ul {
  list-style: none; /* Supprime les puces */
  padding: 0; /* Enlève l'indentation par défaut */
}
.no-bullets {
  list-style: none;
  padding: 0;
}

/* Agrandir le texte pour les menus et autres éléments */
.sidebar a,
.content h1{
    font-size: 2rem;
    color: black;
}


.text-center {
  text-align: center; /* Centre le texte */
}
textarea[name="question"] {
  font-size: 1rem;
  padding: 0.5em;
  border-radius: 5px;
  resize: vertical;
}
.assistant-response {
  background-color: #f9f9f9;
  border-left: 4px solid #0077cc;
  padding: 1em;
  margin-top: 1em;
  white-space: pre-wrap;
  font-family: "Segoe UI", sans-serif;
  font-size: 1rem;
}
details pre {
  font-size: 1rem;
  font-family: "Segoe UI", sans-serif;
  background-color: #f4f4f4;
  padding: 0.5em;
  border-radius: 4px;
  white-space: pre-wrap;
  line-height: 1.5;
}
.source-excerpt,
.source-excerpt * {
  font-size: 1rem !important;
  font-family: "Segoe UI", sans-serif !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.source-excerpt p,
.source-excerpt span,
.source-excerpt strong,
.source-excerpt em,
.source-excerpt div {
  font-size: inherit !important;
  font-family: inherit !important;
  line-height: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
}
.source-clean,
.source-clean * {
  all: unset;
  font-size: 1rem !important;
  font-family: "Segoe UI", sans-serif !important;
  line-height: 1.5 !important;
  white-space: pre-wrap !important;
}