/* =========================
   TOAST NOTIFICATIONS (v2)
   Same look, lower CPU: no backdrop-filter, lighter shadows.
   ========================= */

#ix-toast-container{
    position:fixed;
    bottom:20px;
    right:20px;
    z-index:99999;

    display:flex;
    flex-direction:column;
    gap:12px;

    max-width:380px;
    pointer-events:none; /* container itself doesn't catch clicks */
}

.ix-toast{
    position:relative;
    overflow:hidden;
    pointer-events:auto;

    min-width:320px;
    padding:16px 18px 18px;

    border-radius:14px;

    /* Solid-ish bg instead of backdrop-filter blur — same visual weight, far cheaper */
    background:rgba(13,13,18,.96);
    border:1px solid rgba(255,106,0,.25);

    box-shadow:
        0 8px 24px rgba(0,0,0,.45),
        0 0 14px rgba(255,106,0,.10);

    animation:ixToastIn .3s ease-out;
    will-change:transform, opacity;
}

.ix-toast::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:4px;
    height:100%;

    background:linear-gradient(
        to bottom,
        var(--ix-orange, #ff6a00),
        #d04bff
    );
}

.ix-toast-title{
    color:#fff;
    font-family:'Chakra Petch','Inter',system-ui,sans-serif;
    font-weight:700;
    font-size:15px;
    margin-bottom:6px;
    letter-spacing:.02em;
}

.ix-toast-message{
    color:var(--ix-muted, #a8acb6);
    font-size:13px;
    line-height:1.5;
}

.ix-toast-progress{
    position:absolute;
    left:0;
    bottom:0;

    height:2px;
    width:100%;

    background:linear-gradient(
        90deg,
        var(--ix-orange, #ff6a00),
        #d04bff
    );

    transform-origin:left;
}

.ix-toast-hide{
    animation:ixToastOut .22s ease-in forwards;
}

@keyframes ixToastIn{
    from{ opacity:0; transform:translateX(110%); }
    to  { opacity:1; transform:translateX(0); }
}

@keyframes ixToastOut{
    from{ opacity:1; transform:translateX(0); }
    to  { opacity:0; transform:translateX(110%); }
}

@media (prefers-reduced-motion: reduce){
    .ix-toast,.ix-toast-hide{animation:none!important}
}
