/* Notifications Page Styles */
.dls-ecom-main__content__notifications .dls-ecom-notification-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.dls-ecom-main__content__notifications .dls-ecom-notification-card-link:hover{
  text-decoration: none;
  color: inherit;
}

.dls-ecom-main__content__notifications .dls-ecom-notification-card{
  display: flex;
  gap: 32px;
  border-radius: 8px;
  margin-bottom: 30px;
  width: 100%;
  height: auto;
  padding: 32px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #DEE3ED;
}

.dls-ecom-main__content__notifications .dls-ecom-notification-card.unread{
  background-color: #E6F5F7;
}

.dls-ecom-main__content__notifications .dls-ecom-notification-card.preload {
  visibility: hidden;
}

.dls-ecom-main__content__notifications .dls-ecom-notification-card-image{
  flex: 0 0 300px;
  width: 300px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dls-ecom-main__content__notifications .dls-ecom-notification-card-image img{
  border-radius: 4px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.dls-ecom-main__content__notifications .dls-ecom-notification-card-body{
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: auto;
  min-height: 300px;
  overflow: visible;
  justify-content: space-between;
}

.dls-ecom-main__content__notifications .dls-ecom-notification-card-content{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dls-ecom-main__content__notifications .dls-ecom-notification-card-content h2{
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: normal;
}

.dls-ecom-main__content__notifications .dls-ecom-notification-card-content p{
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #586473;
  margin-bottom: 12px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.dls-ecom-main__content__notifications .dls-ecom-notification-card-content.is-expanded p {
  max-height: none;
  overflow: visible;
}

.dls-ecom-main__content__notifications .dls-ecom-notification-card-content.is-collapsed p {
  max-height: calc(22px * 8);
  overflow: hidden;
  position: relative;
}

.dls-ecom-main__content__notifications .dls-ecom-notification-card-content a{
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  color: #049EAD;
  display: none;
}

.dls-ecom-main__content__notifications .dls-ecom-notification-card-content.js-processed a {
  display: inline-block;
  text-decoration: none;
}

.dls-ecom-main__content__notifications .dls-ecom-notification-card-content-date{
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #717D8D;
}

.time-ago{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.time-ago::after{
  content:"";
  width:10px;
  height:10px;
  border-radius:50%;
  background:#049EAD;
  flex:0 0 10px;
}

@media (max-width: 1200px){
  .notification-breadcrumb{
    padding: 0 .75rem;
  }
}
@media (max-width: 991px) {
  .dls-ecom-main__content__notifications .dls-ecom-notification-card{
    display: grid;
    border-radius: 0;
  }
  .dls-ecom-main__content__notifications .dls-ecom-notification-card-body{
    min-height: unset;
  }

  .dls-ecom-main__content__notifications .dls-ecom-notification-card-content h2{
    font-size: 24px;
  }

  .dls-ecom-main__content__notifications .dls-ecom-notification-card-content.is-collapsed p {
    max-height: calc(22px * 3);
    margin-bottom: 0;
  }

  .dls-ecom-main__content__notifications .dls-ecom-notification-card-image{
    margin: 0 auto;
  }
}
/* Notifications Page Styles End */

/* Notifications Home Block Styles  */
.dls-ecom-main__block__notification-pop-up .dls-tags {
  display: none;
}

.notification-pop-up {
  position: absolute;
  right: 303px;
  top: 102px;
  width: 380px;
  background: #fff;
  border-radius: 4px;
  overflow: visible;
  display: none;
  flex-direction: column;
  z-index: 500;
}

.notification-pop-up::before {
  content: "";
  position: absolute;
  top: -12px;
  right: 30px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #fff;
}

.notification-pop-up.active {
  display: flex;
}

.notif-close {
  display: none;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #2e3a49;
  font-size: 16px;
}

.notification-header {
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  padding: 16px 10px;
  border-bottom: 1px solid #DEE3ED;
  display: flex;
  justify-content: center;
  align-items: center;
}

.notification-list .empty-notification {
  display: flex;
  justify-content: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  padding: 20px 0;
}

.notification-item {
  display: flex;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid #DEE3ED;
  cursor: pointer;
}

.notification-item.unread {
  background: #E6F5F7;
}

.notification-item img {
  width: 72px;
  height: 72px;
  border-radius: 4px;
  object-fit: cover;
}

.notification-item .notification-title {
  margin: 0 0 4px;
  font-weight: 700;
  line-height: 22px;
  color: #222943;
}

.notification-item .notification-title .notif-dot {
  display: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #049EAD;
  vertical-align: middle;
  margin-left: 6px;
}

.notification-item.unread .notification-title .notif-dot {
  display: inline-block;
}

.notification-item p {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  margin: 0;
  color: #586473;
  max-height: calc(18px * 3);
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.notification-item .time {
  font-size: 12px;
  line-height: 15px;
  font-weight: 400;
  color: #717D8D;
}

.notification-footer {
  text-align: center;
  padding: 20px 0;
}

.notification-footer a {
  font-size: 16px;
  line-height: 22px;
  color: #049EAD;
  font-weight: 700;
  text-decoration: none;
}

.notification-footer a:hover {
  text-decoration: none;
  color: #049EAD;
}

.notification-overlay {
  position: fixed;
  top: 102px;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.notification-pop-up.active + .notification-overlay {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 1200px) {
  .notification-pop-up {
    right: 315px;
  }
}

@media (max-width: 991px) {
  .notification-overlay {
    display: none;
  }

  .notification-pop-up {
    position: fixed;
    inset: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    border-radius: 0;
    margin-top: 0;
    overflow: auto;
    background-color: rgb(248, 249, 251);
  }

  .notif-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .notification-header {
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    border-bottom: none;
    text-align: left;
    justify-content: space-between;
    background-color: #fff;
  }

  .notification-list{
    background-color: #fff;
  }

  .notification-footer {
    padding: 25px 0;
  }

  .notification-footer a {
    color: white;
    background-color: #002855;
    padding: 11px 30px;
    border-radius: 100px;
    margin-top: 16px;
  }
}
/* Notifications Home Block Styles End */
