#toast-container {

    &.toast-bottom-center,
    &.toast-top-center {
        >div {
            margin-top: 21px;
            opacity: 1;
            box-shadow: unset;
            border-radius: 5px;
            padding: 14px 24px 14px 49px;
            background-size: 23px;
            position: relative;
            background-color: $white;
            width: max-content;

            &::before {
                @include pos;
                @include center(vertical);
                left: 0;
                width: 3px;
                border-radius: 0 3px 3px 0;
                height: calc(100% - 12px);

                [dir="rtl"] & {
                    left: unset;
                    right: 0;
                    border-radius: 3px 0 0 3px;
                }
            }

            &::after {
                @include pos;
                top: 0;
                left: 0;
                @include pseudowh;
                background-color: $white;
                z-index: -1;

                [dir="rtl"] & {
                    left: unset;
                    right: 0;
                }
            }
        }
    }

    >.toast-success {
        background-image: url(../images/svg/check.svg) !important;

        &::before {
            background-color: $success-color;
        }
    }

    .toast-message {
        font-size: 18px;
        font-weight: 600;
        color: $success-color;
    }

    .toast-success {
        background-color: rgba(52, 119, 196, 0.051);
        border: 2px solid var(--theme-color);

        .toast-message {
            color: var(--theme-color);
        }
    }

    .toast-error {
        background-color: rgba(228, 62, 62, 0.051);
        border: 2px solid #e43e3e;
        background-image: url(../images/svg/error.svg) !important;

        &::before {
            background-color: #e43e3e;
        }

        .toast-message {
            color: #e43e3e;
        }
    }

    .toast-info {
        background-color: rgba(25, 153, 179, 0.05);
        border: 2px solid #1999b3;
        background-image: url(../images/svg/info.svg) !important;

        &::before {
            background-color: #1999b3;
        }

        .toast-message {
            color: #1999b3;
        }
    }

    .toast-warning {
        background-color: rgba(227, 158, 8, 0.051);
        border: 2px solid #e39f08;
        background-image: url(../images/svg/warning.svg) !important;

        &::before {
            background-color: #e39f08;
        }

        .toast-message {
            color: #e39f08;
        }
    }
}