/*----------------------------------------*/
/*  02. Header Area
/*----------------------------------------*/
.easydocs-header-area {
  padding-top: 40px;
  padding-bottom: 50px;
  padding-right: 40px;

  .easydocs-row {
    @include margin(mx, 0);
  }
}

.navbar-left {
  gap: var(--gutter-20);

  .easydocs-btn {
    --btn-icon: var(--frmx_brand_color);
    --btn-py: 0.5rem;
    --btn-px: 1rem;
    --btn-fs: var(--fs-12);
    font-weight: 500;
    gap: 6px;
    display: flex;
    border: 1px solid var(--frmx_brand_color);
    align-items: center;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 6px;
    color: var(--frmx_brand_color);

    span.dashicons {
      font-size: 14px;
      margin-bottom: -4px;
    }

    @include hover {
      --btn-icon: var(--clr-white);
      background: var(--frmx_brand_color);
    }
    &:focus{
      box-shadow: 0 0 0 0.4rem rgba(65, 65, 230, 0.5);
    }
  }
}

.easydocs-logo-area {
  a {
    text-decoration: none;
    color: var(--clr-dark);
    font-size: var(--fs-24);
    font-weight: var(--fw-700);
  }
}

:is(.easydocs-notification, .easydocs-settings) {

  .header-notify-icon {
    @include size(2.5rem);
    line-height: 2.5rem;
    border-radius: 50%;
    background: rgba(#252733, 0.05);
    text-align: center;
    cursor: pointer;

    &:hover {
      background: rgb(37 39 51 / 9%);
    }

    svg {
      position: relative;
      top: 0.300rem;
    }
  }
}

.easydocs-notification {
  margin-right: rem(27px);
  position: relative;

  .easydocs-badge {
    @include absolute(top rem(-7px) right rem(-8px));
    background: #FA3E3E;
    color: var(--clr-white);
    top: -0.4375rem;
    right: -0.2rem;
    position: absolute;
    padding: 0 4px;
    min-width: 18px;
    max-width: 18px;
    border-radius: 50%;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    height: 16px;
    display: inline-table;
    font-family: 'Roboto';
  }
}

.easydocs-settings {
  .header-notify-icons {
    a {
      text-decoration: none;
      padding-top: 5px;
      display: inline-block;
    }
  }
}

:is(.knobs, .layer) {
  @include absolute(inset 0);
}

.navbar-right .js-darkmode-btn {
  .day svg {
    color: #fff;
  }

  .night svg {
    color: var(--clr-dark);
  }
}

.body_dark {
  .navbar-right .js-darkmode-btn {
    .day svg {
      --toggle-icon: #575766;
    }

    .night svg {
      --toggle-icon: #fff;
    }
  }
}

.navbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  > ul {
    align-items: center;
    gap: 8px;
  }

  .js-darkmode-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    @include size(rem(80px), rem(40px));
    position: relative;
    background: rgba(#252733, 0.05);
    padding: 0 10px;
    color: #fff;
    border-radius: 24px;
    @include property;

    .day svg {
      --toggle-icon: #fff;
      @include property;
      margin-top: 7px;
    }

    .night svg {
      --toggle-icon: #575766;
      @include property;
      margin-top: 7px;
    }
  }

  .js-darkmode-btn label {
    margin: 0;
    cursor: pointer;
    position: relative;
    z-index: 2;
  }

  .js-darkmode-btn .ball {
    height: 30px;
    width: 30px;
    position: absolute;
    background-color: var(--frmx_brand_color);
    border-radius: 50%;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    cursor: default;
    transition: all 0.3s linear 0s;
    z-index: 1;
  }

  .js-darkmode-btn svg {
    font-size: 16px;
    transition: all 0.3s linear 0s;
  }

  .js-darkmode-btn input {
    display: none;
  }
}

.settings-pro-icon {
  position: absolute;
  right: 0px;
  top: -5px;
}

.swal2-styled.swal2-confirm.upgrade-premium-button {
  > a {
    color: black;
    font-weight: normal;
    text-decoration: none;
  }
}

.swal2-footer.notification-pro-footer-wrap {
  > a {
    text-decoration: none;
  }
}

.notification-body {
  .filter-button-group {
    display: flex;
    gap: 8px;
    @include padding(px, var(--gutter-25));

    svg {
      top: 0;
    }

    .easydocs-btn {
      --notification-icon: var(--clr-dark);
      --btn-px: 1rem;
      --btn-fs: var(--fs-14);
      --btn-py: 0.4rem;
      display: flex;
      align-items: center;
      gap: 1px;
      --btn-bg: #e4e6eb;
      --btn-clr: var(--clr-dark);
      --btn-bc: transparent;

      &.mixitup-control-active {
        background-color: #e7f3ff;
        color: #1877f2;
        --notification-icon: #1877f2;

        .dashicons-screenoptions:before {
          color: #1877f2;
        }

        @include hover {
          background-color: #d2e6f9;
        }
      }

      @include hover {
        --notification-icon: var(--clr-white);
        background: #cdcdcd;
      }
    }
  }
}

.notify-column {
  max-height: rem(400px);
  overflow-y: auto;
  scrollbar-width: thin;

  &::-webkit-scrollbar-track {
    background-color: var(--clr-text-light);
  }

  &::-webkit-scrollbar {
    width: 8px;
    background-color: #F5F5F5;
  }

  &::-webkit-scrollbar-thumb {
    background-color: var(--clr-text);
  }

  /* Notification updated css */
  ul {
    li {
      border-bottom: 1px solid #f1f2f3;
      margin-bottom: 0;

      a {
        text-decoration: none;
        gap: 9px;
        align-content: space-around;
        padding: 10px;
        box-sizing: border-box;

        .notify-icon {
          padding-top: 5px;
        }

        .notify-content-wrap {
          width: -webkit-fill-available;

          .notify-content-header {
            color: hsl(210deg 8% 35%);
            font-size: 12px;
            .noti-type {
              color: var(--black_800);
              font-weight: 500;
            }
          }

          .notify-content-summary {
            p {
              color: hsl(206deg 100% 40%);
              font-size: 13px;
            }
          }
        }

        &:focus {
          box-shadow: none;
        }
      }

      &:hover {
        background: hsl(210deg 8% 90%);
      }

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

.notification-item {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  gap: var(--gutter-10);
  padding: var(--gutter-10) 15px;
  @include margin(mx, var(--gutter-10));
  @include property;
  border-radius: rem(5px);

  .notification-image {
    @include size(2.5rem);
    border-radius: 50%;
    position: relative;

    .notify-badge {
      @include absolute(bottom 0 right 0);
      @include size(1.125rem);
      line-height: 1.125rem;
      border-radius: 50%;
      text-align: center;

      .dashicons {
        top: 0;
      }
    }

    .notify-badge-blue {
      @include gradient(180deg, #22AAF1, #066BDA);

      .dashicons {
        font-size: 12px;
        color: white;
        padding-top: 2.5px;
      }
    }

    .notify-badge-green {
      @include gradient(180deg, #62D77E, #2BB64E);

      .dashicons {
        font-size: 12px;
        color: white;
        padding-top: 4px;
      }
    }
  }

  @include hover {
    background: rgba(#4C4CF1, 0.05);
  }
}

.notification-content {
  .notify-name {
    font-size: var(--fs-14);
    font-weight: var(--fw-500);
    color: var(--clr-dark);
    padding-right: 0.5rem;
    margin: 0;
    line-height: 1;

    a {
      text-decoration: none;
    }
  }

  .reply-text {
    font-size: 14px;
    color: var(--clr-text-light);
    line-height: 1;
    margin-top: 5px;
  }
}

.notify-short-description {
  font-size: var(--fs-14);
  color: var(--clr-text);
  line-height: 1;
  margin-top: 0.325rem;
}

.notify-date {
  text-align: left;
  color: var(--clr-text-light);
  line-height: 1;
  margin-top: 0.375rem;
}

.eazydocs-no-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 80px auto;
  max-width: 600px;
  background: #fff;
  padding: 60px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  border: 1px solid #f3f4f6;
  text-align: center;

  img {
    width: 140px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 24px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
    transition: transform 0.3s ease;

    &:hover {
      transform: scale(1.05);
    }
  }

  .big-p {
    font-size: 1.25rem;
    color: #374151;
    font-weight: 600;
    margin-bottom: 32px;
    line-height: 1.5;
  }

  .forumax-empty-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 0;
    width: 100%;

    .ezd-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 28px;
      font-weight: 500;
      border-radius: 10px;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      font-size: 0.95rem;
      gap: 8px;

      &.button-primary {
        background: var(--frmx_brand_color);
        color: white;
        border: 1px solid transparent;
        box-shadow: 0 4px 6px -1px rgba(76, 76, 241, 0.3), 0 2px 4px -1px rgba(76, 76, 241, 0.1);

        &:hover {
          background-color: darken(#4C4CF1, 5%);
          transform: translateY(-2px);
          box-shadow: 0 10px 15px -3px rgba(76, 76, 241, 0.4), 0 4px 6px -2px rgba(76, 76, 241, 0.2);
        }

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

      &.forumax-import-demo-btn {
        &:hover {
          transform: translateY(-2px);
          box-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.3), 0 4px 6px -2px rgba(124, 58, 237, 0.2);
        }
      }

      .dashicons {
        font-size: 18px;
        width: 18px;
        height: 18px;
        line-height: 1;
        margin: 0;
      }
    }

    .forumax-actions-separator {
      color: #9ca3af;
      font-weight: 500;
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
  }
}

.bbpc-trash-filter {
  border-radius: 1.875rem;
  margin-bottom: 0;
  background-color: rgba(212, 23, 23, 0.1);
  transition: all .3s;

  &:hover {
    background-color: rgba(212, 23, 23, 0.3);

    a {
      color: #c10000;
    }
  }

  svg {
    fill: rgba(212, 23, 23, 1);
  }

  a {
    justify-content: center;
    gap: 0.3125rem;
    padding: 5px 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    color: rgba(212, 23, 23, 1);
    text-decoration: none;
  }

  @media screen and ( max-width: 1440px ) {
    .filter-label-trash{
      display: none;
    }
  }
}

.bbpc-settings-icon {
  background: rgba(0, 0, 255, 0.058);
  padding: 10px;
  border-radius: 50%;
}