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

@import url('https://cdn.jsdelivr.net/npm/bulma@1.0.2/css/bulma.min.css');

html, body {
  height: 100%;
  overflow-x: hidden;
  /* Important: this prevents fixed elements from extending the layout viewport */
  overscroll-behavior: none;
}

.is-fixed-bottom-right {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 50;
}

.modal-card {
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.modal-card-body {
  overflow-y: auto;
  flex: 1;
}

/* Navbar hover styles */
.navbar.has-background-grey .navbar-item:hover,
.navbar.has-background-grey .navbar-item:focus {
  background-color: #4a4a4a !important;
}

.navbar.has-background-grey .navbar-item.is-active {
  background-color: #363636 !important;
}
