.kabinet {
  display: none;

  &.is-active {
    display: block;
  }

  &.is-visible {
    .kabinet__wrapper {
      transform: translateX(0);
    }

    .kabinet__overlay {
      opacity: 0.5;
    }
  }

  &__header {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 0px;
    gap: 8px;
    width: 100%;
    height: 48px;
    background: #ffffff;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
  }

  &__close {
    margin: 0;
    padding: 0;
    width: 15px;
    height: 15px;
    border: none;
    cursor: pointer;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%0A%3Csvg width='48px' height='48px' viewBox='0 0 48 48' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='2.-Menu' transform='translate(-15.000000, -13.000000)' stroke='%23000000'%3E%3Cg id='Group' transform='translate(15.000000, 13.521000)'%3E%3Cpath d='M0,0.479000129 L15,14.2971819' id='Path-3'%3E%3C/path%3E%3Cpath d='M0,14.7761821 L15,-1.24344979e-14' id='Path-3'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex: none;
    order: 0;
    flex-grow: 0;
  }

  &__wrapper {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    max-width: 500px;
    z-index: 9999;
    overflow: auto;
    transition: transform 0.3s;
    will-change: transform;
    background-color: white;
    display: flex;
    flex-direction: column;
    transform: translateX(103%); /* extra 3% because of box-shadow */
    -webkit-overflow-scrolling: touch; /* enables momentum scrolling in iOS overflow elements */
    box-sizing: border-box;
    align-items: center;
    padding: 6px 20px;
    border-left: 1px solid #e6e9ed;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.2);
  }

  &__content {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    width: 100%;
    flex-grow: 1;
  }

  &__overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    opacity: 0;
    transition: opacity 0.3s;
    will-change: opacity;
    background-color: black;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  &__items {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0px;
    gap: 8px;
    flex: none;
    order: 0;
    flex-grow: 1;
    flex-wrap: wrap;

    .column {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      padding: 0px;
      gap: 8px;
      flex: none;
      order: 1;
      align-self: stretch;
      flex-grow: 0;
    }
  }

  &__title {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 9px 0px;
    gap: 8px;
    width: 100%;
    height: 36px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;

    h1 {
      height: 18px;
      font-family: 'Open Sans';
      font-style: normal;
      font-weight: 600;
      font-size: 18px;
      line-height: 18px;
      letter-spacing: 0.2px;
      color: var(--default-font-color);
      flex: none;
      order: 0;
      flex-grow: 0;
    }
  }
}
