/* stylelint-disable */
@import "../../settings/includes/colors";

.drawer-wrapper {
  z-index: 3;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  background-color: rgba($Fiord, 0.8);
}

.drawer {
  background-color: white;
  z-index: 1;
  max-width: 348px;
  height: 100%;
  width: 100%;
  position: fixed;
  right: 0;
  top: 0;
  display: flex;


  &__close-btn {
    display: flex;

    @media (min-width: 1000px) {
      border-radius: 50%;
      height: 48px;
      width: 48px;
      background-color: white;
      position: absolute;
      left: -24px;
      top: 16px;
      z-index: -1;
      cursor: pointer;
      display: block;
    }
  }

  &__close-icon {
    @media (min-width: 1000px) {
      width: 16px !important;
      height: 16px !important;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      left: 8px;
      color: blue;
    }
  }

  &__header {
    padding: 16px 16px 0;
  }

  &__content,
  &__footer {
    padding: 16px;
  }

  &__footer {
    box-shadow: 0 -10px 20px -7px rgba(187, 187, 187, 0.51);
  }

  &__main {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  &__content {
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    flex-grow: 1;
  }

  &__title-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
  }

  &__title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 0;
  }
}

.slide-drawer-enter-active,
.slide-drawer-leave-active {
  transition: right 0.5s;
}

.slide-drawer-enter,
.slide-drawer-leave-to {
  right: -408px;
}
