.apply-v2,
.apply-v2 h1,
.apply-v2 h3,
.apply-v2 p,
.apply-v2 label,
.apply-v2 input,
.apply-v2 textarea,
.apply-v2 button {
    font-family: 'GeneralSans', sans-serif;
    font-weight: 400;
    color: #000;
}

/* Hero */

.apply-v2-hero {
    position: relative;
    background: #8D70E9;
}
.apply-v2-hero .mobile-menu-trigger {
    z-index: 1;
}
.apply-v2-hero-inner {
    position: relative;
    max-width: 1280px;
    min-height: 562px;
    margin: 0 auto;
    padding: 164px 40px 97px;
}
.apply-v2 .apply-v2-hero-tagline {
    margin: 0 0 17px;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    color: #D0C2FF;
}
.apply-v2 .apply-v2-hero-title {
    max-width: min(729px, calc(100% - 350px));
    margin: 0;
    font-size: 30px;
    line-height: 40px;
    letter-spacing: 0;
}
.apply-v2 .apply-v2-hero-text {
    max-width: 501px;
    margin: 78px 87px 0 auto;
    font-size: 20px;
    line-height: 32px;
}
.apply-v2-hero-image {
    position: absolute;
    top: 60px;
    right: 127px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 232.5px;
    height: 302.6px;
    pointer-events: none;
}
.apply-v2-hero-image img {
    width: 161.2px;
    height: 267.1px;
    max-width: none;
    object-fit: cover;
    transform: rotate(17.07deg);
}

@media (max-width: 1023px) {
    .apply-v2-hero-inner {
        min-height: 0;
        padding: 130px 20px 64px;
    }
    .apply-v2 .apply-v2-hero-tagline {
        margin-bottom: 20px;
    }
    .apply-v2 .apply-v2-hero-title {
        max-width: 729px;
        line-height: 42px;
    }
    .apply-v2 .apply-v2-hero-text {
        margin: 20px 0 0;
        font-size: 16px;
        line-height: 26px;
    }
    .apply-v2-hero-image {
        display: none;
    }
}

/* Form layout */

/* The theme's overflow: hidden on main breaks the sticky progress circle and cuts off the last dropdown over the footer */
main:has(> .apply-v2) {
    overflow-x: clip;
    overflow-y: visible;
}
.apply-v2-form-section {
    background: #fff;
}
.apply-v2-form-inner {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 20px;
}
.apply-v2-form {
    max-width: 590px;
    margin: 0 auto;
}
.apply-v2-progress {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    pointer-events: none;
}
.apply-v2-progress-circle {
    position: sticky;
    top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 234px;
    height: 234px;
    margin-top: 80px;
    border-radius: 50%;
    background: #FF4A18;
    font-size: 45px;
    line-height: 58px;
    letter-spacing: -0.675px;
}
.apply-v2 .wpcf7 form {
    margin: 0;
}
.fp-section + .fp-section {
    margin-top: 64px;
}
.apply-v2 .fp-section-title {
    margin: 0 0 32px;
    font-size: 30px;
    line-height: 40px;
}
.fp-field + .fp-field {
    margin-top: 24px;
}
.apply-v2 .fp-label {
    display: block;
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 28px;
}
.apply-v2 .fp-req {
    color: #FF4A18;
}
.apply-v2-form .wpcf7-form-control-wrap {
    position: relative;
    display: block;
}

/* Inputs */

.apply-v2-form .wpcf7-text,
.apply-v2-form .wpcf7-email,
.apply-v2-form .wpcf7-number,
.apply-v2-form .wpcf7-textarea,
.fp-select-trigger,
.fp-select-option,
.fp-upload {
    width: 100%;
    height: 60px;
    margin: 0;
    padding: 9px 32px 9px 20px;
    border: 1px solid #000;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
    font-size: 18px;
    line-height: 28px;
    color: #000;
}
.apply-v2-form textarea.wpcf7-form-control {
    height: 116px;
    padding-top: 16px;
    padding-bottom: 16px;
    resize: none;
}
.apply-v2-form .wpcf7-form-control:focus,
.fp-select-trigger:focus-visible,
.fp-upload:focus-visible {
    outline: none;
    border-color: #000;
    box-shadow: inset 0 0 0 1px #000;
}
.apply-v2-form input[type="number"] {
    -moz-appearance: textfield;
}
.apply-v2-form input[type="number"]::-webkit-inner-spin-button,
.apply-v2-form input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Native select and file input stay in the form for CF7, the custom widgets below replace them visually */
.apply-v2-form select.wpcf7-select,
.apply-v2-form input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.apply-v2-form .wpcf7-not-valid,
.wpcf7-form-control-wrap:has(.wpcf7-not-valid) .fp-select-trigger,
.wpcf7-form-control-wrap:has(.wpcf7-not-valid) .fp-upload {
    border-color: #FF4A18;
}
.apply-v2-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 8px;
    font-size: 16px;
    line-height: normal;
    color: #FF4A18;
}

/* Custom select */

.fp-select {
    position: relative;
}
.fp-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-right: 9px;
    text-align: left;
    cursor: pointer;
}
.fp-select-value {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.fp-select-arrow {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 33.2px;
    height: 33.2px;
    transform: rotate(-90deg);
}
.fp-select-arrow .is-white {
    display: none;
}
.fp-select.is-open .fp-select-trigger {
    background: #000;
    color: #fff;
}
.fp-select.is-open .fp-select-arrow {
    transform: rotate(90deg) scaleY(-1);
}
.fp-select.is-open .fp-select-arrow img {
    display: none;
}
.fp-select.is-open .fp-select-arrow .is-white {
    display: block;
}
.fp-select-options {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    max-height: 354px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
    background: #fff;
}
.fp-select.is-open .fp-select-options {
    display: block;
}
.fp-select-option {
    display: flex;
    align-items: center;
    height: 59px;
    border-top: 0;
    padding-right: 9px;
    text-align: left;
    cursor: pointer;
}
.fp-select-option:hover,
.fp-select-option:focus-visible {
    outline: none;
    background: #F1EDFF;
}
.fp-select-option.is-selected {
    display: none;
}

/* Custom upload */

.fp-upload {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-right: 20px;
    cursor: pointer;
}
.fp-upload-name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.fp-upload-remove {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
.fp-upload.has-file {
    background: #000;
    color: #fff;
}
.fp-upload.has-file .fp-upload-icon {
    display: none;
}
.fp-upload.has-file .fp-upload-remove {
    display: flex;
}

/* Submit and response */

.fp-actions {
    margin-top: 64px;
}
.apply-v2-form input.fp-submit {
    display: block;
    width: 100%;
    height: 59px;
    margin: 0;
    padding: 0 20px;
    border: 0;
    border-radius: 0;
    background: #FF4A18;
    font-size: 16px;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: -0.24px;
    color: #000;
    cursor: pointer;
    transition: background 0.3s;
}
.apply-v2-form input.fp-submit:hover {
    background: #AF9BF1;
}
.apply-v2-form .wpcf7-spinner {
    display: none;
}
.apply-v2-form form.submitting .fp-submit {
    opacity: 0.6;
    pointer-events: none;
}
.apply-v2 .wpcf7 form .wpcf7-response-output {
    margin: 16px 0 0 !important;
    padding: 0;
    border: 0 !important;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    color: #FF4A18;
}
.apply-v2 .wpcf7 form.sent .wpcf7-response-output {
    display: block;
    color: #000;
}

@media (max-width: 1199px) {
    .apply-v2-progress-circle {
        width: 160px;
        height: 160px;
        font-size: 32px;
        line-height: 40px;
    }
}

@media (max-width: 1023px) {
    .apply-v2-progress {
        display: none;
    }
}

@media (max-width: 767px) {
    .apply-v2-form-inner {
        padding: 48px 20px 64px;
    }
    .fp-section + .fp-section {
        margin-top: 48px;
    }
    .apply-v2 .fp-section-title {
        margin-bottom: 24px;
    }
    .fp-field + .fp-field {
        margin-top: 16px;
    }
    .apply-v2 .fp-label {
        margin-bottom: 6px;
        font-size: 16px;
        line-height: 26px;
    }
    .apply-v2-form .wpcf7-text,
    .apply-v2-form .wpcf7-email,
    .apply-v2-form .wpcf7-number,
    .apply-v2-form .wpcf7-textarea,
    .fp-select-trigger,
    .fp-select-option,
    .fp-upload {
        font-size: 16px;
        line-height: 26px;
    }
    .apply-v2-form textarea.wpcf7-form-control {
        height: 162px;
    }
    .apply-v2-form .wpcf7-not-valid-tip {
        margin-top: 6px;
        line-height: 26px;
    }
    .fp-actions {
        margin-top: 48px;
    }
    .apply-v2 .wpcf7 form .wpcf7-response-output {
        margin-top: 12px !important;
        font-size: 16px;
        line-height: 26px;
    }
}
