.flash-toast {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    min-width: 300px;
    max-width: 90vw;
    z-index: 9999;
    background: #e6f8ed;
    color: #22885a;
    border-radius: 14px;
    box-shadow: 0 4px 20px 0 rgba(40,80,60,0.08);
    padding: 1.1rem 1.7rem 1.1rem 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: .8em;
    opacity: 0;
    pointer-events: none;
    animation: toast-in 0.22s cubic-bezier(.33,1.65,.65,1) forwards;
}
.flash-toast.error {
    background: #ffeaea;
    color: #d03333;
}
.flash-toast .icon {
    flex-shrink: 0;
    font-size: 1.3em;
    margin-right: .2em;
}
.flash-toast .progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    border-radius: 0 0 14px 14px;
    background: linear-gradient(90deg,#73e4ad 0%,#b6efd7 100%);
    transition: width 0.3s;
}
.flash-toast.error .progress {
    background: linear-gradient(90deg,#ffb2b2 0%,#ffeaea 100%);
}
@keyframes toast-in {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px);}
    to { opacity: 1; transform: translateX(-50%) translateY(0);}
}
@keyframes toast-out {
    from { opacity: 1;}
    to { opacity: 0;}
}
