/**
 * Common Styles for NVOCC Presentation Navigation
 */

/* Navigation Container */
#nav {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  backdrop-filter: blur(10px);
}

/* Navigation Buttons */
#nav button {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

#nav button:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

#nav button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

#nav button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Slide Number Display */
#slideNum {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  min-width: 80px;
  text-align: center;
  padding: 0 4px;
}

/* Keyboard Hint */
.nav-hint {
  font-size: 10px;
  color: #64748b;
  margin-top: 4px;
  text-align: center;
  font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  #nav {
    bottom: 10px;
    right: 10px;
    padding: 8px 12px;
    gap: 8px;
  }
  
  #nav button {
    padding: 6px 10px;
    font-size: 12px;
  }
  
  #slideNum {
    font-size: 11px;
    min-width: 60px;
  }
}

/* Accessibility: Focus styles */
#nav button:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Print styles: hide navigation */
@media print {
  #nav {
    display: none;
  }
}
