.customer-card {
    cursor: pointer;
    transition: all 0.3s;
}
.customer-card:hover {
    transform: scale(1.05);
}
.customer-card.selected {
    border: 2px solid #007bff;
}
.display-board {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #f8f9fa;
    padding: 10px;
    z-index: 1000;
}

/* Image container and image size styles */
.image-container {
    width: 6cm;  /* Updated to exactly 6cm */
    height: 6cm; /* Updated to exactly 6cm */
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    position: relative;
    background: white;
    box-sizing: border-box; /* Ensure border is included in dimensions */
}

.preview-image {
    max-width: 5.3cm;  /* Inner image max width */
    max-height: 5.3cm; /* Inner image max height */
    width: 5.3cm;      /* Set fixed width */
    height: 5.3cm;     /* Set fixed height */
    object-fit: contain; /* Maintain aspect ratio */
}

/* For the cropped image preview */
.cropped-preview {
    width: 5.3cm;
    height: 5.3cm;
    object-fit: cover; /* This will ensure the image covers the area without distortion */
}

/* Add a helper class for the grid layout */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 6cm); /* Updated to match container width */
    gap: 15px;
    justify-content: center;
    padding: 15px;
}

/* For PDF preview */
.pdf-image-container {
    width: 6cm;
    height: 6cm;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.pdf-preview-image {
    width: 5.3cm;
    height: 5.3cm;
    object-fit: contain;
}