@keyframes app-notyf-enter {
    0% {
        opacity: 0;
        transform: translate3d(18px, -4px, 0) scale(0.985);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes app-notyf-progress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

@keyframes app-notyf-mobile-enter {
    0% {
        opacity: 0;
        transform: translate3d(0, -14px, 0) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes app-notyf-mobile-exit {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        opacity: 0;
        transform: translate3d(0, -10px, 0) scale(0.985);
    }
}

.notyf {
    gap: 10px;
    padding: 18px;
    z-index: 11000;
}

.notyf__toast.app-notyf {
    background: linear-gradient(135deg, #ffffff 0%, #fbfdfe 100%) !important;
    border: 1px solid rgba(15, 58, 82, 0.11);
    border-radius: 14px;
    box-shadow: 0 14px 38px rgba(11, 48, 71, 0.14), 0 2px 8px rgba(11, 48, 71, 0.06);
    color: #17384d;
    margin: 0;
    max-width: 440px;
    min-width: 330px;
    overflow: hidden;
    padding: 0;
    position: relative;
    transform: translate3d(18px, -4px, 0) scale(0.985);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    animation: app-notyf-enter 0.34s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.notyf__toast.app-notyf:hover {
    border-color: rgba(15, 58, 82, 0.18);
    box-shadow: 0 18px 44px rgba(11, 48, 71, 0.17), 0 3px 9px rgba(11, 48, 71, 0.07);
}

.notyf__toast.app-notyf::before {
    background: var(--app-notyf-color);
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 3px;
    z-index: 12;
}

.notyf__toast.app-notyf::after {
    animation: app-notyf-progress 5.5s linear forwards;
    background: var(--app-notyf-color);
    bottom: 0;
    content: "";
    height: 2px;
    left: 3px;
    opacity: 0.7;
    position: absolute;
    right: 0;
    transform-origin: left center;
    z-index: 12;
}

.app-notyf--success {
    --app-notyf-color: #13734a;
    --app-notyf-soft: #eaf7f0;
}

.app-notyf--error {
    --app-notyf-color: #b4232f;
    --app-notyf-soft: #fff0f1;
}

.app-notyf--error::after {
    animation-duration: 7s !important;
}

.app-notyf--warning {
    --app-notyf-color: #a86408;
    --app-notyf-soft: #fff6e5;
}

.app-notyf--warning::after {
    animation-duration: 6.5s !important;
}

.app-notyf--info {
    --app-notyf-color: #135f86;
    --app-notyf-soft: #eaf5fb;
}

.app-notyf .notyf__wrapper {
    align-items: center;
    min-height: 68px;
    padding: 14px 46px 14px 16px;
}

.app-notyf .notyf__icon {
    align-items: center;
    animation: none;
    background: var(--app-notyf-color);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 5px 12px color-mix(in srgb, var(--app-notyf-color) 22%, transparent);
    color: #ffffff !important;
    display: inline-flex;
    flex: 0 0 38px;
    font-size: 15px;
    height: 38px;
    justify-content: center;
    margin-right: 12px;
    opacity: 1;
    width: 38px;
}

.app-notyf .notyf__icon i {
    color: #ffffff !important;
}

.app-notyf .notyf__message {
    animation: none;
    color: #102f42;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.45;
    opacity: 1;
    overflow-wrap: anywhere;
    padding: 0;
}

.app-notyf .notyf__dismiss {
    animation: none;
    height: 32px;
    margin: 0;
    opacity: 1;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
}

.app-notyf .notyf__dismiss-btn {
    background: transparent;
    border-radius: 50%;
    opacity: 1;
    transition: background-color 0.18s ease;
}

.app-notyf .notyf__dismiss-btn::before,
.app-notyf .notyf__dismiss-btn::after {
    background: #81919b;
    height: 11px;
    width: 1.5px;
}

.app-notyf .notyf__dismiss-btn:hover,
.app-notyf .notyf__dismiss-btn:focus {
    background: #edf2f5;
    opacity: 1;
}

.notyf__toast.app-notyf:hover::after {
    animation-play-state: paused;
}

.notyf__toast--disappear.app-notyf {
    animation: notyf-fadeoutright 0.28s ease forwards;
    transform: translateX(0);
}

@media (max-width: 575.98px) {
    .notyf {
        align-items: center;
        gap: 10px;
        padding: 12px;
        padding-top: max(12px, env(safe-area-inset-top));
    }

    .notyf__toast.app-notyf {
        animation: app-notyf-mobile-enter 0.36s cubic-bezier(0.22, 1, 0.36, 1) forwards;
        background: rgba(255, 255, 255, 0.98) !important;
        border-color: rgba(15, 58, 82, 0.13);
        border-radius: 18px;
        box-shadow: 0 16px 40px rgba(8, 38, 57, 0.2), 0 3px 10px rgba(8, 38, 57, 0.08);
        max-width: 500px;
        min-width: 0;
        width: 100%;
    }

    .app-notyf .notyf__wrapper {
        min-height: 74px;
        padding: 15px 49px 15px 16px;
    }

    .app-notyf .notyf__icon {
        flex-basis: 40px;
        font-size: 16px;
        height: 40px;
        margin-right: 13px;
        width: 40px;
    }

    .app-notyf .notyf__message {
        color: #0d2c3e;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.45;
    }

    .app-notyf .notyf__dismiss {
        height: 40px;
        right: 7px;
        width: 40px;
    }

    .notyf__toast--disappear.app-notyf {
        animation: app-notyf-mobile-exit 0.24s ease forwards;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .notyf__toast.app-notyf,
    .notyf__toast.app-notyf::after {
        animation-duration: 0.01ms !important;
    }
}
