body {
    background-color: black;
    color: white;
}

.image-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.image-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 48%;
    border: 1px solid #ccc;
    padding: 10px;
    box-sizing: border-box;
    justify-content: space-between;
}

.image-item img {
    width: 30%;
    height: auto;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    max-width: 256px;
    max-height: 256px;
    object-fit: cover; /* Ensures the image covers the container */
}

.image-item .product-name {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid #ccc;
}

.image-item .product-name div {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
}

.selected {
    background-color: red;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.counter {
    font-size: 20px;
}

.page-counter {
    font-size: 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.file-input {
    font-size: 20px;
}
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.pagination {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.button-container button {
    margin-right: 10px;
}

.pagination button,
.button-container button {
    font-size: 12px; /* Increase font size */
    padding: 8px 12px; /* Increase padding */
}

.finish-button {
    margin-left: auto; /* Adjust this value as needed */
}
.page-selector {
    margin-left: 10px;
}

#loading {
    font-size: x-large;
    display: table;
    margin: auto;
    margin-top: 20px;
}

