﻿.funding-popup .financing-form.popup__inner {
    height: 885px;
    max-width: 580px;
    background-color: #0B3D4C;
    border-radius: 24px;
    font-family: '555-Rag Sans', sans-serif;
    padding: 0;
    row-gap: 0;
}

.funding-popup .financing-form__top-new {
    height: 308px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: flex-end;
    align-self: center;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
}

.funding-popup .financing-form .financing-form__btn-wrapper {
    background-color: #0B3D4C;
    left: 32px;
    top: 30px;
    inset-inline-start: auto;
    /*width: 2.6rem;
    height: 2.6rem;*/
}

.funding-popup .header-img {
    margin: 0 auto;
    padding-bottom: 2rem;
}

.funding-popup .inner-bubble {
    margin: 0px 46px;
    background-color: #A0F0FC;
    display: flex;
    border-radius: 222.95px;
    margin-bottom: 2rem;
    padding: 30px;
}

.funding-popup .titles {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
    width: 55%;
}

.funding-popup .direct-title-new {
    font-size: 24px;
    font-weight: 700;
    color: #0B3D4C;
    line-height: 23.99px;
    padding-bottom: 5px;
}

.funding-popup .direct-description-new {
    font-size: 18px;
    font-weight: 400;
    color: #0B3D4C;
    line-height: 21.6px;
}

.funding-popup .financing-form__image-new {
    width: 280px;
    position: absolute;
    bottom: -15px;
    left: 12px;
}

    .funding-popup .financing-form__image-new img {
        vertical-align: middle;
        border-style: none;
        height: auto;
        display: inline-block;
        max-width: 100%;
    }

.funding-popup .financing-form__main-new {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    overflow-y: auto;
    background-color: #fff;
    height: 100%;
    border-radius: 20px;
    color: #000000;
}

.funding-popup .direct-form-description-new {
    text-align: center;
    color: #0B3D4C;
    font-size: 24px;
    font-weight: 700;
    line-height: 26px;
    max-width: 400px;
    margin: 0 auto;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.funding-popup .input-container {
    display: flex;
    justify-content: flex-end;
    background-color: #f5f5f5; /* Light gray background */
    border-radius: 50px; /* Fully rounded corners */
    padding: 10px 20px; /* Padding inside the container */
    width: 100%; /* Full width */
    max-width: 600px; /* Adjust max-width as needed */
    box-sizing: border-box;
    margin-bottom: 1rem;
}

    .funding-popup .input-container input {
        border: none;
        background: transparent;
        outline: none;
        font-size: 18px;
        text-align: right; /* Align text to the right */
        width: 100%;
        height: 40px;
    }

        .funding-popup .input-container input::placeholder {
            color: #333; /* Dark text for the placeholder */
        }

        .funding-popup .input-container input.error::placeholder {
            color: #A72216;
        }

        /*.funding-popup .input-container input:required::placeholder::before {
            content: "* ";
            color: #A72216;
        }*/

        .funding-popup .input-container input:-webkit-autofill {
            -webkit-box-shadow: 0 0 0 1000px #f5f5f5 inset;
        }

    .funding-popup .input-container:has(.error) {
        border: 2px solid #A72216;
    }

.funding-popup p.first-remark {
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
    text-align: right;
}

.funding-popup .checkbox-container {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    margin-top: 1rem;
    text-align: right;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
}

    .funding-popup .checkbox-container input[type="checkbox"] {
        width: 12px;
        height: 12px;
        margin-left: 10px; /* Space between checkbox and text */
        accent-color: #0B3D4C; /* Custom checkbox color */
        margin-top: 3px;
        border-radius: 2px;
    }

    .funding-popup .checkbox-container span {
        display: inline-block;
        vertical-align: top;
    }

.funding-popup .financing-form__main-buttons-new {
    display: flex;
    margin-top: 1rem;
    justify-content: space-evenly;
}

    .funding-popup .financing-form__main-buttons-new button {
        border: none;
        padding: 10px 20px;
        font-size: 16px;
        font-weight: bold;
        border-radius: 50px; /* Fully rounded buttons */
        cursor: pointer;
        min-width: 45%;
        height: 48px;
    }

    /* Outline Button */
    .funding-popup .financing-form__main-buttons-new .btn-outline {
        background-color: transparent;
        color: #003b47; /* Dark teal text */
        border: 2px solid #003b47;
    }

    /* Filled Button */
    .funding-popup .financing-form__main-buttons-new .btn-filled {
        background-color: #003b47; /* Dark teal background */
        color: white;
        border: 2px solid #003b47;
    }

    /* Optional hover effect */
    .funding-popup .financing-form__main-buttons-new button:hover {
        opacity: 0.8;
    }

    .funding-popup .financing-form__main-buttons-new button:disabled {
        opacity: 0.5;
    }

.funding-popup .financing-form__bottom-text-new {
    margin-top: 1rem;
    text-align: right;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
}

@media(max-width: 767px) {
    .funding-popup .financing-form {
        height: 935px;
    }

    .funding-popup .financing-form__top-new {
        height: 340px;
    }

    .funding-popup .header-img {
        padding-bottom: 1rem;
    }

    .funding-popup .inner-bubble {
        margin: 0px 22px;
        flex-direction: column;
        height: 10.5rem;
        margin-bottom: 1rem;
    }

    .funding-popup .titles {
        width: 100%;
        text-align: center;
    }

    .funding-popup .financing-form__image-new {
        width: 210px;
        /*bottom: -50px;
        left: 65px;*/
        position: unset;
        margin: auto;
        margin-top: -0.5rem;
    }

    .funding-popup .direct-title-new {
        font-size: 22px;
        line-height: 22px;
    }

    .funding-popup .direct-description-new {
        font-size: 16px;
        line-height: 19px
    }

    .funding-popup .direct-form-description-new {
        font-size: 20px;
        line-height: 22px;
        margin-bottom: 0.5rem;
    }

    .funding-popup p.first-remark,
    .funding-popup .checkbox-container {
        font-size: 12px;
        line-height: 14px;
    }

    .funding-popup .financing-form__main-buttons-new {
        margin-top: 1rem;
    }

    .funding-popup .financing-form__bottom-text-new {
        margin-top: 1rem;
        font-size: 12px;
        line-height: 12px;
    }

    .funding-popup .financing-form__main-buttons-new button {
        padding: 0;
    }
