.wbkb-toast-container {
    position: fixed;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999999;
    pointer-events: none;
}

.wbkb-toast-container {
    bottom: 20px;
    right: 20px;
}

.wbkb-toast {
    position: relative;
    min-width: 300px;
    max-width: 420px;
    padding: 14px 18px;
    box-sizing: border-box;

    background: var(--wbkb-toast-bg, #fff);
    color: var(--wbkb-toast-color, #222);
    border-radius: var(--wbkb-toast-radius, 16px);
    border-right: 4px solid var(--wbkb-toast-border, #03adb5);

    box-shadow: 0 10px 30px rgba(0,0,0,.15);

    opacity: 0;
    transform: translateX(120%) scale(0.9);
    transition: transform .45s cubic-bezier(.23,1.01,.32,1), opacity .45s ease-out;
    pointer-events: auto;
	user-select: none;
}

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

.wbkb-toast.hide {
    opacity: 0;
    transform: translateX(120%) scale(.9);
}

.wbkb-toast-body {
    font-size: 14px;
    line-height: 1.6;
    padding-right: 22px;
}

.wbkb-toast-close {
    position: absolute;
    top: 12px;
    right: 10px; 
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.7;
    pointer-events: auto;
    transition: opacity .2s;
}
.wbkb-toast-close:hover {
    opacity: 1;
}

.wbkb-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: var(--wbkb-toast-progress, #03adb5);
    transform-origin: left center;
    animation-name: wbkbProgress;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes wbkbProgress {
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
}


/* =====================================
   SUCCESS
===================================== */

.wbkb-toast-success {

    box-shadow:
    0 10px 30px rgba(0,0,0,.15),
    0 0 0 rgba(20,172,83,0);

}

.wbkb-toast-success.show {

    animation:
        wbkbSuccessIn .6s cubic-bezier(.22,1,.36,1) forwards,
        wbkbSuccessGlow 1s ease;

}

.wbkb-toast-success.hide {

    animation:
        wbkbSuccessOut .45s cubic-bezier(.55,.05,.67,.19) forwards;

}

/*
|--------------------------------------------------------------------------
| ورود
|--------------------------------------------------------------------------
*/

@keyframes wbkbSuccessIn {

    0%{
        opacity:0;
        transform:
        translateX(120%)
        scale(.85);
    }

    65%{
        opacity:1;
        transform:
        translateX(-10px)
        scale(1.04);
    }

    100%{
        opacity:1;
        transform:
        translateX(0)
        scale(1);
    }

}

/*
|--------------------------------------------------------------------------
| خروج
|--------------------------------------------------------------------------
*/

@keyframes wbkbSuccessOut {

    0%{
        opacity:1;
        transform:
        translateX(0)
        scale(1);
    }

    25%{
        opacity:1;
        transform:
        translateX(-12px)
        scale(1.02);
    }

    100%{
        opacity:0;
        transform:
        translateX(120%)
        scale(.9);
    }

}

/*
|--------------------------------------------------------------------------
| Glow Effect
|--------------------------------------------------------------------------
*/

@keyframes wbkbSuccessGlow {

    0%{
        box-shadow:
        0 10px 30px rgba(0,0,0,.15),
        0 0 0 rgba(20,172,83,0);
    }

    50%{
        box-shadow:
        0 10px 30px rgba(0,0,0,.15),
        0 0 25px rgba(20,172,83,.35);
    }

    100%{
        box-shadow:
        0 10px 30px rgba(0,0,0,.15),
        0 0 0 rgba(20,172,83,0);
    }

}
/* =====================================
   ERROR
===================================== */

.wbkb-toast-error.show {

    animation:
        wbkbErrorIn .45s ease forwards,
        wbkbErrorShake .45s ease .45s;

}

@keyframes wbkbErrorIn {

    0%{
        opacity:0;
        transform:
        scale(.7);
    }

    100%{
        opacity:1;
        transform:
        scale(1);
    }

}

@keyframes wbkbErrorShake {

    0%{
        transform:translateX(0);
    }

    20%{
        transform:translateX(-5px);
    }

    40%{
        transform:translateX(5px);
    }

    60%{
        transform:translateX(-4px);
    }

    80%{
        transform:translateX(4px);
    }

    100%{
        transform:translateX(0);
    }

}

/* =====================================
   WARNING
===================================== */

.wbkb-toast-warning.show {

    animation:
        wbkbWarningIn .45s ease forwards;

}

@keyframes wbkbWarningIn {

    0%{
        opacity:0;
        transform:
        translateY(25px)
        scale(.9);
    }

    100%{
        opacity:1;
        transform:
        translateY(0)
        scale(1);
    }

}

/* =====================================
   INFO
===================================== */

.wbkb-toast-info.show {

    animation:
        wbkbInfoIn .45s ease forwards;

}

@keyframes wbkbInfoIn {

    0%{
        opacity:0;
        transform:
        translateY(-20px);
    }

    100%{
        opacity:1;
        transform:
        translateY(0);
    }

}


.wbkb-toast-success.hide{
    animation:
    wbkbSuccessOut .45s cubic-bezier(.55,.05,.67,.19) forwards;
}