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

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 340px;
    max-width: 420px;
    padding: 18px 20px;
    border-radius: 12px;
    background: #fff;
    border-left: 4px solid #2563ff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    font-size: 16px;
    color: #222;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: auto;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.hide {
    opacity: 0;
    transform: translateX(30px);
}

.toast-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: bold;
}

.toast.success .toast-icon { background: #e8f0ff; color: #2563ff; }
.toast.error   .toast-icon { background: #fee2e2; color: #dc2626; }
.toast.info    .toast-icon { background: #e8f0ff; color: #2563ff; }

.toast.error { border-left-color: #dc2626; }

.toast-message { flex: 1; line-height: 1.4; }

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
}
.toast-close:hover { color: #555; }