:host {
  position: relative;
  height: calc(100vh - 70px);
  max-width: 220px;
  width: 100%;
  z-index: 1;
  transition: 400ms cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

:host(.sidebar-show) {
  max-width: 65px;
}
:host(.sidebar-show) .sidebar-native {
  padding: 20px 0px;
}
@media only screen and (min-width: 481px) {
  :host(.sidebar-show) ::slotted(gasco-list) {
    gap: 20px;
    margin-bottom: 20px;
  }
}

:host(.sidebar-with-user.sidebar-size-fixed) .sidebar-native {
  padding: 40px 0px;
}

:host(.sidebar-with-user.sidebar-size-fixed.sidebar-show) .sidebar-native {
  padding: 20px 0px;
}

:host(.sidebar-size-cover) {
  height: 100vh !important;
}

.sidebar-native {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 0px;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  box-shadow: 0px 2px 4px rgba(171, 190, 209, 0.6);
  overflow-x: hidden;
  overflow-y: auto;
  transition: all 400ms;
}

.sidebar-button {
  position: absolute;
  display: flex;
  align-items: center;
  z-index: 2;
  top: 2.5rem;
  right: -0.9rem;
  width: 30px;
  height: 30px;
  background: #FFFFFF;
  box-shadow: 0px 2px 4px rgba(171, 190, 209, 0.6);
  border-radius: 37px;
  transition: 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.sidebar-button.is-resize {
  transform: rotate(180deg);
  box-shadow: 0px -2px 4px rgba(171, 190, 209, 0.6);
}
.sidebar-button ion-icon {
  position: absolute;
  left: 1px;
  color: #00A3E0;
  font-size: 28px;
  flex-shrink: 0;
}

.sidebar-user-button {
  position: relative;
  border: none;
  text-align: left;
  background: transparent;
  padding: 0;
}

.menu-user {
  position: absolute;
  right: -40px;
  top: 4rem;
  z-index: 100;
  box-shadow: 0px 2px 4px rgba(171, 190, 209, 0.6);
}

.wrap-avatar {
  display: flex;
  align-items: center;
  position: relative;
  margin: 0 25px;
  cursor: pointer;
}
.wrap-avatar::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 0 0;
}
.wrap-avatar img {
  width: 45px;
  height: 45px;
  margin-right: 10px;
  border-radius: 50px;
  clip-path: circle(50% at 50% 50%);
  object-fit: contain;
}
.wrap-avatar figcaption h3, .wrap-avatar figcaption p {
  margin: 0;
}
.wrap-avatar figcaption h3 {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #072531;
}
.wrap-avatar figcaption p {
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #4D4D4D;
}

::slotted([slot=user-nav]) {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 17px 25px;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  color: #072531;
}
::slotted([slot=user-nav]) ul {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
::slotted([slot=user-nav]) a, ::slotted([slot=user-nav]) div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  margin: 0;
}
::slotted([slot=user-nav]) p {
  margin: 0;
}

::slotted(gasco-list) {
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: none;
  margin-bottom: 30px;
  transition: 300ms;
}
::slotted(gasco-list) > gasco-list-header {
  padding: 0 25px;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: none;
  transition: 300ms;
}
::slotted(gasco-list) > gasco-list-header > gasco-label {
  flex: 0;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 12px;
  line-height: 15px;
  color: #00A3E0;
}
::slotted(gasco-list) > gasco-list-header > gasco-label ~ gasco-label {
  text-transform: lowercase;
  font-weight: 500;
  font-size: 11px;
  line-height: 14px;
  color: #838383;
}

@media only screen and (max-width: 480px) {
  :host {
    position: fixed;
    top: 0;
    z-index: 100;
    transform: translate(-570px);
    height: 100vh !important;
  }

  :host(.sidebar-show) {
    transform: translate(0);
    max-width: 256px;
  }

  ::slotted([slot=user-nav]) {
    display: flex;
  }
}