/* ========================================
   PHONE NUMBER LINK STYLES
   ======================================== */

/* Desktop: Disable phone link clicks and hover effects */
@media only screen and (min-width: 769px) {
    .mobile-only-link {
        pointer-events: none !important;
        cursor: default !important;
        color: inherit !important;
    }
    
    .mobile-only-link:hover {
        color: inherit !important;
        text-decoration: none !important;
    }
}

/* Mobile: Enable phone link clicks */
@media only screen and (max-width: 768px) {
    .mobile-only-link {
        pointer-events: auto !important;
        cursor: pointer !important;
    }
    
    .mobile-only-link:hover,
    .mobile-only-link:active {
        opacity: 0.8;
    }
}

/* ========================================
   BASE STYLES
   ======================================== */

html,
body {
    width: 100%;
    /* height:100% + overflow-x:hidden made BOTH html and body scroll
       containers clipped to one viewport (overflow-x:hidden forces
       overflow-y from visible to auto). Nested scrollers desynced on any
       programmatic scroll. height:auto + overflow-x:clip keeps horizontal
       scroll suppressed without creating a scroll container. */
    height: auto;
    margin: 0px;
    padding: 0px;
    overflow-x: clip;
    scroll-behavior: auto;
}

body {
    min-height: 100vh;
}

/* ... rest of your existing CSS ... */

/* ========================================
   BASE STYLES
   ======================================== */

html,
body {
    width: 100%;
    /* height:100% + overflow-x:hidden made BOTH html and body scroll
       containers clipped to one viewport (overflow-x:hidden forces
       overflow-y from visible to auto). Nested scrollers desynced on any
       programmatic scroll. height:auto + overflow-x:clip keeps horizontal
       scroll suppressed without creating a scroll container. */
    height: auto;
    margin: 0px;
    padding: 0px;
    overflow-x: clip;
    scroll-behavior: auto;
}

body {
    min-height: 100vh;
}

#form-step-2 {
    padding-top: 20px;
    text-align: center;
    color: #000000;
    display: none;
    align-items: center;
    justify-content: center;
}

.dtxt {
    margin-top: 0px;
    margin-bottom: 0;	
    text-align: center;
    font-size: 10px;
    color: rgb(172 172 172 / 75%);
    line-height: 1.5;	
}

.phone-hours-top-corner a {
    color: white;
    font-size: 0.875rem;
    font-weight: bold;
}

/* ========================================
   HERO SECTION STYLES - DESKTOP
   ======================================== */

.nl-hero {
    background-size: cover!important;
    background-repeat: no-repeat!important;
}

.nl-hero-index {
    background: linear-gradient(rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.55)), rgba(20, 30, 40, 0.55) url(../images/background/hp4.jpg);
    background-position: 38% 10%;
}

.nl-hero-commercial-real-estate-loans {
    background: linear-gradient(rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.55)), rgba(20, 30, 40, 0.55) url(../images/background/commercial_real_estate_loans_bg.jpg);
    background-position: 50% 50%;
}

.nl-hero-self-employment-loans {
    background: linear-gradient(rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.55)), rgba(20, 30, 40, 0.55) url(../images/background/self_employment_loans_bg.jpg?v=2);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.nl-hero-dscr-loans {
    background: linear-gradient(rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.55)), rgba(20, 30, 40, 0.55) url(../images/background/dscr_loans_bg.jpg);
    background-position: 50% 50%;
}

.nl-hero-dscr-loans-rtg {
    background: linear-gradient(rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.55)), rgba(20, 30, 40, 0.55) url(../images/background/dscr-hero-rtg.webp);
    background-position: 50% 50%;
}

.nl-hero-long-term-rental {
    background: linear-gradient(rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.55)), rgba(20, 30, 40, 0.55) url(../images/background/long_term_rental_bg.jpg);
    background-position: 50% 50%;
}

.nl-hero-multifamily-rental {
    background: linear-gradient(rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.55)), rgba(20, 30, 40, 0.55) url(../images/background/multifamily_bg.jpg);
    background-position: 50% 50%;
}

.nl-hero-vacation-rental-loan {
    background: linear-gradient(rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.55)), rgba(20, 30, 40, 0.55) url(../images/background/str_bg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 25% 45%;
}

.nl-hero-fix-and-flip {
    /*background: linear-gradient(rgba(20, 30, 40, 0.43), rgba(20, 30, 40, 0.43)), rgba(20, 30, 40, 0.43) url(../images/background/fix-and-flip.jpg);*/
	background: linear-gradient(rgba(20, 30, 40, 0.43), rgba(20, 30, 40, 0.43)), rgba(20, 30, 40, 0.43) url('https://images.unsplash.com/photo-1517581177682-a085bb7ffb15?w=1920&q=80&auto=format&fit=crop') !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 25% 45%;
}

.nl-hero-hard-money-loans {
    background: linear-gradient(rgba(20, 30, 40, 0.43), rgba(20, 30, 40, 0.43)), rgba(20, 30, 40, 0.43) url(../images/background/bridge_loans_bg2.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 25% 45%;
}

.nl-hero-new-construction-loans {
    background: linear-gradient(rgba(20, 30, 40, 0.43), rgba(20, 30, 40, 0.43)), rgba(20, 30, 40, 0.43) url(../images/background/new_construction_loans_bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 25% 45%;
}


.nl-hero-brrrr {
    background: linear-gradient(rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.55)), 
                rgba(20, 30, 40, 0.55) url(../images/background/hero-brrrr.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}


/* ========================================
   HERO SECTION STYLES - MOBILE
   ======================================== */

.nl-hero-dscr-loans-rtg {
    background: linear-gradient(rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.55)), rgba(20, 30, 40, 0.55) url(../images/background/dscr-hero-rtg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;  
}

@media (max-width: 767px) {
    .nl-hero-dscr-loans-rtg {
        background-position: center bottom;
    }
}



    .nl-hero-index-mobile {
        background: linear-gradient(rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.55)), rgba(20, 30, 40, 0.55)url(../images/background/hp4.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;  
    }

@media (max-width: 767px) {
    .nl-hero-index-mobile {
        background-position: center bottom;
    }
}



@media only screen and (max-width: 768px) {

    


    .nl-hero-self-employment-loans-mobile {
    height: 100vh; /* Use 100vh to fill viewport height */
		background-position: center top;
		background-size: auto !important; /* Shows natural image size */
		background-repeat: no-repeat !important;
		background-attachment: local !important;
		padding: 2rem 0 1rem 0;
		min-height: 50vh; /* Reduced height */
    }

    .nl-hero-dscr-loans-mobile {
        background: linear-gradient(rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.55)), rgba(20, 30, 40, 0.55) url(../images/background/dscr_loans_bg.jpg);
		background-position: center top;
		background-size: auto !important; /* Shows natural image size */
		background-repeat: no-repeat !important;
		background-attachment: local !important;
		padding: 2rem 0 1rem 0;
		min-height: 50vh; /* Reduced height */
    }
	


    .nl-hero-multifamily-mobile {
        background: linear-gradient(rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.55)), rgba(20, 30, 40, 0.55) url(../images/background/multifamily_bg.jpg);
		background-position: center top;
		background-size: auto !important; /* Shows natural image size */
		background-repeat: no-repeat !important;
		background-attachment: local !important;
		padding: 2rem 0 1rem 0;
		min-height: 50vh; /* Reduced height */
    }

    .nl-hero-long-term-rental-mobile {
        background: linear-gradient(rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.55)), rgba(20, 30, 40, 0.55) url(../images/background/long_term_rental_bg.jpg);
		background-position: center top;
		background-size: auto !important; /* Shows natural image size */
		background-repeat: no-repeat !important;
		background-attachment: local !important;
		padding: 2rem 0 1rem 0;
		min-height: 50vh; /* Reduced height */
    }

    .nl-hero-vacation-rental-loan-mobile {
        background: linear-gradient(rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.55)), rgba(20, 30, 40, 0.55) url(../images/background/str_bg.webp);
		background-position: center top;
		background-size: auto !important; /* Shows natural image size */
		background-repeat: no-repeat !important;
		background-attachment: local !important;
		padding: 2rem 0 1rem 0;
		min-height: 50vh; /* Reduced height */
    }

    .nl-hero-fix-and-flip-mobile {
        /*background: linear-gradient(rgba(20, 30, 40, 0.43), rgba(20, 30, 40, 0.43)), rgba(20, 30, 40, 0.43) url(../images/background/fix-and-flip.jpg);*/
		background: linear-gradient(rgba(20, 30, 40, 0.43), rgba(20, 30, 40, 0.43)), rgba(20, 30, 40, 0.43) url('https://images.unsplash.com/photo-1517581177682-a085bb7ffb15?w=900&q=80&auto=format&fit=crop') !important;
		/* Was background-size:auto, which rendered the full-resolution image at
		   1:1 on phones — the visitor saw a zoomed crop of the middle of the
		   photo instead of the whole scene. cover scales it to the hero box. */
		background-position: center center;
		background-size: cover !important;
		background-repeat: no-repeat !important;
		background-attachment: scroll !important;
		padding: 2rem 0 1rem 0;
		min-height: 50vh; /* Reduced height */
    }

    .nl-hero-hard-money-loans-mobile {
        background: linear-gradient(rgba(20, 30, 40, 0.43), rgba(20, 30, 40, 0.43)), rgba(20, 30, 40, 0.43) url(../images/background/bridge_loans_bg2.webp);
		background-position: center top;
		background-size: auto !important; /* Shows natural image size */
		background-repeat: no-repeat !important;
		background-attachment: local !important;
		padding: 2rem 0 1rem 0;
		min-height: 50vh; /* Reduced height */
    }

    .nl-hero-new-construction-loans-mobile {
        background: linear-gradient(rgba(20, 30, 40, 0.43), rgba(20, 30, 40, 0.43)), rgba(20, 30, 40, 0.43) url(../images/background/new_construction_loans_bg.jpg);
		background-position: center top;
		background-size: auto !important; /* Shows natural image size */
		background-repeat: no-repeat !important;
		background-attachment: local !important;
		padding: 2rem 0 1rem 0;
		min-height: 50vh; /* Reduced height */
    }

    /* Reset margin and padding for smaller devices */
    .nl-reset-m-p {
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media only screen and (min-width: 768px) {
    .nl-mr-10 {
        margin-right: 8%;
    }
}


@media (max-width: 768px) {
    .nl-hero-brrrr-mobile {
        background: linear-gradient(rgba(20, 30, 40, 0.55), rgba(20, 30, 40, 0.55)), 
                    rgba(20, 30, 40, 0.55) url(../images/background/hero-brrrr.jpg);
        background-position: center top;
        background-size: auto !important;
        background-repeat: no-repeat !important;
        background-attachment: local !important;
        padding: 2rem 0 1rem 0;
        min-height: 50vh;
    }
}


/* ========================================
   LOGO STYLES
   ======================================== */

.nl-responsive-width {
    width: 292px;
    height: 55px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../images/brand/logo/bpllogo_re_tag_hrz.jpg);
}

@media (min-width: 742px) {
    .nl-responsive-width {
        width: 372px;
        height: 70px;
        background-image: url(../images/brand/logo/bpllogo_re_tag_hrz.jpg);
    }
}

/* ========================================
   MODAL STYLES
   ======================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal_rej {
    display: none;
    position: fixed;
    z-index: 2;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 25px;
    max-height: calc(100vh - 210px);
    overflow-y: auto;
    border: 1px solid #888;
    width: 90%;
}

.modal-content_rej {
    background-color: #fefefe;
    margin: auto;
    padding: 50px;
    max-height: calc(100vh - 210px);
    overflow-y: auto;
    border: 1px solid #888;
    width: 50%;
}

.close {
    color: #c6c6c6;
    float: right;
    font-size: 45px;
    font-weight: bold;
    position: sticky;
    top: 0;
    left: 100%;
}

.close_rej {
    color: #c6c6c6;
    float: right;
    font-size: 45px;
    font-weight: bold;
    position: sticky;
    top: 0;
    left: 100%;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* ========================================
   FORM STYLES
   ======================================== */

h2.top-form-header {
    padding: 15px 10px;
    background: #6eb441;
    margin-bottom: 0;
    font-weight: 700;
    color: #fff;
}

h2.top-form-header-ld {
    padding: 5px 5px;
    background: #6eb441;
    margin-bottom: 0;
    font-weight: 500;
    color: #fff;
}

span.mute-text-ld {
    font-size: 15px;
    font-weight: 300;
}

span.mute-text {
    font-size: 18px;
    font-weight: 400;
}

span.mute-text2 {
    font-size: 16px;
    font-weight: 400;
}

.card-body {
    border: 1px solid #6eb441;
    background-color: #fff;
}

.card-border {
    border: 4px solid #F59323;
    background: #F59323;
    border-radius: 0;
}

.nl-50-percent {
    width: 50%;
    margin: auto;
}

#error-text {
    color: #ff0000;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================
   SUBMIT BUTTON OVERRIDE STYLES
   ======================================== */

/* Ensure submit button maintains proper styling and remains clickable */
#submit-form {
    /* Remove any disabled styling */
    opacity: 1 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    
    /* Ensure proper button colors - Updated to orange */
    background-color: #f59323 !important;
    border-color: #f59323 !important;
    color: white !important;
    
    /* Maintain hover effects */
    transition: all 0.3s ease;
}

#submit-form:hover {
    background-color: #d67d1a !important; /* Darker shade of orange for hover */
    border-color: #d67d1a !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#submit-form:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Remove disabled class styling completely for submit button */
#submit-form.disabled {
    opacity: 1 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    background-color: #f59323 !important;
    border-color: #f59323 !important;
    color: white !important;
}

/* Ensure button remains clickable even if disabled attribute is set */
button[disabled]#submit-form,
input[disabled]#submit-form {
    opacity: 1 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    background-color: #f59323 !important;
    border-color: #f59323 !important;
    color: white !important;
}

/* Additional override for Bootstrap disabled button styles */
.btn-primary#submit-form:disabled,
.btn-primary#submit-form.disabled {
    background-color: #f59323 !important;
    border-color: #f59323 !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

/* ========================================
   COUNTDOWN TIMER STYLES
   ======================================== */

.countdown-banner {
    background: linear-gradient(135deg, #6eb441, #5a9537);
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(110, 180, 65, 0.3);
    position: relative;
    overflow: hidden;
}

.countdown-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.1) 10px,
        rgba(255,255,255,0.1) 20px
    );
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { transform: translateX(-50px); }
    100% { transform: translateX(50px); }
}

.countdown-content {
    position: relative;
    z-index: 2;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    min-width: 80px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.countdown-number {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    opacity: 0.9;
}

.countdown-header {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.countdown-subtext {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.countdown-btn {
    background: #fff;
    color: #6eb441;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-btn:hover {
    background: #f1f2f6;
    color: #5a9537;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.countdown-btn:active {
    transform: translateY(0);
}

.urgency-text {
    font-size: 0.9rem;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    opacity: 0.8;
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Countdown Styles */
@media (max-width: 768px) {
    .countdown-timer {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 10px 5px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-header {
        font-size: 1.2rem;
    }
    
    .countdown-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

/* ========================================
   MOBILE OPTIMIZATION STYLES
   ======================================== */

@media only screen and (max-width: 768px) {
    /* Hero content container */
    .hero-content-mobile {
        background: none !important;
    }
    
    /* Form section styling */
    .form-section-mobile {
        background: #f8f9fa !important;
        padding: 2rem 0;
    }
    
    /* Investment disclaimer text styling */
    .investment-disclaimer-mobile {
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
        margin-top: 1rem !important;
        margin-bottom: 0.5rem !important;
        padding: 0 10px;
        text-align: center;
        color: white;
        font-weight: bold;
    }
    
    /* Hero section padding adjustments */
    .nl-hero .container-md {
        padding-top: 2rem !important;
        padding-bottom: 1rem !important;
    }
    
    /* Button section spacing */
    .mobile-button-section {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* Hero column spacing */
    .nl-hero .pt-12 {
        padding-top: 1rem !important;
    }
    
    /* Bullet points section spacing */
    .nl-hero .mb-5 {
        margin-bottom: 1rem !important;
    }
}

/* Extra small screens */
@media only screen and (max-width: 576px) {
    .investment-disclaimer-mobile {
        font-size: 1rem !important;
        margin-top: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .nl-hero .container-md {
        padding-top: 1rem !important;
        padding-bottom: 0.5rem !important;
    }
}

/* Mobile form full-width fixes - Apply to all hero sections */
@media only screen and (max-width: 768px) {
    
    /* Remove container padding on mobile for form section */
    .nl-hero .container-md {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Remove column padding for the form column on mobile */
    .nl-hero .col-xl-5.col-lg-5.col-md-5 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Make the card stretch full width */
    .nl-hero .card.card-border {
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0 !important; /* Remove border radius for edge-to-edge look */
    }
    
    /* Ensure form body has some padding so content isn't touching edges */
    .nl-hero .card-body {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Also fix the hero content column to maintain proper spacing */
    .nl-hero .col-xl-7.col-lg-7.col-md-7 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* Additional fix for any remaining margin issues */
    .nl-hero .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* For very small screens (less than 576px) */
@media only screen and (max-width: 576px) {
    
    /* Reduce form content padding slightly on very small screens */
    .nl-hero .card-body {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Adjust hero content padding */
    .nl-hero .col-xl-7.col-lg-7.col-md-7 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* ========================================
   INVESTMENT CONFIRMATION STYLING
   ======================================== */

/* Style the investment confirmation checkbox section */
#investment_confirmation {
    margin-right: 8px !important;
}

/* Container for the investment confirmation section */
#investment_confirmation[type="checkbox"] + label {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px 15px;
    margin: 0;
    display: inline-block;
    width: auto;
    font-size: 0.9rem !important;
    color: #495057 !important;
    line-height: 1.4;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Parent container styling - REDUCED TOP MARGIN */
.d-flex.justify-content-center:has(#investment_confirmation) {
    margin-top: 0px !important;
    margin-bottom: 15px;
}

/* Form check container for investment confirmation - REDUCED TOP MARGIN */
.form-check:has(#investment_confirmation) {
    background-color: #e8f5e8;
    border: 1px solid #c3e6c3;
    border-radius: 8px;
    padding: 12px 15px;
    margin: 0px 0 10px 0 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    max-width: 400px;
    width: 100%;
}

/* Hover effect for the investment confirmation box */
.form-check:has(#investment_confirmation):hover {
    background-color: #d4edd4;
    border-color: #6eb441;
    box-shadow: 0 3px 6px rgba(0,0,0,0.12);
}

/* When checkbox is checked, add subtle accent */
.form-check:has(#investment_confirmation:checked) {
    background-color: #d4edd4;
    border-color: #6eb441;
}

/* Mobile responsive adjustments for investment confirmation */
@media only screen and (max-width: 768px) {
    .form-check:has(#investment_confirmation) {
        padding: 12px 15px;
        margin: 0px 0 8px 0 !important;
        max-width: none;
    }
    
    #investment_confirmation + label {
        font-size: 0.85rem !important;
        padding: 10px 12px;
    }
}

/* ========================================
   REQUIREMENTS NOTICE BOX - FIXED SPACING
   ======================================== */

.requirements-notice {
    background: #f5f0e6; /* Tan/beige background */
    border: 1px solid #b8860b; /* Brown border */
    border-radius: 8px;
    padding: 12px 15px;
    margin: -10px 0 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.requirements-notice h6 {
    color: #8b6914; /* Brown text for header */
    font-weight: bold;
    margin-bottom: 8px;
    text-align: center;
    font-size: 0.9rem;
}

.requirements-notice ul {
    margin: 0;
    padding-left: 20px;
    color: #8b6914; /* Brown text for list items */
}

.requirements-notice li {
    margin-bottom: 1.5px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ========================================
   COMPACT CONFIRMATION CHECKBOXES - FIXED SPACING
   ======================================== */

.confirmation-section {
    background-color: #f8f9fa;
    border: 1px solid #9a9c9c;
    border-radius: 6px;
    padding: 12px 15px;
    margin: 10px 0;
}

.confirmation-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.confirmation-item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
}

.confirmation-item input[type="checkbox"] {
    margin: 0;
    transform: scale(0.9);
    flex-shrink: 0;
}

.confirmation-item label {
    margin: 0;
    font-size: 0.9rem;
    color: #495057;
    cursor: pointer;
    line-height: 1.5;
    text-align: left;
    flex: 1;
}

/* ========================================
   MOBILE RESPONSIVE UPDATES - FIXED
   ======================================== */

@media (max-width: 768px) {
    /* Requirements Notice - Better spacing on mobile */
    .requirements-notice {
        background: #f5f0e6; /* Tan/beige background */
        border: 1px solid #b8860b; /* Brown border */
        padding: 7px 18px;
        margin: -8px 0 12px 0;
    }
    
    .requirements-notice h6 {
        color: #8b6914; /* Brown text for header */
        font-size: 0.95rem;
        margin-bottom: 1.5px;
    }
    
    .requirements-notice ul {
        color: #8b6914; /* Brown text for list items */
        padding-left: 22px;
    }
    
    .requirements-notice li {
        font-size: 0.9rem;
        margin-bottom: 1.5px;
    }
    
    /* Confirmation Section - Mobile styles */
    .confirmation-section {
        padding: 12px 15px;
        margin: 12px 0;
    }
    
    /* Confirmation labels on mobile */
    .confirmation-item label {
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: left;
    }
    
    /* Scale checkbox slightly larger to match the bigger text */
    .confirmation-item input[type="checkbox"] {
        transform: scale(1.0);
    }
}
/* ========================================
   MOBILE NAVBAR PADDING
   ======================================== */
@media only screen and (max-width: 768px) {
    .navbar .container.px-0 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}
