
/* Colonne Jeu plus large */
#estimates-table td:nth-child(2),
#estimates-table th:nth-child(2) {
    min-width: 320px !important;
    width: 320px !important;
    max-width: 450px !important;
    white-space: normal !important;
}


/* Meilleure gestion du défilement dans les modales (mobile) */
.modal-dialog-scrollable .modal-body {
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* iOS: permet le défilement dans le contenu de la modale */
    touch-action: pan-y; /* Indique que le geste vertical sert à défiler */
}


/* Miniatures BoardGameGeek dans la liste des demandes de prix (page utilisateur) */
.estimate-image-wrapper {
    position: relative;
    display: inline-block;
}

.estimate-image-thumb {
    width: auto !important;
    height: auto !important;
    max-width: 60px !important;
    max-height: 60px !important;
    object-fit: contain !important;
    object-position: center center !important;
    cursor: zoom-in;
}

/* Aperçu plein format au survol */
.estimate-image-full {
    display: none;
    position: absolute;
    top: 0;
    left: 105%;
    width: auto !important;
    height: auto !important;
    max-width: 320px !important;
    max-height: 320px !important;
    object-fit: contain !important;
    object-position: center center !important;
    z-index: 1100;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
    background-color: #ffffff;
    padding: 4px;
}

.estimate-image-wrapper:hover .estimate-image-full {
    display: block;
}
