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

.is-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.navbar-item.is-tab.is-active {
  border-bottom-color: var(--bulma-success);
  color: var(--bulma-success);
}

.hover-light:hover {
  background-color: #f0f0f0;
}

[data-theme='dark'] .hover-light:hover {
  background-color: #363636;
}

.run-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.run-badge.is-backtest {
  background-color: var(--bulma-info, #3e8ed0);
  color: #fff;
}

.run-badge.is-optimization {
  background-color: var(--bulma-success, #48c78e);
  color: #fff;
}