/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
} */

.quote-form-container {
    background-color: #fff;
    padding: 10% !important;
    border-radius: 8px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    width: 100%;
    max-width: 1080px;
}
.quote-form-container {
    padding: 10%;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

textarea {
    height: 100px;
    resize: none;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
}

.checkbox-group input {
    margin-right: 10px;
    height: 40px;
}

.checkbox-group label {
    margin-right: 15px;
    padding-top: 8px;
}

.time-group {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: #999;
}

.submit-btn {
    /* width: 100%; */
    background-color: #00A9E1;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #007bb5;
}

.form-group.time-group {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between the fields */
}

.form-group.time-group label {
    margin-right: 10px;
    font-weight: bold;
}

.form-group.time-group input,
.form-group.time-group select {
    padding: 8px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.form-group.time-group div {
    display: flex;
    flex-direction: column;
}

/* Ensure inline layout for time fields */
.form-group.time-group.pc50p2 div {
    width: 32%; /* Keep all elements inline with this width */
    float: left;
}

.time_first, .time_middle, .time_last {
    width: 32%; /* Control width to keep inline */
}

.checkbox-group input {
    width: auto;
}

.pc50p1 {
    width: 46%;
    float: left;
}

.pc50p2 {
    width: 46%;
    float: right;
}
input, select {
    height: 40px;
}

.flw100 {
    width: 100% !important;
    float: left;
}
.time_last {
    margin-top: 20px;
}

@media (max-width: 600px) {
    .time-group {
        gap: 5px; /* Reduce gap on mobile for inline alignment */
    }
    .time_first, .time_middle, .time_last {
        width: 32%; /* Maintain inline layout by keeping fixed width */
        float: left; /* Float elements to stay inline */
    }

    .pc50p1,.pc50p2 {
        width: 100%; /* Form groups will stack on mobile */
    }
	.quote-form-container {
		padding: 20% 5% 5% 5%;
	}
	.checkbox-group label {
		width: 85%;
	}
}
