#noti-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none; 
}

#noti-container.left {
    right: auto;
    left: 20px;
}
  
.noti {
    position: relative;
    background-color: #111;
    color: white;
    padding: 16px 20px 20px 20px;
    width: 300px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    overflow: hidden;
    animation: fadeInUp 0.4s forwards;
}
  
.noti-topic {
    margin-bottom: 5px;
    font-size: 13px;
    opacity: 0.85;
}
  
.noti-message {
    font-size: 14px;
}
  
.noti-success {
    background-color: #28a745;
}
.noti-error {
    background-color: #dc3545;
}
.noti-info {
    background-color: #007bff;
}
.noti-warning {
    background-color: #ffc107;
    color: #111;
}
  
.noti::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    animation: progressBar 3.5s linear forwards;
}
  
@keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}
@keyframes fadeOut {
    to {
      opacity: 0;
      transform: translateY(-20px);
    }
}
  
@keyframes progressBar {
    from {
      width: 100%;
    }
    to {
      width: 0%;
    }
}

@media (max-width: 768px) {
    .noti {
        padding: 8px 10px 10px 10px;
        width: 150px;
        font-size: 7px;
    }
}