#filter, #searchOnly {
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 2rem 4rem;
  --wa-focus-ring-style: none;
  --wa-focus-ring-width: 0;
  --wa-focus-ring-offset: 0;
  --wa-form-control-value-font-size: var(--wa-font-size-m);
}

#searchOnly {
  justify-content: center;
}

#search {
  max-width: 30%;
  width: 100%;
  margin-right: 4rem;
}

.mySports {
  min-width: 16rem;
}

/* wa-input::part(form-control) {
  --background-color: white;
  --border-style: none;
} */

#filter wa-input::part(base),
#searchOnly wa-input::part(base) {
  --background-color: white;
  --border-style: none;
  --border-color: transparent;
  --wa-form-control-border-width: 0;
  --wa-form-control-border-style: none;
  --wa-form-control-border-color: transparent;
  border: none;
  box-shadow: none;
}

#filter wa-input::part(input),
#searchOnly wa-input::part(input) {
  --background-color: white;
  --border-style: none;
  --border-color: transparent;
  --wa-form-control-border-width: 0;
  --wa-form-control-border-style: none;
  --wa-form-control-border-color: transparent;
  border: none;
  font-size: var(--wa-form-control-value-font-size);
}

#filter input {
  border: none;
  font-size: var(--wa-form-control-value-font-size);
}

#config {
  width: 100%;
  max-width: 40%;
	
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  
  .myMonth {
    width: 20ch;
  }
  .myYear {
    width: 16ch;
  }

  & wa-select + wa-select,
  & select + select {
    margin-left: 1rem;
  }

  select {
  	border: none;
  	box-shadow: none;
  	font-size: var(--wa-form-control-value-font-size);
    padding-right: 2.5rem;
    box-sizing: border-box;
    width: auto;
    min-width: max-content;
  }

  & wa-select::part(combobox) {
    --background-color: white;
    --border-style: none;
    --border-color: transparent;
    --wa-form-control-border-width: 0;
    --wa-form-control-border-style: none;
    --wa-form-control-border-color: transparent;
    border: none;
    box-shadow: none;
    font-size: var(--wa-form-control-value-font-size);
  }

  & wa-select::part(tag__base) {
    --border-style: none;
  }
  & wa-select::part(tags) {
    --wa-color-neutral-border-normal: white;
  }

  & wa-select::part(tag__remove-button),
  & wa-select::part(tag__remove-button__base) {
    font-size: 0.85em;
  }

  & wa-select::part(listbox) {
    margin-top: .5rem;
    box-shadow: var(--wa-shadow-l);
  }
}

wa-option {
  font-size: 1rem;
}

wa-option::part(checked-icon) {
  color: var(--wa-color-brand-fill-loud);
}

@media (max-width: 1280px) {
  #search {
    max-width: 40%;
  }
  #config {
    max-width: 50%;
  }
}

@media (max-width: 1024px) {
  #filter, #searchOnly {
    flex-direction: column;
  }
  #search {
    max-width: 100%;
    margin-bottom: 1rem;
  }
  #config {
    max-width: 100%;

    select {
      width: inherit;
      min-width: inherit;
    }
  }
}

@media (max-width: 1024px) {
  #filter, #searchOnly {
    padding: 2rem 3rem;
  }
}