.container {
  &_notification {
    display: flex;
    flex-direction: column;
    height: 80vh;
    width: 50vw;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    border-radius: 15px;
    max-width: 1000px;
    margin: auto;

    > *:nth-child(2) {
      overflow: hidden;

      > ul {
        list-style: none;
        height: 100%;
        overflow-y: auto;
        margin: 0;
      }
    }

    a[href]:hover {
      text-decoration: underline;
    }

    .notification {
      display: flex;
      justify-content: space-between;
      border-top: solid 2px;
      padding: 4% 2%;
      gap: 10px;

      &_text {
        > span {
          font-weight: bold;
        }

        padding-top: 10px;

        > a[href]:hover {
          text-decoration: underline;
        }
      }

      &_subject {
        font-weight: 500;
        width: 100%;
        font-size: 17px;

        > a[href]:hover {
          text-decoration: underline;
        }
      }

      .photo {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        margin: 4px;

        > img.avatar {
          max-width: 50px;
          max-height: 50px;
          width: 50px;
          height: 50px;
        }
      }
    }

    &_header_title {
      display: flex;
      justify-content: space-between;

      .title {
        display: inline-block;

        > div {
          font-weight: 300;
          margin: 0;
          font-size: 25px;
        }
      }

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

        > t {
          justify-content: center;
          align-items: center;
          display: flex;
          margin: 10px;
        }
      }
    }

    .contenu {
      border-top: solid 2px;
      padding-top: 1rem;

      > span {
        font-weight: bold;
      }
    }

    .ui-notification__detail {
      display: grid;
      grid-template-rows: auto 1fr;
      height: 100%;

      .contenu {
        max-height: 100%;
        overflow: auto;
      }
    }
  }

  &_croix {
    text-align: right;
    width: 100%;
  }

  &_arrow_left {
    text-align: left;
    width: 50%;
  }

  &_header_button {
    display: flex;
  }

  &_text {
    width: 100%;
    min-width: 0;

    > a[href]:hover {
      text-decoration: underline;
    }
  }

  &_contenu {
    display: grid;
    align-items: start;
    grid-template-columns: 1fr auto auto;
    gap: 5px;
    margin-bottom: 8px;

    .time {
      text-align: right;
    }
  }

  &_header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    margin-bottom: 3%;

    .time {
      width: 30%;
      text-align: right;
    }

    .photo {
      width: 55px;
      border-radius: 60%;
      margin: 4px;

      > img.avatar {
        max-width: 50px;
        max-height: 50px;
        width: 50px;
        height: 50px;
      }
    }
  }

  &_alertes {
    .notification_subject {
      > a[href]:hover {
        text-decoration: underline;
      }
    }
  }
}

.alerte {
  border-radius: 15px;
  border: solid 1px;
  box-shadow: 2px 2px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3% 5%;
  margin: 10px 0;

  &_position {
    position: absolute;
    z-index: 100;
    right: 0;
    bottom: 0;
    padding: 10px;
  }

  &_contenu {
    width: 80%;
  }

  &_croix {
    text-align: right;
  }

  .photo {
    width: 55px;
    border-radius: 60%;
    margin: 4px;

    > img.avatar {
      max-width: 50px;
      max-height: 50px;
      width: 50px;
      height: 50px;
    }
  }
}
