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

html,
body {
  margin: 0;
  min-height: 100%;
  background: #f1f1f1;
}

.app-shell-header {
  border-bottom: 1px solid #d2d5d8;
  background: transparent;
}

.app-shell-header__inner {
  box-sizing: border-box;
  display: flex;
  min-height: 56px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.app-shell-brand {
  color: #202223;
  font-size: 14px;
  font-weight: 650;
  line-height: 20px;
  text-decoration: none;
}

.app-shell-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-shell-nav__link {
  color: #616a75;
  font-size: 13px;
  font-weight: 450;
  line-height: 20px;
  text-decoration: none;
}

.app-shell-nav__link:hover,
.app-shell-nav__link--active {
  color: #202223;
}

.app-shell-nav__link--active {
  font-weight: 650;
}

.app-shell-nav__separator {
  width: 1px;
  height: 16px;
  background: #d2d5d8;
}

@media (max-width: 36rem) {
  .app-shell-header__inner {
    padding: 10px 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .app-shell-nav {
    width: 100%;
    justify-content: space-between;
  }
}

.metric-value {
  display: block;
  margin: 0.375rem 0 0.25rem;
  font-size: 1.75rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.metric-value--positive {
  color: #29845a;
}

.overview-filter-panel {
  padding: 16px !important;
}

.product-cost-form {
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) auto;
  align-items: end;
  gap: 0.5rem;
}

.product-cost-import-form {
  display: grid;
  gap: 1rem;
}

@media (max-width: 48rem) {
  .product-cost-form {
    grid-template-columns: 1fr;
  }
}
