/* ── LC Mark as Printed ── */

/* Wrapper: position relative so the checkbox can sit top-right */
.lc-printable-wrap {
    position: relative;
}

/* The checkbox button */
.lc-printed-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;

    width: 26px;
    height: 26px;

    background: rgba(255, 255, 255, 0.92);
    border: 2px solid #adadad;
    border-radius: 5px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    /* Hidden by default, shown on hover */
    opacity: 0;
    transition: opacity 0.15s ease, border-color 0.15s ease, background 0.15s ease;

    /* Reset button styles */
    padding: 0;
    line-height: 1;
    font-size: 15px;
}

/* Show checkbox when hovering the whole thumbnail wrapper */
.lc-printable-wrap:hover .lc-printed-btn {
    opacity: 1;
}

/* Always visible when already checked */
.lc-printed-btn.lc-is-printed {
    opacity: 1;
    background: #07beb8;
    border-color: #07beb8;
    color: #fff;
}

/* Checkmark character — hidden until checked */
.lc-printed-btn::after {
    content: '';
}

.lc-printed-btn.lc-is-printed::after {
    content: '✓';
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

/* Tooltip */
.lc-printed-btn .lc-tooltip {
    position: absolute;
    bottom: calc(100% + 6px);
    right: 0;

    background: #07beb8;
    color: #fff;
    font-size: 11px;
    font-family: sans-serif;
    font-weight: 500;
    white-space: nowrap;
    padding: 4px 8px;
    border-radius: 4px;
    pointer-events: none;

    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.12s ease, transform 0.12s ease;
}

/* Arrow under tooltip */
.lc-printed-btn .lc-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 9px;
    border: 5px solid transparent;
    border-top-color: #07beb8;
}

/* Show tooltip on button hover */
.lc-printed-btn:hover .lc-tooltip {
    opacity: 1;
    transform: translateY(0);
}
