.toastify.app-toast {
    --app-toast-accent: #2563eb;
    --app-toast-accent-soft: #eff6ff;
    box-sizing: border-box;
    width: min(23.75rem, calc(100vw - 2rem));
    max-width: 23.75rem;
    padding: 0 !important;
    overflow: hidden;
    direction: rtl;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 1.125rem;
    background: #fff !important;
    background-image: none !important;
    color: #0f172a;
    box-shadow:
        0 1.5rem 4rem rgba(15, 23, 42, .14),
        0 .5rem 1.5rem rgba(15, 23, 42, .08);
    cursor: default;
}

.toastify.app-toast--success {
    --app-toast-accent: #16a34a;
    --app-toast-accent-soft: #f0fdf4;
}

.toastify.app-toast--error {
    --app-toast-accent: #dc2626;
    --app-toast-accent-soft: #fef2f2;
}

.toastify.app-toast--info {
    --app-toast-accent: #2563eb;
    --app-toast-accent-soft: #eff6ff;
}

.toastify.app-toast--removed {
    --app-toast-accent: #475569;
    --app-toast-accent-soft: #f1f5f9;
}

.app-toast__body {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    align-items: center;
    gap: .75rem;
    min-height: 4.75rem;
    padding: .875rem .875rem .875rem 3.25rem;
}

.app-toast__icon {
    display: inline-grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border-radius: .875rem;
    background: var(--app-toast-accent-soft);
    color: var(--app-toast-accent);
}

.app-toast__icon svg {
    width: 1.375rem;
    height: 1.375rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.app-toast__copy {
    display: grid;
    min-width: 0;
    gap: .2rem;
}

.app-toast__title {
    overflow: hidden;
    color: #0f172a;
    font: inherit;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.65;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-toast__message {
    display: -webkit-box;
    overflow: hidden;
    color: #64748b;
    font: inherit;
    font-size: .8125rem;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.toastify.app-toast .toast-close {
    position: absolute;
    top: .875rem;
    left: .875rem;
    display: inline-grid;
    width: 1.75rem;
    height: 1.75rem;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: .625rem;
    background: transparent;
    color: #94a3b8;
    font-size: 1.125rem;
    line-height: 1;
    opacity: 1;
    transition: color 160ms ease, background-color 160ms ease;
}

.toastify.app-toast .toast-close:hover {
    background: #f1f5f9;
    color: #334155;
}

.toastify.app-toast .toast-close:focus-visible {
    outline: 2px solid var(--app-toast-accent);
    outline-offset: 2px;
}

.app-toast__progress {
    display: block;
    width: 100%;
    height: .1875rem;
    background: var(--app-toast-accent);
    transform: scaleX(1);
    transform-origin: right center;
    animation-name: app-toast-progress;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes app-toast-progress {
    to {
        transform: scaleX(0);
    }
}

@media (max-width: 639px) {
    .toastify.app-toast {
        width: calc(100vw - 1.5rem);
        max-width: none;
    }

    .app-toast__body {
        min-height: 4.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .toastify.app-toast .toast-close {
        transition: none;
    }

    .app-toast__progress {
        animation: none;
        opacity: .35;
    }
}
