@import "src/style/vars_mixins";

.profile-menu {
  display: flex;
  height: 50px;
  margin-bottom: 10px;

  @include themify(day) {
    border-bottom: 1px solid;
    @apply border-light-400;
  }

  @include themify(night) {
    border-bottom: 1px solid;
    @apply border-dark-200;
  }

  .profile-menu-items {
    display: flex;
    justify-content: space-between;
    padding: 0 6px;
    width: 100%;

    @media (min-width: $md-break) {
      flex-shrink: 0;
      padding: 0;
      justify-content: flex-start;
      width: auto;
    }

    .profile-menu-item {
      align-items: center;
      @apply text-gray-steel;
      font-size: 14px;
      height: 50px;
      padding: 0 8px;

      .dropdown-btn {
        .label {
          font-size: 14px !important;
        }
      }

      @media (min-width: $sm-break) {
        padding: 0 16px;
        font-size: 16px;

        .dropdown-btn {
          .label {
            font-size: 16px !important;
          }
        }
      }

      @media (min-width: $md-break) {
        margin-right: 32px;
        padding: 0;
      }

      &.selected-item {
        border-bottom: 2px solid;
        @apply border-blue-dark-sky;
        @apply text-blue-dark-sky;
        font-weight: 700;

        .dropdown-btn {
          .label {
            font-weight: 700;
          }
        }
      }
    }
  }

  .page-tools {
    align-items: center;
    display: none;
    flex-grow: 1;
    justify-content: flex-end;
    padding-right: 18px;

    @media (min-width: $md-break) {
      display: flex;
    }
  }
}

.menu-down-icon {
  width: 16px;
}
