@charset "UTF-8";

body {
  background-color: var(--bs-light);
  display: flex;
  flex-direction: row;
}

#main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#main-area>.container {
  flex: 1;
}

.admin-sidebar {
  min-height: 100vh;
  width: 240px;
  padding: 1rem;
}

.dropdown-item:focus, .dropdown-item:hover {
	background-color: rgba(0,0,0,0.1);
}

.admin-sidebar h4 {
  font-weight: bolder;
  font-size: 1rem;
}

.admin-sidebar ul {
  margin: 0;
  padding: 0;
  margin-bottom: 1.5rem;
  list-style-type: none;
}

.admin-sidebar a {
  padding: .5rem .75rem;
  display: block;
  color: white!important;
  border-radius: 6px;
  text-decoration: none;
}

.admin-sidebar a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.admin-sidebar a i.fa {
  display: inline-block;
  width: 1.5rem;
}

.card-connection {
  margin: auto;
  max-width: 360px;
}

.container-password {
  flex: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Composant de la page d'accueil */
.nav-link.nav-title {
  border: 0;
}

.nav-link.nav-title:hover {
  border: 0;
}

.card-header .nav-tabs {
  border-bottom: 0;
}

.card-stats tr:first-child td,
.card-stats tr:first-child th {
  border-top: 0;
}

.modifier-listelement-line {
  display: flex;
}

/* Fonctionnalités globale : tableau dont la première ligne est fusionné à un card-header */
tr.card-header td,
tr.card-header th {
  border: 0;
  background-color: transparent!important;
}

tr.card-tablebody td,
tr.card-tablebody th {
  /* on va plutôt gérer les border au niveau des tr pour éviter les soucis */
  border: 0;
  background-color: transparent!important;
  padding: 0.5rem;
}

tr.card-tablebody:not(:last-child) {
  border-bottom: 1px solid #dee2e6;
}

.td-id {
  font-weight: 700;
}

.card {
  box-shadow: 0px 1px 1px 0px rgba(0,0,0,0.15);
}

#main-area a.nav-link:not(.active):hover,
#main-area button.nav-link:not(.active):hover {
  background-color: rgba(0,0,0,0.1)!important;
}

.navbar .nav-link {
  border-radius: 6px;
}