/* Bouton flottant (burger) */
.quick-menu-btn {
    position: fixed;
    bottom: 20px;           
    right: 20px;
    z-index: 2000;

    
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;
    min-width: 0;
    padding: 10px 12px;

    border-radius: 20%;
    border: none;
    cursor: pointer;

    background: var(--vert-fonce);
    color: #fff;
    font-weight: 600;
    font-size: 20px;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    white-space: nowrap;
  }

.quick-menu-btn:hover {
  filter: brightness(1.05);
}

/* Fond sombre */



.quick-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 899;
}

.quick-menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Panneau coulissant */
.quick-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  max-width: 80vw;
  height: 100vh;
  background-color: #367048;
  box-shadow: -4px 0 18px rgba(0,0,0,.2);
  transform: translateX(100%);
  transition: transform .25s ease;
  padding: 20px 18px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
}

.quick-menu.open {
  transform: translateX(0);
}

.quick-menu h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.quick-menu nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.quick-menu nav a {
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  color: #333;
  font-weight: 500;
}

.quick-menu nav a:hover {
  background: #f0f5f0;
}

.quick-menu nav a.logout-link {
  margin-top: 12px;
  color: #b3261e;
}




.quick-menu-backdrop {
  z-index: 9998;
}

