@use "../../base/utilities/index" as *;

.notification-count {
  position: absolute;
  background-color: $ac-primary;
  color: $white-100;
  padding: 4px;
  font-size: 11px;
  line-height: 1;
  border-radius: 50px;
  min-width: 20px;
  height: 20px;
  right: -10px;
  top: -8px;
  border: 1px solid $primary-97;
  opacity: 1;
  z-index: 9;
}
.dropdown-inner {
  border-radius: 4px;
  overflow: hidden;
  background-color: $white-100;
  border: 1px solid $color-border;
}
.notification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid $color-border;
  padding: 8px 16px;
  h5 {
    color: $color-heading;
  }
  span {
    display: flex;
    color: $primary-30;
    padding: 2px 8px;
    border-radius: 4px;
    background-color: $primary-95;
  }
}
.notification-body {
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  a {
    display: flex;
    color: $color-text;
    padding: 16px;
    border-bottom: 1px solid $color-border-light;
    transition: 0.3s ease-in-out;
    justify-content: space-between;

    &:hover {
      background-color: $secondary-97;
      h6 {
        color: $ac-secondary;
      }
    }
    .round-icon {
      width: 36px;
      height: 36px;
      background-color: $primary-95;
      color: $ac-primary;
      font-size: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      margin-right: 8px;
      line-height: 1;
      font-weight: 500;
    }

    .notification-content {
      width: calc(100% - 60px);
      h6 {
        font-size: 14px;
        font-weight: 500;
        transition: 0.3s ease-in-out;
      }

      p {
        font-size: 12px;
      }
    }

    span {
      font-size: 11px;
      color: $color-text;
    }
  }
}
.notification-footer {
  button {
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 8px;
    color: $ac-primary;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    &:hover {
      text-decoration: underline;
    }
  }
}
