/* General body styling */
body {
    background-color: #F7F7F7; /* Light background color */
    font-family: Arial, sans-serif;
    color: #333;
}

/* Payment form styling */
#paymentForm {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

#paymentForm label {
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

#paymentForm input[type="number"],
#paymentForm input[type="text"],
#paymentForm input[type="file"] {
    width: 90%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s;
}

#paymentForm input[type="number"]:focus,
#paymentForm input[type="text"]:focus,
#paymentForm input[type="file"]:focus {
    border-color: #ffcc00;
}

/* Button styling */
.amountButton,
.customerTypeButton,
.styledButton,
#paymentForm button[type="submit"] {
    background-color: #ffcc00;
    color: black;
	font-weight: bold;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
	height: 60px;
}

.amountButton:hover,
.customerTypeButton:hover,
.styledButton:hover,
#paymentForm button[type="submit"]:hover {
    background-color: #e6b800;
}

.amountButton.selected,
.customerTypeButton.selected,
.styledButton.selected {
    background-color: #007bb5;
    color: #ffffff;
}

#paymentForm button[type="submit"]:active,
.amountButton:active,
.customerTypeButton:active,
.styledButton:active {
    transform: scale(0.98);
}

/* Image upload section */
#uploadImageSection {
    padding: 10px;
    border: 2px dashed #ffcc00;
    border-radius: 5px;
    background-color: #f9f9f9;
}

/* Responsive grid for images */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    max-width: 100%;
    margin: auto;
}

/* Image wrapper for 3:2 aspect ratio */
.image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 aspect ratio */
    background-color: #ffffff; /* White background for padding */
    overflow: hidden;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image styling within wrapper */
.image-wrapper img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* Keeps full image within container */
    background-color: #ffffff; /* White fill for extra space */
}

/* Name box styling inside grid container */
.grid-container p {
	font-weight: bold;
    margin: 0;
    padding: 10px;
    border: 1px solid #ddd; /* Border color around each name */
    text-align: center;
    border-radius: 5px; /* Optional rounded corners */
}

.bak-company {    
    background-color: #ffffff; /* Light background color for name boxes */ 
}

.bak-private {    
    background-color: #ddd; /* Light background color for name boxes */ 
}

table th { width: 25%; text-align: center; }

table td { width: 25%; text-align: center; }