/* ==========================================
   GRAVITY FORMS LAYOUT ENHANCEMENTS
   ========================================== */

/* 1. Section Headers (Visual Separation) */
.gform_wrapper .gsection {
    border-top: 2px solid #e0e0e0;
    margin-top: 30px !important;
    padding-top: 20px !important;
    margin-bottom: 20px !important;
    background: transparent;
}

.gform_wrapper .gsection_title {
    font-size: 22px !important;
}

.gform_wrapper .gfield_label {
    font-size: 1.1em !important;
    font-weight: 600 !important;
    color: #1e3a5f !important; /* Dark blue */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Remove border from the very first section if needed */
.gform_wrapper .gsection.company-section {
    border-top: none !important;
    margin-top: 0 !important;
}

/* 2. Row Spacing & Gutters */
.gform_wrapper .gform_fields .gfield {
    margin-bottom: 20px !important;
}

/* 3. Field Inputs Styling */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="url"],
.gform_wrapper select,
.gform_wrapper textarea {
    width: 100% !important;
    padding: 5px 12px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px  !important;
    background-color: #fff;
    color: #333 !important;
    transition: border-color 0.3s;
}

.gform_wrapper input:focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
    border-color: #337ab7;
    box-shadow: 0 0 5px rgba(51, 122, 183, 0.2);
    outline: none;
}

/* 4. Labels */
.gform_wrapper .gfield_label {
    font-weight: 600 !important;
    margin-bottom: 5px !important;
    display: block !important;
}

/* 5. Description (Placeholders) */
.gform_wrapper .gfield_description {
    font-style: italic !important;
    color: #666 !important;
    margin-top: 5px !important;
    font-size: 0.9em !important;
}

/* 6. File Uploads (Logo & PDF) */
.gform_wrapper .ginput_container_fileupload input[type="file"] {
    background: #f9f9f9 !important;
    padding: 10px !important;
    border: 1px dashed #ccc !important;
}

/* 7. Submit Button (Matching our previous theme) */
.gform_wrapper .gform_footer {
    margin-top: 20px;
    text-align: right;
    padding-top: 20px;
    border-top: 1px solid #eee !important;
}

.gform_wrapper input[type="submit"] {
    background-color: #337ab7 !important;
    color: #fff !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer;
    transition: background-color 0.3s;
}

.gform_wrapper input[type="submit"]:hover {
    background-color: #286090 !important;
}