@layer toastify {
    .toastify {
        position: fixed;
        max-width: 550px;
        width: max-content;
        display: flex;
        align-items: center;
        padding: 12px 20px;
        color: var(--content-primary);
        text-decoration: none;
        border-radius: 4px;
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
        cursor: pointer;
        z-index: 1000;
        font-size: 16px;
        background-color: var(--bg-secondary);
        border: 1px solid var(--border-light);
        gap: 4px;
    }
    .toast-content {
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .toastify.info {
        background: hsl(0, 74%, 42%);
    }

    .toastify.error {
        color: var(--content-primary);
        box-shadow:
            0 4px 6px -1px rgb(0 0 0 / 0.1),
            0 2px 4px -2px rgb(0 0 0 / 0.1);
    }

    .toastify.success {
        background: hsl(161, 94%, 30%);
    }

    .toastify.on {
        opacity: 1;
    }

    .toast-close {
        color: var(--content-primary);
        font-family: inherit;
        font-size: 1em;
        background: transparent;
        border: 0;
        opacity: 0.75;
        transition: opacity 150ms ease;
        cursor: pointer;
        display: flex;
        align-items: center;
    }
    .toast-close svg path {
        fill: var(--content-primary);
    }
    .toast-close:hover {
        opacity: 1;
    }

    .toastify-right {
        right: 15px;
    }

    .toastify-left {
        left: 15px;
    }

    .toastify-top {
        top: -150px;
    }

    .toastify-bottom {
        bottom: -150px;
    }

    .toastify-rounded {
        border-radius: 25px;
    }

    .toastify-avatar {
        width: 1.5em;
        height: 1.5em;
        margin: -7px 5px;
        border-radius: 2px;
    }

    .toastify-center {
        left: 0;
        right: 0;
        max-width: fit-content;
        max-width: -moz-fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    @media only screen and (max-width: 360px) {
        .toastify-left,
        .toastify-right {
            left: 0;
            right: 0;
            max-width: fit-content;
            margin-left: auto;
            margin-right: auto;
        }
    }
}
