.pp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    z-index: 9999;

    /* center */
    align-items: center;
    justify-content: center;
    padding: 24px;

    /* belangrijk: overlay mag clicks ontvangen */
    pointer-events: auto;
}

.pp-modal {
    background: #fff;
    width: min(520px, 100%);
    padding: 20px;
    position: relative;

    /* belangrijk: modal boven overlay en klikbaar */
    z-index: 10000;
    pointer-events: auto;
}

.pp-overlay[style*="display: block"] {
    display: flex !important;
}

.pp-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.pp-button {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 14px;
    text-decoration: none;
    border: 1px solid #111;
    cursor: pointer;

    /* extra zekerheid dat hij boven alles zit */
    position: relative;
    z-index: 10001;
}
