/* ----- Structure générale ----- */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #D8DDEF;

  display: flex;
  flex-direction: column;
}

/* ----- Topbar ----- */
.topbar {
  background: #fff;
  padding: .6rem 1rem;
}

.brand-logos img {
  height: 36px;
  margin-right: .5rem;
}

.site-title {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

h1 {
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: .2px;
  color: #000000;
}

.title-icons {
  height: 42px;         
  margin-left: .5rem;
}

/* ----- Boutons ----- */
.home-btn,
.deconnexion-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;           
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: .5rem;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  color: #ffffff !important;
  border: none;
}

.home-btn {
  background: #0b4ea2;
}

.home-btn:hover {
  background: #093f85;
}

.deconnexion-btn {
  background: #A30B00;
}

.deconnexion-btn:hover {
  background: rgb(155, 17, 7);
}

.connexion-btn {
  width: 130px;
  height: 40px;
  border-radius: 10px;           
  display: inline-flex;
  padding: 5px;
  align-items: center;
  justify-content: center;
  margin-right: .5rem;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  background: #0b4ea2;           
  color: #fff !important;
  border: none;
  text-decoration: none;
  font-weight: bold;
}

.connexion-btn > * {
  margin: 5px;
}

.connexion-btn:hover,
.btn-logout:hover {
  background: #093f85 !important;
}

.btn-logout {
  border-radius: 10px;
  padding: 8px 10px;
  margin: 5px !important;
  background: #0b4ea2 !important;
  color: #fff !important;
  border: none;
  text-decoration: none;
}

.admin-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;           
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: .5rem;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  background: #34495e; 
  color: #ffffff !important;
  border: none;
  text-decoration: none;
  transition: background 0.3s;
}

.admin-btn:hover {
  background: #2c3e50; 
  color: #ffffff !important;
}

/* ----- Contenu principal ----- */
main.container {
  padding-top: 1rem;
  padding-bottom: 2rem;
  flex: 1;
}

/* ----- Footer ----- */
.footer-mention {
  text-align: center;
  padding: 10px 0;
  color: #555;
  width: 100%;
}


