/* CSS for custom measurement fields */
.custom-measurements-fields {
    display: none; /* Set the parent to display: flex */
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #f0f0f0; /* Add your desired background color */
    padding: 10px; /* Add padding for spacing */
    border-radius: 10px; /* Add border-radius for a rounded appearance */
    margin-bottom: 15px;
}

.custom-measurements-fields .measurement-col {
    flex-basis: calc(50% - 5px); /* 50% width with some spacing between columns */
    margin-bottom: 10px; /* Adjust the spacing between rows as needed */
    box-sizing: border-box; /* Ensure padding and borders are included in the width */
    background-color: white; /* Add a background color to the fields */
    padding: 10px; /* Add padding to the fields for spacing */
    border-radius: 5px; /* Add border-radius for rounded field corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a subtle box shadow for depth */
}

/* Style for input fields */
.custom-measurements-fields .measurement-col input {
    width: 100%;
    padding: 2px 10px;
}

/* Adjust the checkbox container to have 100% width */
.custom-measurements-fields .checkbox-container {
    width: 100%;
    box-sizing: border-box; /* Ensure padding and borders are included in the width */
    background-color: white; /* Add a background color to the checkbox container */
    padding: 10px; /* Add padding for spacing */
    border-radius: 5px; /* Add border-radius for rounded container corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a subtle box shadow for depth */
}

/* Adjust the checkbox input width to 100% */
.custom-measurements-fields .checkbox-container input[type="checkbox"] {
    width: auto; /* Set width to auto for full container width */
    margin-right: 5px; /* Add margin to separate checkbox and label */
}

/* Style for the checkbox label */
.custom-measurements-fields .checkbox-container label {
    margin: 0; /* Remove margin around the label */
    font-size: 14px;
}

/* Style for input placeholders */
.custom-measurements-fields .measurement-col input::placeholder {
    color: #999; /* Customize the placeholder text color */
    font-size: 14px;
}

/* Remove margin-bottom from the last field in the row */
.custom-measurements-fields .measurement-col:last-child {
    margin-bottom: 0;
}

/* Adjustments for smaller screens (e.g., mobile devices) */
@media screen and (max-width: 767px) {
    .custom-measurements-fields .measurement-col {
        flex-basis: 100%;
        margin-right: 0;
    }
}
