/* Tenant Management — Google Drive lease document thumbnails.
   Small thumbnail in the doc row; hovering it opens a large centered
   preview overlay (pure CSS, no callbacks). */

.tm-thumb-wrap {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
}

.tm-thumb {
    width: 64px;
    height: 84px;
    object-fit: cover;
    object-position: top;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
    transition: transform .12s ease-in-out;
}

.tm-thumb-wrap:hover .tm-thumb {
    transform: scale(1.05);
    border-color: #0d2c54;
}

.tm-thumb-large {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    background: #fff;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, .5);
    pointer-events: none;
}

.tm-thumb-wrap:hover .tm-thumb-large {
    display: block;
}

.tm-thumb-large-img {
    max-width: 72vw;
    max-height: 82vh;
    border-radius: 6px;
}
