@use "../../../../styles/abstracts/variables" as *;
@use "../../../../styles/abstracts/mixins";

.notifications {
  @include mixins.pageBase;
  width: 100%;
  padding: 1rem 1.5rem;
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 140, 66, 0.05),
      transparent 35%
    ),
    #101012;

  &__tabs {
    display: flex;
    border-bottom: 2px solid $col-border-lining;
    margin-bottom: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
  }

  &__tabItem {
    text-align: center;
    padding: 0.5rem 0;
    font-weight: 500;
    cursor: pointer;
    color: #aaa;
    position: relative;
    transition: color 0.3s ease;
    font-size: 0.85rem;

    &:hover {
      color: $col-orange;
    }

    &.active {
      color: $col-orange;
      font-weight: 700;

      &::after {
        content: "";
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100%;
        height: 3px;
        background: $col-orange;
        border-radius: 2px;
      }
    }
  }

  &__content {
    width: 100%;
  }

  &__items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  &__pagination {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 640px) {
  .notifications {
    padding: 0.8rem 1rem;

    &__tabs {
      gap: 1rem;
    }

    &__tabItem {
      font-size: 0.75rem;
      padding: 0.4rem 0;
    }

    &__items {
      gap: 0.35rem;
    }
  }
}
