.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(52, 73, 94, .15);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
  visibility: visible;
  opacity: 1;
}

.popup-content {
  width: 720px;
  height: calc(100vh - 20px);
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: popup-appear 0.3s ease;
  margin: 10px;
}

.head, .head p{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 34px;
    font-weight: 500;
}

.notifNb{
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background-color: rgba(255, 92, 0, 1);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.notif-title{
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    color: rgba(52, 73, 94, 1);
}

.notif-list{
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    gap: 20px;
}

.notif-list .notif{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(248, 248, 248, 1);
    padding: 14px 14px 14px 20px;
    border-radius: 20px;
    gap: 20px;
}

.notif-list .notif p{ 
    text-align: left; 
    margin: 0;
}

.notif-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.notif-head p:first-child{
    font-size: 18px;
    font-weight: 500;
}

.checkBtn{
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 16px;
    padding-left: 16px;
    gap: 10px;
    border-radius: 100%;
    background: rgba(52, 73, 94, 0.07);
}

.full{
    width: 100%;
}

@keyframes popup-appear {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 1260px) {
    .popup-content{
        width: 100%;
        height: 100vh;
        margin: 0;
        padding: 20px;
        border-radius: 0;
        overflow-x: hidden;  
        overflow-y: auto; 
    }

    .popup-content p .notifNb{
        width: 24px;
        height: 24px;
        font-weight: 700;
        font-size: 15px;
    }

    .popup-content .head p{
        font-weight: 500;
        font-size: 20px;
    }

    .popup-content .head a{
        width: 46px;
        height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        border-radius: 100px;
        padding-right: 13px;
        padding-left: 13px;
        border: 2px solid #FFFFFF;
        box-shadow: 0px 20px 40px 5px #00000012;
    }

    .popup-content .notif .notif-head{ 
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-start;
        justify-content: revert;
    }

    .popup-content .notif p{
      font-size: 15px !important;
    }
}