div#field_4_1 .form-container {
    display: flex !important;
    flex-direction: unset !important;
}

/* Main layout */
.properties-layout {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

/* Containers */
.company-details-layout {
    flex: 1 1 50%; /* Left side container with 45% width */
    padding: 20px;
}

.contect-section {
    flex: 1 1 50%; /* Right side container with 55% width */
    display: flex;
    flex-direction: column;
}

/* Nested layout within contact section */
.vehical-details-layout,
.contect-details-layout {
    flex: 1 1 auto;
    padding: 20px;
}

/* Headings */
.form-heading {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

/* Divider */
.middle-divider {
    border: none;
    height: 2px;
    background: #ccc;
    margin: 10px 0;
}

/* Form fields */
.gfield {
    margin-bottom: 20px;
}

.gfield_label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    color: #555;
}

.ginput_container input,
.ginput_container textarea {
    width: 100%;
    padding: 0.66rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
    font-size: 1em;
}

.ginput_container input:focus,
.ginput_container textarea:focus {
    border-color: #66afe9;
    outline: none;
    box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
}

/* Buttons */
.gform_footer input[type="submit"] {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.gform_footer input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .properties-layout {
        flex-direction: column;
    }

    .company-details-layout,
    .contect-section {
        flex: 1 1 100%;
    }

    .contect-section {
        flex-direction: column;
    }
}

div#field_4_1 .form-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligns heading to the left */
}

.form-logos {
    display: flex;
    justify-content: right;
    width: 51%;
}


.logo {
    margin-left: 10px; /* Adds space between the images */
}

hr {
    background-color: #0054a6 !important;
    border: 0;
    height: 4px;
}

.middle-divider {
    width: 50%; 
    margin: 10px 0; 
}


.company-details-layout {
    width: 50%;
    margin: 15px 12px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .company-details-layout {
        width: 100%; 
    }
}

.company-details-layout .form-heading {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.company-details-layout .middle-divider {
    width: 100%;
    margin: 0;
}

/* Input fields styling */
.company-details-layout .gfield {
    margin-bottom: 20px;
}

.company-details-layout .gfield_label {
    margin-bottom: 5px;
    display: block;
}

.company-details-layout .ginput_container input,
.company-details-layout .ginput_container textarea {
    padding: 10px;
    box-sizing: border-box; 
}


.only-content-inner .only-content-wrapper p {
    display: none;
    color: #424242;
}

.label-with-checkbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gfield-choice-input {
    margin-left: 10px; /* Adjust the space between text and checkbox */
}

.form_with_sidebar-inner .form_with_sidebar-inner-wrapper .left_formPart .form_code .gform_body .gform_fields .gfield .ginput_container input {
  padding: 10px 10px !important;
}