@import "../../../../assets/scss/variables";

.menu-toggler {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.7rem;
    margin-bottom: -5px;
    cursor: pointer;

    img {
        width: 20.18px;
        height: 16.19px;
    }

    p {
        font-size: 1.2rem;
        font-weight: bold;
        color: #fff;
    }
}

.close-btn-container {
    display: flex;
    margin-bottom: -1rem;
    cursor: pointer;

    img {
        width: 31.42px;
        height: 31.61px;
    }
}

.mobile-menu-container {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 77px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #040059;
    z-index: 9999;
    transition: display 0.4s linear;

    .mobile-menulist {
        margin-bottom: 0;
        padding-left: 0;
        display: flex;
        flex-direction: column;
        gap: 4.4rem;
        margin-top: 7.7rem;
        margin-left: 4.6rem;
        margin-bottom: 4.5rem;

        &--item {
            // text-align: center;

          a {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 1.6rem;
            border-bottom: 1px solid $main-color;
            position: relative;
            color: $white;
            text-decoration: none;

            svg {
              width: 35px;
              height: 35px;
            }

          }

          span {
            color: $white;
            display: block;
            font-size: 1.2rem;
            font-weight: $semi-bold;
            text-transform: uppercase;
          }

          .text-with-notification {

            &--bell{
              position: absolute;
              color: $rolebox-background;
              background: $error-color;
              border-radius: .4rem;
              font-size: 0.8rem;
              text-align: center;
              padding: 0.1rem 0.4rem;
              top: 0;
              right: 2rem;
              line-height: 1.3rem;
            };
          }
        }

        &:after {
          content: '';
          height: 1px;
          width:auto;
          margin-right: 4.6rem;
          border-bottom: 1px dashed white;
        }

        .text-with-notification--bell {
          left: 19px;
          top: -3px;
          right: inherit;
        }
    }

    .secondary-menu {
      display: flex;
      flex-direction: column;
      gap: 4.4rem;
      margin-top: 4.6rem;
      margin-left: 4.6rem;

      &--item {
        display: flex;
        align-items: center;
        gap: 1.6rem;

        svg,
        img {
          width: 30px;
          height: 32px;
        }

        span {
        color: #fff;
        font-size: 1.2rem;
        font-weight: bold;
      }
    }
  }

  &--footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

    p {
      align-self: flex-end;
      font-size: 1.2rem;
      color: #fff;
    }
  }
}

.smaller-icon {
  svg,
  img {
    width: 26px !important;
    height: 26px !important;
  }
}

.closed-menu {
    display: none;
}

button {
    background-color: transparent;
    border: none;
    outline: none;
}
