/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.development-preview {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
}

.development-navigation {
  position: fixed;
  z-index: 1000;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  left: max(0.75rem, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 46rem;
  min-height: 3.5rem;
  margin-inline: auto;
  padding: 0.45rem;
  overflow: hidden;
  color: #fff;
  background: rgba(17, 17, 27, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.development-navigation__label {
  flex: none;
  padding-inline: 0.55rem;
  color: #c4b5fd;
  font: 700 0.68rem/1 system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.development-navigation__links {
  display: flex;
  flex: 1;
  gap: 0.25rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.development-navigation__links::-webkit-scrollbar {
  display: none;
}

.development-navigation__link {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding-inline: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  font: 700 0.78rem/1 system-ui, sans-serif;
  text-decoration: none;
  border-radius: 0.75rem;
  transition: color 140ms ease, background-color 140ms ease, transform 140ms ease;
}

.development-navigation__link:hover,
.development-navigation__link.is-active {
  color: #fff;
  background: rgba(124, 58, 237, 0.42);
}

.development-navigation__link:active {
  transform: scale(0.975);
}

.development-navigation__link:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 2px;
}
