@keyframes SkeletonFadeIn {
  from {
    opacity: 1;
  }
  to {
    opacity: 0.5;
  }
}

/* mobile */
.vue-standings-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg, 16px);  
}

.vue-standings-container__header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.vue-standing-seasons-filter {
  display: flex;
  align-items: center;
  height: 48px;
  width: 100%;
  position: relative;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border-width-border-width-inactive);
  cursor: pointer;
}

.vue-standing-seasons-filter.active .vue-standing-seasons-filter__options {
  display: block;
}

.vue-standing-seasons-filter.active .vue-standing-seasons-filter__label svg {
  transform: rotate(180deg);
}

.vue-standing-seasons-filter .vue-standing-seasons-filter__options {
  display: none;
}

.vue-standing-seasons-filter__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  width: 100%;
  height: 100%;
  color: var(--color-foreground-foreground-default);
}

.vue-standing-seasons-filter__options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border-radius: var(--border-radius-md);
  box-shadow: 0px 8px 28px -4px #01041433;
  margin-top: var(--space-sm);
  overflow: hidden;
  z-index: 1;
}

.vue-standing-seasons-filter__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  font-size: var(--typography-font-size-label1-sm);
  line-height: var(--typography-line-height-label1-sm);
  color: var(--color-foreground-foreground-default);
  background-color: #fff;
}

.vue-standing-seasons-filter__option svg {
  display: none;
}

.vue-standing-seasons-filter__option.selected {
  background-color: var(--color-surface-surface-subtle-neutral);
  color: var(--color-foreground-foreground-active);
  font-weight: var(--font-weight-bold);
}

.vue-standing-seasons-filter__option:hover {
  background-color: var(--color-surface-surface-subtle-neutral);
}

.vue-standing-seasons-filter__option.selected svg {
  display: inline;
}

.vue-standings-container__loading {
  height: 128px;
  width: 100%;
  border-radius: var(--border-radius-md);
  background-color: var(--color-background-background-subtle-neutral);
  animation-name: SkeletonFadeIn;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
}

.vue-standings-container__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg, 16px);
}

.vue-standings-container__footer {
  display: flex;
  justify-content: flex-end;
  padding-top: var(--space-lg, 16px);
  border-top: 1px solid var(--color-color-neutral-neutral-80, #484849);
}

.vue-standings-container__footer > a {
  text-decoration: none;
}

/* desktop */
@media only screen and (min-width: 961px) {
  .vue-standings-container {
    gap: var(--space-xl, 24px);
  }

  .vue-standings-container__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .vue-standing-seasons-filter {
    width: 188px;
  }
  
  .vue-standings-container__footer {
    padding-top: var(--space-xl, 24px);
  }
}