#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000; /* Extremely high to stay on top */
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none; /* Allows clicking through the container gaps */
}

.toast {
    pointer-events: auto; /* Makes the actual toast clickable */
    min-width: 250px;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-family: sans-serif;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideIn 0.3s ease-out;
    cursor: pointer;
    transition: all 0.3s ease-in;
}

/* Specific Type Colors */
.toast.success { background: #2ecc71 !important; }
.toast.error   { background: #e74c3c !important; }
.toast.info    { background: #3498db !important; }
.toast.warning { background: #f1c40f !important; color: #333 !important; }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast.fade-out {
    opacity: 0;
    transform: translateX(100%);
}