.modalOverlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.7);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
    padding:20px;
    backdrop-filter:blur(4px);
}

.modalOverlay.active{
    display:flex;
}

.deleteModal{
    width:100%;
    max-width:420px;
    background:#111;
    border:1px solid #2b2b2b;
    border-radius:24px;
    padding:28px;
    animation:modalPop 0.18s ease;
}

.deleteModal h3{
    margin:0 0 12px;
    color:white;
    font-size:24px;
}

.deleteModal p{
    margin:0;
    color:#9a9a9a;
    line-height:1.7;
}

.modalActions{
    margin-top:28px;
    display:flex;
    justify-content:flex-end;
    gap:12px;
}

.cancelBtn{
    border:none;
    background:#222;
    color:white;
    padding:12px 18px;
    border-radius:14px;
    cursor:pointer;
    transition:0.2s;
}

.cancelBtn:hover{
    background:#2d2d2d;
}

.confirmDeleteBtn{
    border:none;
    background:#cf2233;
    color:white;
    padding:12px 18px;
    border-radius:14px;
    font-weight:600;
    cursor:pointer;
    transition:0.2s;
}

.confirmDeleteBtn:hover{
    background:#eb3144;
}

@keyframes modalPop{

    from{
        opacity:0;
        transform:scale(0.94);
    }

    to{
        opacity:1;
        transform:scale(1);
    }
}

body.light .deleteModal{
    background:white;
    border:1px solid #ddd;
}

body.light .deleteModal h3{
    color:black;
}

body.light .deleteModal p{
    color:#555;
}

body.light .cancelBtn{
    background:#efefef;
    color:black;
}

body.slate .deleteModal{
    background:#1c2430;
    border:1px solid #334155;
}