#toast-container {
    position: fixed;
    bottom: 30px; /* Distance from bottom */
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    display: flex;
    flex-direction: column-reverse; /* Newest toast appears on top */
    gap: 10px;
    pointer-events: none; /* Allows clicking elements behind the container */
}

.toast-msg {
    pointer-events: auto; /* Re-enable clicking for the toast itself */
    min-width: 300px;
    padding: 12px 20px;
    color: white;
    border-radius: 20px; /* Pill shape looks better for bottom-center */
    font-family: Montserrat,Helvetica,Arial,sans-serif !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Success & Error Colors */
.toast-msg.success { background-color: #ACCA3D; border: 1px solid #fff; }
.toast-msg.error { background-color: #DF3427; border: 1px solid #fff; }
.toast-msg.warning {
    background-color: #ffc107;
    border: 1px solid #fff;
   
}

/* Entry Animation */
@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Exit Animation */
.toast-fade-out {
    opacity: 0;
    transform: translateY(20px) translateX(0);
    transition: all 0.5s ease;
}

/* Persistent toast */
.toast-persistent {
    gap: 12px;
    padding-right: 12px;
}

.toast-dismiss {
    align-items: center;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    border-radius: 50%;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    flex-shrink: 0;
    height: 26px;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
    width: 26px;
}

.toast-dismiss:hover {
    background: rgba(255, 255, 255, 0.36);
    transform: scale(1.04);
}

.toast-dismiss .material-symbols-outlined {
    font-size: 17px;
    line-height: 1;
}

