.w-100 {
  width: 100% !important;
}
.h-100 {
  height: 100% !important;
}
.table {
  font-size: 90%;
}

/* Select2 sur une ligne */
.select2-container .select2-selection--multiple {
  align-items: center !important;
}

.select2-container .select2-selection__rendered {
  flex-wrap: nowrap !important;
}

/* Forcer l'affichage de la flèche pour select2 multiple */
.select2-selection--multiple:before {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-right: 2px solid #666;
  border-bottom: 2px solid #666;
  transform: translateY(-50%) rotate(45deg);
}

/* Forcer la même taille avec et sans option pour select2 multiple */
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
  padding: 0 .65em !important;
  margin-bottom: 0 !important;
  border: none !important;
  box-shadow: inset 0 0 0 1px #ced4da !important;
}

.breadcrumb {
  float: right;
  margin-top: 0px;
  margin-bottom: 0;
  position: absolute;
  top: 0px;
  right: 10px;
}
.breadcrumb>li+li:before {
    padding: 0 5px;
    color: #ccc;
    content: "/\00a0";
}

.content-header {
    padding: 0;
}

.card-description {
  font-weight: bold;
}

[type="radio"]:not(:checked), [type="radio"]:checked, [type="checkbox"]:not(:checked), [type="checkbox"]:checked {
  position: relative;
  left: auto;
  opacity: inherit;
}

.hidden {
    display: none !important;
}

.btn {
  padding: 4px;
}

.drop-cap {
  font-size: 2em;
  font-weight: bold;
  float: left;
  line-height: 1;
  margin-right: 10px;
}

.modal-full {
  width: 95%;
  max-width: none;
}

th {
  text-align: center;
}

.dataTables_wrapper .form-control {
    padding: 5px;
}

.user-profile img {
    margin-top: 1px;
    border-color: grey;
}

/* On cible l'élément généré par Select2 qui suit immédiatement ton select */
body.dark-skin .select2-container .select2-selection--single,
body.dark-skin .select2-container .select2-selection--multiple {
    background-color: #272e48 !important;
    color: #8a99b5 !important;
    border-color: #414d6a !important;
    height: auto !important; /* Parfois Select2 force une hauteur */
}

/* On force le texte interne */
body.dark-skin .select2-container .select2-selection__rendered {
    color: #8a99b5 !important;
    background-color: transparent !important;
}

/* Pour le menu qui s'ouvre */
body.dark-skin .select2-dropdown {
    background-color: #272e48 !important;
    color: #8a99b5 !important;
    border: 1px solid #414d6a !important;
}

/* Pour les options dans la liste */
body.dark-skin .select2-results__option {
    background-color: #272e48 !important;
    color: #8a99b5 !important;
}

/* L'état sélectionné ou survolé */
body.dark-skin .select2-results__option--highlighted[aria-selected],
body.dark-skin .select2-results__option[aria-selected="true"] {
    background-color: #3b4461 !important;
    color: #ffffff !important;
}

/* La couleur de bordure et de fond du cercle quand NON coché */
.dark-skin .form-check-input {
    background-color: #272e48;
    border-color: #414d6a;
}

/* Uniquement si TinyMCE est en mode "inline" */
.dark-skin .tox-tinymce {
    border-color: #414d6a !important;
}

.dark-skin .tox .tox-edit-area__iframe {
    background-color: #272e48 !important;
}

.icon-with-badge {
  position: relative;
  display: inline-block;
}

.icon-badge {
  position: absolute;
  top: -6px;
  right: -2px;
  background-color: #dc3545;
  color: white;
  border-radius: 2px;
  padding: 1px;
  font-size: 0.7rem;
  font-weight: 500;
  text-align: center;
  line-height: 0.8;
}
