/*
 * 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.
 */

/* App nav chrome — served even when the Tailwind build is missing (system tests). */
.app-nav__desktop {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.app-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
}

.app-nav__link,
.app-nav__sign-out,
.app-nav__identity {
  min-height: 2.75rem;
}

/* min-height alone leaves text at the top of the box — center it. */
.app-nav__identity {
  display: inline-flex;
  align-items: center;
}

.app-nav__desktop > form {
  display: inline-flex;
  align-items: center;
}

.app-nav__mark {
  height: 1.75rem;
  width: 1.75rem;
}

.nav-menu-icon {
  display: block;
  width: 1.125rem;
  height: 0.125rem;
  background: currentColor;
  box-shadow: 0 -0.375rem 0 currentColor, 0 0.375rem 0 currentColor;
}

@media (min-width: 768px) {
  .app-nav__desktop {
    display: flex;
  }

  .app-nav__toggle,
  .app-nav__panel {
    display: none !important;
  }
}