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

trix-editor {
  min-height: 14rem;
  background-color: var(--tblr-bg-surface);
  color: var(--tblr-body-color);
  border-color: var(--tblr-border-color);
}

trix-toolbar .trix-button-group {
  border-color: var(--tblr-border-color);
}

.app-navbar-brand {
  min-width: 0;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.75rem;
}

.navbar-company {
  max-width: clamp(10rem, 18vw, 18rem);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  min-width: 0;
  margin-right: 1rem;
}

.navbar-company-switcher {
  max-width: clamp(10rem, 18vw, 18rem);
  min-width: 0;
  margin-right: 1rem;
}

.navbar-company-link {
  min-width: 0;
  max-width: 100%;
}

.navbar-company-link > span {
  display: inline-block;
  max-width: 100%;
  vertical-align: bottom;
}

@media (max-width: 991.98px) {
  .navbar-company,
  .navbar-company-switcher {
    max-width: 100%;
    margin-right: 0;
  }

  .navbar-company {
    display: none;
  }
}
