body, html {
    height: 100%;
    margin: 0;
    font-family: "Linotype Univers";
    background-color: #f5f5f5;
font-weight:400;font-style:normal
}

.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    position: relative;
}

h2 {
	font-family: "Linotype Univers Condensed";
    text-align: center;
    color: #333;	
    font-weight:700;font-style:normal
}

.form-group {
    margin-bottom: 20px;
}

label {
    font-family: "Linotype Univers Condensed";
    display: block;
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="date"],
input[type="email"],
input[type="tel"],
input[type="file"],
input[type="password"],
select {
    font-family: "Linotype Univers Condensed";
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    height: 40px; /* Add a fixed height for consistency */
}

input[type="checkbox"],
input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 5px;
    position: relative;
    vertical-align: middle;
}

input[type="checkbox"]:checked::before,
input[type="radio"]:checked::before {
    content: "\2713";
    font-size: 16px;
    color: #007bff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ... existing styles ... */

.inline-group .form-group {
    flex: 1;
    margin-right: 10px;
}

.inline-group .form-group:last-child {
    margin-right: 0;
}

.inline-group .form-group input,
.inline-group .form-group select {
    height: 40px; /* Add a fixed height for consistency */
}

.submit-btn {
    font-family: "Linotype Univers Condensed";
    width: 100%;
    background-color: #007bff;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
}
.submit-btn.disabled, .submit-btn:disabled {
    background-color: #cccccc; /* Gray background for a disabled button */
    color: #666666; /* Darker gray text for readability */
    cursor: not-allowed;
    border: 1px solid #999999;
}
.submit-btn:hover {
    background-color: #0056b3;
}

@media screen and (max-width: 600px) {
    .container {
        border-radius: 0;
    }
}
.phone-input-container {
    display: flex;
    gap: 10px;
}

.country-code, .phone-number {
    flex-grow: 1;
}
/* Base styling for desktop and larger devices */
body, html {
    font-size: 16px; /* Increase base font size if needed */
}

input, select, button {
    padding: 12px;
    margin-bottom: 15px; /* Increased padding and margin for better touch interaction */
}

/* Responsive adjustments for mobile devices */
@media (max-width: 600px) {
    body, html {
        font-size: 18px; /* Increase font size for better readability on small screens */
    }

    .form-group label {
        font-size: 1.1rem; /* Increase label font size */
    }

    input, select, button {
        font-size: 1rem; /* Increase input and button font size */
        padding: 15px; /* Increase padding for easier interaction */
        margin-bottom: 20px; /* Increase margin-bottom for better spacing */
    }

    .container {
        padding: 15px; /* Adjust container padding for better use of screen real estate */
    }

    .phone-input-container {
        flex-direction: column; /* Stack the country code and phone number inputs vertically */
    }

    .country-code, .phone-number {
        width: 100%; /* Ensure inputs take full width on small screens */
    }
}

/* Additional styling to adjust the gap between country code and phone number for small devices */
.phone-input-container {
    gap: 10px;
}

.logo-container {
    text-align: center; /* Center-align the logo */
    width: 100%; /* Ensure the container takes full width */
    padding: 10px 0; /* Adjust top and bottom padding as needed */
}

.company-logo {
    max-width: 100%; /* Make the logo responsive */
    height: auto; /* Maintain aspect ratio */
    /* Adjust as needed to prevent logo from being too large on desktop */
}

/* Responsive adjustments for mobile devices */
@media (max-width: 600px) {
    .logo-container {
        padding: 5px 0; /* Reduce padding on small screens for a tighter fit */
    }

    .company-logo {
        width: 90%; /* Adjust logo width on small screens */
        margin: 0 auto; /* Center the logo if it's not 100% width */
    }
}

.instrument-inputs {
    display: flex;
    gap: 5px; /* Reduce gap to make more space */
}

.instrument-inputs input {
    /* Assign specific flex values to control width */
    flex-grow: 0;
    flex-shrink: 0;
}

#instrumentPart1 {
    flex-basis: calc(45% - 5px); /* Allocate more space to the first input, adjust calculation based on gap */
}

#instrumentPart2 {
    flex-basis: calc(30% - 5px); /* Allocate space to the second input, adjust calculation based on gap */
}

#instrumentPart3 {
    flex-basis: calc(25% - 5px); /* Allocate space to the third input, adjust calculation based on gap */
}

.instrument-inputs input[id^="materialNumberPart1_"] {
    flex-basis: calc(45% - 5px); /* Allocate more space to the first input, adjust calculation based on gap */
}

.instrument-inputs input[id^="materialNumberPart2_"] {
    flex-basis: calc(30% - 5px); /* Allocate space to the second input, adjust calculation based on gap */
}

.instrument-inputs input[id^="materialNumberPart3_"] {
    flex-basis: calc(25% - 5px); /* Allocate space to the third input, adjust calculation based on gap */
}


/* Ensure the container has enough space */
.form-group {
    padding: 0 5px; /* Reduce padding/margin if necessary */
}

@media (max-width: 600px) {
    .instrument-inputs {
        flex-direction: row; /* Ensure it stays in a row */
        flex-wrap: nowrap; /* Prevent wrapping */
    }

    .form-group {
        padding: 0; /* Adjust padding/margin on smaller screens if necessary */
    }
}

/* Styling for the contact number group to align inputs in one line */
.contact-number-group .contact-inputs {
    display: flex;
    gap: 5px; /* Adjust gap as needed */
}

.contact-number-group .country-code,
.contact-number-group #contactNumber {
    flex-grow: 1;
    flex-basis: calc(50% - 5px); /* Adjust based on the gap */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .contact-number-group .contact-inputs {
        flex-direction: row;
        flex-wrap: nowrap; /* Ensure they stay in one line on small screens */
    }

    .contact-number-group .country-code,
    .contact-number-group #contactNumber {
        flex-basis: auto; /* Allow automatic adjustment on small screens */
    }
}
.radio-group {
    display: flex;
    align-items: center; /* Ensure vertical alignment is centered for each option */
    justify-content: flex-start; /* Align children from the left */
    width: 100%; /* Ensure the group takes the full width */
}

.radio-option {
    display: flex;
    align-items: center; /* Center-align the radio button and label vertically */
    margin-right: 10px; /* Space between each option */
}

.radio-option:last-child {
    margin-right: 0; /* Remove margin for the last item to avoid unnecessary spacing */
}

/* Media query for larger screens */
@media (min-width: 768px) {
    .radio-group {
        flex-wrap: nowrap;
    }
}

.input-group {
    display: flex;
    flex-wrap: wrap;
}

.input-group input,
.input-group select {
    flex: 1;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Media query for larger screens */
@media (min-width: 768px) {
    .input-group {
        flex-wrap: nowrap;
    }
}

.inputs-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.two-box-input-container {
    flex: 0 0 48%; /* Adjust the width of each input container */
    margin-bottom: 20px;
}

.two-box-input-container label {
    display: block;
    margin-bottom: 5px;
}

.two-box-input-container input,
.two-box-input-container select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px; /* Increase the font size for better readability on iPhone */
    height: 40px; /* Set a fixed height for input fields and select box */
}
/* Assuming this CSS is in your 'style.css' or added in the <head> section */
.inline-group {
    display: flex;
    justify-content: space-between;
}

.inline-group .form-group {
    flex: 1;
    margin-right: 10px;
}

.inline-group .form-group:last-child {
    margin-right: 0;
}

/* Existing CSS code */

.slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slideshow-slide {
    display: none;
    width: 100%;
}

.slideshow-slide img {
    width: 100%;
    height: auto;
}

/* Existing CSS code */

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
    width: 100%;
    max-width: 600px; /* Adjust the max-width to match the logo width */
    margin: 0 auto;
    padding: 20px 0;
}

.gallery-item {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Existing CSS code */
.image-container {
    width: 100%;
    margin-bottom: 20px;
}

.responsive-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-group input[type="checkbox"] {
    margin-right: 5px;
}

.form-group a {
    color: blue;
    text-decoration: underline;
}

.normal-text {
    font-family: "Linotype Univers Condensed", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}

input[disabled] {
    color: darkblue;
}

.confirmation-input[disabled] {
    color: darkblue;
}

.label-example {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.example {
    display: flex;
    align-items: center;
}

.example label {
    margin-right: 10px;
}

.example-image {
    max-width: 200px;
    height: auto;
}

.purchase-info {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 5px;
}

.header-container { /* Assuming you wrap your logo, image, and language selection in this div */
    display: flex;
    justify-content: space-between; /* This separates items to each end; adjust as needed */
    align-items: center; /* This vertically centers items in the container */
    padding-right: 20px; /* Adjust based on design needs */
}

.language-selection {
    display: inline-block; /* Makes the element inline with a block nature */
    width: auto; /* Adjusts the width to fit the content, or set a specific width */
    min-width: 120px; /* Example specific width to ensure dropdown is not too small */
    text-align: right; /* Aligns the text (and thus the dropdown) to the right */
    float: right; /* Floats the element to the right */
    margin-top: 10px; /* Adjusts spacing from the top as needed */
}

.language-selection select {
    width: 100%;
    padding: 5px;
    margin-top: 10px; /* Space between the logo and the dropdown */
    font-size: 14px; /* Adjust as needed */
}

input.invalid {
    border-color: red !important;
}

.error-message {
    color: red;
    margin-bottom: 10px;
    display: none;
}

.links {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.link-item {
    margin-bottom: 10px;
}

.link-item a {
    font-family: "Linotype Univers Condensed";
}

.check-btn {
    font-family: "Linotype Univers Condensed";
    display: inline-block;
    width: 100%;
    background-color: #28a745;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    margin-bottom: 20px;
}

.check-btn:hover {
    background-color: #218838;
}

.error-message {
    color: red;
    margin-top: 5px;
    font-size: 14px;
    display: none;
}

.price-info {
        border-bottom: 1px solid #ccc; /* Light grey border at the bottom */
        padding-bottom: 10px; /* Spacing below the last paragraph */
        margin-bottom: 10px; /* Spacing between entries */
    }