.input-row {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap; /* Allow input fields to wrap to the next line */
}
.title, .input-column {
    flex: 1; /* Ensures each title and column takes equal space */
    text-align: center; /* Centers the titles and inputs */
    margin: 10px; /* Adds some space around the items for better layout */
}

.title {
    font-weight: bold; /* Makes the title text bold */
    font-size: 18px; /* Increases the size of the title text */
    margin-bottom: 20px; /* Adds more space below the title for better separation */
}

.input-row label {
    flex: 1; /* Take up equal space */
    margin-bottom: 5px; /* Adjust margin bottom for labels */
    width: 50%; /* Set width to 50% */
    text-align: left; /* Align labels to the left */
}

.input-row input[type="number"] {
    flex: 1; /* Take up equal space */
    width: 45%; /* Adjust width for input fields */
    margin-right: 5%; /* Add margin between input fields */
}



.input-row input[type="number"] {
    flex: 1;
    width: calc(50% - 5px); /* Adjust width for input fields */
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 40px;
    color: #333;
}

.container {
    background: white;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 10px;
}

h1 {
    color: #0056b3;
    text-align: center;
}

label {
    margin-top: 10px;
    display: block;
    font-weight: bold;
}
.input-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center; /* Ensures vertical alignment of all children */
    margin-top: 10px;
}

.input-row label,
.input-row input[type="number"] {
    flex: 1; /* Both take up equal space */
    display: flex; /* Enables flexbox properties within label and input */
    align-items: center; /* Vertical center alignment within each label/input */
    justify-content: center; /* Horizontal center alignment */
    margin-right: 10px; /* Consistent spacing on the right */
    width: 50%; /* Each takes half the container's width */
}

.input-row label {
    margin-bottom: 0; /* Remove bottom margin that could disrupt alignment */
    text-align: center; /* Ensures text within label is centered */
}

.input-row input[type="number"] {
    width: calc(50% - 10px); /* Adjust for margin */
    padding: 8px; /* Internal padding for aesthetics */
    height: 18px; /* Standard height for all inputs */
}

.checkbox-group {
    margin-top: 10px;
}

.checkbox-group input {
    margin-right: 5px;
}

button {
    background-color: #0056b3;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 20px auto 0;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #004494;
}




.image-container {
    display: flex;
    justify-content: space-between; /* Distribute images evenly */
    align-items: center; /* Center-align images vertically */
    overflow-x: hidden; /* Hide horizontal overflow */
    margin-left: auto; /* Automatically adjust left margin */
    margin-right: auto; /* Automatically adjust right margin */
    max-width: 100%; /* Ensure container does not exceed parent width */
}

.image-container .image-wrapper {
    text-align: center;
    width: calc(25% - 10px); /* 25% width for each image with 10px margin between them */
    margin-right: 10px; /* Adjust margin between images */
}

.image-container img {
    max-width: 100%; /* Ensure images resize to fit container */
    max-height: 100%; /* Maintain aspect ratio */
    border: 2px solid transparent; /* Default border */
    cursor: pointer;
}

.image-container img.selected {
    border-color: black; /* Border color for selected image */
}

#resultContainer {
    display: flex;
    flex-direction: column; /* Ensure items are stacked vertically */
    align-items: center; /* Center-align items horizontally */
    margin-top: 20px;
    margin-left: auto; /* Automatically adjust left margin */
    margin-right: auto; /* Automatically adjust right margin */
    max-width: 100%; /* Ensure container does not exceed parent width */
    width: 90%; /* Adjust as needed */
}

.hidden {
    display: none;
}

/* Centering and styling the lock screen elements */
#lock-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
    text-align: center;
}

#code-input {
    width: 300px; /* Adjust width as needed */
    padding: 10px; /* Add padding for better appearance */
    font-size: 18px; /* Increase font size */
    margin-bottom: 20px; /* Space between input and button */
    border: 2px solid #ccc; /* Border styling */
    border-radius: 5px; /* Rounded corners */
}

#lock-screen button {
    width: 100px; /* Adjust width as needed */
    padding: 10px; /* Add padding for better appearance */
    font-size: 18px; /* Increase font size */
    cursor: pointer; /* Pointer cursor on hover */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners */
    background-color: #007BFF; /* Button background color */
    color: white; /* Button text color */
}

#lock-screen button:hover {
    background-color: #0056b3; /* Darker shade on hover */
}



/* Styles for dropdowns and new added elements */
.input-row select,
.input-row input[type="text"] {
    flex: 1; /* Both take up equal space */
    display: flex; /* Enables flexbox properties within select and input */
    align-items: center; /* Vertical center alignment within each select/input */
    justify-content: center; /* Horizontal center alignment */
    margin-right: 10px; /* Consistent spacing on the right */
    width: 50%; /* Each takes half the container's width */
    padding: 6px; /* Internal padding for aesthetics */
    height: 34px; /* Standard height for all inputs */
    border: 1px solid #ccc; /* Border for input and select */
    border-radius: 5px; /* Rounded corners */
    background-color: white; /* Background color */
    color: #333; /* Text color */
    font-size: 16px; /* Font size */
}

.input-row select {
    width: calc(50% - 10px); /* Adjust for margin */
}

button {
    background-color: #0056b3;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 20px auto 0;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #004494;
}
