/* Dock */
.dock-container {
  position: fixed;
  bottom: 16px;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
.dock {
  display: flex;
  gap: 32px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: none;
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 10px 18px rgba(255, 255, 255, 0.08),
    0 8px 32px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  position: relative;
}
.dock::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 6px;
  background: rgba(14, 32, 21, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}
.dock-item:hover {
  transform: translateY(-4px) scale(1.05);
  background: rgba(18, 44, 29, 0.92);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}
.dock-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: rgba(255, 255, 255, 0.9);
  transition:
    color 0.2s ease,
    transform 0.12s ease;
}
/* Accueil uses same size as other icons */
.dock-tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #0b1220;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.dock-item:hover .dock-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}
.dock-active-dot {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #d1d5db;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.dock-item.active .dock-active-dot {
  opacity: 1;
}

@media (max-width: 640px) {
  .dock {
    gap: 24px;
    padding: 10px 16px;
  }
  .dock-item {
    width: 48px;
    height: 48px;
  }
  .dock-icon {
    width: 28px;
    height: 28px;
  }
  /* Accueil uses same size as other icons on small screens */
}
