.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;

    min-width: 260px;
    max-width: 360px;

    padding: 13px 16px;

    background: #202124;
    color: #fff;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;

    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;

    z-index: 99999;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* =========================
   TOAST TYPES
   ========================= */

/* Success */
.toast.success {
    background: #22c55e;
    color: #fff;
}

/* Warning */
.toast.warning {
    background: #f59e0b;
    color: #fff;
}

/* Error */
.toast.error {
    background: #ef4444;
    color: #fff;
}


/* =========================
   TOAST ICON
   ========================= */

.toast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    margin-right: 8px;

    border-radius: 50%;

    color: #fff;

    font-size: 12px;
    font-weight: 800;

    line-height: 1;

    flex: none;
}


/* Icon success */
.toast-icon.toast-success {
    background: #16a34a;
}


/* Icon warning */
.toast-icon.toast-warning {
    background: #d97706;
}


/* Icon error */
.toast-icon.toast-error {
    background: #dc2626;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 520px) {

    .toast {
        right: 16px;
        bottom: 16px;
        left: 16px;

        min-width: 0;
        max-width: none;

        text-align: center;
    }

}