.single-career .post-content-widget > div > div  {
    padding: 0;
}

.single-career  .gform_wrapper {
    padding: 30px;
    background: #FFF;
    border-radius: 20px;
    max-width: 600px;
    margin: auto;
  
}

.single-career #gform_fields_3 {
  gap: 10px !important;
}

.single-career  #gform_fields_3 input[type=text],
.single-career  #gform_fields_3 input[type=email],
.single-career  #gform_fields_3 input[type=tel],
.single-career  #gform_fields_3 textarea
{
    border-radius: 10px;
    border: 1px solid #D8E1E7;
    background:  #FFF;
    color: #A0B0BA;
}

.single-career  #gform_fields_3 textarea {
    height: 175px;
    min-height: unset;
}
.single-career  #gform_fields_3 input[type="text"]::placeholder,
.single-career  #gform_fields_3 input[type="email"]::placeholder,
.single-career  #gform_fields_3 input[type="tel"]::placeholder,
.single-career  #gform_fields_3 textarea::placeholder {
   color: #A0B0BA;
}

.single-career  #gform_fields_3  .ginput_container.ginput_container_fileupload {
    height: 0;
    width: 0;
    overflow: hidden;
    padding: 0;
}

.single-career  .gform_wrapper .gfield_label.gform-field-label {
    display: none;
}

.single-career  .gform_wrapper .gfield--type-fileupload .gfield_label.gform-field-label {
    display: block; 
    padding-bottom: 200px;
    height: 260px;
    cursor: pointer;
    position: relative;
}

.single-career  .gform_wrapper label.gfield_label.gform-field-label:after {
    content: "";
    position: absolute;
    display: block;
    background-image: url(https://sbarter.com/content/uploads/2026/06/inputtext.png);
    height: 235px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: contain;
}

.single-career  .gform_wrapper .gform-footer{
    margin-top: 50px; 
}

.single-career  #gform_submit_button_3 {
    width: 100%;
    border-radius: 55px;
    background: #93F;
    color:  #FFF;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}

/* =========================================================================
 * Responsive — phones (<= 600px)
 * Desktop/tablet keep the rules above (the card maxes out at 600px, so at
 * that width the layout already matches the design). These overrides only
 * fix the spacing rhythm once the card has to shrink on small screens.
 * ========================================================================= */
@media (max-width: 600px) {

    /* Tighter card padding so the fields keep their width on narrow phones. */
    .single-career .gform_wrapper {
        padding: 22px;
    }

    /* A touch more breathing room between the stacked fields. */
    .single-career #gform_fields_3 {
        gap: 14px !important;
    }

    /* --- "Attach your CV" drop zone -------------------------------------
     * The drop zone is a single fixed-size image (inputtext.png, 538x235).
     * On desktop it sits at its natural size inside a 235px-tall box. On a
     * phone that fixed box + background-size:contain shrinks the graphic and
     * leaves dead space below it (the label still reserves 260px).
     *
     * Here we let the label height follow its content and render the image
     * as an in-flow, aspect-ratio box so it scales with the card width and
     * stays crisp — no collapse, no empty gap. */
    .single-career .gform_wrapper .gfield--type-fileupload .gfield_label.gform-field-label {
        height: auto;
        padding-bottom: 0;
    }

    .single-career .gform_wrapper label.gfield_label.gform-field-label:after {
        position: relative;        /* flow directly under the label text */
        height: auto;
        aspect-ratio: 538 / 235;   /* keep the graphic's true proportions */
        margin-top: 12px;          /* gap between "Attach your CV" and the box */
        background-position: center;
    }

    /* Pull SUBMIT up so it isn't stranded far below the drop zone. */
    .single-career .gform_wrapper .gform-footer {
        margin-top: 24px;
    }
}