.container {
    position: relative;
    position: fixed;
    left: 0;
    top: 7.6rem;
    background: #fff;
  
    @include min(tablet) {
      left: auto;
      top: calc(100% + 8px);
      right: 3.8rem;
      border-radius: 1rem;
      box-shadow: 0 8px 8px -4px rgb(27 27 28 / 4%), 0 20px 24px -4px rgb(27 27 28 / 7%);
      padding-bottom: 1px;
    }
  
    @include min(desktop) {
      position: absolute;
      right: 0;
    }
  }
  
  .notificationsContainer {
    width: 100vw;
    max-height: 58.4rem;
    padding: 1.6rem 1.6rem 2.4rem;

    @include flex-align(stretch, stretch);
    @include flex-direction(column);

    gap: 0.8rem;
    transition: 0.5s ease-in;
    overflow-y: hidden;
  
    &::-webkit-scrollbar {
      width: 4px;
    }

    &::-webkit-scrollbar-track {
      background: #e0e0e2;
  
      @include min(tablet) {
        border-radius: 0 10px 10px 0;
      }
    }

    &::-webkit-scrollbar-thumb {
      background-color: #515156;
  
      @include min(tablet) {
        border-radius: 0 10px 10px 0;
      }
    }
  
    @include min(tablet) {
      border-radius: 4px;
      padding: 1.6rem;
      font-size: 1rem;
      z-index: 100;
      white-space: wrap;
      max-width: 40.6rem;
      width: 40.6rem;
      max-height: 60rem;
    }
  
    span {
      font-size: 1.8rem;
      font-weight: 600;
      color: #1b1b1c;
      line-height: 2.8rem;
      margin: 0;
      height: 3.2rem;

      @include flex-align(center, space-between);
    }
  }
  
  .notifications {
    @include flex-align(stretch, flex-start);
    @include flex-direction(column);

    gap: 0.8rem;
    overflow-y: auto;
    padding-right: 1.6rem;
  
    &::-webkit-scrollbar {
      width: 4px;
    }

    &::-webkit-scrollbar-track {
      background: #e0e0e2;
      border-radius: 1rem;
    }

    &::-webkit-scrollbar-thumb {
      background-color: #515156;
      border-radius: 1rem;
    }
  
    @include min(tablet) {
      max-height: 50.4rem;
    }
  }
  
  .close {
    align-self: flex-start;
    padding-right: 1.6rem;
  }
  
  .triangle {
    @include min(tablet) {
      display: block;
      position: absolute;
      bottom: 99%;
      left: 50%;
      margin-top: -9px;
      background-color: #fff;
      width: 20px;
      height: 20px;
      border-top-right-radius: 5px;
      transform: rotate(300deg) skewX(-30deg) scale(1, 0.866);
      z-index: -1;
  
      &::before,
      &::after {
        content: '';
        position: absolute;
        background-color: inherit;
        width: 20px;
        height: 20px;
        border-top-right-radius: 5px;
      }
  
      &::before {
        transform: rotate(-135deg) skewX(-45deg) scale(1.414, 0.707) translate(0, -50%);
      }
  
      &::after {
        transform: rotate(135deg) skewY(-45deg) scale(0.707, 1.414) translate(50%);
      }
    }
  }
  
  .notification {
    border-radius: 8px;
    background: #f4f4f4;
    padding: 1.2rem;
    padding-right: 3.6rem;
    gap: 0 0.8rem;
    position: relative;
    border: 1px solid transparent;
  
    &:hover {
      border-color: var(--primary-button-color, #6e33e5);
      background-color: #fbfaf9;
    }
  
    &::after {
      display: block;
      content: '';
      width: 6px;
      height: 6px;
      position: absolute;
      right: 1.6rem;
      top: 50%;
      transform: translateY(-50%);
      background-color: var(--primary-button-color, #6e33e5);
      border-radius: 100%;
    }
  }
  
  .overlay {
    position: fixed;
    width: 100vw;
    height: calc(100vh);
    z-index: -1;
    opacity: 0.45;
    background: #0a0e19;
  
    @include min(tablet) {
      display: none;
    }
  }
  
  .notificationContent {
    @include flex-align(stretch, stretch);

    display: grid;
    grid-template-columns: 4rem auto;
    column-gap: 0.8rem;
  
    img {
      width: 4rem;
      height: 4rem;
      grid-row: 1 / span 2;
      border-radius: 4px;
    }
  
    h2,
    h3,
    h4,
    h5,
    label {
      color: #1b1b1c;
      font-size: 1.4rem;
      font-weight: 600;
      line-height: 2.2rem;
      margin: 0;
    }
  
    > div {
      color: #f4f4f4;
      font-size: 1.2rem;
      font-weight: 400;
      line-height: 1.8rem;
    }
  }
  
  .subtitle {
    margin-bottom: 0.8rem;
    grid-column: 2;
  
    > p {
      width: 26rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      color: rgb(81 81 86);
      -webkit-line-clamp: 2; 
      line-clamp: 2;

      @include max(mobile-m) {
        width: 20rem;
      }
    }
  }
  
  .ribbonAndTime {
    @include flex-align(center, flex-start);

    gap: 0.5rem;
    font-weight: 500;
    grid-column: 2;
    height: 1.9rem;

    .ribbon {
      border-radius: 100px;
      background: var(--primary-button-color, #6e33e5);
      padding: 4px 8px;

      @include flex-align(center, center);

      color: #fff;
      text-align: center;
      font-size: 0.9rem;
      font-weight: 700;
      line-height: 1.1rem;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      height: 1.9rem;
    }

    .extraContent{
      background: transparent;
      color: #64646D;
      font-size: 1.2rem;
      font-weight: 500;
      line-height: 1.8rem;
    }
  }
  