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

.account {
  @include pageBase;

  width: 100%;

  /* ==========================
     HERO
  ========================== */

  &__hero {
    position: relative;

    display: flex;
    align-items: center;

    gap: 1.5rem;

    margin: 1.5rem 0 2rem;

    padding: 2rem;

    border-radius: 28px;

    background: linear-gradient(
      180deg,
      rgba(22, 22, 24, 0.98),
      rgba(15, 15, 18, 1)
    );

    border: 1px solid
      rgba(255, 255, 255, 0.05);

    overflow: hidden;

    &::before {
      content: "";

      position: absolute;

      inset: 0;

      background:
        radial-gradient(
          circle at top right,
          rgba(
            247,
            147,
            24,
            0.08
          ),
          transparent 45%
        );

      pointer-events: none;
    }

    @media (max-width: 768px) {
      flex-direction: column;

      align-items: flex-start;

      padding: 1.5rem;
    }
  }

  &__heroAvatar {
    width: 70px;
    height: 70px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
      135deg,
      #f79318,
      #ffb454
    );

    color: #111;

    font-size: 1.7rem;
    font-weight: 800;

    flex-shrink: 0;

    box-shadow:
      0 15px 40px
      rgba(
        247,
        147,
        24,
        0.25
      );
  }

  &__heroContent {
    position: relative;
    z-index: 2;

    h2 {
      color: #fff;

      font-size: 1.3rem;

      font-weight: 600;

      margin-bottom: 0.4rem;
    }

    p {
      color:
        rgba(
          255,
          255,
          255,
          0.55
        );

      font-size: 0.9rem;
    }
  }

  &__heroBadge {
    display: inline-flex;

    align-items: center;

    padding: 0.45rem 0.85rem;

    border-radius: 999px;

    margin-bottom: 0.85rem;

    background:
      rgba(
        247,
        147,
        24,
        0.08
      );

    border:
      1px solid
      rgba(
        247,
        147,
        24,
        0.15
      );

    color: #f79318;

    font-size: 0.65rem;

    font-weight: 600;

    letter-spacing: 0.08em;

    text-transform: uppercase;
  }

  /* ==========================
     TABS
  ========================== */

  &__tabs {
    display: flex;

    gap: 0.75rem;

    margin-bottom: 2rem;

    padding: 0.4rem;

    border-radius: 18px;

    background:
      rgba(
        255,
        255,
        255,
        0.025
      );

    border:
      1px solid
      rgba(
        255,
        255,
        255,
        0.05
      );

    overflow-x: auto;

    @media (max-width: 768px) {
      width: 100%;
    }
  }

  &__tab,
  &__tabActive {
    height: 44px;

    padding: 0 1.2rem;

    border-radius: 12px;

    white-space: nowrap;

    cursor: pointer;

    border: none;

    font-size: 0.82rem;

    font-weight: 600;

    transition: 0.25s ease;
  }

  &__tab {
    background: transparent;

    color:
      rgba(
        255,
        255,
        255,
        0.65
      );

    &:hover {
      color: #fff;
    }
  }

  &__tabActive {
    background: linear-gradient(
      135deg,
      #f79318,
      #ffb454
    );

    color: #111;

    box-shadow:
      0 12px 25px
      rgba(
        247,
        147,
        24,
        0.2
      );
  }

  /* ==========================
     CONTENT
  ========================== */

  &__content {
    min-height: 300px;
  }
}