/*
html, body {
    background-color: #cccaaa;
}
*/
.full-width {
  width: 90vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -45vw;
  margin-right: -45vw;
}

label, .label {
    font-weight:bold;
}

#main-nav {
    justify-content:center;
}

input .tablesorter, .tablesorter .tablesorter-filter {
    max-width: 100px;
}

.tablesorter th[disable-filter='1'] input{
    display: none
}

.table>thead, tablesorter-sticky-wrapper {
    background-color: #3ca9c9; /* ou une autre couleur de fond de votre choix */
}

.owner-infos {
    width:50%;
    margin:auto;
    border: 1px solid;
    background-color: #c4d3e1;
    padding:10px;
}

.table-bordered td {
    vertical-align:middle;
}

td, th {
    text-align:center;
}

tfoot {
    background-color: #3ca9c9;
}

.block-title {
    background:rgba(100,100,100,0.1);
    display:flex;
    justify-content: space-between;
    margin-bottom: 5px;
    border-radius:2px;
    padding:5px;
}

.filter-table {
    width:80%;
    margin-bottom:1rem;
}

.legend {
  font-family: Arial, sans-serif;
}

.success-box {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #8fd19e;
  margin-right: 10px;
  border:1px solid;
}

.danger-box {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: white;
  margin-right: 10px;
  border:1px solid;
}

.table-pink {
    thead, tablesorter-sticky-wrapper {
        background-color: #72bc5c; /* ou une autre couleur de fond de votre choix */
    }

    tfoot {
        background-color: #72bc5c;
    }
}

.table-golden {
    thead, tablesorter-sticky-wrapper {
        background-color: #f5d422; /* ou une autre couleur de fond de votre choix */
    }

    tfoot {
        background-color: #f5d422;
    }
}

.table-kv {
    table {
        border-collapse: collapse; /* Évite les doubles bordures */
        width: 100%; /* Optionnel, pour occuper tout l'espace */
    }

    th, td {
        border: 1px solid black; /* Bordures partout */
        padding: 8px; /* Espace autour du texte */
        text-align: left; /* Alignement du texte */
    }

    td:first-child {
        background-color: #4aa54a;
        color: white; /* Texte blanc pour le contraste, modifie si besoin */
    }
}

.bordeaux {
    background-color: #a82811;
    color:white;
}

input.daterange {
    text-align:center;
}

.table-secondary2 {
    background-color: #7e8999
}

  .custom-control.custom-switch .custom-control-label::before {
    content: "";
    position: absolute;
    top: 0.25rem;
    left: -2.5rem; /* Ajuste la position du fond */
    width: 3rem;   /* Largeur de la barre */
    height: 1.5rem; /* Hauteur de la barre */
    background-color: #ddd;
    border-radius: 0.75rem;
    transition: background-color 0.3s;
  }

  .custom-control.custom-switch .custom-control-label::after {
    content: "";
    position: absolute;
    top: 0.55em;
    left: -1.5rem; /* Position initiale */
    width: 0.9rem; /* Taille du rond */
    height: 0.9rem;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transform: translateX(-0.5rem);
    transition: transform 0.3s;
  }

  .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #007bff; /* Couleur activée (bleu Bootstrap) */
  }

.strikedthrough {
text-decoration: line-through;
}

.header-green th {
   background-color: #4aa54a;
   color:white;
}

.header-green tfoot {
    background-color: transparent;
    font-weight:bold;

}

.alert {
  white-space: pre-line;
}

.box {
  position: relative;
  border: 1px solid #ccc;
}


.stamp_bento {
  position: absolute;
  bottom: 50px;
  right: 320px;
  width: 220px;
  transform: rotate(-15deg);
  opacity: 0.9;
  pointer-events: none;
}

.disabled_div {
  opacity: 0.4;               /* grisé */
  pointer-events: none;       /* bloque les clics */
  user-select: none;          /* empêche la sélection */
}