/* Alert container */
#alertContainer {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 11000 !important;
  }
  .alertContainer {
    opacity: 1 !important;
    visibility: visible !important;
  }
  

/* Notification container */
#notification-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1030;
    border-radius: 5px; /* Add border-radius for better appearance */   
}

#aggregate-toast {
    width: 30rem;
    border: #ff3c00 1px solid;

}

/* Individual notification */
.notification {


    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slide-in 0.5s ease-out;
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(100px);
    }
}

/* Close button */
.close-btn {
    background: none;
    border: none;
    color: #f5f5f5;
    font-size: 16px;
    cursor: pointer;
}

.close-btn:hover {
    color: #ff5c5c;
}

.notification-badge {
    font-size: 0.75rem; /* Make the badge text smaller */
    padding: 0.25em 0.4em; /* Adjust the padding for a smaller badge */
    border-radius: 50%; /* Make the badge round */
    background-color: red; /* Badge color */
    color: white; /* Text color */
    min-width: 1.5em; /* Ensure it has a minimum width */
    min-height: 1.5em; /* Ensure it has a minimum height */
    line-height: 1em; /* Center the text vertically */
    text-align: center; /* Center the text horizontally */
}
