.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;

    background: rgba(255, 255, 255, 0.96);
    color: #1f2937;
    padding: 14px 20px;
    border-radius: 14px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid #e5e7eb;

    font-size: 14px;
    font-weight: 500;

    display: flex;
    align-items: center;
    gap: 10px;

    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.toast::before {
    content: "!";
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;

    font-weight: 700;
}

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

@media (max-width: 600px) {
    .toast {
        top: 16px;
        left: 16px;
        right: 16px;
        justify-content: center;
        text-align: center;
    }
}

/* =========================
   SAVING TOAST
   ========================= */

#savingToast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    min-width: 280px;
    padding: 16px 20px 19px;
    background: #ffffff;
    color: #222222;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 0.3s ease;
    z-index: 9999;
    overflow: hidden;
}

#savingToast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.savingToastBar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #e5e7eb;
    overflow: hidden;
}

.savingToastProgress {
    width: 40%;
    height: 100%;
    background: #2563eb;
    animation: savingProgress 1.5s ease-in-out infinite;
}

@keyframes savingProgress {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(150%);
    }

    100% {
        transform: translateX(300%);
    }
}