.menu-dashboard > a {
  margin-bottom: 0;
  display: block;
}

div#messages-container .alert {
  text-align: center;
  border: none;
  border-radius: 0;
}

tr.adhesion_active > td {
  background: #c8fcc8;
}

.card.zone-detail > .card-body {
  overflow: hidden;
}
.card.zone-detail > .card-body > div {
  overflow-x: scroll;
}

.card-body p {
  font-size: 16px;
}

.card-side-label {
    background: var(--gold);
    color: white;
    width: 36px;
    font-size: 1rem;
}

div.info-user-bandeau {
  background: var(--pink);
  padding: 10px;
  color: #fff;
  margin-bottom: 15px;
  border-radius: 10px;
}

tr.adhesion_inactive > td {
  background: #fcdec8;
}

div#messages-container .alert.alert-error {
  background-color: #fa8d81;
  font-weight: bold;
  color: #fff;
  font-size: 17px;
}

h4.sous-titre {
  font-size: 17px;
  margin-bottom: 16px;
}

.bandeau-icone-detail i {
  color: #0c1c5b;
  font-size: 18px;
  margin-top: 5px;
}

.bandeau-icone-detail h1 {
  margin-bottom: 0px;
}

.input-green .text-danger {
  font-size: 14px;
  text-align: center;
  margin-top: 5px;
}

.bandeau-icone-detail a {
  margin: 0 10px;
}

.bandeau-btn-detail a {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  padding: 5px 15px;
  border-radius: 7px;
  text-align: left;
  border: 1px solid;
  font-size: 16px;
  color: #0c1c5b;
}

.menu-dashboard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 10px;
}

.menu-dashboard h4.title-menu {
  margin: 0;
}

.menu-dashboard > a {
  text-align: left;
  display: block;
}

.title-separation {
  border-bottom: 1px solid;
  border-top: 1px solid;
  padding: 15px 0 12px 0;
}

button.btn-tdb:hover,
a.btn-tdb:hover {
  background: #c29d5e;
  border: 1px solid #0c1c5b;
}

a.btn-tdb.active {
  background: #c29d5e;
  border: 1px solid #c29d5e;
}

#dateTableServeur tbody td:last-child {
  text-align: right;
}

.btn-tdb {
  color: #fff;
  background: #0c1c5b;
  border: 1px solid #0c1c5b;
  padding: 6px 20px 5px 20px;
  font-size: 18px;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 10px;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}

.btn-blanc {
  color: #0c1c5b;
  background: #fff;
  border: 1px solid #0c1c5b;
  margin: 0 10px;
  padding: 6px 20px 3px 20px;
  font-size: 18px;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 10px;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}

.btn-blanc:hover {color: #fff; background: #0c1c5b;}

.select2.select2-container {
  border: 1px solid #dee2e6;
  padding: 4px;
  border-radius: 6px;
}

.input-green label {
  margin-top: 10px;
  margin-bottom: 0;
}

#search-field .input-group-text {
  height: 40px;
  border-radius: 5px 0 0 5px;
}

div.loupe-search {
  background: #0c1c5b;
  position: absolute;
  color: #fff;
  top: 16px;
  width: 35px;
  padding: 0;
  text-align: center;
  right: -50px;
  height: 35px;
  line-height: 35px;
  border-radius: 100%;
  font-size: 12px;
}

div.bg_header_extranet {
  background: #c29d5e;
  color: #fff;
  font-size: 15px;
}

.card-header.bg_header_extranet h4 {
  display: inline-block;
  padding-top: 6px;
  margin: 0;
  font-size: 21px;
  text-transform: uppercase;
}

/* DATATABLE */
.dataTables_wrapper {
    padding: 0px;
}

.dt-button.buttons-html5, .dt-button.buttons-print {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    background: #0c1c5b;
    color: #fff;
    font-size: 13px;
}

.dt-button.buttons-html5:hover, .dt-button.buttons-print:hover {
    background: #000 !important;
    border: none !important;
}

.dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_paginate, .dataTables_wrapper .datatable.dataTable.no-footer, .dataTables_wrapper .dataTables_info {
    font-size: 15px;
}

table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control::before {
    padding: 6px;
    border-radius: 4px;
    color: #fff;
    margin-right: 7px;
}

.fa-regular.fa-circle-check {
  color: #379a1b;
}

.fa-regular.fa-circle-xmark {
  color: red;
}

div.dataTables_wrapper .dataTables_filter input {
    max-height: 32px;
    border-radius: 0 20px 20px 20px;
    margin-left: 10px;
}

td.center {
  text-align: center;
}

.bandeau-top p {
  margin-bottom: 0;
}

.select2-selection__rendered .select2-selection__choice {
    display: inline-block;
    margin-right: 10px;
}

.select2-selection__rendered .select2-search.select2-search--inline {
    display: block;
    width: 100%;
}

.dataTables_wrapper thead th {
  font-size: 15px;
  padding: 10px 25px 10px 10px !important;
  background: #0E2A3363;
  color: #fff;
  font-weight: 500 !important;
}

tr.even td {
  background: #f6f3f3;
}

.btn-action {
  background: transparent;
  border: none;
}

.dataTables_wrapper td {
    font-size: 15px;
    padding: 8px 10px !important;
}

.dataTables_wrapper .dataTables_filter {
    margin-bottom: 20px;
}

div table.dataTable > tbody > tr.child span.dtr-title {
  min-width: 45%;
}

.dataTables_empty {
    font-size: 13px;
}

ul.dtr-details {
  width: 100%;
}

td.centrer, th.centrer {
    text-align: center !important;
}

.dataTables_wrapper i {
    color: #0c1c5b;
    margin: 0 4px;
}

.btn-vue-detail i {
  margin: 0 8px;
  color: #0c1c5b;
}

table.dataTable thead > tr > th.sorting::after, table.dataTable thead > tr > th.sorting::before {
  opacity: 0.5 !important;
}

/* DATATABLE */

/* CHAT */
  #container-chat .btn {
      background-color: #0C1C5B;
  }

  #container-chat .btn-delete {
      background-color: transparent;
      color: red;
      border: none;
  }

  #container-chat .btn-delete-modal {
      background-color: red;
      color: white;
      border: none;
  }

  #container-chat .card {
      border-radius: 15px;
      border: 1px solid #ddd;
  }

  #container-chat h4 {
      font-size: 1.5rem;
      font-weight: bold;
      color: #333;
  }

  #container-chat .btn-primary {
      background-color: #0C1C5B;
      border-color: #0C1C5B;
  }

  #container-chat .btn-primary:hover {
      background-color: #0056b3;
      border-color: #0056b3;
  }

  #container-chat .chat-container {
      padding: 1rem;
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      display: flex;
      flex-direction: column;
      height: 100%; /* Assurer que le conteneur prend tout l'espace vertical */
  }

  #container-chat .chat-header {
      background-color: #0b1c5b;
      color: white;
      padding: 1rem;
      border-radius: 10px 10px 0 0;
      margin-bottom: 1rem;
  }

  #container-chat .chat-window {
      flex-grow: 1; /* Permet au chat de prendre l'espace restant */
      height: 400px;
      overflow-y: auto;
      padding: 1rem;
      padding-bottom: 1rem !important;
      background-color: #e9ebee;
      border-radius: 5px;
  }

  #container-chat .message {
      max-width: 70%;
      margin-bottom: 1rem;
      padding: 0.5rem 1rem;
      border-radius: 20px;
      word-wrap: break-word;
      overflow-wrap: break-word;
      clear: both;
  }

  #container-chat .message p {
      margin: 0;
      font-size: 14px;
  }

  #container-chat h2 {
    font-size: 22px;
  }

  #container-chat .message.left {
      background-color: #c49c5e;
      color: white;
      float: left;
  }

  #container-chat .message.right {
      background-color: #0b1c5b;
      color: white;
      float: right;
  }

  #container-chat .chat-form {
      margin-top: 1rem;
      display: flex;
      justify-content: space-between;
  }

  #container-chat .chat-form textarea {
      flex-grow: 1;
      border-radius: 20px;
      resize: none;
      height: 50px; /* Ajuster selon la taille désirée */
      padding: 10px;
      margin-right: 10px;
      border: 1px solid #ddd;
  }

    #container-chat .chat-form button {
      border-radius: 20px;
      padding: 7px 20px;
      width: 23%;
    }

  /* Liste des conversations */
  #container-chat .list-group-item {
      margin-bottom: 10px;
      border-radius: 10px;
      background-color: #f7f7f7;
      padding: 0;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

    #container-chat .list-group-item a {
      text-decoration: none;
      color: #0C1C5B;
      width: 100%;
      padding: 10px 15px;
    }

    span.img-avatar-chat {
      width: 25px;
      height: 25px;
      display: inline-block;
      background-position: center;
      background-size: cover;
      background-color: #bf9a57;
      border-radius: 15px;
      vertical-align: bottom;
      margin-right: 10px;
    }

  #container-chat .badge {
      background-color: #0C1C5B;
      padding: 0.65em 0.85em;
  }

  @keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.notification-container {
    position: fixed;
    right: 20px;
    bottom: 20px;
    animation: pulse 1.5s infinite;
}

.notification-container .notification-bubble {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f897bc;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 18px;
}

.notification-container .notification-bubble i {
    font-size: 28px;
}

.notification-container .notification-bubble .badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #c29d5e;
    color: white;
    border-radius: 50%;
    padding: 5px 8px;
    font-size: 14px;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    display: flex;
}


.active-conversation {
    background-color: #c29c5e !important;
    color: white;
}



/* CHAT */