/* CONFIRM DIALOG */
.confirm-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,27,45,.3);
    backdrop-filter: blur(3px);
    z-index: 1500;
    align-items: center;
    justify-content: center;
    &.open {
        display: flex;
    }
    & .confirm-box {
        background: var(--surface);
        border-radius: 12px;
        box-shadow: var(--sh-md);
        padding: 1.5rem;
        max-width: 360px;
        width: 100%;
        animation: pop 0.5s ease;
        & .confirm-title {
            font-family: 'Geologica', sans-serif;
            font-size: 1rem;
            font-weight: 500;
            color: var(--ink);
            margin-bottom: .5rem;
        }
        & .confirm-sub {
            font-size: .875rem;
            color: var(--ink-soft);
            margin-bottom: 1.25rem;
            line-height: 1.5;
            & strong {
                color: var(--ink);
            }
        }
        & .confirm-actions {
            display: flex;
            gap: .625rem;
            justify-content: flex-end;
            & .btn-confirm {
                padding: .5rem 1.125rem;
                font-family: inherit;
                font-size: .875rem;
                font-weight: 500;
                background: var(--red);
                color: var(--surface);
                border: none;
                border-radius: 7px;
                cursor: pointer;
                transition: background .15s;
                &:hover {
                    background: var(--red-hover);
                }
            }
            & .btn-cancel {
                padding: .5rem 1rem;
                font-family: inherit;
                font-size: .875rem;
                font-weight: 500;
                background: var(--bg);
                color: var(--ink-mid);
                border: 1.5px solid var(--border);
                border-radius: 7px;
                cursor: pointer;
                transition: all .15s;
                &:hover {
                    border-color: var(--border-hover);
                }
            }
        }
    }
}
@keyframes pop {
    from {
        opacity: 0;
        transform: scale(.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}