#toastContainer {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    min-width: 300px;
    max-width: 450px;
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    pointer-events: auto;
    animation: slide-in-toast 0.3s ease-out;
    border-left: 4px solid #3b82f6;
    color: #1e293b;
}

.toast.hide {
    animation: slide-out-toast 0.3s ease-in forwards;
}

.toast-success { border-left-color: #10b981; }
.toast-error { border-left-color: #ef4444; }
.toast-warning { border-left-color: #f59e0b; }
.toast-info { border-left-color: #3b82f6; }

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.toast-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.toast-success .toast-icon { color: #10b981; }
.toast-error .toast-icon { color: #ef4444; }
.toast-warning .toast-icon { color: #f59e0b; }
.toast-info .toast-icon { color: #3b82f6; }

.toast-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-close:hover {
    background: #f1f5f9;
    color: #475569;
}

@keyframes slide-in-toast {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slide-out-toast {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Dark mode support */
body.dark-mode .toast {
    background: #1e293b;
    color: #f8fafc;
    border-color: #334155;
}

body.dark-mode .toast-success { border-left-color: #10b981; }
body.dark-mode .toast-error { border-left-color: #ef4444; }
body.dark-mode .toast-warning { border-left-color: #f59e0b; }
body.dark-mode .toast-info { border-left-color: #3b82f6; }

body.dark-mode .toast-close:hover {
    background: #334155;
    color: #f8fafc;
}
