/* ========================================
   BOUTONS LATERAUX - Menu vertical à droite
   ======================================== */

/* Menu latéral vertical (côté droit) */
.side-menu {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.side-menu a,
.side-menu button {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--card);
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: var(--shadow);
  color: white;
}

.side-menu a:hover,
.side-menu button:hover {
  background: var(--primary-3);
  border-color: var(--primary-3);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.side-menu .icon {
  width: 22px;
  height: 22px;
  stroke: white;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s ease;
}

.side-menu a:hover .icon,
.side-menu button:hover .icon {
  stroke: white;
}

/* Responsive - masquer sur petits écrans */
@media (max-width: 768px) {
  .side-menu {
    right: 10px;
    gap: 8px;
  }
  
  .side-menu a,
  .side-menu button {
    width: 40px;
    height: 40px;
  }
}

/* Amélioration du contraste en mode clair */
html[data-theme=""] .side-menu a,
html[data-theme=""] .side-menu button {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  border-color: var(--primary);
}

html[data-theme=""] .side-menu a:hover,
html[data-theme=""] .side-menu button:hover {
  background: linear-gradient(135deg, var(--primary-3) 0%, var(--primary) 100%);
  border-color: var(--primary-3);
}

html[data-theme=""] .side-menu .icon {
  stroke: white;
}
