/* 1. Disable Text Selection in the Viewer */
.bbp-modal-content {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* 2. Advanced Print Protection: Hide the PDF canvas if they try to print */
@media print {
    .bbp-modal-overlay {
        display: none !important;
    }
    body:after {
        content: "Security Notice: Printing is disabled for this premium preview.";
        display: block;
        text-align: center;
        font-size: 20px;
        margin-top: 50px;
        font-weight: bold;
    }
}

/* ========================================================== */
/* 3. Dynamic Watermark Overlay */
/* ========================================================== */
.bbp-pro-watermark {
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    pointer-events: none; /* so that users cannot click through this */
    z-index: 9999;
    opacity: 0.12; /* lightly visible so that it can be read */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.bbp-pro-watermark::after {
    content: attr(data-text);
    font-size: 80px;
    font-weight: 900;
    color: #000;
    transform: rotate(-35deg);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-family: Arial, sans-serif;
}

/* ========================================================== */
/* 4. Lead Generation Form Overlay */
/* ========================================================== */
.bbp-lead-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.bbp-lead-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-align: center;
    max-width: 400px;
    width: 90%;
    border-top: 5px solid #d63638;
}
.bbp-lead-box h3 {
    margin-top: 0; margin-bottom: 20px;
    color: #333; font-size: 1.3em; line-height: 1.4;
}
.bbp-lead-input {
    width: 100%; padding: 12px 15px; margin-bottom: 15px;
    border: 2px solid #ddd; border-radius: 6px; font-size: 16px;
    box-sizing: border-box; outline: none; transition: 0.3s;
}
.bbp-lead-input:focus { border-color: #d63638; }
.bbp-lead-btn {
    width: 100%; padding: 14px; background: #d63638; color: #fff;
    border: none; border-radius: 6px; font-size: 16px; font-weight: bold;
    cursor: pointer; text-transform: uppercase; transition: 0.3s;
}
.bbp-lead-btn:hover { background: #b32d2f; transform: translateY(-2px); }
.bbp-lead-loading { opacity: 0.7; pointer-events: none; }

