/* Button styling */
/*#look-inside-button {
    width: 140px;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 16px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    cursor: pointer;
}*/

/* Modal dialog - set the size of the display area*/
#look-inside-dialog {
    width: 60vw;
    max-width: 600px;
    height: 85vh;
    max-height: 95vh;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
}

/* Backdrop dimming */
#look-inside-dialog::backdrop {
    background: rgba(0, 0, 0, 0.6);
}

/* Inner layout */
.tmr-dialog-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #fff;
}

/* Header */
.tmr-dialog-header {
	position:relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #eee;
    border-bottom: 1px solid #ccc;
}

.tmr-dialog-title {
    font-size: 18px;
    font-weight: bold;
}

.tmr-dialog-close {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 6px;
    line-height: 1;
    border-radius: 4px;

}

/* Controls */
.tmr-dialog-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #f9f9f9;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

#tmr-zoom {
    width: 120px;
}

/* Canvas wrapper */
.tmr-canvas-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
    padding: 10px;
}

/* Canvas itself */
#tmr-pdf-canvas {
    display: block;
/*    max-width: 100%;*/
    height: auto;
    box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

/* Optional landscape class */
canvas.landscape {
    /* Add styling if needed */
}