:root {
  --bs-primary: #ff6347; /* Redéfinition de la couleur primaire */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  --bs-primary: #ff6347;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.main {
  flex: 1;
}

footer {  
  /*text-align: center;*/
  padding: 1rem;
}
header {
  z-index:999;
}
div.subtitle {
  z-index: 998;
}

:root {
  --jumbotron-padding-y: 3rem;
}

.jumbotron {
  padding-top: var(--jumbotron-padding-y);
  padding-bottom: var(--jumbotron-padding-y);
  margin-bottom: 0;
  background-color: #fff;
}

@media (min-width: 768px) {
  .jumbotron {
    padding-top: calc(var(--jumbotron-padding-y) );
    padding-bottom: calc(var(--jumbotron-padding-y) );
  }
}

.jumbotron p:last-child {
  margin-bottom: 0;
}

.jumbotron-heading {
  font-weight: 300;
}

.jumbotron .container {
  max-width: 40rem;
}


footer p {
  margin-bottom: .25rem;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

body,
.list-group-item {
  background-color: #fff !important;
}

.subtitlebar {
  height: 54px;
}

.sticky {
  position: sticky;
  top: 0;
  width: 100%;
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -ms-sticky;
  position: -o-sticky;
  z-index: 998;
}

main section a {
  color: #0000b4 !important;
}

.bg-dark {
  background-color: #0000b4 !important;
}

.new_transcription .bg-dark {
  background-color: inherit !important;
}

.btn-primary {
  background-color: #0000b4 !important;
  border-color: #0000b4 !important;
}

.btn-outline-primary {
  color: #0000b4 !important;
  border-color: #0000b4 !important;
}
.btn {
  border-width: 2px;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
  color: white !important;
  background-color: #0000b4 !important;
  border-color: #0000b4 !important;
  border-width: 2px;
}

/* footer .btn-outline-primary {
  background-color: #0000b4 !important;
  border-color: white !important;
  color:white;
}

footer .btn-outline-primary:hover {
  background-color: white !important;
  border-color: black !important;
  color:#0000b4 !important;;
}
.footer a {
  color:white;
} */

.badge-primary {
  background-color: #0000b4 !important;
  border-color: #0000b4 !important;
}

.btn-link {
  color: #0000b4 !important;
}
.dropdown-item a {
  color: #0000b4 !important;
}
.dropdown-item button.btn-link {
  text-decoration: none;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,1);
}

.invisible {
  opacity: 0;
  background-color: transparent;
}

.visible {
  opacity: 1;
  background-color: transparent;
  color: green;
}

.gimmick {
  padding: 0 10px 0 0;
}

header .text-muted {
  color: #fff !important;
}

.label-display-off>legend,
.label-display-off>label {
  display: none;
}

.treated {
  background-color: rgba(194, 216, 136, 0.5);
}

.pending {
  background-color: rgba(255, 242, 204, 0.5);
}

form>fieldset>div {
  padding: 15px;
}

.jumbotron-image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
}

.jumbotron-image .text-muted {
  color: white !important;
}

.bg-primary {
  background-color: #0000b4 !important;
}

.blockquote {
  color: #6c757d;
  font-style: italic;
  position: relative;
  width: 100%;
  padding: 0 30px;
}

.blockquote .speech {
  padding-bottom: 15px;
}

.blockquote div.speech:before,
.blockquote div.speech:after {
  font-family: Arial, serif;
  font-size: 2.5em;
  vertical-align: middle;
  line-height: 0
}

.blockquote div.speech:before {
  content: open-quote;
  margin-right: 4px;
  margin-left: -30px;
}

.blockquote div.speech:after {
  content: close-quote;
  margin-left: 3px;

  margin-right: 30px;
}

.intervener {
  font-weight: bold;
}

.speech .intervener:first {
  display: inline;
}

.speaker form {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.speaker form div {
  width: 100%;
  margin: 10px;
}

.hidden {
  display: none;
}

#models {
  margin-top: 20px;
}

#result {
  overflow-y: scroll;
  height: 240px;
}

.dropdown-menu a {
  text-decoration: none;
}

@media (max-width: 838px) {
  #result {
    height: 180px;
  }
}

@media (max-width: 576px) {
  #result {
    height: 100px;
  }
}

#transcriptionBtn {
  margin-top: 20px;
  justify-content: center;
  align-items: center;
}

.popup_box {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: fixed;
  border-radius: 5px;
}

.popup_box {
  width: 400px;
  background: #f2f2f2;
  text-align: center;
  align-items: center;
  padding: 40px;
  border: 1px solid #b3b3b3;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, .2);
  z-index: 9999;
  display: none;
}

.popup_box i {
  font-size: 60px;
  color: #eb9447;
  border: 5px solid #eb9447;
  padding: 20px 40px;
  border-radius: 50%;
  margin: -10px 0 20px 0;
}

.popup_box h1 {
  font-size: 30px;
  color: #1b2631;
  margin-bottom: 5px;
}

.popup_box label {
  font-size: 23px;
  color: #404040;
}

.popup_box .btns {
  margin: 40px 0 0 0;
}

.btns .btn1,
.btns .btn2 {
  background: #999999;
  color: white;
  font-size: 18px;
  border-radius: 5px;
  border: 1px solid #808080;
  padding: 10px 13px;
}

.btns .btn2 {
  margin-left: 20px;
  background: #ff3333;
  border: 1px solid #cc0000;
}

.btns .btn1:hover {
  transition: .5s;
  background: #8c8c8c;
}

.btns .btn2:hover {
  transition: .5s;
  background: #e60000;
}
.card-spacing{
  margin-top: 20px;
}
.align-icon-left {
  margin-left: 4px;
}

/* Styles personnalisés */
.navbar-brand-align {
  display: flex;
  align-items: center;
}

.navbar-logo {
  margin-right: 5px; /* Espace entre l'image et le texte */
}


/* Styles pour la barre de pied de page */
.footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  /* background-color: #343a40; /* Couleur de fond de la barre */
  color: white;
  padding: 10px 0;
}

/* Styles pour les icônes */
.status-icon {
  margin-right: 5px;
}

/* Ajoute une marge en haut pour éviter que le contenu ne soit caché par la barre */
.content {
  margin-top: 80px; /* Ajustez cette valeur en fonction de la hauteur de la barre */
}


.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.disabled .btn-primary {
  opacity:initial;
  pointer-events:initial;
}




/** Partie Chatbot**/

.pills-container {
  background-color: #e9ecef;
  border-radius: 10px;
  border: 1px solid #dee2e6; /* Ajout de la bordure */
}

.chat-messages {
  padding: 10px;
  border-bottom: 1px solid #dee2e6;
}

.message {
  margin-bottom: 10px;
  position: relative;
}

.user-message {
  background-color: #ffffff;
  text-align: right;
  color: #000000;
  border-radius: 5px;
  padding: 8px;
  margin-left: 20%;
}

.ai-message {
  background-color: #ffffff;
  text-align: left;
  color: #000000;
  border-radius: 5px;
  padding: 8px;
  margin-right: 20%;
}

.input-group {
  margin-top: auto; /* Coller le champ de texte en bas */
  padding: 10px;
}

.input-group-text {
  cursor: pointer;
}

#prompt-container {
  padding: 10px;
  border-top: 1px solid #dee2e6;
}

.delete-message,
.validate-ai {
  cursor: pointer;  
}

.fa {
  font-family: "Font Awesome 5 Free";
}

.nav-pills .nav-link {
  border : none;
  margin-bottom:  3px;
}
.nav-pills .nav-link.active {
  background-color: #0000b4;
}

/* public/css/ton_style.css */
.flash-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background-color: #007bff; /* Couleur de fond du bandeau (à ajuster selon tes besoins) */
  color: #fff; /* Couleur du texte du bandeau */
  display: none; /* Par défaut, le bandeau est caché */
  z-index: 1000; /* Assure que le bandeau est au-dessus du reste du contenu */
}

.disabled-zone {
  pointer-events: none; /* Désactive les interactions de la souris */
  opacity: 0.5;         /* Atténue visuellement la zone */
  background-color: #e9ecef; /* Grise le fond pour indiquer la désactivation */
}

.timeline {
  position: relative;
  padding-left: 20px;
}

.timeline:before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e9ecef;
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
}

.timeline .icon-linked {
  position: absolute;
  left: -30px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.timeline .icon-free {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.timeline-item.active .icon {
  background: #007bff;
}

.timeline-item .content {
  margin-top :20px;
  padding-left: 20px;
}

#subnav .active, #subsubnav .active{
  border-bottom:2px solid blue;
}

.select2-selection{
  height: 37px !important;    
}
.select2-container--default, .select2-selection--single, .select2-selection--multiple {
  border-color: #dee2e6 !important;
  border-radius: 0.375rem !important;  
  background-color: #F8F9FA !important;
}
.select2-selection__rendered {
  padding: 0.375rem 0.75rem;
  line-height: 1.5 !important;
}  
.select2-selection__arrow{
  top:5px !important;
}

.logoFooter{
  max-height: 28px;
}

.select2-container{
  display:block !important;
}

header h1.h2 {margin-bottom: 0;}




/* new transcription  */
.form-transcription {
  /*max-width: 800px;*/
  margin: 20px auto;
}

h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 20px;
}

hr {
  margin: 30px 0;
  border: 0;
  border-top: 1px solid #6C757D;
}

.submit-button {
  font-size: 1rem;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ts-dropdown .spinner::after {
  display: none !important;
}
