.iziToast-wrapper {
    gap: 5px;
}

:root {
    --toast-message: #1f2937;
}

[data-theme=dark] {
    --toast-message: #e5e7eb;
}

.iziToast {
    --toast-accent: #1ea1f2;
    --toast-surface: #f3faff;
    --toast-border: rgba(30, 161, 242, 0.22);
    background-color: var(--toast-surface) !important;
    border: 1px solid var(--toast-border) !important;
    box-shadow: 0 0 8px 2px #00000012;
    border-radius: 10px;
    overflow: hidden;
    padding: 20px 45px 20px 0;
    color: var(--toast-message);
}

.iziToast>.iziToast-body {
    position: unset;
    padding: unset;
    height: unset;
    min-height: unset;
    margin: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-left: 20px !important;

}

.iziToast:after {
    box-shadow: none;
}

.iziToast>.iziToast-body .iziToast-icon {
    position: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    line-height: 1;
    margin-top: unset;
    width: unset;
    height: unset;
}

.iziToast .iziToast-icon {
    border-radius: 10px;
    padding: 10px;
}

.iziToast.iziToast-color-green {
    --toast-accent: #28c76f;
    --toast-surface: #e5f8ed;
    --toast-border: rgba(40, 199, 111, 0.22);
}

.iziToast.iziToast-color-red {
    --toast-accent: #eb2222;
    --toast-surface: #ffeaeb;
    --toast-border: rgba(235, 34, 34, 0.22);
}

.iziToast.iziToast-color-blue {
    --toast-accent: #1ea1f2;
    --toast-surface: #e6f6fe;
    --toast-border: rgba(30, 161, 242, 0.22);
}

.iziToast.iziToast-color-orange {
    --toast-accent: #ff9e43;
    --toast-surface: #fff1e2;
    --toast-border: rgba(255, 158, 67, 0.24);
}


.iziToast>.iziToast-body .iziToast-texts {
    margin: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.iziToast>.iziToast-body .iziToast-message {
    margin: 0;
    color: var(--toast-message) !important;
    font-weight: 500;
}


.iziToast>.iziToast-close {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    background: unset;
}

.iziToast>.iziToast-close::before {
    content: "\f00d";
}

.iziToast>.iziToast-progressbar>div {
    height: 4px;
}

.iziToast>.iziToast-close {
    width: 50px;
}



/* Toast Design Update Start */
[data-theme=dark] .iziToast {
    --toast-surface: #102330;
    --toast-border: rgba(30, 161, 242, 0.3);
}

[data-theme=dark] .iziToast-title {
    color: var(--toast-accent) !important;
}

[data-theme=dark] .iziToast-close {
    color: var(--toast-message) !important;
}

.iziToast>.iziToast-body {
    gap: 10px;
}

.iziToast>.iziToast-body .iziToast-icon {
    --size: 25px;
    position: unset;
    font-size: 0.875rem !important;
    height: var(--size) !important;
    width: var(--size) !important;
    align-self: center;
    overflow: hidden;
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    color: hsl(var(--white)) !important;
    background-color: var(--toast-accent) !important;
}

.iziToast {
    padding-block: 12px !important;
    border-radius: 80px !important;
    min-height: 50px !important;
}


.iziToast-title {
    color: var(--toast-accent) !important;
}

.iziToast.iziToast-color-green {
    --toast-accent: #28c76f;
}

.iziToast.iziToast-color-red {
    --toast-accent: #eb2222;
}

.iziToast.iziToast-color-blue {
    --toast-accent: #1ea1f2;
}

.iziToast.iziToast-color-orange {
    --toast-accent: #ff9e43;
}

[data-theme=dark] .iziToast.iziToast-color-green {
    --toast-surface: #153321;
    --toast-border: rgba(40, 199, 111, 0.3);
}

[data-theme=dark] .iziToast.iziToast-color-red {
    --toast-surface: #391a1d;
    --toast-border: rgba(235, 34, 34, 0.3);
}

[data-theme=dark] .iziToast.iziToast-color-blue {
    --toast-surface: #163544;
    --toast-border: rgba(30, 161, 242, 0.3);
}

[data-theme=dark] .iziToast.iziToast-color-orange {
    --toast-surface: #382714;
    --toast-border: rgba(255, 158, 67, 0.3);
}

.iziToast>.iziToast-progressbar {
    width: 0 !important;
}

@media screen and (max-width:567px) {
    .iziToast-wrapper-topCenter {
        top: 10px !important;
        left: 10px !important;
        right: 10px !important;
    }

    .iziToast-wrapper {
        width: calc(100% - 20px) !important;
    }

    .iziToast {
        border-radius: 30px !important;
    }
}
