.app-navigation-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  pointer-events: none;
  padding: 0 20px 20px;
}

/* Base button styles */
.app-nav-button {
  position: fixed;
  bottom: 30px;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 15%;
  background: #007986;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  pointer-events: auto;
  z-index: 10000;
  outline: none;
  padding: 0;
  /* remove all transitions/animations */
  transition: none !important;
}

/* SVG icon styles */
.app-nav-button svg {
  width: 24px;
  height: 24px;
  transition: none !important;
}

/* Back button positioning */
.app-nav-back {
  left: 68px;
}

/* Forward button positioning */
.app-nav-forward {
  right: 15px;
}

/* Hover states - color only, no movement */
.app-nav-button:not(:disabled):hover {
  background: #005f68;
}

/* Disabled state */
.app-nav-button:disabled,
.app-nav-button.disabled {
  background: rgba(156, 163, 175, 0.6);
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow:
    0 2px 4px -1px rgba(0, 0, 0, 0.06),
    0 1px 2px -1px rgba(0, 0, 0, 0.04);
}

/* Accessibility focus */
.app-nav-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Tablet and smaller screens */
@media (max-width: 975px) {
  .app-nav-back {
    left: 15px;
    bottom: 25px;
  }
}

@media (max-width: 768px) {
  .app-nav-button {
    width: 48px;
    height: 48px;
    bottom: 20px;
  }

  .app-nav-button svg {
    width: 20px;
    height: 20px;
  }

  .app-navigation-container {
    padding: 0 15px 15px;
  }
}

/* Mobile screens */
@media (max-width: 480px) {
  .app-nav-button {
    width: 44px;
    height: 44px;
    bottom: 15px;
  }

  .app-nav-button svg {
    width: 18px;
    height: 18px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .app-nav-button {
    background: #007986;
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.3),
      0 2px 4px -1px rgba(0, 0, 0, 0.2);
  }

  .app-nav-button:not(:disabled):hover {
    background: #005f68;
  }

  .app-nav-button:disabled,
  .app-nav-button.disabled {
    background: rgba(75, 85, 99, 0.7);
  }
}

/* Print - hide navigation buttons */
@media print {
  .app-navigation-container,
  .app-nav-button {
    display: none !important;
  }
}
