/*Primary: rgb(13, 110, 253) (Hex: #0d6efd)*/
    /*Secondary: rgb(108, 117, 125) (Hex: #6c757d)*/
    /*Success: rgb(25, 135, 84) (Hex: #198754)*/
    /*Info: rgb(13, 202, 240) (Hex: #0dcaf0)*/
    /*Warning: rgb(255, 193, 7) (Hex: #ffc107)*/
    /*Danger: rgb(220, 53, 69) (Hex: #dc3545)*/
    /*Light: rgb(248, 249, 250) (Hex: #f8f9fa)*/
    /*Dark: rgb(33, 37, 41) (Hex: #212529)*/
    :root {
        --bs-primary-rgb: 67,193,200;
    }

    

    .one-click-animation {
        width: 60px;
        height: 80px;
        margin-right: 1rem;
    }

    @media (min-width: 400px) {
        .one-click-animation {
            width: 200px;
            height: 80px;
        }
    }

    @media (min-width: 992px) {
        .one-click-animation {
            width: 200px;
            height: 80px;
        }
    }


    .rla-animation {
        width: 60px;
        height: 80px;
        margin-right: 1rem;
    }

    @media (min-width: 400px) {
        .rla-animation {
            width: 200px;
            height: 80px;
        }
    }

    @media (min-width: 992px) {
        .rla-animation {
            width: 200px;
            height: 80px;
        }
    }


    .subheadline {
        font-size: 12px;
    }

    @media (min-width: 992px) {
        .subheadline {
            font-size: 14px;
        }
    }


    .econsent {
        text-align: justify;
    }

    .btn {
        --bs-btn-disabled-opacity: 0.35;
    }

	body.loan-quote {
		font-family: "Montserrat", sans-serif;
		font-optical-sizing: auto;
		font-style: normal;
		color: #333333;
		font-synthesis: none;
		-webkit-font-smoothing: antialiased;
		background-image: url('/personal-loan/quote/assets/bg-hero-teal.png');
		background-repeat: no-repeat;
		background-position: top right;
		background-size: 900px;
	}

	@media (min-width: 1024px) and (max-width: 1440px) {
		body.loan-quote {
			background-size: 630px; /* Shrinks to 450px on smaller screens */
			background-position: top right;
		}
	}

	@media (max-width: 1024px) {
		body.loan-quote {
			background-size: 800px; /* Shrinks to 450px on smaller screens */
			background-position: calc(100% + 225px) top; /* Moves 200px further right */
		}
	}

	@media (min-width: 426px) and (max-width: 1023px) {
		body.loan-quote {
			background-size: 500px; /* Shrinks to 450px on smaller screens */
			background-position: calc(60% + 225px) top; /* Moves 200px further right */
		}
	}

	@media (max-width: 425px) {
		body.loan-quote {
			background-size: 500px; /* Shrinks to 450px on smaller screens */
			background-position: calc(30% + 225px) top; /* Moves 200px further right */
		}
	}

    body.loan-quote {
        visibility: visible;
    }


    h3, h4, h5, h6 {
        letter-spacing: -0.75px;
	}

    .font-loaded body.loan-quote {
        visibility: visible;
    }

    .form-control.secure {
        -webkit-text-security: disc;
        text-security: disc;
    }

    .text-bubble {
        display: inline-block;
        background-color: #007AFF;
        border-radius: 15px;
        padding: 5px 15px;
        color: white;
        position: relative;
        font-size: 14px;
        line-height: 1.5;
        max-width: 80%;
        word-wrap: break-word;
    }

    .text-bubble::after {
        content: '';
        position: absolute;
        top: 18px;
        left: -13px;
        transform: translateY(-50%) rotate(-15deg);
        border-width: 10px;
        border-style: solid;
        border-color: transparent #007AFF transparent transparent;
    }

    .toggle-visibility-btn:hover, .toggle-visibility-btn:active {
        background-color: transparent !important;
        border-color: inherit !important;
        color: inherit !important;
        box-shadow: none !important;
    }

    .input-group .form-floating input.form-control {
        border-top-left-radius: 0.25rem;
        border-bottom-left-radius: 0.25rem
    }

    .input-group button.toggle-visibility-btn {
        border-top-right-radius: 0.25rem;
        border-bottom-right-radius: 0.25rem
    }

    #mainProgressBar_agent {
        position: relative;
    }

    #mainProgressBar_agent:before {
        content: '';
        position: absolute;
        width: 10px;
        height: 10px;
        background: #00b951;
        border-radius: 50%;
        right: 5px;
        bottom: 29px;
        z-index: 2; /* Keep the dot above the pulse */
        border: 1px solid #f8f9fa;
    }

    /* The pulsing radar effect */
    #mainProgressBar_agent:after {
        content: '';
        position: absolute;
        width: 10px;
        height: 10px;
        background: #00b951;
        border-radius: 50%;
        right: 5px;
        bottom: 29px;
        z-index: 1; /* Place it behind the solid dot */
        opacity: 0;
        animation: radarPulse 1.5s infinite ease-out;
    }

    @keyframes radarPulse {
        0% {
            transform: scale(1);
            opacity: 0.6;
        }
        50% {
            transform: scale(1.5);
            opacity: 0.3;
        }
        100% {
            transform: scale(2.5);
            opacity: 0;
        }
    }


    .head-spacer {
        height: 25px;
    }

    @media (min-width: 992px) {
        .head-spacer {
            height: 50px;
        }
    }

    .progress {
        --bs-progress-bar-bg: rgba(var(--bs-primary-rgb), 1);
    }

    .btn-primary {
        --bs-btn-color: #fff;
        --bs-btn-bg: rgba(var(--bs-primary-rgb), 1); /* Corrected */
        --bs-btn-border-color: rgba(var(--bs-primary-rgb), 1); /* Corrected */
        --bs-btn-hover-color: #fff;
        --bs-btn-hover-bg: rgba(var(--bs-primary-rgb), 0.8); /* Optional: Adjust opacity for hover */
        --bs-btn-hover-border-color: rgba(var(--bs-primary-rgb), 0.8); /* Optional: Adjust opacity for hover */
        --bs-btn-focus-shadow-rgb: 49, 132, 253;
        --bs-btn-active-color: #fff;
        --bs-btn-active-bg: rgba(var(--bs-primary-rgb), 0.9); /* Optional: Adjust opacity for active state */
        --bs-btn-active-border-color: rgba(var(--bs-primary-rgb), 0.9); /* Optional: Adjust opacity for active state */
        --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
        --bs-btn-disabled-color: #fff;
        --bs-btn-disabled-bg: rgba(var(--bs-primary-rgb), 0.5); /* Optional: Adjust opacity for disabled state */
        --bs-btn-disabled-border-color: rgba(var(--bs-primary-rgb), 0.5); /* Optional: Adjust opacity for disabled state */
    }

    .mobile-headline {
        padding: 3px 0px;
        border-radius: 50px;
        color: white;
    }

    .stats-section {
        padding: 75px 0;
        background-image: linear-gradient(rgba(var(--bs-primary-rgb), 1), rgba(var(--bs-primary-rgb), .75)), url('https://img.emlasts.com/funnel/v1/img/FLD/worldmap.svg');
        background-size: contain; /* Ensures the image covers the entire section */
        background-position: center; /* Centers the image */
        background-repeat: no-repeat; /* Prevents the image from repeating */
        position: relative; /* For positioning the overlay */
        min-height: 450px;
    }

    .custom-shape-divider-top-1723827334 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        overflow: hidden;
        line-height: 0;
    }

    .custom-shape-divider-top-1723827334 svg {
        position: relative;
        display: block;
        width: calc(190% + 1.3px);
        height: 76px;
        transform: rotateY(180deg);
        top: -1px;
    }

    .custom-shape-divider-top-1723827334 .shape-fill {
        fill: #f8f9fa;
    }

    .shapeDividerBottom {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        overflow: hidden;
        line-height: 0;
        transform: rotate(180deg);
    }

    .shapeDividerBottom svg {
        position: relative;
        display: block;
        width: calc(182% + 1.3px);
        height: 65px;
        transform: rotateY(180deg);
    }

    .shapeDividerBottom .shape-fill {
        fill: #FFFFFF;
    }


    /* For large screens */
    @media (min-width: 1024px) {
        .partner-list {
            column-count: 3;
        }
    }

    a.rounded-circle[data-bs-toggle="popover"] {
        font-size: 12px;
        padding: 0px 6px;
        vertical-align: super;
    }

    #loading-screen {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.8);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    .spinner-border {
        width: 3rem;
        height: 3rem;
    }

    body.loan-quote.loading #applicantForm {
        display: none;
    }

    .btn-check:checked + .btn {
        background-color: rgba(var(--bs-primary-rgb), 0.2);
        color: rgba(var(--bs-primary-rgb), 1);
        font-weight: bold;
        border-color: rgba(var(--bs-primary-rgb), 1) !important;
        box-shadow: 500px 0px 0px inset rgba(var(--bs-primary-rgb), .15);
    }

    .ws-nowrap {
        white-space: nowrap;
    }

    .btn-check:checked + .btn svg {
        fill: rgba(var(--bs-primary-rgb), 0.9);
    }

    #backBtn:disabled {
        opacity: 0.2;
    }

    body.loan-quote.in-progress .content {
        display: none
    }

    body.loan-quote.in-progress.splash .content {
        display: block
    }

    body.loan-quote nav.site-header {
        z-index: 1080;
        background: #fff;
    }

    /* Keep the shared cookie banner above Bootstrap/quiz overlays */
    body.loan-quote #consent-banner,
    body.loan-quote #consent-customize {
        z-index: 11000 !important;
        visibility: visible !important;
    }

    body.loan-quote #consent-banner.show {
        display: flex !important;
        opacity: 1 !important;
        transform: translate(-50%, 0) scale(1) !important;
    }

    body.loan-quote #consent-customize.show {
        display: block !important;
        opacity: 1 !important;
    }

    /* Tailwind's .collapse { visibility: collapse } hides Bootstrap FAQ answers */
    body.loan-quote .accordion-collapse.collapse,
    body.loan-quote .accordion-collapse.collapsing {
        visibility: visible !important;
    }

    body.loan-quote .accordion-collapse.collapse:not(.show) {
        display: none;
    }

    body.loan-quote .accordion-collapse.collapse.show {
        display: block;
        height: auto !important;
    }

    body.loan-quote.in-progress {
        background-image: none !important;
        padding-top: 0;
    }

    .loan-disclosures {
        background: #fff;
        border-top: 1px solid #e5e7eb;
        color: #374151;
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: -6px;
    }

    .loan-disclosures a {
        color: #0d9488;
        text-decoration: underline;
    }

    .loan-form-note {
        max-width: 450px;
        margin: 0.75rem auto 0;
        padding: 0 10px 12px;
        font-size: 12px;
        line-height: 1.45;
        color: #6b7280;
    }

    .loan-form-note a {
        color: #0d9488;
        text-decoration: underline;
    }

    .loan-facts {
        display: grid;
        gap: 0.35rem 1.5rem;
        padding-left: 1.1rem;
        margin-bottom: 1rem;
    }

    @media (min-width: 768px) {
        .loan-facts {
            grid-template-columns: 1fr 1fr;
        }
    }

    .loan-lead-consent {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
        font-size: 11px;
        color: #6b7280;
        line-height: 1.35;
    }

    .loan-lead-consent__label {
        display: flex;
        gap: 0.6rem;
        align-items: flex-start;
        cursor: pointer;
    }

    .loan-lead-consent input[type="checkbox"] {
        margin-top: 0.2rem;
        flex-shrink: 0;
    }

    body.loan-quote.returned #oneClickWrapper_resid {
        margin-top: 0.5rem;
    }

    body.loan-quote.in-progress #splashApplicationWrapper .row > [class*="col-"] {
        flex: 0 0 auto;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .partner-frame {
        max-width: 450px;
        margin: 0 auto;
        padding: 30px 10px 0;
    }

    form {
        max-width: 400px;
        margin: auto;
    }

    @media (min-width: 1200px) {
        form {
            max-width: 480px;
        }
    }

    form .error-message {
        font-size: 12px;
        color: var(--bs-danger);
    }

    .logo {
        font-size: 20px;
        width: 180px;
    }

    .radio-options {
        position: relative;
        padding-left: 30px; /* Adjust padding for circle */
        cursor: pointer;
        display: inline-block;
    }

    .radio-options::before {
        content: '';
        position: absolute;
        left: 10px; /* Adjust to position the circle */
        top: 50%;
        transform: translateY(-50%);
        width: 16px;
        height: 16px;
        border: 1px solid black;
        border-radius: 50%;
        background-color: white;
        transition: background-color 0.3s ease;
    }

    .btn-check:checked + .radio-options::before {
        background-color: rgba(var(--bs-primary-rgb), .8);
        border-color: rgba(var(--bs-primary-rgb), 0.2);
    }

    .hero {
        max-width: 480px;
        margin: auto;
    }

        @media (min-width: 992px) {
        .hero {
            max-height: 499px;
            min-height: 499px;
            max-width: unset;
            margin: unset;
        }
    }

    

    .hero ul {
        margin-top: 45px;
    }

    .hero h4 span {
        font-size: 16px;
    }

    .hero-img {
        position: absolute;
        width: 430px;
        left: 0;
    }

    @media (min-width: 992px) {
        .hero-img {
         width: 271px;
            left: -114px;
                }
    }

    @media (min-width: 1200px) {
        .hero-img {
         width: 300px;
            left: -65px;
                }
    }

    @media (min-width: 1400px) {
        .hero-img {
            width: 310px;
            left: 0px;
            bottom: -30px;
        }
    }


    .processing-screen .progress-bar {
        background-color: rgba(var(--bs-primary-rgb), .6);
    }

    .processing-screen {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(var(--bs-primary-rgb), 1);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1050
    }

    .disabled {
        pointer-events: none; /* Disables all interactions */
        opacity: 0.5; /* Makes it look faded */
    }


    /*           
        TCPA CONSENT  
    */


    .custom-checkbox {
        position: relative;
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
    }

    .custom-checkbox .circle {
        width: 10px;
        height: 10px;
        border: 1px solid;
        border-color: #7C7C7C;
        border-radius: 50%;
        flex-shrink: 0;
        transition: background-color 0.3s ease;
        background: white;
        cursor: pointer;
    }

    .progress-note {
        font-style: italic;
        font-size: 14px;
    }
    
    .under-form-icons img{
        margin: auto;
        max-width: 320px;
    }

    #mainProgressBar {
        background: #d4d4d4;
        border-radius: 50px;
        height: 8px;
    }

    #tcpa_optinWrapper input[type="checkbox"]:checked + label .circle {
        background-color: rgba(var(--bs-primary-rgb), 1);
    }

    .custom-checkbox.btn:hover {
        color: rgba(var(--bs-primary-rgb), 1);
        background-color: rgba(var(--bs-primary-rgb), 0.1);
        border-color: rgba(var(--bs-primary-rgb), 0.3);
    }


    .tcpa_small_text {
        font-size: 10px;
    }

    .econsent-text {
        position: relative;
        font-size: 12px;
        font-family: sans-serif;
        font-weight: 400;
        text-align: justify;
        line-height: 1.4;
    }

    @media (min-width: 767.98px) {
        .tcpa_small_text {
            font-size: 12px;
        }

        .econsent-text {
            font-size: 11px;
        }
    }

    .econsent {
        background: #e9e9e9;
        padding: 10px;
        border: 1px solid #dee2e6;
    }

    .scroll-text {
        position: relative;
        font-size: 12px;
        font-family: sans-serif;
        font-weight: 400;
        text-align: justify;
        height: 95px;
        overflow-y: hidden;
        box-shadow: inset 0px -10px 10px -10px;
        background: #e9e9e9;
        line-height: 1.3;
    }

    .scroll-text.scroll {
        overflow-y: scroll !important;
        box-shadow: unset;
    }


    @media (min-width: 992px) {
        .scroll-text {
            position: relative;
            font-family: sans-serif;
            height: 100px;
            overflow-y: scroll;
            box-shadow: unset;
        }

        .read-more {
            display: none;
        }
    }

    .read-more {
        cursor: pointer;
        position: absolute;
        right: 5px;
        bottom: 5px;
        background: rgb(118 121 124);
        border-radius: 3px;
        color: white;
        padding: 3px 8px;
        font-size: 12px;
        border: 1px solid #787b7e;
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));;
    }

    @media (max-width: 320px) {
        /* Adjust breakpoint as needed */
        #tcpa_optinWrapper .custom-checkbox .circle {
            display: block !important;
            margin: auto;
            margin-top: 8px; /* Add spacing between the circle and logo */
        }
    }

    #main .loan-legal {
        font-size: 11px;
    }

    @media (min-width: 992px) {
        #main .loan-legal {
            font-size: 14px;
        }
    }

    .form-control:focus {
        color: var(--bs-body-color);
        background-color: var(--bs-body-bg);
        border-color: #86b7fe;
        outline: 0;
        box-shadow: none;
    }

    input:focus {
        caret-color: #8d8f91;
    }

    #dynamicModal .modal-body {
        height: 60vh;
        overflow-y: scroll;
    }

    #lender-acquire {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        color: white;
        font-size: 1.5rem; /* Adjust font size */
        display: flex;
        flex-direction: column; /* Stack items vertically */
        justify-content: center;
        align-items: center;
        z-index: 9999; /* Ensure it stays on top */
        text-align: center; /* Center-align text */
        transition: opacity 0.5s ease; /* Smooth fade-out effect */
        background-color: rgba(var(--bs-primary-rgb), 1); /* Semi-transparent white */
    }

    #lender-acquire.hidden {
        opacity: 0;
        pointer-events: none; /* Prevent interaction while hidden */
    }

	.accordion-button:not(.collapsed) {
        background-color: #edf5ff;
        color: #0abffc;
    }
