/* Utilities classes */
.grid-gap {
  display: flex;
  gap: 1rem;
  justify-content: end;
}
.position-absolute {
  position: absolute;
}
.translate-middle {
  transform: translate(-50%, -50%);
}
.top-0 {
  top: 0;
}
.start-100 {
  left: 100%;
}
.text-slate {
  color: rgb(51 65 85) !important;
}
.text-lg {
  font-size: 1.125rem;
}
.cursor-pointer {
  cursor: pointer;
}

/* Push notifications classes */
@keyframes glow {
  0% {
    box-shadow: 0 0 0 0 #17a2b8;
    border: 4px solid #ffffff;
  }
  50% {
    box-shadow: 0 0 0.5rem 0 #17a2b8;
    border: none;
    height: 10px;
    width: 10px;
  }
}

.unread {
  width: 18px;
  height: 18px;
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 0 #17a2b8;
  animation: glow 2s ease-in-out infinite;
}

.push-notifications {
  position: relative;
}

.push-notifications-list-wrapper {
  position: absolute;
  top: 40px;
  right: -20px;
  user-select: none;
  background: #fff;
  border: 1px solid #c7d8e2;
  width: 350px;
  height: auto;
  display: none;
  border-radius: 3px;
  box-shadow: 10px 10px 35px rgba(0, 0, 0, 0.125),
    -10px -10px 35px rgba(0, 0, 0, 0.125);
  z-index: 999;
}

.push-notifications-list-wrapper ul {
  padding: 0;
  margin: 0;
  overflow-y: scroll;
  height: 300px;
}

.push-notifications-list-wrapper:before {
  content: "";
  position: absolute;
  top: -20px;
  right: 15px;
  border: 10px solid;
  border-color: transparent transparent #fff transparent;
}

.push-notifications-list-wrapper li {
  border-bottom: 1px solid #f1f2f4;
  padding: 10px 20px;
  align-items: center;
  display: flex;
}

.push-notifications-list-wrapper li .notify_icon {
  display: flex;
  width: 20px;
  justify-content: center;
  font-size: 20px;
}

.push-notifications-list-wrapper li .notify_data {
  margin: 0 15px;
  text-align: left;
  width: 180px;
  flex-grow: 1;
}

.push-notifications-list-wrapper li .notify_data .title {
  font-size: 0.75rem;
  font-weight: 600;
}

.push-notifications-list-wrapper li .notify_data .sub_title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.push-notifications-list-wrapper li .notify_status {
  display: flex;
  flex-direction: column;
  align-items: end;
  margin-bottom: 0px;
  color: rgb(100 116 139);
}

.push-notifications-list-wrapper li .notify_status p.date {
  font-size: 0.65rem;
  margin-bottom: 0.25rem;
}

.push-notifications-list-wrapper li .notify_status .icons {
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  gap: 0.25rem;
}

.push-notifications-list-wrapper li .notify_status .icons span,
.push-notifications-read span {
    padding: 0.25rem;
    width: 28px;
    height: 28px;
    text-align: center;
    border-radius: 0.25rem;
}

.push-notifications-list-wrapper li .notify_status .icons span:hover,
.push-notifications-read span:hover {
    background-color: rgb(3 105 161);
    color: rgb(255, 255, 255);
}

.push-notifications-list-wrapper .mark_all {
  display: flex;
  justify-content: end;
  padding: 0.75rem;
  border-bottom: 1px solid #f1f2f4;
  cursor: pointer;
}
.push-notifications-list-wrapper .mark_all span:hover {
  text-decoration: underline;
}

.push-notifications-list-wrapper .show_all {
  display: flex;
  justify-content: center;
  padding: 0.75rem;
  border-top: 1px solid #f1f2f4;
}
.push-notifications-list-wrapper .show_all a {
  color: #232323;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  margin: 0;
}
.push-notifications-list-wrapper .show_all a:hover {
  color: #232323;
  text-decoration: underline;
}

.push-notifications.active .push-notifications-list-wrapper {
  display: block;
}
