@import url("https://fonts.googleapis.com/css2?family=Inter&display=swap");
$Inter: "Inter", sans-serif;

.dashboard-coverPhoto {
  height: 500px;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;

  &.edit_mode {
    .edit-btn {
      position: absolute;
      top: 32px;
      right: 12px;
      line-height: 22px;
      font-weight: 600;
      color: #fff;
      display: inline-flex;
      margin-left: auto;
      align-items: center;
      padding: 8px;
      background-color: rgba(#242424, 0.5);
      border-radius: 4px;
      cursor: pointer;

      img {
        margin-right: 8px;
      }
    }
  }

  .action-btn {
    position: absolute;
    right: 12px;
    top: 32px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;

    .btns {
      height: 40px;
      width: 40px;
      background-color: rgba(#000000, 0.5);
      border-radius: 8px;
      line-height: 40px;
      text-align: center;
      transition: all 0.3s ease-in-out;
      font-size: 17px;
      border: none;
      color: #fff;

      &:hover {
        background-color: #000;
      }
    }
  }
}

.user-right-bar {
  @media (min-width: 1500px) {
    padding-left: 20px;
  }
}

.dashboard-content-area {
  margin-bottom: 5px;
  position: relative;
  z-index: 1;

  .bg-shape {
    img {
      position: absolute;
      z-index: -1;

      &.shape-1 {
        left: 0;
        top: 200px;
      }

      &.shape-2 {
        right: 30px;
        top: 380px;
      }

      &.shape-3 {
        left: 0;
        top: 70%;
      }

      &.shape-4 {
        right: 0;
        top: 70%;
      }
    }
  }

  .edit-pen-btn {
    display: inline-block;
    font-size: 16px;
    color: $black_500;
    background-color: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
  }

  &.edit_mode {
    .profile-img-widget {
      .main-img {
        border-radius: 50%;
        height: 136px;
        width: 136px;
        border: 4px solid #e0e0e0;
        padding: 4px;
      }

      .edit-btn {
        position: absolute;
        right: 3px;
        bottom: 6px;
        height: 36px;
        width: 36px;
        background-color: #e0e0e0;
        line-height: 36px;
        text-align: center;
        border-radius: 50%;
        color: $black_800;
      }
    }

    .user-address {
      margin-bottom: 25px;
    }
  }

  .add-media-widget {
    .single-img {
      display: inline-block;
      position: relative;
      z-index: 1;
      border-radius: 8px;
      height: 100%;
      overflow: hidden;

      &:hover {
        .delete-btn {
          opacity: 1;
        }
      }

      &.more-img {
        &::before {
          content: "";
          position: absolute;
          height: 100%;
          width: 100%;
          border-radius: 8px;
          top: 0;
          left: 0;
          background: linear-gradient(to bottom, rgba(#000, 0), rgba(#000, 1));
          z-index: 1;
        }

        .count {
          position: absolute;
          left: 50%;
          top: 50%;
          transform: translate(-50%, -50%);
          font-size: 20px;
          font-weight: 600;
          color: #fff;
          line-height: 28px;
          display: inline-flex;
          align-items: center;
          gap: 4px;
          z-index: 2;
        }
      }

      .main-img {
        width: 100%;
        height: 100%;
      }

      .delete-btn {
        position: absolute;
        right: 15px;
        top: 15px;
        line-height: 32px;
        text-align: center;
        background-color: rgba(#141414, 1);
        height: 32px;
        width: 32px;
        border-radius: 4px;
        color: rgba(#fff, 0.7);
        z-index: 1;
        transition: all 0.3s ease-in-out;
        font-size: 15px;
        opacity: 0;

        &:hover {
          color: #eb5757;
        }
      }
    }

    .theme-btn-outline {
      text-align: center;
      border-color: #d1d1d1;
      font-size: 16px;
      border-radius: 8px;

      i {
        margin-right: 6px;
      }

      &:hover {
        border-color: var(--brand_color);
      }
    }
  }

  .user-left-bar {
    padding: 55px 20px 20px 20px;
    @include glass-card;
    border-radius: 8px;
    margin-top: -120px;
    max-width: 416px;
  }

  .profile-img-widget {
    position: relative;
    display: inline-block;

    .main-img {
      border-radius: 50%;
      height: 120px;
      width: 120px;
    }

    .actv-status {
      position: absolute;
      right: 0;
      bottom: 0;

      img {
        height: 30px;
        width: 30px;
        border: 2px solid #fff;
        border-radius: 50%;
      }
    }
  }

  .user-name {
    font-size: 32px;
    font-weight: 600;
    color: $black_700;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    margin-top: 24px;
    align-items: center;

    .age {
      font-size: 20px;
      line-height: 28px;
      margin-top: 6px;
      color: $black_800;
      margin-left: 8px;
    }
  }

  .user-address {
    display: flex;
    font-size: 14px;
    color: $black_600;
    align-items: center;
    text-align: center;
    justify-content: center;
    margin-bottom: 5px;

    i {
      color: $black_600;
      margin-right: 5px;
    }
  }

  .user-bio {
    font-size: 14px;
    font-weight: 400;
    color: #242424;
    margin-bottom: 24px;

    .bio-expand {
      color: $black_300;

      &:hover {
        color: $black_700;
      }
    }
  }

  .mood-widget {
    border-radius: 4px;
    @include glass-panel;
    padding: 8px 20px;
    font-weight: 600;
    color: #242424;
    margin-bottom: 32px;
  }

  .chat-btn,
  .follow-btn {
    width: 100%;
    text-align: center;
  }

  .follow-btn {
    border-color: #d1d1d1;

    &:hover {
      border-color: var(--brand_color);
    }
  }

  .widget-title {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    color: $black_800;
    margin-bottom: 11px;

    i {
      margin-left: 5px;
    }
  }

  .interest-widget {
    margin-bottom: 24px;
    margin-top: 24px;

    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;

      a {
        display: inline-flex;
        align-items: center;
        padding: 5px 13px;
        border-radius: 4px;
        border: 1px solid $black_50;
        font-size: 14px;
        color: $black_600;
        background-color: #fff;
        transition: all 0.3s ease-in-out;

        &:hover {
          background-color: #f5f5f5;
        }
      }
    }
  }

  .collection-list {
    display: flex;
    gap: 14px;

    a {
      width: calc((100% - 28px) / 3);
      flex: 1;
      position: relative;
      border-radius: 4px;
      overflow: hidden;

      &.video-collection {
        &::after {
          content: "";
          position: absolute;
          left: 0;
          top: 0;
          width: 100%;
          height: 100%;
          background-color: rgba(#000, 0.4);
        }

        .fa-video {
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          color: #fff;
          z-index: 1;
        }
      }

      &:hover {
        img {
          transform: scale(1.1);
        }
      }

      img {
        width: 100%;
        transition: transform 0.2s ease-in-out;
      }

      .caption {
        position: absolute;
        height: 50%;
        left: 0;
        bottom: 0;
        width: 100%;
        padding: 10px;
        display: flex;
        align-items: end;
        background: linear-gradient(to bottom, rgba(#000, 0), rgba(#000, 1));
        color: $black_50;
        font-size: 12px;
        font-weight: 700;
        line-height: 16px;
        z-index: 1;
      }
    }
  }

  .member-since {
    font-size: 14px;
    color: $black_500;
    line-height: 20px;
    margin-top: 75px;
  }

  .conncet-action-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 32px;
    margin-top: 48px;

    a {
      display: inline-flex;
      align-items: center;
      padding: 7px 16px;
      border-radius: 4px;
      line-height: 22px;
      color: $black_750;
      font-weight: 600;
      border: 1px solid #d1d1d1;
      background-color: #fff;
      gap: 5px;

      &:hover {
        border-color: #c7c7c7;
        background-color: #f5f5f5;
      }
    }
  }

  .media-widget {
    display: inline-block;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    height: 287px;

    &:hover {
      .main-img {
        filter: blur(20px);
      }
    }

    &::after {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      background-color: #000;
      opacity: 0.5;
      height: 100%;
      border-radius: 4px;
      z-index: 1;
    }

    .main-img {
      width: 100%;
      height: 100%;
      transition: all 0.2s linear;
    }

    .caption {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      z-index: 2;
      text-align: center;
    }

    p {
      font-size: 16px;
      color: #fff;
      line-height: 20px;
      font-weight: 600;
      margin-bottom: 0;
    }

    h5 {
      font-size: 20px;
      font-weight: 600;
      color: #fff;
      margin-bottom: 0;
    }
  }

  .dashboard-img-gallery {
    .single-gallery-img {
      height: 100%;
      display: inline-block;

      img {
        min-height: 100%;
        width: 100%;
        border-radius: 4px;
      }
    }
  }

  .dashboard-video-gallery {
    .single-gallery-video {
      height: 100%;
      position: relative;
      overflow: hidden;
      z-index: 1;
      display: inline-block;
      border-radius: 4px;

      &:hover {
        img {
          transform: scale(1.1);
        }
      }

      &::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(#000, 0.2);
        border-radius: 4px;
        z-index: 1;
      }

      .timestamp {
        position: absolute;
        right: 12px;
        bottom: 12px;
        z-index: 2;
        font-size: 14px;
        font-weight: 600;
        line-height: 20px;
        color: #fff;
      }

      img {
        min-height: 100%;
        width: 100%;
        border-radius: 4px;
        transition: all 0.2s ease-in-out;
      }
    }
  }

  .about-info-widget {
    padding: 32px 40px 75px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    height: 100%;
    background-color: #fff;

    .title {
      font-size: 24px;
      font-weight: 600;
      color: $black_700;
      line-height: 36px;
      margin-left: -10px;
      margin-bottom: 15px;
      display: flex;
      align-items: center;
    }

    .about-candidate-info-list li {
      margin-bottom: 13px;
      display: flex;
      justify-content: flex-start;
      gap: 7px;
      align-items: center;
    }
  }

  .bio {
    font-size: 14px;
    font-weight: 400;
    color: $black_700;
    margin-bottom: 24px;
  }

  .user-chat-wrapper {
    display: flex;
    gap: 24px;

    .chatbox-widget {
      flex: 1;

      &.sticky-active {
        position: absolute;
        top: 0;
      }
    }

    .chat-right-bar {
      width: 290px;

      &.sticky-active {
        position: absolute;
        top: 0;
      }
    }
  }

  .trigger-content-editable {
    .edit-pen-btn {
      opacity: 0;
      visibility: hidden;
    }

    &:hover {
      .edit-pen-btn {
        opacity: 1;
        visibility: visible;
      }
    }
  }
}

.chat-right-bar {
  background-color: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  overflow: hidden;

  .search-box {
    padding: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
  }

  .headbar {
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;

    .profile-img {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      margin-right: 10px;
    }

    span {
      font-size: 14px;
      line-height: 20px;
      color: $black_800;

      i {
        font-size: 18px;
      }
    }
  }

  .seaarchbar {
    position: relative;

    .icon_search {
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%) rotateY(180deg);
    }

    .form-control {
      border-radius: 0;
      box-shadow: none;
      border: none;
      background-color: #fff;
      padding-left: 24px;
      font-size: 14px;
      color: $black_500;
      font-weight: 400;
    }

    .filter-btn {
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      padding: 0;
      border: none;
      background-color: transparent;
    }
  }

  .all-messages {
    margin-top: 3px;

    >a {
      padding: 12px 16px;
      display: flex;
      align-items: center;
      width: 100%;
      background-color: #fff;
      border-left: 1px solid #fff;

      &:hover {
        background-color: #f5f5f5;
        border-color: #d1d1d1;
      }

      span {
        display: inline-block;
      }

      .avatar {
        height: 48px;
        width: 48px;
        border-radius: 50%;
        margin-right: 16px;
      }

      .person-name {
        font-size: 16px;
        font-weight: 600;
        color: $black_800;
        line-height: 16px;
      }

      .msg-time {
        font-family: $Inter;
        font-size: 12px;
        color: #707991;
        font-weight: 400;
        margin-left: auto;
        line-height: 22px;
      }

      .person-msg {
        font-size: 14px;
        font-weight: 400;
        color: $black_400;
        line-height: 16px;

        &.typing {
          color: #107c10;
        }

        .highlight {
          color: #011627;
        }

        .group-img {
          height: 18px;
          width: 18px;
          border-radius: 4px;
          margin: 0 4px;
        }
      }

      .msg-count {
        margin-left: auto;
        height: 18px;
        width: 18px;
        border-radius: 50%;
        line-height: 18px;
        font-family: $Inter;
        font-size: 12px;
        color: #fff;
        text-align: center;
        background-color: #107c10;
      }
    }
  }
}

.main-chat-area {
  position: relative;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;

  .top-actionbar {
    padding: 8px 16px;
    border-bottom: 1px solid #d9dce0;
    background-color: #fff;

    .avatar {
      height: 40px;
      width: 40px;
      border-radius: 50%;
    }

    .chat-name-person {
      line-height: 24px;
      color: $black_800;
      font-weight: 600;
    }

    .chat-status {
      font-size: 14px;
      line-height: 20px;
      color: $black_400;
      margin-bottom: 0;
      margin-top: -4px;
    }

    .right-action-btn {
      gap: 10px;
      margin-left: auto;

      button {
        background-color: transparent;
        border: none;
        transition: all 0.3s ease-in-out;
        border-radius: 4px;
        padding: 5px 8px;

        &:hover {
          background-color: rgba(243, 246, 248);
          border-color: rgba(243, 246, 248);
        }
      }
    }
  }

  .chat-content {
    font-family: $Inter;
    background-image: url("../img/dashboard/chat-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px 50px 24px 50px;

    .chatting-user-info {
      .msg-sent-time {
        font-family: $Inter;
        color: $black_600;
        font-size: 12px;
        font-weight: 400;
        display: inline-flex;
        align-items: center;
        line-height: 16px;
        margin-top: 2px;

        &.seen-msg {
          color: $brand_color;
        }

        .chat-read-mark,
        .chat-sent-mark {
          margin-left: 6px;
        }
      }
    }

    .mCustomScrollbar {
      margin-bottom: 65px;
      height: 646px;

      .mCSB_scrollTools {
        right: -20px;
        margin: 12px 0;
      }

      .mCSB_dragger_bar {
        background-color: #000;
        opacity: 0.1;
        width: 7px;
        border-radius: 7px;
      }
    }

    .main-chat-msg div {
      padding: 10px 12px;
      width: fit-content;
      border-radius: 4px;
      margin-bottom: 16px;

      &:last-child {
        margin-bottom: 0;
      }

      p {
        font-family: $Inter;
        line-height: 20px;
      }
    }

    .chat-item-start {
      .main-chat-msg div {
        background-color: #fff;
        color: $black_750;
      }
    }

    .chat-item-end {
      justify-content: end;
      text-align: end;

      .main-chat-msg div {
        background-color: #e40f60;
        color: #fff;
      }
    }

    .chat-item-start,
    .chat-item-end {
      display: flex;
      margin-bottom: 16px;

      .chat-list-inner {
        max-width: 75%;
      }
    }
  }

  .chat-footer {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background-color: #fff;
    position: absolute;
    bottom: 24px;
    left: 50px;
    right: 50px;
    border-radius: 12px;
    gap: 16px;

    .attach-btn {
      background-color: transparent;
      border: none;
      padding: 0;
    }

    .input-msg {
      position: relative;
      flex: 1;

      .form-control {
        height: 36px;
        line-height: 36px;
        border-radius: 16px;
        background-color: #f9f9f9;
        border-color: transparent;
        font-family: $Inter;
        font-size: 16px;
        color: #707991;
        padding: 0 50px 0 12px;
        box-shadow: none;
        box-sizing: border-box;

        &::placeholder {
          font-size: 16px;
          color: #707991;
        }

        &:focus {
          box-shadow: none;
          border-color: #e40f60;
        }
      }

      button {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        background-color: transparent;
        border: none;
        padding: 0;
      }
    }

    .send-btn {
      background-color: transparent;
      border: none;
      padding: 0;
    }
  }

  .chat-day-label {
    text-align: center;
    position: relative;
    margin-top: 16px;
    margin-bottom: 16px;

    span {
      padding: 7px 12px;
      font-size: 12px;
      background-color: rgba(#d1054d, 0.5);
      border-radius: 8px;
      color: #fff;
      line-height: 20px;
    }
  }
}

@media (min-width: 992px) {
  .chat-info {
    min-width: 21.87rem;
    max-width: 21.87rem;
  }
}

.main-chat-area {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.chat-user-details {
  min-width: 21.87rem;
  max-width: 21.87rem;
}

.profile-setting-modal {
  padding-right: 0 !important;

  .modal-dialog {
    max-width: 1296px;

    @media (max-width: 1320px) {
      margin-right: 12px;
      margin-left: 12px;
    }
  }

  .modal-content {
    background-color: #f9f9f9;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    padding: 60px 110px;
    border-radius: 4px;
    border: none;
    position: relative;
    margin-top: 35px;

    .btn-close {
      opacity: 1;
      position: absolute;
      right: 0;
      top: -28px;
      background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    }
  }

  .modal-title {
    font-size: 28px;
    line-height: 36px;
    color: #000;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
  }

  p {
    font-size: 16px;
    color: $black_800;
    line-height: 26px;
  }

  .num-mutual {
    background-color: #e3f0ff;
    color: #0564d1;
    padding: 18px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    border-radius: 6px;
  }

  .form-check-centent {
    font-size: 16px;
    color: $black_400;

    .form-check-label {
      font-size: 16px;
      color: $black_800;
      font-weight: 600;
    }
  }

  .desired-profile-edit-wrapper {
    display: flex;
    flex-wrap: wrap;

    >div {
      padding: 37px 0;
      width: 50%;
      border-bottom: 1px solid #c8ccd0;
    }

    .profile-edit-box {
      height: 100%;

      &.custom-pr {
        padding-right: 77px;
        border-right: 1px solid #c8ccd0;
      }

      &.custom-pl {
        padding-left: 77px;
      }

      h4 {
        display: flex;
        align-items: center;
        font-size: 24px;
        font-weight: 600;
        color: $black_800;
        margin-bottom: 0;
        padding: 15px;
        border-radius: 4px;
        background-color: #f9f9f9;
        line-height: 17px;
        justify-content: space-between;

        .edit-pen {
          display: inline-block;
          font-size: 16px;
          text-transform: uppercase;

          i {
            font-size: 13px;
            margin-right: 5px;
            color: $brand_color;
          }
        }
      }

      ul {
        padding: 15px 17px 0;
        margin-bottom: 0;

        li {
          margin-bottom: 30px;
          display: flex;
          justify-content: space-between;

          &:last-child {
            margin-bottom: 0;
          }
        }

        .label {
          color: #2f3337;
          font-weight: 600;
          line-height: 11px;
          text-transform: capitalize;
        }

        .inp {
          text-transform: capitalize;
          color: $black_600;
          line-height: 11px;
        }
      }
    }
  }

  .sidebar-setting-nav {
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: none;

    button {
      font-size: 20px;
      line-height: 28px;
      font-weight: 600;
      color: $black_300;
      background-color: transparent;
      border: none;
      padding: 0;
      text-align: left;

      &.active {
        color: $black_700;
      }
    }
  }

  .setting-wrapper {
    flex: 1;
    padding: 35px 35px 55px;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    background-color: #fff;

    .form-row {
      row-gap: 32px;
    }

    label {
      font-weight: 600;
      color: $black_700;
      line-height: 12px;
    }

    .online-status {
      display: inline-block;
      height: 8px;
      width: 8px;
      background-color: #13a10e;
      border-radius: 50%;
      margin-bottom: 4px;
      margin-left: 6px;
    }

    .sublabel {
      font-size: 10px;
      line-height: 14px;
      color: $black_500;
      font-weight: 600;
    }

    .form-control {
      height: 32px;
      width: 100%;
      border-radius: 4px;
      border: 1px solid #d1d1d1;
      background-color: #ffffff;
      font-weight: 400;
      font-size: 14px;
      line-height: 20px;
      color: #707070;
      box-shadow: 0 1px #616161;
      padding-left: 12px;

      &::placeholder {
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
        color: #707070;
      }

      &:focus {
        border-color: $black_800;
      }
    }

    .list-title {
      font-size: 14px;
      font-weight: 600;
      line-height: 20px;
      color: $black_700;
      margin-bottom: 12px;
    }

    .deactivate-list {
      position: relative;

      li {
        position: relative;
        font-size: 12px;
        color: #6a737c;
        line-height: 16px;
        margin-left: 15px;
        margin-bottom: 4px;

        &.no-dot {
          margin-left: 0;

          &::before {
            display: none;
          }
        }

        .form-check-label {
          font-size: 12px;
          color: #6a737c;
          line-height: 16px;
          display: inline-block;
          margin-left: 2px;
          cursor: pointer;
        }

        &::before {
          content: "";
          position: absolute;
          height: 4px;
          width: 4px;
          border-radius: 50%;
          top: 6px;
          left: -12px;
          background-color: #6a737c;
        }
      }
    }
  }

  hr {
    background-color: $black_150;
  }

  .recommend-text {
    font-size: 10px;
    line-height: 14px;
    color: $brand_color;
    font-weight: 600;
  }

  .input-subinfo {
    color: $black_500;
    line-height: 26px;
  }

  .theme-btn {
    i {
      font-size: 12px;
      margin-right: 6px;
    }
  }

  .flex-1 {
    flex: 1;
  }

  .input-info {
    flex: 1;
    font-size: 14px;
    line-height: 20px;
    color: $black_500;
    margin-bottom: 0;
  }

  .loggedin-devices {
    ul {
      border: 1px solid $black_100;
      margin-bottom: 28px;
      margin-top: 26px;
      list-style: none;
      padding: 0;
      border-radius: 4px;
    }

    li {
      padding: 18px 35px;
      display: flex;
      align-items: center;
      border-bottom: 1px solid $black_100;

      &:last-child {
        border: none;
      }

      img {
        margin-right: 28px;
      }

      h6 {
        font-size: 14px;
        line-height: 20px;
        color: $black_500;
        font-weight: 600;
        margin-bottom: 6px;

        span {
          text-transform: uppercase;
          color: $brand_color;
        }
      }

      .activity-info {
        display: flex;
        align-items: center;
        font-size: 14px;
        color: $black_500;
        line-height: 20px;
        gap: 8px;

        .dot {
          height: 4px;
          width: 4px;
          border-radius: 50%;
          background-color: $black_500;
        }
      }
    }

    .sign-out-btn {
      font-size: 16px;
      font-weight: 700;
      color: $black_500;
      margin-left: auto;

      &:hover {
        color: $brand_color;
      }
    }

    .show-more-btn {
      font-size: 14px;
      font-weight: 600;
    }
  }

  .subtitle-strong {
    font-weight: 700;
    color: $black_700;
    line-height: 22px;
  }

  .notifilcation-settings-list {
    list-style: none;
    margin: 0;
    padding: 0;

    li {
      display: flex;
      font-size: 14px;
      font-weight: 400;
      color: $black_500;
      line-height: 20px;
      margin-bottom: 5px;

      div {
        &:nth-child(1) {
          flex: 1;
        }

        &:nth-child(2) {
          width: 85px;
        }

        &:nth-child(3) {
          width: 85px;
        }
      }
    }

    .subtitle-strong {
      margin-bottom: 16px;
    }
  }

  .realtime-notification-setting {
    .form-check-label {
      color: $brand_color;
      margin-left: 12px;

      i {
        color: $black_350;
        font-size: 12px;
      }
    }
  }
}

.timeline-modal {
  .modal-dialog {
    max-width: 1296px;

    @media (max-width: 1320px) {
      margin-right: 12px;
      margin-left: 12px;
    }
  }

  .modal-content {
    background-color: #f9f9f9;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    padding: 0;
    border-radius: 4px;
    border: none;
    position: relative;
    margin-top: 35px;

    .btn-close {
      opacity: 1;
      position: absolute;
      right: 0;
      top: -28px;
      background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    }
  }

  .tour-upper-area {
    padding-top: 90px;
    padding-bottom: 120px;
    border-radius: 4px 4px 0 0;
  }

  .tour-bottom-area {
    padding: 120px 0;
    background-color: #f0f0f0;
    border-radius: 0 0 4px 4px;
  }

  h3.title {
    font-size: 28px;
    line-height: 36px;
    font-weight: 600;
    color: $black_900;
    margin-bottom: 40px;
    text-align: center;
    justify-content: center;

    span {
      color: $brand_color;
    }
  }
}

@keyframes pulse-white {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.8);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(204, 169, 44, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(204, 169, 44, 0);
  }
}

.video-player-widget {
  position: relative;
  padding: 8px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: $shadow_1;

  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;

    a {
      height: 70px;
      width: 70px;
      line-height: 70px;
      border-radius: 50%;
      background: #fff;
      color: $brand_color;
      display: block;
      text-align: center;
      font-size: 22px;

      &::before {
        content: "";
        position: absolute;
        top: -0;
        left: -0px;
        opacity: 0.9;
        width: 70px;
        height: 70px;
        line-height: 70px;
        text-align: center;
        border-radius: 50%;
        z-index: -1;
        animation: pulse-white 2s infinite;
      }
    }
  }

  .main-img {
    width: 100%;
    position: relative;
    z-index: 1;
  }
}

.timeline-widget {
  width: 100%;
  position: relative;
  overflow: hidden;

  &:before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -1px;
    width: 2px;
    height: 100%;
    background: #479ef5;
    z-index: 1;
  }

  .dot {
    height: 11px;
    width: 11px;
    background: #479ef5;
    border-radius: 50%;
    display: flex;
    overflow: hidden;
    clear: both;
    margin-left: auto;
    margin-right: 14px;
  }

  .timeline-block {
    width: calc(50% + 20px);
    display: flex;
    clear: both;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 20px;

    &:first-child {
      margin-top: 0;
      margin-bottom: 35px;
    }

    &:last-child {
      margin-bottom: 0;
      margin-top: 35px;
      float: inline-start;
    }
  }

  .timeline-block-right {
    float: right;
  }

  .timeline-block-left {
    float: left;
    direction: rtl;
  }

  .marker {
    width: 40px;
    height: 40px;
    line-height: 34px;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
    background: #479ef5;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    color: #f0f0f0;
    z-index: 9999;
  }

  .timeline-content {
    width: 95%;
    padding: 0 10px;
    color: $black_800;
    font-weight: 600;
  }
}

@media screen and (max-width: 550px) {
  .timeline-widget:before {
    left: 20px;
    width: 2px;
  }

  .timeline-widget .timeline-block {
    width: 100%;
    margin-bottom: 30px;

    &.timeline-block-right {
      float: none;
    }

    &.timeline-block-left {
      float: none;
      direction: ltr;
    }
  }

  .timeline-widget .dot {
    margin-left: 14px;
  }
}

// Settings Page Styles
.settings-header {
  text-align: center;
  margin-bottom: 2rem;

  .settings-title {
    font-size: 2rem;
    font-weight: 700;
    color: $black_900;
    margin-bottom: 0.5rem;
  }

  .settings-subtitle {
    font-size: 1rem;
    color: $black_500;
    margin: 0;
  }
}

.sidebar-modern {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  border: 1px solid $black_100;

  .sidebar-header {
    margin-bottom: 1.5rem;

    .sidebar-title {
      font-size: 1.25rem;
      font-weight: 700;
      color: $black_900;
      margin-bottom: 0.25rem;
    }

    .sidebar-subtitle {
      font-size: 0.875rem;
      color: $black_500;
      margin: 0;
    }
  }

  .menu-modern {
    .nav-item {
      margin-bottom: 0.5rem;

      .nav-link {
        display: flex;
        align-items: center;
        padding: 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        text-decoration: none;
        border: 1px solid transparent;

        &:hover {
          background-color: $black_50;
          border-color: $black_100;
        }

        &.active {
          background-color: $brand_color;
          border-color: $brand_color;
          color: #fff;

          .menu-icon {
            background-color: rgba(255, 255, 255, 0.2);
            color: #fff;
          }
        }

        .menu-icon {
          width: 40px;
          height: 40px;
          border-radius: 8px;
          background-color: $black_50;
          display: flex;
          align-items: center;
          justify-content: center;
          margin-right: 1rem;
          font-size: 1.1rem;
          color: $black_700;
          transition: all 0.3s ease;
        }

        .menu-content {
          flex: 1;

          .menu-title {
            display: block;
            font-weight: 600;
            font-size: 0.95rem;
            color: inherit;
            margin-bottom: 0.125rem;
          }

          .menu-description {
            display: block;
            font-size: 0.8rem;
            opacity: 0.8;
          }
        }
      }
    }
  }
}

.card-modern {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid $black_100;
  overflow: hidden;
  transition: box-shadow 0.3s ease;

  &:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  }

  .card-header-modern {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid $black_100;
    background: linear-gradient(135deg, $black_50 0%, #fff 100%);

    .card-icon {
      width: 48px;
      height: 48px;
      border-radius: 10px;
      background: linear-gradient(135deg, $brand_color 0%, $brand_color_800 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 1rem;
      font-size: 1.2rem;
      color: #fff;
      box-shadow: 0 4px 12px rgba(var(--brand_color_rgb), 0.3)
    }

    .card-title-section {
      flex: 1;

      .card-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: $black_900;
        margin-bottom: 0.25rem
      }

      .card-description {
        font-size: 0.9rem;
        color: $black_500;
        margin: 0;
      }
    }
  }

  .card-body-modern {
    padding: 1.5rem;
  }
}

.settings-form {
  .form-group-modern {
    margin-bottom: 1.5rem;

    .form-label-modern {
      display: block;
      font-weight: 600;
      color: $black_900;
      margin-bottom: 0.5rem;
      font-size: 0.9rem;
    }

    .form-control-modern {
      width: 100%;
      padding: 0.75rem 1rem;
      border: 2px solid $black_100;
      border-radius: 8px;
      font-size: 0.95rem;
      transition: all 0.3s ease;
      background: #fff;

      &:focus {
        border-color: $brand_color;
        box-shadow: 0 0 0 3px rgba(var(--brand_color_rgb), 0.1);
        outline: none;
      }

      &::placeholder {
        color: $black_350;
      }
    }

    .form-text {
      font-size: 0.8rem;
      color: $black_500;
      margin-top: 0.25rem;
    }

    .input-group-modern {
      display: flex;
      align-items: center;
      position: relative;

      .form-control-modern {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-right: none;
      }

      .input-addon {
        padding: 0.75rem 1rem;
        background: $black_50;
        border: 2px solid $black_100;
        border-left: none;
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
        font-size: 0.9rem;
        color: $black_700;
        white-space: nowrap;
      }

      .btn-toggle-password {
        position: absolute;
        right: 0.75rem;
        background: none;
        border: none;
        color: $black_500;
        cursor: pointer;
        padding: 0.25rem;
        border-radius: 4px;
        transition: color 0.3s ease;

        &:hover {
          color: $brand_color;
        }
      }
    }

    .input-separator {
      padding: 0 0.75rem;
      color: $black_500;
      font-weight: 500;
    }

    .password-strength {
      margin-top: 0.5rem;

      .strength-meter {
        height: 4px;
        background: $black_100;
        border-radius: 2px;
        overflow: hidden;
        margin-bottom: 0.25rem;

        .strength-bar {
          height: 100%;
          background: linear-gradient(90deg, #ff4757 0%, #ffa726 50%, #4caf50 100%);
          transition: width 0.3s ease;
        }
      }

      .strength-text {
        font-size: 0.8rem;
        color: $black_500;
      }
    }
  }

  .form-select-modern {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid $black_100;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #fff;
    transition: all 0.3s ease;
    cursor: pointer;

    &:focus {
      border-color: $brand_color;
      box-shadow: 0 0 0 3px rgba(var(--brand_color_rgb), 0.1);
      outline: none;
    }
  }

  .form-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
}

.btn {
  &.btn-primary-modern {
    background: linear-gradient(135deg, $brand_color 0%, $brand_color_800 100%);
    border: none;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;

    &:hover {
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(var(--brand_color_rgb), 0.3);
      color: #fff;
    }

    &:active {
      transform: translateY(0);
    }

    i {
      font-size: 0.9rem;
    }
  }

  &.btn-outline-modern {
    background: transparent;
    border: 2px solid $black_200;
    color: $black_700;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;

    &:hover {
      background: $black_50;
      border-color: $brand_color;
      color: $brand_color;
      transform: translateY(-1px);
    }

    i {
      font-size: 0.9rem;
    }
  }

  &.btn-outline-danger {
    background: transparent;
    border: 2px solid #ff4757;
    color: #ff4757;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;

    &:hover {
      background: #ff4757;
      color: #fff;
      transform: translateY(-1px);
    }
  }
}

.settings-list {
  .setting-item-modern {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid $black_100;

    &:last-child {
      border-bottom: none;
    }

    .setting-content {
      display: flex;
      align-items: center;
      flex: 1;

      .setting-icon {
        width: 36px;
        height: 36px;
        border-radius: 6px;
        background: $black_50;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 1rem;
        color: $black_700;
        font-size: 0.9rem;
      }

      .setting-details {
        flex: 1;

        .setting-title {
          display: block;
          font-weight: 600;
          color: $black_900;
          margin-bottom: 0.125rem;
          font-size: 0.95rem;
        }

        .setting-description {
          font-size: 0.85rem;
          color: $black_500;
          margin: 0;
        }
      }
    }

    .setting-control {
      .toggle-switch {
        position: relative;
        width: 50px;
        height: 24px;

        .toggle-input {
          opacity: 0;
          width: 0;
          height: 0;

          &:checked+.toggle-label .toggle-slider {
            background-color: $brand_color;

            &:before {
              transform: translateX(26px);
            }
          }
        }

        .toggle-label {
          position: absolute;
          cursor: pointer;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;

          .toggle-slider {
            position: absolute;
            height: 20px;
            width: 20px;
            border-radius: 50%;
            background: #fff;
            transition: all 0.3s ease;
            top: 2px;
            left: 2px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);

            &:before {
              content: "";
              position: absolute;
              height: 16px;
              width: 16px;
              border-radius: 50%;
              background: #fff;
              transition: all 0.3s ease;
              top: 2px;
              left: 2px;
            }
          }

          &:before {
            content: "";
            position: absolute;
            height: 24px;
            width: 50px;
            border-radius: 12px;
            background: $black_200;
            transition: all 0.3s ease;
          }
        }
      }
    }
  }
}

.notification-section {
  margin-bottom: 2rem;

  .section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: $black_900;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;

    i {
      color: $brand_color;
    }
  }

  .section-description {
    font-size: 0.9rem;
    color: $black_500;
    margin-bottom: 1rem;
  }
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;

  .interest-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 2px solid $black_100;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
    color: $black_700;

    &:hover {
      border-color: $brand_color;
      background: rgba(var(--brand_color_rgb), 0.05);
      color: $brand_color;
    }

    &.active {
      border-color: $brand_color;
      background: $brand_color;
      color: #fff;
    }

    i {
      font-size: 0.9rem;
    }
  }
}

.subscription-status {
  .status-card {
    &.active {
      background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
      color: #fff;
      padding: 1.5rem;
      border-radius: 10px;
      display: flex;
      align-items: center;
      margin-bottom: 1.5rem;

      .status-icon {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 1rem;
        font-size: 1.2rem;
      }

      .status-content {
        flex: 1;

        .status-title {
          font-size: 1.1rem;
          font-weight: 700;
          margin-bottom: 0.25rem;
        }

        .status-detail {
          font-size: 0.9rem;
          opacity: 0.9;
          margin-bottom: 0.5rem;
        }

        .status-badge {
          display: inline-block;
          padding: 0.25rem 0.75rem;
          background: rgba(255, 255, 255, 0.2);
          border-radius: 20px;
          font-size: 0.8rem;
          font-weight: 600;
        }
      }
    }
  }

  .subscription-details {
    background: $black_50;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;

    .detail-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 0.5rem;

      &:last-child {
        margin-bottom: 0;
      }

      .detail-label {
        font-weight: 600;
        color: $black_700;
      }

      .detail-value {
        color: $black_900;
      }
    }
  }

  .subscription-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
}

.payment-methods {
  .payment-method-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid $black_100;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;

    &.default {
      border-color: $brand_color;
      background: rgba(var(--brand_color_rgb), 0.05);
    }

    .card-brand {
      font-size: 2rem;
      color: $brand_color;
      margin-right: 1rem;
    }

    .card-details {
      flex: 1;

      .card-number {
        font-weight: 600;
        color: $black_900;
        margin-bottom: 0.125rem;
      }

      .card-expiry {
        font-size: 0.85rem;
        color: $black_500;
      }
    }

    .card-actions {
      display: flex;
      align-items: center;
      gap: 0.75rem;

      .badge {
        &.badge-primary {
          background: $brand_color;
          color: #fff;
          padding: 0.25rem 0.5rem;
          border-radius: 4px;
          font-size: 0.75rem;
          font-weight: 600;
        }
      }

      .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
      }
    }
  }
}

.payment-actions {
  .btn {
    width: 100%;
    justify-content: center;
  }
}

.billing-address {
  .section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: $black_900;
    margin-bottom: 1rem;
  }
}

.badge {
  &.badge-warning {
    background: #ffa726;
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
  }
}

// Responsive adjustments
@media (max-width: 768px) {
  .settings-header {
    .settings-title {
      font-size: 1.5rem;
    }
  }

  .sidebar-modern {
    .menu-modern .nav-item .nav-link {
      padding: 0.75rem;

      .menu-icon {
        width: 36px;
        height: 36px;
        margin-right: 0.75rem;
      }

      .menu-content {
        .menu-title {
          font-size: 0.9rem;
        }

        .menu-description {
          font-size: 0.75rem;
        }
      }
    }
  }

  .card-modern {
    .card-header-modern {
      padding: 1rem;

      .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
      }

      .card-title-section {
        .card-title {
          font-size: 1.1rem;
        }
      }
    }

    .card-body-modern {
      padding: 1rem;
    }
  }

  .interests-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .subscription-status {
    .status-card.active {
      flex-direction: column;
      text-align: center;

      .status-icon {
        margin-right: 0;
        margin-bottom: 1rem;
      }
    }

    .subscription-actions {
      justify-content: center;
    }
  }

  .payment-method-card {
    flex-direction: column;
    align-items: flex-start;

    .card-brand {
      margin-right: 0;
      margin-bottom: 0.5rem;
    }

    .card-actions {
      width: 100%;
      justify-content: space-between;
      margin-top: 0.75rem;
    }
  }
}