/* ==========================================================================
   Veritas Finance Careers / Form Stylesheet
   Created with custom vw values for seamless typography and spacing scaling
   ========================================================================== */

/* Careers Intro Section */
.careers-intro-section {
    position: relative;
}

.carrers-inner {
    padding: 3.5vw 0 4.5vw;
}

.careers-tag {
    font-weight: 600;
    display: block;
}

.careers-desc {
    margin-bottom: 2.5vw;
}

.carrers-context h1 {
    max-width: 33.5vw;
    padding-bottom: 1vw;
}

/* Callout Amber Box */
.careers-email-box {
    background-color: #F89F32;
    border-radius: 1vw;
    padding: 1.2vw 1.4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 32vw;
    box-shadow: 0 0.5vw 1.5vw rgba(248, 159, 50, 0.2);
    transition: all 0.3s ease;
}

.careers-email-box:hover {
    transform: translateY(-0.3vw);
    box-shadow: 0 0.8vw 2vw rgba(248, 159, 50, 0.3);
}

.careers-email-text {
    color: #1A2B3C;
    margin: 0;
}

.careers-email-text a {
    color: #1A2B3C;
    text-decoration: underline;
}

.careers-email-text a:hover {
    color: #0F1D2A;
}

.careers-email-icon {
    width: 2.8vw;
    height: 2.8vw;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.careers-email-box:hover .careers-email-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Job Application Form Section */
.job-form-section {
    background-color: rgba(26, 43, 60, 0.7);
    padding: 0;
    position: relative;
}

.job-form-inner {
    padding: 3.5vw 0 10vw 0;
}

.form-title {
    color: var(--white);
    margin-bottom: 1.5vw;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2vw;
}

.form-row-3 {
    display: flex;
    gap: 1.5vw;
    width: 100%;
}

.form-row-3 .form-group {
    flex: 1;
}



/* Row 3 custom widths to match layout */
.form-row-3 .col-exp {
    flex: 2;
}

.form-row-3 .col-strengths {
    flex: 3;
}

.form-row-3 .col-why {
    flex: 4;
}

/* Form inputs */
.form-control-custom {
    background-color: var(--white);
    border: none;
    border-radius: 0.5vw;
    color: #111C27;
    font-family: "Geist", sans-serif;
    font-size: var(--text-25);
    padding: 1vw 1.5vw;
    width: 100%;
    height: 4.2vw;
    box-shadow: 0 0.2vw 0.5vw rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    outline: none;
    box-shadow: 0 0 0 0.2vw rgba(248, 159, 50, 0.4);
}

.form-control-custom::-webkit-input-placeholder {
    color: #111C27
}

.form-control-custom:-ms-input-placeholder {
    color: #111C27
}

.form-control-custom::placeholder {
    color: #111C27
}

/* Custom File Upload Styling */
.file-upload-wrapper {
    flex: 2.5;
}

.file-upload-container {
    background-color: var(--white);
    border-radius: 0.8vw;
    display: flex;
    align-items: center;
    gap: 1.5vw;
    padding: 0.5vw 1.5vw;
    width: 100%;
    height: 3.8vw;
    box-shadow: 0 0.2vw 0.5vw rgba(0, 0, 0, 0.05);
}

.careers-cf7-form .file-upload-container {
    position: relative;
}

.careers-cf7-form .file-upload-container p {
    display: flex;
    align-items: center;
    gap: 1.5vw;
    margin: 0;
    width: 100%;
}

.careers-cf7-form .file-upload-container br {
    display: none;
}

.careers-cf7-form .file-upload-container .wpcf7-form-control-wrap[data-name="resume"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.careers-cf7-form .file-upload-container .careers-cf7-file {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.upload-label {
    color: #111C27;
    font-size: var(--text-25);
    font-weight: 700;
}

.browse-btn {
    background-color: #F89F32;
    color: var(--black);
    cursor: pointer;
    font-size: var(--text-20);
    font-weight: 700;
    padding: 0.5vw 2vw;
    border-radius: 2vw;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

.browse-btn:hover {
    background-color: #e08b23;
    transform: translateY(-0.1vw);
}

.file-name {
    color: rgba(17, 28, 39, 0.5);
    font-size: var(--text-25);
}

/* Submit Button Custom Styling */
.submit-wrapper {
    flex: 1;
    display: flex;
    align-items: flex-end;
}

.submit-btn {
    color: var(--white);
    background: #B83445;
    border-radius: 30px;
    padding: 0 0.8vw 0 1.7vw;
    width: 13.1vw;
    font-size: 1vw;
    height: 3.1vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: none !important;
    font-weight: 700;
    border: none !important;
}

.arrow-circle {
    width: 2.2vw;
    height: 2.2vw;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-arrow-icon {
    width: 1.6vw;
}

.job-form-section .wpcf7-response-output {
    color: var(--white) !important;
}

/**************Responsiveness**************/
@media (min-width:768px) and (max-width:991px) {
    .carrers-context h1 {
        max-width: 55%;
        padding-bottom: 15px;
    }

    .wrapper {
        padding: 120px 0 0 0px;
    }

    .careers-desc {
        margin-bottom: 20px;
    }

    .careers-email-text a {
        display: inline-block;
        margin: 10px 0 0;
    }

    .careers-email-icon {
        width: 30px;
        height: auto;
    }

    .careers-email-box {
        border-radius: 5px;
        padding: 20px 15px;
        max-width: 345px;
    }

    .carrers-inner {
        padding: 25px 0;
    }

    .job-form-inner {
        padding: 25px 0;
    }

    .form-title {
        padding-bottom: 15px;
    }

    .form-control-custom {
        border-radius: 0.5px;
        padding: 10px 15px;
        width: 100%;
        height: auto;
    }

    .form-row-3 .form-group {
        flex: auto;
        padding: 0 0 15px 0;
    }

    .form-row-3 {
        display: block;
        gap: 15px;
        width: 100%;
    }

    .file-upload-container {
        border-radius: 0.5px;
        gap: 10px;
        padding: 10px 15px;
        width: 100%;
        height: auto;
    }

    .upload-label {
        line-height: 20px;
    }

    .file-name {
        line-height: 20px;
    }

    .browse-btn {
        padding: 6px 20px;
        border-radius: 50px;
        border: none;
    }

    .submit-btn {
        border-radius: 30px;
        padding: 10px 12px 10px 20px;
        min-width: 150px;
        font-size: 15px;
        width: auto;
        height: auto;
    }

    .btn-arrow-icon {
        width: 25px;
    }
}

@media(max-width:767px) {
    .carrers-context h1 {
        max-width: 100%;
        padding-bottom: 15px;
    }

    .careers-email-text {
        font-size: 18px;
        line-height: 18px;
    }

    .file-upload-container p {
        flex-wrap: wrap;
    }

    .form-row-3 .form-group p {
        margin: 0;
    }

    .wrapper {
        padding: 80px 0 0 0px;
    }

    .careers-desc {
        margin-bottom: 20px;
    }

    .careers-email-text a {
        display: inline-block;
        margin: 10px 0 0;
    }

    .careers-email-icon {
        width: 30px;
        height: auto;
    }

    .careers-email-box {
        border-radius: 5px;
        padding: 20px 15px;
        max-width: 345px;
    }

    .carrers-inner {
        padding: 25px 0;
    }

    .job-form-inner {
        padding: 25px 0;
    }

    .form-title {
        margin-bottom: 15px;
    }

    .form-control-custom {
        border-radius: 0.5px;
        padding: 10px 15px;
        width: 100%;
        height: auto;
        font-size: 14px;
    }

    .form-row-3 .form-group {
        flex: auto;
        padding: 0 0 15px 0;
    }

    .form-row-3 {
        display: block;
        gap: 15px;
        width: 100%;
    }

    .file-upload-container {
        border-radius: 0.5px;
        gap: 10px;
        padding: 10px 15px;
        width: 100%;
        height: auto;
    }

    .upload-label {
        line-height: 20px;
        font-size: 14px;
    }

    .file-name {
        line-height: 20px;
        font-size: 14px;
    }

    .browse-btn {
        padding: 6px 20px;
        border-radius: 50px;
        border: none;
        font-size: 14px;
    }

    .submit-btn {
        border-radius: 30px;
        padding: 10px 12px 10px 20px;
        min-width: 150px;
        font-size: 15px;
        width: auto;
        height: auto;
    }

    .job-form-section .submit-wrapper,
    .careers-cf7-form .submit-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .careers-cf7-form .submit-wrapper p {
        margin: 0;
        width: auto;
    }

    .careers-cf7-form .submit-wrapper br {
        display: none;
    }

    .btn-arrow-icon {
        width: 25px;
    }
}