.elementor-29640 .elementor-element.elementor-element-45346619{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-29640 .elementor-element.elementor-element-86136cc{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS *//* 1. Overall Form Container */
.wpcf7-form {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
}

/* 2. Standard Input Fields (Text, Email, etc.) */
.wpcf7-form-control:not(.wpcf7-submit):not([type="file"]) {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eef2f6;
    background-color: #f9fbff;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* 3. The File Upload Dotted Box (Container) */
.wpcf7-form-control-wrap[data-name="CV"]{
    display: block !important;
    position: relative !important;
    background: #f9fbff !important;
    border: 2px dashed #d1d9e6 !important; /* This is your dotted line */
    border-radius: 12px !important;
    padding: 35px 20px !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    cursor: pointer !important;
    transition: all 0.3s ease-in-out !important;
}

/* 4. The "Invisible" Real Input (Allows clicking/dragging) */
.wpcf7-form-control-wrap[data-name="CV"] input[type="file"] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important; /* Hides the ugly browser text but leaves the box visible */
    z-index: 10 !important;
    cursor: pointer !important;
}

/* 5. The Custom "Browse Files" Button */
.wpcf7-form-control-wrap[data-name="CV"]::before {
    content: 'Browse Files' !important;
    background: #4e5bf2 !important;
    color: #ffffff !important;
    padding: 10px 28px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    display: inline-block !important;
    margin-bottom: 10px !important;
    pointer-events: none !important;
}

/* 6. The Instruction Text */
.wpcf7-form-control-wrap[data-name="CV"]::after,
.wpcf7-form-control-wrap[data-name="Motivation-Letter"]::after {
    content: 'Click to upload or drag & drop' !important;
    display: block !important;
    color: #888e9b !important;
    font-size: 14px !important;
    margin-top: 5px !important;
    pointer-events: none !important;
}

/* 7. Show Filename after selection (Requires JS) */
.wpcf7-form-control-wrap[data-chosen-file]::after {
    content: attr(data-chosen-file) !important;
    color: #4e5bf2 !important;
    font-weight: 700 !important;
}

/* 8. Hover Effect for Dotted Box */
.wpcf7-form-control-wrap[data-name="CV"]:hover,
.wpcf7-form-control-wrap[data-name="Motivation-Letter"]:hover {
    border-color: #4e5bf2 !important;
    background: #ffffff !important;
}

/* 9. Submit Button styling */
.wpcf7-submit {
    background-color: #4e5bf2;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.4s ease-in-out;
}

.wpcf7-submit:hover {
    background-color: #313bbd;
    transform: translateY(-2px);
}


/* 3. The Dotted Container: Ensure it fills the 400px width */
.wpcf7-form-control-wrap[data-name="CV"],
.wpcf7-form-control-wrap[data-name="Motivation-Letter"] {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 4. Mobile stacking */
@media (max-width: 850px) {
    .file-upload-row {
        flex-direction: column !important;
    }
    .file-item {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
}/* End custom CSS */