.history-hero {
  background-image:
    linear-gradient(0deg, rgba(7, 10, 16, 0.96) 0%, rgba(7, 10, 16, 0.7) 38%, rgba(7, 10, 16, 0.28) 100%),
    linear-gradient(90deg, rgba(7, 10, 16, 0.72), rgba(7, 10, 16, 0.08)),
    url("../assets/history-hero.png");
}

.history-filter-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
}

.history-dropdown {
  width: 100%;
}

.history-dropdown .filter-trigger {
  min-height: 50px;
  grid-template-columns: 24px minmax(0, 1fr) 20px;
  padding: 0 13px;
}

.history-dropdown .filter-option {
  min-height: 50px;
  padding: 0 13px;
}

.history-dropdown .filter-option.active {
  min-height: 54px;
}

.history-dropdown .filter-icon {
  color: var(--blue);
}

.history-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.history-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  color: var(--ink);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

.history-chip.complete {
  background: var(--blue);
}

.history-chip.running {
  background: var(--yellow);
}

.history-progress {
  height: 8px;
  margin: 14px 0 12px;
  background: #bac5d4;
}

.history-progress span {
  display: block;
  height: 100%;
  background: var(--blue);
}

@media (max-width: 1320px) {
  .history-filter-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .history-filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .history-filter-row {
    grid-template-columns: 1fr;
  }
}
