/* Tableaux du module biométrie (body.bio-app). */

body.bio-app table.table {
  margin-bottom: 0;
  color: #3a3b45;
  font-size: 0.84rem;
  border-color: #e6e9f2;
}

body.bio-app table.table thead th {
  background: #e8eefb;
  color: #31457a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-top: 0;
  border-bottom: 2px solid #d3dcf3;
  border-color: #e1e7f5;
  white-space: nowrap;
  vertical-align: middle;
  padding: 0.7rem 0.75rem;
  position: sticky;
  top: 0;
  z-index: 2;
}

body.bio-app table.table td,
body.bio-app table.table tbody th {
  vertical-align: middle;
  padding: 0.55rem 0.75rem;
  border-color: #e8ebf4;
  font-variant-numeric: tabular-nums;
}

body.bio-app table.table tbody th {
  background-color: transparent;
  color: inherit;
  font-weight: 600;
}

body.bio-app table.table tbody tr:nth-of-type(even) {
  background-color: #f7f9fd;
}

body.bio-app table.table tbody tr:hover {
  background-color: #eef3ff;
}

body.bio-app table.table tbody tr.table-warning,
body.bio-app table.table tbody tr.table-warning:nth-of-type(even),
body.bio-app table.table tbody tr.table-warning:hover {
  background-color: #fff6df;
}

body.bio-app table.table tbody tr.table-secondary,
body.bio-app table.table tbody tr.table-secondary:nth-of-type(even),
body.bio-app table.table tbody tr.table-secondary:hover {
  background-color: #f1f3f8;
  color: #6e707e;
}

body.bio-app table.table tbody tr.table-success,
body.bio-app table.table tbody tr.table-success:nth-of-type(even),
body.bio-app table.table tbody tr.table-success:hover {
  background-color: #e8f8f1;
}

body.bio-app table.table tbody tr.table-danger,
body.bio-app table.table tbody tr.table-danger:nth-of-type(even),
body.bio-app table.table tbody tr.table-danger:hover {
  background-color: #fdecea;
}

body.bio-app .card > .table-responsive > table.table-bordered,
body.bio-app .card-body > .table-responsive > table.table-bordered,
body.bio-app .card-body.p-0 > .table-responsive > table.table-bordered {
  border: 0;
}

body.bio-app table.table a:not(.btn) {
  color: #2e59d9;
  font-weight: 600;
}

body.bio-app table.table a:not(.btn):hover {
  color: #1c3faa;
  text-decoration: underline;
}

body.bio-app table.detail-table tbody th {
  width: 38%;
  background: #f4f6fb;
  color: #5a5c69;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
  position: static;
}

body.bio-app table.table .btn {
  font-weight: 600;
}

body.bio-app .dataTables_wrapper {
  padding: 0.75rem 1rem 1rem;
}

body.bio-app .dataTables_wrapper .dataTables_filter input,
body.bio-app .dataTables_wrapper .dataTables_length select {
  border: 1px solid #d1d3e2;
  border-radius: 0.4rem;
  padding: 0.25rem 0.5rem;
  margin-left: 0.35rem;
}

body.bio-app .dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 0.35rem;
}

@media (max-width: 768px) {
  body.bio-app table.table {
    font-size: 0.78rem;
  }

  body.bio-app table.table thead th,
  body.bio-app table.table td,
  body.bio-app table.table tbody th {
    padding: 0.45rem 0.5rem;
  }
}
