@import "../../common/scss/mixin";
@import "../../common/scss/placeholder";
// @import "../../common/scss/customizations/list-variables";

.favorite-page {
  .main-page__content {
    // height: calc(100dvh - 4.5em);
    height: calc(100dvh - 4em);
    // height: 100dvh;
    // min-height: 100dvh;
    margin-right: 6.5em;
    display: flex;

    // @import "./components/chatlist/chat-list";

    .menu-bar__content {
      position: static !important;
      flex: 1 1 100%;
      max-width: 25em;
      // max-width: 20em;
      width: auto;
      min-width: 25em;

      &.show-list-panel {
        right: 0 !important;
      }

      .group-item {
        .group-row {
          .group-picture-container {
            .group-picture.mini-mode {
              display: none;
            }
            .group-picture {
              display: inline;
            }
          }
        }
      }

      .groups-header {
        .left-icons {
          color: #bdc6d0;
        }
      }

      // @import "./components/group/group";
    }
  }

  // favorite.vue

  // .main-page__favorit {
  //   height: calc(100vh - 4em);
  //   // margin-right: 0.5rem;
  //   display: flex;
  // }
  .favorit-main {
    width: 100%;
    // background-color: green;
    display: flex;
    .favorit-main-right {
      width: calc(100% - 13em);
    }
    .favorit-main-left {
      width: 24em;
    }
  }
  .show-menu {
    position: relative;
    top: 23px;
    height: 23px;
    cursor: pointer;
  }

  @media only screen and (max-width: 767.98px) {
    .main-page__favorit {
      margin-right: 0;
    }
  }

  // favorite-content.vue
  .favorite-list {
    padding: 1em;
    height: calc(100vh - 10em);
    overflow-y: auto;
  }
  .search-filter {
    .input-group {
      border-radius: 1.6em;
      border: 1px solid #eee;
    }

    .input-group-text {
      // display: flex;
      // align-items: center;
      // justify-content: center;
      font-size: 0.8rem;
      // border: 1px solid #ddd;
    }

    .input-group-append {
      .tavasi {
        display: flex;
        align-items: center;
        padding: 0.4em;
      }

      .input-group-text {
        // border-top-right-radius: 0.5em;
        // border-bottom-right-radius: 0.5em;
        // background-color: transparent;
      }
    }
    .input-group-prepend {
      position: relative;
      .clear-search {
        position: absolute;
        right: -3em;
        top: 0;
        bottom: 0;
        margin: auto;
        display: flex;
        align-items: center;
      }
      .input-group-text {
        // background-color: transparent;
        // border-top-left-radius: 0.5em;
        // border-bottom-left-radius: 0.5em;
      }
    }

    .form-control {
      height: 2.5em;
      border-color: transparent;

      &::-webkit-search-decoration,
      &::-webkit-search-cancel-button,
      &::-webkit-search-results-button,
      &::-webkit-search-results-decoration {
        -webkit-appearance: none;
      }
    }
    .nav-tabs {
      overflow-x: auto;
      flex-wrap: nowrap;
      // border-bottom: 1px solid #00b6e3;

      .nav-link {
        text-align: right;
        font-family: "sahel-semi-bold";
        display: flex;
        align-items: center;
        // margin-bottom: 0.7em;
        font-size: 1rem;
        white-space: nowrap;
        color: #6f6f6f;
        border-color: transparent;
        background-color: transparent;

        &.active {
          color: #00b6e3;
          border-bottom: 1px solid #00b6e3;
        }
      }

      .icon {
        margin-left: 0.2em;
        font-size: 0.6rem;
      }
    }

    .close-search {
      color: #7f8891;
    }
  }
  .favorite-item {
    position: relative;
    padding: 1rem;
    // margin: 1rem;
    overflow: hidden;

    .favorite-item-label {
      white-space: nowrap;
      padding: 0 5px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 6px;
      background: #fff;
      border: 1px solid #e4dfd8;
      height: 20px;
      margin-left: 8px;
      color: rgba(0, 0, 0, 0.4);
    }
    .favorite-item-title {
      cursor: pointer;
      color: #00b6e3;
      font-size: 0.875em;
    }
    &:hover {
      background-color: #e8fcff;
      .search-item__actions {
        // width: 6.5em;
        width: auto;

        transition: width 0.5s;
        background: #fff;
        border-radius: 0 0.5em 0.5em 0;

        .tavasi-more-vert {
          transition: all 0.2s;
          display: none;
        }
      }
    }
    .search-item__actions {
      position: absolute;
      left: 0;
      width: 1.6em;
      top: 1em;
      // overflow: hidden;
      transition: all 0.5s;
      display: flex;
      align-items: center;

      .btn {
        display: flex;
        align-items: center;
        justify-content: center;

        &:hover {
          filter: brightness(0.7);
        }

        .tavasi,
        .icon-copy2 {
          color: #adbec4;
        }
        .icon-copy2 {
          font-size: 0.8rem;
        }
      }
    }
  }
  @import "./responsive/responsive";
}