.page__drawer {
  --drawer-width: min(25.375rem, 90vw);
  position: fixed;
  top: 0;
  right: calc(var(--drawer-width) * -1);
  width: var(--drawer-width);
  height: 100vh;
  background: var(--color-drawer-items-background);
  transform: translateX(var(--drawer-width)); transition: 0.4s ease-in-out;
  z-index: 9999;
  overflow-y: auto;
}

.page__drawer-item a {
  display: flex;
  align-items: center;
  margin: 0 1.5rem;
  padding: 1.5rem 0;
  height: 1rem;
  text-decoration: none;
  line-height: .875rem;
  color: var(--color-text-primary);
  border-bottom: solid 1px var(--color-separator-light);
}

.page__drawer-item:has(+.page__drawer-item-separator) a {
  border-bottom: none !important;
}

.page__drawer-item-separator {
  margin: 0 1.5rem;
  border-bottom: solid 1px var(--color-separator-primary);
}

.page__drawer-item:last-child a {
  border: none;
}

.page__drawer > .page__drawer-item:first-child a {
  margin: 0;
  padding-left: 1.5rem;
  color: white;
  background: var(--color-text-primary);
  font-weight: 700;
}

.page__drawer-sub-item {
  background: var(--color-drawer-items-background);
}

.page__drawer-sub-item a {
  margin: .5rem 1.5rem;
  padding: 0 1.5rem;
  height: 2.2rem;
  border: none;
}

.page__drawer-open {
  transform: translateX(calc(var(--drawer-width) * -1));
  transition: 0.4s ease-in-out;
}

.page__drawer-inner {
  max-height: 0;
  overflow-y: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.page__drawer-inner-open {
  height: auto;
  max-height: 500rem;
  transition: max-height 1s ease-in-out;
}

.page__form-autocomplete-container-drawer {
  top: 5.6rem !important;
  left: 0 !important;
  width: 18.4rem !important;
}

label:has(input[disabled]):after {
  position: absolute;
  top: 2.5rem;
  right: 1rem;
  font-family: var(--icon-font-family);
  display: inline-block;
  vertical-align: middle;
  font-weight: 900;
  content: "\f00d";
  padding-left: .4rem;
  cursor: pointer;
}
