.headerContainer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14.5px 1.5rem;
  border-bottom: 1px solid #1D428A;

  .rightSide {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: 0.3s;

    &:hover {
      transform: scale(0.9);
      opacity: 0.8;
    }

    .imgSize {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      object-fit: cover;
    }
  }
  .h1Style {
    font-size: 24px;
  }
}
.rightSideHeaderContent {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  position: relative;
}
.rightSideHeaderContent .notificationButtonAndHeading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 100%;
  cursor: pointer;
  transition: 0.3s;

  &:hover {
    opacity: 0.8;
  }
}
.rightSideHeaderContent .notificationButtonAndHeading svg {
  width: 22px;
  fill: #1D428A;
}
.rightSideHeaderContent .notificationButtonAndHeading p {
  font-size: 20px;
  color: #171717;
}
.rightSideHeaderContent .notificationMainContainer {
  width: 350px;
  max-height: 530px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: -50%;
  top: 84%;
  z-index: 1;
  transition: 0.3s;
  transform-origin: top center;
  transform: scale(1);
  opacity: 1;
  visibility: visible;
}
.rightSideHeaderContent .notificationMainContainer.hide {
  transform: scale(0);
  visibility: hidden;
  opacity: 0;
}
.rightSideHeaderContent .notificationShortBox {
  width: 100%;
  max-height: 530px;
  overflow-y: auto;
  background-color: #ffffff;
  box-shadow: 0 16px 24px 0 rgba(29, 66, 138, 0.24);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 14px;
}
.rightSideHeaderContent .notificationShortBox .notificationContainer {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 0 16px;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}

.rightSideHeaderContent .notificationShortBox .NotificationCard {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;

  border-bottom: 1px solid #e5f2ff;
  padding-bottom: 10px;
}
.rightSideHeaderContent .notificationShortBox .NotificationCard:last-child {
  border-bottom: unset;
  padding-bottom: unset;
}
.rightSideHeaderContent .notificationShortBox .NotificationCard .leftSide {
  width: 74px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}
.rightSideHeaderContent
  .notificationShortBox
  .NotificationCard
  .leftSide
  .notification_dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #1D428A;
  outline: 1px dotted #1D428A;
  outline-offset: 1px;
}
.rightSideHeaderContent .notificationShortBox .NotificationCard .leftSide img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.rightSideHeaderContent
  .notificationShortBox
  .NotificationCard
  .rightSideNotification {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rightSideHeaderContent
  .notificationShortBox
  .NotificationCard
  .rightSideNotification
  h1 {
  font-size: 16px;
}
.rightSideHeaderContent
  .notificationShortBox
  .NotificationCard
  .rightSideNotification
  p {
  word-break: break-all;
}
.rightSideHeaderContent
  .notificationShortBox
  .NotificationCard
  .groupOfHeadingAndPara {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.createdAt {
  color: #152e61;
}

.notificationIndicator {
  width: 18px;
  height: 18px;
  background-color: #ffffff;
  position: relative;
  top: 10px;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.viewAllNotifications {
  width: 93%;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(29, 66, 138);
  background: linear-gradient(
    126deg,
    rgba(29, 66, 138, 1) 35%,
    rgba(21, 46, 97, 1) 100%
  );
  border-radius: 10px;
  color: #fff;
  font-weight: 500;
  position: sticky;
  bottom: 0;
  left: 0;
  flex-shrink: 0;
  margin: 0 auto 14px auto;
  transition: 0.3s;

  &:hover {
    opacity: 0.8;
  }
}

/* Media Query */
/* =========== */
@media screen and (max-width: 900px) {
  .headerContainer {
    padding-left: 5rem;
  }
}
@media screen and (max-width: 600px) {
  .headerContainer {
    padding-left: 1.5rem;
    justify-content: flex-end;
    .h1Style {
      display: none;
    }
    .rightSide {
      .imgSize {
        width: 36px;
        height: 36px;
      }
    }
  }
  .rightSideHeaderContent .notificationButtonAndHeading svg {
    width: 18px;
  }
  .rightSideHeaderContent {
    gap: 12px;
  }
  .notificationTitle {
    display: none;
  }

  .rightSideHeaderContent
    .notificationShortBox
    .NotificationCard
    .rightSideNotification
    h1,
  .rightSideHeaderContent
    .notificationShortBox
    .NotificationCard
    .rightSideNotification
    p {
    font-size: 14px;
  }

  .rightSideHeaderContent
    .notificationShortBox
    .NotificationCard
    .leftSide
    img {
    width: 26px;
    height: 26px;
  }
  .rightSideHeaderContent
    .notificationShortBox
    .NotificationCard
    .leftSide
    .notification_dot {
    width: 6px;
    height: 6px;
  }

  .rightSideHeaderContent .notificationMainContainer {
    width: 320px;
    left: -88%;
  }
  .rightSideHeaderContent
    .notificationShortBox
    .NotificationCard
    .rightSideNotification {
    gap: 4px;
  }
  .viewAllNotifications {
    font-size: 14px;
  }
}
