@use 'styles/mixins' as *;

.results {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--color--background--element);
  border: var(--border);
  border-radius: var(--border--radius);
}

.emptyState {
  flex: 1;
}

.content {
  flex: 1;
  position: relative;
  height: 100%;
}

.listContainer {
  position: absolute;
  inset: 0;
}

.list {
  @include scrollbars;

  transition: var(--transition);

  &.outdated {
    filter: blur(2px);
  }
}

.stat {
  $width: 55px;

  flex: 0 0 $width;
  max-width: $width;
  justify-content: center;
}

.points {
  $width: 80px;

  flex: 0 0 $width;
  max-width: $width;
  font-weight: bold;
}

.coordinates {
  $width: 55px;

  flex: 0 0 $width;
  max-width: $width;
}

.solveButton {
  display: block;
  margin: var(--spacing--xl) auto 0;
}

.input {
  border-top: var(--border);
  border-bottom-left-radius: var(--border--radius);
  border-bottom-right-radius: var(--border--radius);
}

.highlight {
  background-color: var(--color--mark);
  color: var(--color--foreground);
  border-radius: var(--border--radius);
}
