#toast-container {
   position: fixed;
   top: 20px;
   left: 50%;
   transform: translateX(-50%);
   display: flex;
   flex-direction: column;
   gap: 10px;
   align-items: center;
   overflow: hidden;
   height: auto;
   z-index: 9999;
   pointer-events: none;
   /* ignore clicks */
}

/* Individual banner message */
.toast-message {
   background-color: #2563eb;
   /* default blue */
   color: white;
   padding: 12px 36px 12px 20px;
   border-radius: 8px;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
   font-family: sans-serif;
   font-size: 16px;
   opacity: 0;
   transform: translateY(-20px);
   transition: all 0.4s ease;
   pointer-events: auto;
   min-width: 250px;
   text-align: center;
   user-select: none;
}

/* Visible animation */
.toast-message.show {
   opacity: 1;
   transform: translateY(0);
}

/* Fade-out animation */
.toast-message.hide {
   opacity: 0;
   transform: translateY(-20px);
}

/* Close button */
.toast-close {
   position: absolute;
   top: 6px;
   right: 10px;
   color: white;
   font-weight: bold;
   font-size: 18px;
   cursor: pointer;
   opacity: 0.7;
   transition: opacity 0.2s ease;
}

.toast-close:hover {
   opacity: 1;
}

/* Color variations */
#toast-message.success {
   background-color: #16a34a;
}

/* green */
#toast-message.error {
   background-color: #dc2626;
}

/* red */
#toast-message.info {
   background-color: #2563eb;
}

/* blue */