.toast.toast-container {
    position: fixed;
    top: 1rem;
    inset-inline-start: 1rem;
    inset-inline-end: 1rem;
    z-index: 1000001;
}

@media (min-width: 768px) {
    .toast.toast-container {
        inset-inline-start: auto;
    }
}

.toast > .toast-message {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.75rem;
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
    padding-inline-start: 30px;
    --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

@media (min-width: 768px) {
    .toast > .toast-message {
        width: 24rem;
    }
}

.toast > .toast-message {
    opacity: 0;
    transition: all .2s linear;
    margin-bottom: 13px;
}

.toast > .toast-message > div {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
}

.toast > .toast-message > div > .toast-content {
    z-index: 10;
}

.toast > .toast-message > div .toast-content-container {
    flex: 1 1 0%;
}

.toast > .toast-message > div .toast-content-container .toast-buttons {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
}

.toast > .toast-message > div .toast-content-container .toast-buttons > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

@media (min-width: 640px) {
    .toast > .toast-message > div .toast-content-container .toast-buttons {
        flex-direction: row;
    }

    .toast > .toast-message > div .toast-content-container .toast-buttons > :not([hidden]) ~ :not([hidden]) {
        --tw-space-y-reverse: 0;
        margin-top: calc(0px * calc(1 - var(--tw-space-y-reverse)));
        margin-bottom: calc(0px * var(--tw-space-y-reverse));
        margin-right: calc(0.5rem * var(--tw-space-x-reverse));
        margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
        --tw-space-x-reverse: 1;
    }
}

.toast > .toast-message.success::before {
    position: absolute;
    inset-inline-start: -3.5rem;
    min-height: 80px;
    width: 5rem;
    border-radius: 9999px;
    --tw-bg-opacity: 1;
    background-color: rgb(34 197 94 / var(--tw-bg-opacity));
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(15px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
    --tw-ring-opacity: 1;
    --tw-ring-color: rgb(220 252 231 / var(--tw-ring-opacity));
    content: '';
}

.toast > .toast-message.error::before {
    position: absolute;
    inset-inline-start: -3.5rem;
    z-index: 0;
    min-height: 80px;
    width: 5rem;
    border-radius: 9999px;
    --tw-bg-opacity: 1;
    background-color: rgb(239 68 68 / var(--tw-bg-opacity));
    --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
    --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(15px + var(--tw-ring-offset-width)) var(--tw-ring-color);
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
    --tw-ring-opacity: 1;
    --tw-ring-color: rgb(254 226 226 / var(--tw-ring-opacity));
    content: '';
}

.toast > .toast-message > div > .toast-close {
    margin-inline-start: 1.25rem;
    cursor: pointer;
    border-radius: 9999px;
    --tw-bg-opacity: 1;
    background-color: rgb(250 250 250 / var(--tw-bg-opacity));
    padding: 0.5rem;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.toast > .toast-message > div > .toast-close:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(245 245 245 / var(--tw-bg-opacity));
}

.toast > .toast-message > div > .toast-close > span {
    height: 13px;
    width: 13px;
    --tw-bg-opacity: 1;
    background-color: rgb(163 163 163 / var(--tw-bg-opacity));
}

.toast > .toast-message.should-open {
    opacity: 1;
}

.toast > .toast-message.should-close {
    opacity: 0;
    max-height: 0 !important;
    margin-bottom: 0;
}