/* PDF Tagger Styles - Visual tagging overlay */

.pdf-viewer-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    overflow: auto;
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
    cursor: crosshair;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.pdf-page-image {
    display: block;
    max-width: 100%;
    height: auto;
    pointer-events: none;
}

.tagged-region {
    position: absolute;
    border: 2px solid #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tagged-region:hover {
    background-color: rgba(13, 110, 253, 0.25);
    border-color: #0a58ca;
    z-index: 10;
}

.tagged-label {
    position: absolute;
    top: -22px;
    left: 0;
    background-color: #0d6efd;
    color: white;
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 3px;
    white-space: nowrap;
    font-weight: 500;
}

.drawing-rectangle {
    position: absolute;
    border: 2px dashed #198754;
    background-color: rgba(25, 135, 84, 0.15);
    pointer-events: none;
}
