.toast-root{
    position:fixed;
    top:22px;
    right:22px;
    z-index:11001;
    display:flex;
    flex-direction:column;
    gap:12px;
    width:min(390px, calc(100vw - 32px));
}

.toast{
    min-height:58px;
    padding:13px 14px;
    border-radius:18px;
    background:#fff;
    box-shadow:0 18px 44px rgba(15,23,42,.22);
    border:1px solid rgba(30,42,91,.10);
    display:flex;
    align-items:center;
    gap:11px;
    animation:toastIn .22s ease-out;
}

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

.toast .material-icons{
    font-size:24px;
    flex-shrink:0;
}

.toast-message{
    flex:1;
    color:#1E2A5B;
    font-size:13px;
    font-weight:800;
    line-height:1.35;
}

.toast-close{
    width:30px;
    height:30px;
    padding:0;
    border:0;
    border-radius:999px;
    background:#f1f5f9;
    color:#64748b;
    box-shadow:none;
}

.toast-close .material-icons{
    font-size:18px;
}

.toast-success .material-icons:first-child{
    color:#16a34a;
}

.toast-error .material-icons:first-child{
    color:#dc2626;
}

.toast-warning .material-icons:first-child{
    color:#f59e0b;
}

.toast-info .material-icons:first-child{
    color:#2563eb;
}

.confirm-backdrop{
    position:fixed;
    inset:0;
    z-index:8500;
    background:rgba(15,23,42,.62);
    backdrop-filter:blur(7px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.confirm-card{
    width:min(430px, 100%);
    background:#fff;
    border-radius:24px;
    padding:26px;
    box-shadow:0 26px 70px rgba(0,0,0,.28);
    text-align:center;
}

.confirm-icon{
    width:58px;
    height:58px;
    margin:0 auto 14px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,79,0,.12);
    color:#FF4F00;
}

.confirm-icon .material-icons{
    font-size:32px;
}

.confirm-body h3{
    margin:0;
    color:#1E2A5B;
    font-size:20px;
    font-weight:900;
}

.confirm-body p{
    margin:10px 0 0;
    color:#64748b;
    font-size:14px;
    line-height:1.45;
    font-weight:600;
}

.confirm-actions{
    margin-top:22px;
    display:flex;
    justify-content:center;
    gap:10px;
}

.confirm-actions .btn{
    min-width:110px;
}

@keyframes toastIn{
    from{
        opacity:0;
        transform:translateX(24px);
    }
    to{
        opacity:1;
        transform:translateX(0);
    }
}

@keyframes toastOut{
    to{
        opacity:0;
        transform:translateX(24px);
    }
}

@media(max-width:520px){
    .toast-root{
        top:14px;
        right:14px;
        left:14px;
        width:auto;
    }

    .confirm-actions{
        flex-direction:column-reverse;
    }

    .confirm-actions .btn{
        width:100%;
    }
}