/* ProLock styles (modal + blur) */

#prolock-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay layer (background dim + blur) */
#prolock-modal .prolock-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    z-index: 99998; /* stays below dialog */
}

/* Modal dialog (centered on top of overlay) */
#prolock-modal .prolock-modal-dialog {
    position: relative;
    max-width: 520px;
    width: 90%;
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.35);
    text-align: center;
    z-index: 99999; /* above overlay */
}

/* Title */
#prolock-modal .prolock-modal-title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
}

/* Body text */
#prolock-modal .prolock-modal-body p {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
}

/* Footer (close button area) */
#prolock-modal .prolock-modal-footer {
    margin-top: 16px;
}

/* Close button */
#prolock-modal button#prolock-modal-close {
    padding: 8px 18px;
    border: none;
    background: #0073aa;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
}

#prolock-modal button#prolock-modal-close:hover {
    background: #005f8d;
}

/* Blur page content when modal is active */
.prolock-blur-active *:not(#prolock-modal) {
    filter: blur(4px);
    transition: filter 0.15s ease;
    user-select: none;
    pointer-events: none;
}

/* Ensure modal stays interactive */
#prolock-modal,
#prolock-modal * {
    pointer-events: auto !important;
}
