.app-confirm[hidden] {
    display: none;
}

.app-confirm {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.app-confirm__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 25, 0.48);
    backdrop-filter: blur(3px);
}

.app-confirm__panel {
    position: relative;
    width: min(100%, 27rem);
    border: 1px solid rgba(128, 0, 0, 0.22);
    border-radius: 8px;
    background: var(--pm-surface, #fff);
    box-shadow: 0 24px 70px rgba(29, 39, 54, 0.24);
    padding: 1.5rem;
    outline: none;
}

.app-confirm__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    background: #ffdad6;
    color: #800000;
}

.app-confirm__icon .material-symbols-outlined {
    font-size: 1.75rem;
}

.app-confirm__title {
    margin: 0 0 0.5rem;
    color: var(--pm-primary, #570000);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
}

.app-confirm__message {
    margin: 0;
    color: var(--pm-on-surface-variant, #5f6572);
    font-size: 0.95rem;
    line-height: 1.55;
}

.app-confirm__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.app-confirm__submit {
    min-width: 8.5rem;
}

@media (max-width: 480px) {
    .app-confirm {
        align-items: end;
        padding: 0.75rem;
    }

    .app-confirm__panel {
        width: 100%;
        padding: 1.25rem;
    }

    .app-confirm__actions {
        flex-direction: column-reverse;
    }

    .app-confirm__actions .pm-btn {
        width: 100%;
        justify-content: center;
    }
}
