:root {
  --filter-group-header-height: 32px;
}

.filters {
  display: flex;
  flex-direction: column;
}


.filter-group {
  display: flex;
  flex-direction: column;
  width: 300px;
  padding: 16px;
  padding-top: 0px;
  padding-bottom: 32px;
  max-height: 700px;
  transition: max-height 500ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.filter-group:not(.expanded) {
  max-height: var(--filter-group-header-height);
}


.filter-group-content {
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-group:not(.expanded) .filter-group-content {
/*  visibility: hidden;*/
/*  transform: translateY(-100%);*/
  z-index: -1;
}




/*  HEADER  */
.filter-group-header {
  display: flex;
  margin-bottom: 16px;
  justify-content: space-between;
  height: var(--filter-group-header-height);
}


.filter-group-header .material-symbols-outlined:not(.filter-group-toggle) {
  color: var(--mio-theme-color-primary);
  font-size: 32px;
  margin-right: 4px;
}


.filter-group-label {
  align-self: end;
  font-weight: 500;
  color: var(--mio-theme-color-secondary);
}

/*  HEADER END  */








/* FILTER CHIP  */

.filter-chip-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-height: 400px;
  overflow-y: auto;
}


.filter-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border: 1px solid rgb(121, 116, 126);
  border-radius: 8px;
  width: fit-content;
  background-color: #fff;
  padding: 8px 12px;
  font-size: 14px;
  color: rgb(73, 69, 79);
}

.filter-chip.selected {

  background-repeat: no-repeat;
  background-position: 4px center;
  background-size: 18px;
  padding-left: 24px;
  background-color: var(--sharon-blue);
  border-color: var(--sharon-blue);
  color: rgb(29, 25, 43);
  color: #fff;
}

/* FILTER CHIP END  */


/*  SEARCH  */
.filter-group-search-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.filter-group-search-input {
  border: none;
  border-bottom: 1px solid;
  margin-bottom: 8px;
  border-radius: 8px 8px 0 0;
  background-color: inherit;
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: left center;
  padding-left: 26px;
}




.filter-group-search-input:focus {
  outline: none;
  border-bottom: 1.5px solid var(--s-primary);
}

.filter-group-cancel-search {
  position: absolute;
  right: 8px;
  top: 0;
}

/*  SEARCH END */





.filter-group-toggle {
  align-self: center;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-group:not(.expanded) .filter-group-toggle {
  transform: rotate(180deg);
}





/* FILTER-CHIP-RADIO END  */

.filter-chip-radio-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-height: 400px;
  overflow-y: auto;
}


.filter-chip-radio {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border: 1px solid rgb(121, 116, 126);
  border-radius: 8px;
  width: fit-content;
  background-color: #fff;
  padding: 8px 12px;
  font-size: 14px;
  color: rgb(73, 69, 79);
}

.filter-chip-radio.selected {

  background-repeat: no-repeat;
  background-position: 4px center;
  background-size: 18px;
  padding-left: 24px;
  background-color: var(--sharon-blue);
  border-color: var(--sharon-blue);
  color: white;
}

/* FILTER-CHIP-RADIO END  */








































