/* ==========================================================================
   Apply Now Page Styles
   ========================================================================== */

.apply-now-section {
    position: relative;
}

.apply-now-inner {
    padding: 3.5vw 0 6vw;
}

.apply-now-header {
    margin-bottom: 4vw;
}

.apply-now-header h1 {
    margin-bottom: 0.6vw;
}

.apply-now-header p {
    margin-bottom: 0;
    max-width: 42vw;
}

.form-row-1 {
    display: flex;
    width: 50%;
}

.form-row-1 .form-group {
    flex: 1;
}

.form-row-title-name .col-title {
    flex: 1.2;
}

.form-row-title-name .col-name {
    flex: 2;
}

.apply-now-section .form-select-custom {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%231A2B3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5vw center;
    background-size: 0.9vw auto;
    padding-right: 3.5vw;
    cursor: pointer;
}

.apply-now-section .form-select-custom option {
    color: #111C27;
}

.apply-now-section .form-select-custom:invalid,
.apply-now-section .form-select-custom option[value=""] {
    color: #111C27;
}

.apply-now-section .form-consent-row {
    align-items: flex-start;
    display: flex;
    gap: 2vw;
    justify-content: space-between;
    margin-top: 0.5vw;
    width: 100%;
}

.apply-now-section .consent-checkbox-wrap {
    align-items: flex-start;
    display: flex;
    gap: 0.8vw;
    width: 65%;
}

.apply-now-section .consent-checkbox-wrap input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--white);
    border-radius: 0.25vw;
    cursor: pointer;
    flex-shrink: 0;
    height: 1.5vw;
    margin-top: 0.15vw;
    width: 1.5vw;
}

.apply-now-section .consent-checkbox-wrap input[type="checkbox"]:checked {
    background-color: var(--text-red);
    border-color: var(--text-red);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5.5L4.5 9L11 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 0.7vw;
}

.apply-now-section .consent-text {
    color: #111C27;
    margin: 0;
}

.apply-now-section .submit-wrapper {
    flex: 0 0 auto;
    margin-top: 0;
}

.apply-now-section .submit-btn {
    margin-left: auto;
    border: none;
}

.apply-now-cf7-form .wpcf7-form p {
    margin: 0;
}

.apply-now-cf7-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.apply-now-cf7-form .consent-checkbox-wrap .wpcf7-list-item {
    margin: 0;
}

.apply-now-cf7-form .consent-checkbox-wrap label {
    align-items: flex-start;
    display: flex;
    gap: 0.8vw;
    margin: 0;
}

.apply-now-cf7-form .consent-checkbox-wrap .wpcf7-list-item-label {
    color: #111C27;
    font-size: var(--text-20);
    line-height: 1.5;
}

.apply-now-cf7-form .wpcf7-not-valid-tip {
    font-size: var(--text-15);
    margin-top: 0.4vw;
}

.apply-now-cf7-form .wpcf7-response-output {
    border-color: var(--text-red);
    color: #111C27;
    font-size: var(--text-20);
    margin: 1.5vw 0 0;
    padding: 0.8vw 1vw;
}

.apply-now-cf7-form .wpcf7-spinner {
    display: none;
    margin-left: 1vw;
}

.apply-now-cf7-form .submit-wrapper p {
    margin: 0;
}

.apply-now-cf7-form .submit-btn .btn-arrow-icon {
    flex-shrink: 0;
    height: auto;
    width: 1.6vw;
}

.bottom-loan-card {
    border-radius: 1.6vw;
}

.apply-now-loans-sec {
    background-color: #5F6A76;
    padding-bottom: 3vw;
}

.apply-now-loans-sec .bottom-loans-header {
    margin-bottom: 4vw;
    margin-top: 1vw;
    text-align: left;
}

.apply-now-loans-sec .bottom-loans-header h2 {
    padding: 0;
}

.apply-now-loans-sec .bottom-loans-grid {
    grid-template-columns: repeat(4, 1fr);
}

.apply-now-loans-sec .bottom-loan-image-box {
    position: relative;
}

.apply-now-loans-sec .bottom-loan-image-box::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.38) 100%);
    content: '';
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.apply-now-loans-sec .bottom-loan-title-overlay {
    z-index: 2;
}

.apply-now-loans-sec .bottom-loan-image-box img {
    display: block;
    width: 100%;
}

.apply-now-loans-sec .bottom-loan-bar-item {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    gap: 0.4vw;
    position: relative;
    white-space: nowrap;
    z-index: 1;
}

.apply-now-loans-sec .bottom-loan-bar-item span {
    white-space: nowrap;
}

.apply-now-loans-sec .bottom-loan-yellow-bar {
    flex-wrap: nowrap;
    gap: 0.8vw;
    justify-content: center;
    padding-left: 0.4vw;
    padding-right: 0.4vw;
}

.apply-now-loans-sec .bottom-loan-bar-item img {
    width: 1.1vw;
    height: auto;
}

.apply-now-loans-sec .bottom-loan-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0.6vw;
}

.apply-now-loans-sec .bottom-loan-benefit-pill {
    align-items: flex-start;
    background-color: transparent;
    border-radius: 0;
    display: flex;
    gap: 0.5vw;
    padding: 0;
}

.apply-now-loans-sec .bottom-loan-benefit-pill img {
    flex-shrink: 0;
    margin-top: 0.2vw;
    width: 1.1vw;
    height: auto;
}

.apply-now-loans-sec .bottom-loan-benefit-pill span {
    font-size: var(--text-15);
    line-height: 1.4;
}

@media (min-width: 768px) and (max-width: 991px) {
    .apply-now-inner {
        padding: 25px 0 40px;
    }

    .apply-now-header {
        margin-bottom: 20px;
    }

    .apply-now-header h1 {
        margin-bottom: 10px;
    }

    .apply-now-header p {
        max-width: 100%;
    }

    .form-row-1 {
        display: flex;
        width: 100%;
    }

    .apply-now-section .form-grid {
        gap: 0;
    }

    .apply-now-section .form-row-3,
    .apply-now-section .form-row-1,
    .form-row-title-name {
        gap: 0;
    }

    .apply-now-section .form-row-3,
    .form-row-title-name {
        display: block;
    }

    .apply-now-section .form-row-3 .form-group,
    .form-row-title-name .form-group,
    .apply-now-section .form-row-1 .form-group {
        flex: auto;
        padding-bottom: 15px;
    }

    .apply-now-section .form-select-custom {
        background-position: right 15px center;
        background-size: 12px auto;
        padding-right: 35px;
    }

    .apply-now-section .form-consent-row {
        align-items: flex-start;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: space-between;
        margin-top: 10px;
    }

    .apply-now-section .consent-checkbox-wrap {
        flex: 1 1 100%;
        gap: 10px;
        margin-bottom: 0;
        max-width: 100%;
    }

    .apply-now-cf7-form .consent-checkbox-wrap label {
        gap: 10px;
    }

    .apply-now-section .consent-checkbox-wrap input[type="checkbox"] {
        border-radius: 3px;
        height: 2.5vw;
        margin-top: 0.2vw;
        width: 2.5vw;
    }

    .apply-now-section .consent-checkbox-wrap input[type="checkbox"]:checked {
        background-size: 10px;
    }

    .apply-now-section .submit-wrapper {
        display: flex;
        justify-content: flex-end;
        width: 100%;
    }

    .apply-now-cf7-form .submit-wrapper p {
        margin: 0;
        width: auto;
    }

    .apply-now-cf7-form .submit-btn {
        font-size: 15px;
        height: auto;
        margin-left: 0;
        min-width: 150px;
        padding: 10px 12px 10px 20px;
        width: auto;
    }

    .apply-now-cf7-form .submit-btn .btn-arrow-icon {
        width: 25px;
    }

    .apply-now-loans-sec .bottom-loans-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 3vw;
    }

    .bottom-loan-card {
        border-radius: 4vw;
    }

    .apply-now-loans-sec .bottom-loan-card {
        flex: 1 1 calc(50% - 10px);
    }

    .apply-now-loans-sec .bottom-loans-header {
        margin-bottom: 20px;
    }

    .apply-now-loans-sec .bottom-loan-yellow-bar {
        align-items: center;
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: space-between;
        padding-left: 6px;
        padding-right: 6px;
    }

    .apply-now-loans-sec .bottom-loan-bar-item {
        white-space: nowrap;
    }

    .apply-now-loans-sec .bottom-loan-bar-item span {
        font-size: var(--text-20);
        white-space: nowrap;
    }

    .apply-now-loans-sec .bottom-loan-bar-item img {
        width: 17px;
    }

    .apply-now-loans-sec .bottom-loan-benefits-list {
        gap: 8px;
    }

    .apply-now-loans-sec .bottom-loan-benefit-pill {
        gap: 8px;
    }

    .apply-now-loans-sec .bottom-loan-benefit-pill img {
        margin-top: 2px;
        width: 14px;
    }
}

@media (max-width: 767px) {
    .apply-now-inner {
        padding: 25px 0 40px;
    }

    .apply-now-header {
        margin-bottom: 20px;
    }

    .apply-now-header h1 {
        margin-bottom: 10px;
    }

    .apply-now-header p {
        max-width: 100%;
    }

    .form-row-1 {
        width: 100%;
    }

    .apply-now-section .form-grid {
        gap: 0;
    }

    .apply-now-section .form-row-3,
    .apply-now-section .form-row-1,
    .form-row-title-name {
        gap: 0;
    }

    .apply-now-section .form-row-3,
    .form-row-title-name {
        display: block;
    }

    .apply-now-section .form-row-3 .form-group,
    .form-row-title-name .form-group,
    .apply-now-section .form-row-1 .form-group {
        flex: auto;
        padding-bottom: 15px;
    }

    .apply-now-section .form-select-custom {
        background-position: right 15px center;
        background-size: 12px auto;
        padding-right: 35px;
    }

    .apply-now-section .form-consent-row {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
    }

    .apply-now-section .consent-checkbox-wrap {
        flex: 1 1 100%;
        gap: 10px;
        margin-bottom: 0;
        max-width: 100%;
        width: 100%;
    }

    .apply-now-cf7-form .consent-checkbox-wrap label {
        gap: 10px;
    }

    .apply-now-section .consent-checkbox-wrap input[type="checkbox"] {
        border-radius: 3px;
        height: 18px;
        margin-top: 2px;
        width: 18px;
    }

    .apply-now-section .consent-checkbox-wrap input[type="checkbox"]:checked {
        background-size: 10px;
    }

    .apply-now-section .submit-wrapper {
        display: flex;
        justify-content: center;
        margin-top: 10px;
        width: 100%;
    }

    .apply-now-cf7-form .submit-wrapper p {
        margin: 0;
        width: auto;
    }

    .apply-now-cf7-form .submit-btn {
        font-size: 15px;
        height: auto;
        margin-left: 0;
        min-width: 150px;
        padding: 10px 12px 10px 20px;
        width: auto;
    }

    .apply-now-cf7-form .submit-btn .btn-arrow-icon {
        width: 25px;
    }

    .apply-now-loans-sec .bottom-loans-grid {
        display: flex;
        gap: 20px;
    }

    .bottom-loan-card {
        border-radius: 30px;
    }

    .apply-now-loans-sec .bottom-loan-card {
        flex: 1 1 100%;
    }

    .apply-now-loans-sec .bottom-loans-header {
        margin-bottom: 20px;
    }

    .apply-now-loans-sec .bottom-loan-yellow-bar {
        align-items: center;
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: space-between;
        padding-left: 6px;
        padding-right: 6px;
    }

    .apply-now-loans-sec .bottom-loan-bar-item {
        white-space: nowrap;
    }

    .apply-now-loans-sec .bottom-loan-bar-item span {
        font-size: var(--text-20);
        white-space: nowrap;
    }

    .apply-now-loans-sec .bottom-loan-bar-item img {
        width: 17px;
    }

    .apply-now-loans-sec .bottom-loan-benefits-list {
        gap: 8px;
    }

    .apply-now-loans-sec .bottom-loan-benefit-pill {
        gap: 8px;
    }

    .apply-now-loans-sec .bottom-loan-benefit-pill img {
        margin-top: 2px;
        width: 14px;
    }
}
