@import "../../../utils/theme/colorVariable.scss";
.support-main-div {
  padding: 30px;
  background-color: $White;

  .question-title {
    color: $Black;
    font-size: 24px;
  }

  .question-sub {
    color: $supportText;
    font-size: 15px;
  }

  .chat-box {
    background: $White;
    border: 1px solid $Black;
    border-radius: 5px;
    padding: 30px 50px;
    margin-bottom: 20px;
    margin-top: 40px;
    display: flex;
    align-items: center;

    .ask-chat-icon {
      width: 74px;
      height: 74px;
      box-sizing: border-box;

      svg {
        display: block;
        width: 100%;
        height: 100%;
      }
    }

    .ask-chat-text {
      margin-left: 30px;
      width: calc(100% - 110px);

      h4 {
        font-size: 20px;
        margin-bottom: 8px;

        span {
          // background: -webkit-linear-gradient(90deg, #ab40fe, #f04fb2);
          background: $Pink;
          -webkit-background-clip: text;
          background-clip: text;
          -webkit-text-fill-color: transparent;
          font-weight: 600;
          text-shadow: 0px 0px #00000000;
        }
      }

      p {
        color: $supportText;
        font-size: 15px;
        width: 80%;
        font-weight: bold;
        margin: 0;

        span {
          color: $Pink;
          text-decoration: underline;
          cursor: pointer;
        }
      }
    }
  }

  .call-box {
    background: $White;
    border: 1px solid $Black;
    border-radius: 5px;
    padding: 30px 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;

    .ask-call-icon {
      width: 74px;
      height: 74px;
      box-sizing: border-box;

      svg {
        display: block;
        width: 100%;
        height: 100%;
      }
    }

    .ask-call-text {
      margin-left: 30px;
      width: calc(100% - 110px);

      .ask-call-title-text {
        font-size: 20px;
        margin-bottom: 8px;

        span {
          // background: -webkit-linear-gradient(90deg, #e78e4d, #e26241);
          background: $Pink;
          -webkit-background-clip: text;
          background-clip: text;
          -webkit-text-fill-color: transparent;
          font-weight: 600;
          text-shadow: 0px 0px #00000000;
        }
      }

      .ask-call-description-text {
        color: $supportText;
        font-size: 15px;
        width: 80%;
        font-weight: bold;
        margin: 0;

        span {
          color: $Pink;
          text-decoration: underline;
          cursor: pointer;
        }
      }

      .next-live-event {
        padding: 20px;
        background: $White;
        border: 1px solid $Black;
        border-radius: 5px;
        display: flex;
        align-items: center;
        width: 76%;
        justify-content: space-between;
        margin: 30px 0;

        p {
          color: #323232;
          font-weight: 600;
          margin: 0;
          font-size: 16px;
        }

        button {
          background: $White;
          padding: 10px 25px;
          border: 1px solid $Pink;
          color: $Pink;
          outline: none;
          border-radius: 0px;
          cursor: pointer;
          display: flex;
          align-items: center;
          position: relative;

          span {
            width: 27px;
            display: flex;
            margin-right: 10px;

            svg {
              display: block;
              width: 100%;
              height: 100%;
            }
          }

          &:hover {
            // background: $Pink;
          }
          &:disabled {
            opacity: 0.5;
            cursor: not-allowed;
          }

          .popup-opencal {
            position: absolute;
            top: -25em;
            right: 1em;
            z-index: 9;
            display: none;

            .list-maindiv {
              background: #2d316e;
              border: 1px solid #454a8c;
              border-radius: 5px;
              overflow: hidden;
              min-width: 200px;

              .list-div {
                border-bottom: 1px solid #454a8c;
                padding: 10px;
                display: flex;
                align-items: center;
                cursor: pointer;

                &:last-child {
                  border-bottom: 0px;
                }

                .list-image {
                  width: 40px;
                  height: 40px;

                  img {
                    display: block;
                    width: 100%;
                  }
                }

                .list-text {
                  padding-left: 20px;
                  color: #958cdb;
                  margin: 0;
                  text-align: left;
                  width: calc(100% - 65px);
                }

                &:hover {
                  background: #353a78;

                  .list-text {
                    color: #c5bff3;
                  }
                }
              }
            }
          }
          &:hover:not([disabled]) {
            .popup-opencal-open {
              display: block;

              &::before {
                content: "";
                background: transparent;
                width: 202px;
                height: 200px;
                position: absolute;
                top: 11em;
                bottom: 0;
                left: 0;
                z-index: -1;
              }

              &::after {
                content: "";
                position: absolute;
                bottom: -18px;
                width: 20px;
                height: 20px;
                background: linear-gradient(
                  315deg,
                  #2d316e 50%,
                  transparent 50%
                );
                border-color: #454a8c;
                border-width: 0px 1px 1px 0px;
                border-style: solid;
                transform: rotate(45deg) translate(-50%, 0px);
                left: 50%;
              }
            }
          }
        }
      }

      .history-main-tab {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 40px;
        margin-top: 50px;
        border-top: 1px dashed #000000;
        width: 80%;
        cursor: pointer;

        .history-tab {
          display: flex;
          align-items: center;

          .history-icon {
            width: 20px;
            height: 20px;
            margin-right: 11px;

            svg {
              display: block;
              width: 100%;
              height: 100%;
            }
          }

          .history-title {
            font-size: 17px;
            margin: 0;
            font-weight: 600;
            letter-spacing: 0.51px;
            color: $Black;
          }
        }

        .arrow-div {
          display: flex;

          svg {
            &:first-child {
              display: block;
            }

            &:last-child {
              display: none;
            }
          }
        }
      }

      .history-main-tab-open {
        .arrow-div {
          display: flex;

          svg {
            &:first-child {
              display: none;
            }

            &:last-child {
              display: block;
            }
          }
        }
      }

      .tabExpandOpen {
        height: 0;
        width: 80%;
        margin-top: 20px;
        transition: height 0.5s;
        overflow: hidden;

        .no-written {
          padding: 10px;
          border-radius: 0px;
          text-align: center;
          border: 1px solid #000000;
          background-color: #fff;
          margin: 10px;

          p {
            margin: 0;
            color: #323232;
            display: flex;
            align-items: center;
            justify-content: center;

            span {
              vertical-align: middle;
              display: inline-block;
              padding-top: 3px;

              svg {
                width: 14px;
                height: 14px;
                margin-right: 7px;
              }
            }
          }
        }
        .mat-table {
          background: none;
        }

        thead {
          display: none;
        }

        ::ng-deep .mat-table thead {
          display: none;
        }

        .table-row-class {
          display: none;
        }

        th.mat-header-cell:last-of-type,
        td.mat-cell:last-of-type,
        td.mat-footer-cell:last-of-type {
          padding-right: 0;
        }

        th.mat-header-cell:first-of-type,
        td.mat-cell:first-of-type,
        td.mat-footer-cell:first-of-type {
          padding-left: 0;
        }

        th.mat-header-cell,
        td.mat-cell,
        td.mat-footer-cell {
          border-bottom-width: 0px;
        }

        .mat-paginator {
          background: none;
        }

        ::ng-deep .mat-paginator-container {
          justify-content: space-between;
        }

        ::ng-deep .mat-icon-button {
          color: #8e8aca;
          border: 1px solid #353b72;
          border-radius: 5px;
          background: #1a1f4a;
          margin-right: 10px;
        }

        ::ng-deep .mat-paginator-range-label {
          color: #8e8aca;
        }

        ::ng-deep .mat-paginator-page-size {
          color: #8e8aca;
        }

        ::ng-deep .mat-select-panel {
          background: #1a1f4a;
        }

        ::ng-deep .mat-option {
          color: #8783c2;
        }

        .event-box {
          background: #181b45;
          border-radius: 7px;
          margin-bottom: 10px;
          padding: 10px 20px;
          
          .ev-title{
            display: flex;
            align-items: center;
            justify-content: space-between;
           
          }
          .ev-border{
            border-bottom: 1px solid #8177c63b;
            padding-bottom: 10px;
            margin-bottom: 20px;
          }

          .event-title {
            display: flex;
            align-items: center;

            .group-icon {
              display: flex;
              width: 25px;
              margin-right: 10px;

              svg {
                display: block;
                width: 100%;
                height: 100%;
              }
            }

            p {
              margin: 0;
              color: #aaa0e9;
              font-size: 16px;
              font-weight: 500;
            }
          }
          .questions{
            p{
              margin-left: 35px;
              display: flex;
              align-items: center;
              color: #aaa0e9;
              font-weight: 500;
            }
            span{
              background: #181b45;
              border: 1px solid #aaa0e9;
              width: 8px;
              height: 8px;
              vertical-align: middle;
              display: inline-block;
              border-radius: 50%;
              margin-right: 15px;
            }
          }

          button {
            display: flex;
            align-items: center;
            background: #1c2053;
            border: 1px solid #585492;
            padding: 8px 25px;
            border-radius: 30px;
            color: #7f72cb;
            font-weight: bold;
            cursor: pointer;

            span {
              width: 11px;
              display: flex;
              margin-right: 7px;

              svg {
                display: block;
                width: 100%;
                height: 100%;
              }
            }
          }
        }
      }

      .tabExpandActive {
        overflow: hidden;
        height: 100%;
        transition: height 0.5s;
      }
    }
  }

  .schedule-box {
    background: $White;
    border: 1px solid $Black;
    border-radius: 5px;
    padding: 30px 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;

    .ask-schedule-icon {
      width: 74px;
      height: 74px;
      box-sizing: border-box;

      svg {
        display: block;
        width: 100%;
        height: 100%;
      }
    }

    .ask-schedule-text {
      margin-left: 30px;
      width: calc(100% - 110px);

      .ask-schedule-title-text {
        font-size: 20px;
        margin-bottom: 8px;

        span {
          // background: -webkit-linear-gradient(180deg, #8b61f6, #7f4ef8);
          background: $Pink;
          -webkit-background-clip: text;
          background-clip: text;
          -webkit-text-fill-color: transparent;
          font-weight: 600;
          text-shadow: 0px 0px #00000000;
        }
      }

      .ask-schedule-description-text {
        color: $supportText;
        font-size: 15px;
        width: 80%;
        font-weight: bold;
        margin: 0;

        span {
          color: $Pink;
          text-decoration: underline;
          cursor: pointer;
        }
      }
      .ask-schedule-anchore {
        margin-top: 40px;
        display: inline-flex;
      }
      .ask-schedule-button {
        color: $Pink;
        text-decoration: underline;
        cursor: pointer;
        display: inline-flex;
        font-size: 17px;
        font-weight: bold;

        span {
          width: 16px;
          display: flex;
          text-decoration: none;
          margin-left: 10px;
          transition: 0.5s;

          svg {
            display: block;
            width: 100%;
          }
        }

        &:hover {
          span {
            margin-left: 20px;
            transition: 0.5s;
          }
        }
      }
    }
  }

  .technical-support {
    margin: 60px 0;

    .technical-support-title-text {
      font-size: 22px;
      margin-bottom: 15px;
      color: $Black;
      font-weight: 500;

      span {
        background: -webkit-linear-gradient(90deg, #ab40fe, #f04fb2);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 600;
        text-shadow: 0px 0px #00000000;
      }
    }

    .technical-support-description-text {
      color: $supportText;
      font-size: 15px;
      width: 92%;
      font-weight: bold;
      margin: 0;

      span {
        color: $Pink;
      }

      a {
        color: $Pink;
        text-decoration: underline;
        display: inline;
      }
    }
  }
}

.video-result {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #04082196;
  z-index: 111111111;

  .result-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    padding: 0;
    border: 5px solid #322f68;
    background: #1b1f48;
    border-radius: 5px;
    box-shadow: 0px 9px 83px 1px #322f68;

    .forword-backword-button {
      display: flex;
      align-items: center;
      color: #fff;

      span {
        cursor: pointer;
      }
    }

    .modal-header {
      position: absolute;
      right: -46px;
      top: -7px;
      z-index: 1;
      display: flex;
      align-items: center;
      flex-direction: column;
      cursor: pointer;

      span {
        &:last-child {
          font-size: 12px;
          font-weight: 600;
        }
      }
    }
  }
}

.progress {
  background: #0e142c;
  height: 10px;
  border-radius: 30px;
  width: 50%;
  margin-top: 20px;
  display: flex;

  .filler {
    height: 10px;
    border-radius: 30px;
    background: linear-gradient(10deg, #e660fc 0%, #aa54e6 100%);
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .support-main-div {
    .chat-box {
      padding: 20px;
    }

    .call-box {
      padding: 20px;

      .ask-call-text {
        .next-live-event {
          flex-wrap: wrap;
          width: 80%;

          p {
            margin: 0 0 10px;
          }
        }
      }
    }

    .schedule-box {
      padding: 20px;
    }
  }
}

@media screen and (max-width: 767px) {
  .support-main-div {
    padding: 15px;

    .chat-box {
      padding: 15px;
      align-items: flex-start;

      .ask-chat-icon {
        margin-right: 10px;
        width: 60px;
        height: 60px;
      }

      .ask-chat-text {
        width: calc(100% - 70px);
        margin-left: 0px;

        h4 {
          font-size: 17px;
        }

        p {
          width: 100%;
          font-size: 14px;
        }
      }
    }

    .call-box {
      padding: 15px;
      align-items: flex-start;

      .ask-call-icon {
        margin-right: 10px;
        width: 60px;
        height: 60px;
      }

      .ask-call-text {
        width: calc(100% - 70px);
        margin-left: 0px;

        .ask-call-title-text {
          font-size: 17px;
        }

        .ask-call-description-text {
          width: 100%;
          font-size: 14px;
        }

        .next-live-event {
          flex-wrap: wrap;
          padding: 15px;
          width: 99%;
          box-sizing: border-box;

          p {
            width: 100%;
            font-size: 14px;
            margin: 0 0 12px;
          }

          button {
            min-width: 180px;
            justify-content: center;
            padding: 9px 10px;

            .popup-opencal {
              position: fixed;
              top: 0;
              z-index: 9;
              display: none;
              height: 100vh;
              left: 0;
              background: #00041aa3;
              width: 100%;

              .list-maindiv {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
              }
            }
            &:disabled {
              cursor: not-allowed;
              // opacity: 0.5;
            }
          }
        }

        .history-main-tab {
          width: 100%;

          .history-tab {
            width: calc(95% - 29px);

            .history-title {
              width: calc(100% - 30px);
              font-size: 14px;
            }
          }
        }

        .tabExpandOpen {
          width: 100%;

          .event-box {
            .event-title {
              .group-icon {
                width: 20px;
              }

              p {
                font-size: 13px;
              }
            }

            button {
              span {
                width: 14px;
              }
            }
          }

          ::ng-deep .mat-paginator-container {
            justify-content: center;
          }

          ::ng-deep .mat-paginator-range-actions {
            flex-wrap: wrap;
            justify-content: center;
          }

          ::ng-deep .mat-paginator-range-label {
            width: 100%;
            margin-bottom: 10px;
            text-align: center;
          }
        }
      }
    }

    .schedule-box {
      padding: 15px;
      align-items: flex-start;

      .ask-schedule-icon {
        margin-right: 10px;
        width: 60px;
        height: 60px;
      }

      .ask-schedule-text {
        width: calc(100% - 70px);
        margin-left: 0px;

        .ask-schedule-title-text {
          font-size: 17px;
        }

        .ask-schedule-description-text {
          font-size: 14px;
          width: 100%;
          margin-bottom: 30px;
        }

        .ask-schedule-button {
          font-size: 14px;
          width: 125%;
          position: relative;
          left: -4em;
          border-top: 1px dashed #1c203c;
          padding-top: 23px;

          &:hover {
            span {
              margin-left: 10px;
            }
          }
        }
      }
    }

    .technical-support {
      margin: 60px 0 30px;

      .technical-support-description-text {
        font-size: 14px;
        width: 95%;
      }
    }
  }
}
.page-footer ::ng-deep .mat-paginator-range-actions {
  width: 80%;
  justify-content: flex-end;
}

::ng-deep vg-player:hover vg-controls{
  transition: 0.5s ease-out 0s !important;
  opacity: 1 !important;
}

::ng-deep vg-player.vgControls  vg-controls {
  background: #322f6ab8 !important;
  opacity: 0 !important;
  transition: 0.5s ease-out 1.5s !important;
}
@media screen and (max-width: 500px) {
  .support-main-div {
    .call-box {
      .ask-call-text {
        .next-live-event {
          width: 118%;
          position: relative;
          left: -5em;
        }

        .history-main-tab {
          width: 118%;
          position: relative;
          left: -5em;
        }

        .tabExpandOpen {
          width: 118%;
          position: relative;
          left: -5em;
        }
      }
    }
  }
}

@media screen and (max-width: 425px) {
  .support-main-div {
    .call-box {
      .ask-call-text {
        .next-live-event {
          width: 128%;
          position: relative;
          left: -5em;
        }

        .history-main-tab {
          width: 128%;
          position: relative;
          left: -5em;
        }

        .tabExpandOpen {
          width: 128%;
          position: relative;
          left: -5em;

          .event-box {
            align-items: flex-start;
            padding: 10px;

            .event-title {
              align-items: flex-start;
              width: calc(100% - 90px);

              .group-icon {
                margin-top: 4px;
              }

              p {
                font-size: 13px;
                width: calc(100% - 30px);
              }
            }

            button {
              margin-top: 0px;
              padding: 7px 15px;

              span {
                width: 11px;
                margin-right: 7px;
              }
            }
          }
        }
      }
    }
  }
}

@media screen and (max-width: 375px) {
  .support-main-div {
    .call-box {
      .ask-call-text {
        .next-live-event {
          width: 136%;
          position: relative;
          left: -5em;
        }

        .history-main-tab {
          width: 136%;
          position: relative;
          left: -5em;
        }

        .tabExpandOpen {
          width: 136%;
          position: relative;
          left: -5em;
        }
      }
    }
  }
}
