p {
  font-size: 14px;
}

.btn {
  font-size: 13px !important;
  font-weight: 400 !important;
}

a, .text-action {
    color: #374151;
}

.link {
  font-size: 14px;
}

.link:hover {
  text-decoration: underline;
}

.id-column {
  width: 50px;
}

.last-column {
  width: 180px;
}

.button-no-style {
  background: none;
  border: none;
  padding: 0;
}

.form-check-label {
  margin-left: 10px;
}

.bg-gray-800 {
  color:#FFFFFF;
}

.bg-white {
  color: var(--bs-body-color);
}


#login-logo {
  width: 170px;
  margin: -20px 0 -30px;
}

footer p {
  font-size: 14px;
}

#emailHelp {
  display: block;
}

#collections_select, #delegate_assistants_select {
  height: 250px;
}

.assistant-delegate-links .badge {
  margin-bottom: 0 !important;
}

.tool_logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 10px;
}

.tool_status {
  font-size: 12px;
  text-align: center;
}

.table-centered td, .table-centered th {
    vertical-align: middle;
  }

#list_messages_table td, #list_messages_table th {
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}


.badge {
    font-size: 10px !important;
    font-weight: inherit !important;
    color: inherit !important;
    padding: 0.3rem 0.7rem !important;
    background: #F2F4F6;
}

.badge.bg-success {
    color: #0a6f4d !important;
    background-color: #cff1e6 !important;
    border-color: #b7ead9 !important;
}

.badge.bg-warning {
    color: #97650e !important;
    background-color: #feeed1 !important;
    border-color: #fee5ba !important;
}

.table p {
  font-size: 14px;
}


.ct-series-g .ct-label.ct-horizontal.ct-end {
  margin-top: 8px;
  font-size: 0.55rem;
  transform: rotate(-35deg);
  margin-left: -20px !important;
}

.kpi-copernic .fs-4 {
  margin-bottom: 5px !important;
}

.kpi-copernic .fs-6 {
  font-size: 14px !important;
  line-height: initial !important;
}

.messages-surtitle {
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    font-size: 12px; 
}

.messages-surtitle .badge {
  text-transform: none;
}


#list_messages_table > :not(caption) > * > * {
      padding: 1.5rem;
}

#list_messages_table {
  table-layout: fixed;
}


.meta-bloc {
  text-align: center;
  width: 200px; /* Ajuste selon ton design */
  word-wrap: break-word; /* Permet le retour à la ligne */
  white-space: normal !important;
  font-size: 12px !important;
}


.conversation-bloc {
    width: 900px; /* S'assure que le tableau prend toute la largeur disponible */
    table-layout: fixed; /* Fixe la largeur des colonnes */
  }

tr.message-bloc {
  border-bottom: 1px solid #E5E7EB;
  margin: 10px 0;
}

tr.message-bloc.last-message-bloc {
  border-bottom: none !important;
  padding-bottom: 0px !important;
}

.message-bloc a {
  /* text-decoration: underline; */
  font-weight: 600;
}

.message-bloc a:hover {
  text-decoration: underline;
}

.message-transcript {
  border: none;
  padding: 30px 0px !important;
  width: 70%; /* Ajuste selon ton design */
  word-wrap: break-word; /* Permet le retour à la ligne */
  white-space: normal !important;
  font-size: 13px !important;
}

.message-transcript p {
  line-height: 1.4;
  font-size: 13px !important;
  font-family: 'Inter', sans-serif !important;
}

.message-transcript .ai-answer {
  margin: 30px 0 0 !important;
}

.message-action {
  border: none;
  width: 30%; /* Ajuste selon ton design */
  word-wrap: break-word;
  white-space: normal !important;
  text-align: center; /* Centre le contenu */
  padding: 0 30px !important;
}

.badge .bi-arrow-repeat {
    width: 11px;
    height: 11px;
    margin-left: 4px;
}


.small-text-description {
    line-height: 1.3em;
    display: block;
    margin-bottom: 0.5rem;
}


.ticket_content {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
}

.ticket_content p {
  margin: 0 !important;
}

.email-sending-info div {
  margin-bottom: 8px;
}

.email-sending-info div:last-child {
  margin-bottom: 0;
}

.form-label {
  font-size: 15px !important;
}


@media only screen and (max-width: 624px) {

  .search-section {
    display: block !important;
  }

  .search-section form {
    display: block !important;
    margin: 10px 0 !important;
  }

  .search-section form .form-select {
    display: block !important;
    margin: 10px 0 !important;
  }


  #list_messages_table,
  #list_messages_table thead,
  #list_messages_table tbody,
  #list_messages_table tr,
  #list_messages_table td,
  #list_messages_table th {
    display: block !important; 
    width: 100% !important;
    max-width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #list_messages_table .conversation-bloc {
    width: inherit !important;
  }

  .card-footer {
    width: 100%;         /* Prend toute la largeur disponible */
    overflow-x: auto;    /* Active le scroll horizontal */
    white-space: nowrap; /* Empêche les éléments de passer à la ligne */
  }

  .pagination {
    display: inline-flex; /* Maintient les éléments sur une seule ligne */
  }


}



