/* =============================================
   Timmy — Image Protect v1.0.0
   ============================================= */

/* Disable selection and drag on all images */
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none; /* blocks right-click on img element itself */
}

/* Wrap images in a protected container via JS — this container catches events */
.timmy-img-wrap {
    position: relative;
    display: inline-block;
    line-height: 0;
}

/* Transparent overlay sits on top of every image */
.timmy-img-shield {
    position: absolute;
    inset: 0;
    z-index: 9;
    background: transparent;
    cursor: default;
    -webkit-user-select: none;
    user-select: none;
}

/* Hide images during print */
@media print {
    img,
    .timmy-img-wrap {
        display: none !important;
        visibility: hidden !important;
    }
}

/* Screenshot warning overlay */
#timmy-screenshot-warning {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
}

#timmy-screenshot-warning.timmy-visible {
    display: flex;
}

.timmy-warning-box {
    background: #fff;
    border-radius: 8px;
    padding: 32px 40px;
    text-align: center;
    max-width: 340px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.timmy-warning-box svg {
    width: 40px;
    height: 40px;
    color: #c0392b;
    margin-bottom: 12px;
}

.timmy-warning-box p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.5;
}
