﻿@font-face
{
    font-family:'Gotham';
    src:url("/Content/web/css/fonts/G");
    src:url("/Content/web/css/fonts/GothamMedium.woff2") format("woff2"), 
        url("/Content/web/css/fonts/GothamMedium.woff") format("woff"), 
        url("/Content/web/css/fonts/GothamMedium.ttf") format("truetype"), 
        url("/Content/web/css/fonts/GothamMedium.svg#GothamMedium") format("svg");
    font-weight:500;
    font-style:normal;
    font-display:swap

}


@font-face {
    font-family: 'Glyphicons Halflings';
    /* Use ./fonts/ if the folder is in the same directory as this CSS file */
    src: url('/Content/web/css/fonts/glyphicons-halflings-regular.eot');
    src: url('./fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), 
         url('./fonts/glyphicons-halflings-regular.woff2') format('woff2'), 
         url('./fonts/glyphicons-halflings-regular.woff') format('woff'), 
         url('./fonts/glyphicons-halflings-regular.ttf') format('truetype'), 
         url('./fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
.glyphicon {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}





body {
}

form label
{    font-family: "Gotham";
    display: block;
    text-align: left;
    line-height: 1.5;
    color: #333;
    margin-top:10px;
    padding-bottom: 10px;
}



/*form input[type="checkbox"]:checked + label::after{
    content: '\f0fc';
    position: absolute;
    left: 7px;
    top: 0px;*/
    /*background: #1b1c1d;*/
    /*width: 10px;
    height: 10px;*/
   /* -webkit-box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
    box-shadow: 2px 0 0 white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);	*/
    /*font-size: 20px;
    font-family: 'Wingdings';
}*/

/*form input[type="radio"]:checked + label::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    left: 8px;
    top: 7px;
    background: #1B1C1D;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 100%;
}

form input[type="checkbox"]:checked + label::before, form input[type="radio"]:checked + label::before {
    background: #ffffff;

}

form input[type="radio"] + label::before {
    border-radius: 100%;
}

form input[type="checkbox"] + label::before, form input[type="radio"] + label::before {
    content: ' ';
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    margin-top: -3px;
    margin-left: -30px;
    border-radius: 3px;
    border: solid 1px #CCCCCC;
    background: white;
}

form input[type="checkbox"] + label, form input[type="radio"] + label {
    position: relative;
    cursor: pointer;
    padding: 0;*/
/*         padding-bottom: 0px;
        padding-left: 0px;
 */    /*padding-bottom: 10px;
    padding-left: 35px;
    line-height: 1.5;
}

form input[type="checkbox"], form input[type="radio"] {
    position: absolute;
    opacity: 0;
}

form input[type="radio"]:checked + label::after {
    width: 12px;
    height: 12px;
    left: 8px;
    top: 7px;
    background: #1B1C1D;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 100%;
}*/

.form-control
{
    font-weight:bold;
}

hr.style2 {
	border-top: 3px double #8c8b8b;
}

fieldset legend{
  font-family: "Gotham";
   color: #333;
   text-align:center;
  
}

.form-1-box { padding-top: 30px; text-align: left; }
 
.form-1-box legend {
    font-size: inherit;
    line-height: 30px;
    font-weight: 600;
    text-transform: uppercase;
    color: #555;
}
 
.form-1-box .form-check-label {
    line-height: 1.5;
    vertical-align: top;
}
 
.form-1-box input[type="text"],
.form-1-box input[type="email"],
.form-1-box input[type="password"] {
    background: none;
    border: 1px solid #ddd;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #888;
    box-shadow: none;
}
 
.form-1-box input[type="text"]:focus,
.form-1-box input[type="email"]:focus,
.form-1-box input[type="password"]:focus {
    outline: 0;
    background: none;
    border: 1px solid #db5d50;
    box-shadow: none;
}
 
.form-1-box input[type="text"]::-moz-placeholder,
.form-1-box input[type="email"]::-moz-placeholder,
.form-1-box input[type="password"]::-moz-placeholder {
    color: #bbb;
    font-style: italic;
}
 
.form-1-box input[type="text"]:-ms-input-placeholder,
.form-1-box input[type="email"]:-ms-input-placeholder,
.form-1-box input[type="password"]:-ms-input-placeholder {
    color: #bbb;
    font-style: italic;
}
 
.form-1-box input[type="text"]::-webkit-input-placeholder,
.form-1-box input[type="email"]::-webkit-input-placeholder,
.form-1-box input[type="password"]::-webkit-input-placeholder {
    color: #bbb;
    font-style: italic;
}
 
.form-1-box button.btn-customized {
    margin-top: 1rem;
    padding: .75rem 1.5rem;
    background: #db5d50;
    border: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    box-shadow: none;
}
 
.form-1-box button.btn-customized:hover, 
.form-1-box button.btn-customized:active, 
.form-1-box button.btn-customized:focus, 
.form-1-box button.btn-customized:active:focus, 
.form-1-box button.btn-customized.active:focus,
.form-1-box button.btn.btn-primary:not(:disabled):not(.disabled):active,
.form-1-box button.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
    outline: 0;
    background: #ca594d;
    border: 0;
    color: #fff;
    box-shadow: none;
}


.center-div {
    width: 300px;
    height: 300px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -150px;
    margin-top: -150px;
}

.spinner {
    position: fixed;
    z-index: 999;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: Black;
    filter: alpha(opacity=60);
    opacity: 0.6;
    -moz-opacity: 0.8;
}

.loader {
    margin: auto;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #15a0ec;
    border-bottom: 16px solid #15a0ec;
    width: 60px;
    height: 60px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.inner-div {
    background-color: white;
    border-radius: 15px;
    margin: auto;
    padding: 2%;
    width: 100px;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

fieldset.address-border {
    border: 1px groove #ddd !important;
    padding: 0 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow: 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #000;
}

legend.address-border {
    font-size: 1.2em !important;
    font-weight: bold !important;
    text-align: left !important;
    width: auto;
    padding: 0 10px;
    border-bottom: none;
}

/* --- Enhanced Slider Styles --- */

.slider-container.form-control-like {
    display: flex;
    align-items: center;
    flex-grow: 1;  Allow it to take up available space 
    width: 100%;  Make them take full width of their container 
    max-width: 300px;  Optional: Limit max width on larger screens for consistency 
    background-color: #fff;
    padding: 5px 10px;  Adjusted padding to be more compact 
    border: 1px solid #ccc;  Match form-control border 
    border-radius: 4px;  Match form-control border-radius 
    box-shadow: none;  Remove previous box-shadow if form-control doesn't have it 
}

.slider-container input[type="range"] {
    flex-grow: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;  Slightly thinner track 
    background: #e0e0e0;  Lighter track background 
    border-radius: 3px;
    outline: none;
    margin: 0 8px;  Slightly less margin 
}

    .slider-container input[type="range"]::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 18px;  Slightly smaller thumb 
        height: 18px;
        border-radius: 50%;
        background: #007bff;
        cursor: pointer;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        margin-top: -6px;  Adjust as needed for vertical centering 
    }

    .slider-container input[type="range"]::-moz-range-thumb {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #007bff;
        cursor: pointer;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .slider-container input[type="range"]::-moz-range-track {
        background: #e0e0e0;
        border-radius: 3px;
    }

.slider-container input[type="number"] {
    width: 50px;  Adjust width for number input 
    text-align: center;
    border: 1px solid #e0e0e0;  Softer border for internal input 
    border-radius: 3px;
    padding: 3px 0;  Smaller padding 
    font-size: 1.1em;
}

.slider-units {
    margin-left: 5px;
    font-size: 0.85em;  Match font size 
    color: #777;  Softer color 
}

/* Modern Slider Styling */
.slider-container input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

    /* The Track */
    .slider-container input[type=range]::-webkit-slider-runnable-track {
        width: 100%;
        height: 8px;
        cursor: pointer;
        background: #e2e8f0; /* Light gray track */
        border-radius: 10px;
    }

    /* The Thumb (The circle you grab) */
    .slider-container input[type=range]::-webkit-slider-thumb {
        height: 20px;
        width: 20px;
        border-radius: 50%;
        background: #4a80bc; /* RCBC Blue */
        cursor: pointer;
        -webkit-appearance: none;
        margin-top: -6px; /* Centers thumb on track */
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        transition: transform 0.2s ease;
    }

    .slider-container input[type=range]:active::-webkit-slider-thumb {
        transform: scale(1.2); /* Grow slightly when clicked */
    }

/* Style the Number Box next to it */
.slider-container input[type=number] {
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    padding: 4px 8px;
    width: 55px !important;
    text-align: center;
    font-weight: bold;
    color: #4a80bc;
}

/* This creates a blue fill to the left of the thumb in Chrome/Edge */
.custom-range {
    background: linear-gradient(to right, #4a80bc 0%, #4a80bc var(--value), #e2e8f0 var(--value), #e2e8f0 100%);
}

/* Hide spinners for Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 0;
}

#lengthOfStaySlider {
    flex: 1;
    height: 6px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    cursor: pointer;
}

.slider-value-box {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 4px 8px;
    min-width: 85px;
    transition: border-color 0.2s;
}

    .slider-value-box:focus-within {
        border-color: #4a80bc;
        box-shadow: 0 0 0 2px rgba(74, 128, 188, 0.2);
    }

    .slider-value-box input {
        border: none;
        outline: none;
        width: 30px;
        font-weight: bold;
        color: #4a80bc;
        text-align: center;
    }

.slider-units {
    font-size: 12px;
    color: #6c757d;
    margin-left: 4px;
}


.sub-step {
    display: none;
}

/*JCF Added loan info design enhancement 3-17-2026 */
/* Container styling for a clean form card */
/* Container */
#Step2_SubWizard {
    max-width: 900px;
    margin: 20px auto;
}

/* Panel Overrides for Modern Look */
.sub-step-container {
    background: #ffffff;
    padding: 30px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Custom Progress Bar Height */
.progress {
    height: 10px;
    margin-bottom: 5px;
    border-radius: 5px;
}

/* Segmented Radio Buttons for BS3 */
.segmented-control {
    display: inline-block;
    margin-top: 5px;
}

    .segmented-control .btn {
        padding: 8px 20px;
        border: 2px solid #e1e1e1;
        background: #fff;
        color: #555;
        font-weight: bold;
        outline: none !important;
    }

        .segmented-control .btn.active {
            background-color: #f0f7ff;
            border-color: #337ab7;
            color: #337ab7;
            box-shadow: none;
        }

/* Labels and Spacing */
.form-group label {
    font-family: "Gotham", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 600;
    color: #333;
}

.required:after {
    content: " *";
    color: #a94442;
}

/* Privacy Scroll Box */
.privacy-box {
    height: 150px;
    overflow-y: scroll;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 15px;
}


/* Force buttons to be full-width only on small mobile devices */
@media (max-width: 767px) {
    .btn-block-mobile {
        width: 100% !important;
        display: block;
        margin-top: 10px;
    }

    .text-mobile-center {
        text-align: left !important; /* Optional: keeps button aligned with text above */
    }

    /* Adjust the list item padding for mobile */
    .list-group-item {
        padding: 15px 10px;
    }
}

/* Ensure the panel doesn't overflow the screen */
.sub-step-container {
    width: 100%;
    word-wrap: break-word;
}

/* Styling for the Yes/No radio pairs */
.radio-group-modern {
    display: inline-block;
    margin-left: 10px;
}

    .radio-group-modern label {
        font-weight: normal;
        margin-right: 15px;
        cursor: pointer;
    }

/* Enhancing the dropdowns and inputs */
.financial-card {
    background: #fff;
    padding: 20px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    margin-bottom: 20px;
}

.form-control:focus {
    border-color: #337ab7;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}

/* Address Card Styling */
.address-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

    .address-card legend {
        width: auto;
        border-bottom: none;
        font-size: 1.1rem;
        font-weight: bold;
        color: #2d3748;
        padding: 0 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

/* Modern Slider Styling */
/*.slider-container {
    display: flex;
    align-items: center;
    background: #f8fafc;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #cbd5e0;
}

input[type=range] {
    flex-grow: 1;
    margin-right: 15px;
    cursor: pointer;
}

input[type=number].slider-value {
    width: 60px;
    text-align: center;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-weight: bold;
    color: #3182ce;
}

.slider-units {
    margin-left: 8px;
    font-size: 0.85rem;
    color: #718096;
}*/

/* Checkbox emphasis */
.address-copy-box {
    background: #ebf8ff;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: inline-block;
}
/* Limit the width of the vertical form for better readability on desktop */
#sub-step-2 .panel-body {
    max-width: 600px; /* Optimal reading width */
    margin: 0 auto; /* Center the form */
    padding: 30px 15px;
}


#sub-step-2 .form-group {
    clear: both; /* Forces the label to start below any floated elements */
    margin-bottom: 20px;
    display: block;
    width: 100%;
}

/* Ensure labels stand out */
#sub-step-2 label {
    font-size: 14px;
    color: #444;
    margin-bottom: 8px;
}

/* Desktop Specific Polish */
@media (min-width: 992px) {
    #Step2_SubWizard .panel-body {
        padding: 40px 60px; /* More generous side padding for desktop */
    }

    .form-group label {
        font-size: 14px;
        letter-spacing: 0.3px;
        margin-bottom: 10px; /* Extra space between label and input */
    }

    .form-control {
        height: 45px; /* Slightly taller inputs feel more "premium" on desktop */
        font-size: 15px;
    }

    /* Keep the suffix box small even in vertical mode */
    /*#suffix {
        max-width: 120px;
    }*/
}

/* Date of Birth Icon Fix */
.input-group-addon {
    background-color: #f8f9fa; /* Lighter background for the icon box */
    border-color: #ccc;
    color: #337ab7; /* Match your primary blue theme */
}

@media (max-width: 767px) {
    /* Make buttons use the full width of their half-column */
    .btn-block-mobile {
        width: 100%;
        padding-left: 5px;
        padding-right: 5px;
        font-size: 13px; /* Slightly smaller font to prevent text wrapping */
    }

    /* Ensure buttons are the same height */
    #prevSubStep, #nextSubStep {
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Custom Header/Brand Styling for Panel Headings */
#Step2_SubWizard .panel-default {
    border-color: #d1d1d1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Adds depth to the card */
    border-radius: 8px;
    overflow: hidden; /* Ensures the header background doesn't bleed over corners */
}

    #Step2_SubWizard .panel-default > .panel-heading {
        background-color: #4a80bc; /* RCBC Theme Blue */
        color: #ffffff; /* High contrast white */
        border-color: #4a80bc;
        padding: 15px 20px;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        font-size: 14px;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.2); /* Makes text sharper on blue */
    }

/* Ensure icons inside the header are white */
#Step2_SubWizard .panel-heading .glyphicon {
    color: #ffffff !important;
    margin-right: 10px;
    top: 2px;
}

/* Cleaner padding for the form content area */
#Step2_SubWizard .panel-body {
    padding: 30px 40px;
}

/* Styling to clean up the address sections */
.address-section {
    border: none !important;
    padding: 0 10px;
}

.address-section legend {
    border-bottom: 2px solid #4a80bc;
    width: auto;
    padding: 0 10px;
    margin-bottom: 20px;
}

.address-divider {
    margin: 30px 0;
    border-top: 1px dashed #ddd;
}

/* Same-as Banner */
.copy-address-banner {
    background-color: #f0f7ff;
    border: 1px solid #d0e3f5;
    padding: 5px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Styling the Address Sub-Headers */
.address-sub-header {
    font-size: 15px;
    font-weight: 700;
    color: #2c5282; /* Darker blue for better contrast */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 25px 0 15px 0;
    padding-left: 10px;
    border-left: 4px solid #4a80bc; /* The RCBC Blue as an accent */
    line-height: 1.2;
}

/* Optional: Add a very light background to the group to separate them further */
.address-group {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}


.toast-warning {
    background-color: #fcf8e3;
    color: #8a6d3b;
    border: 1px solid #faebcc;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 10px;
    display: none;
    font-weight: bold;
}

.shake-it {
    animation: shake 0.5s;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

.submit-btn-disabled {
    background-color: #eee !important;
    color: #aaa !important;
    border: 1px solid #ccc !important;
    opacity: 0.5;
}

#disabled-submit-overlay {
    background: rgba(255, 255, 255, 0) !important; /* Fully transparent */
}

.conditional-input-card {
    background-color: #f8f9fa; /* Very light gray */
    border-left: 4px solid #4a80bc; /* RCBC Blue Accent */
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

    .conditional-input-card label {
        font-size: 12px;
        color: #555;
        font-weight: bold;
    }

/* Ensure the input groups look consistent */
.input-group-addon {
    background-color: #eee;
    color: #4a80bc;
    font-weight: bold;
}

/* Neutral Label - Keep it dark gray even on error */
.has-error label {
    color: #333 !important;
}

/* The Input Border - Use a softer Burnt Orange/Maroon */
.has-error .form-control {
    border-color: #d48344 !important; /* Burnt Orange */
    background-color: #fff9f5 !important; /* Very soft peach tint */
    border-width: 2px;
}

/* The Error Text - Use Deep Maroon for better readability */
.text-danger.small {
    color: #b91c1c !important;
    font-weight: 600;
    margin-top: 4px;
    display: block;
}

/* Red asterisk for required fields */
label.required::after {
    content: "*";
    color: #e53e3e;
}

/* Shake animation for failed 'Next' clicks */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}

.shake-it {
    animation: shake 0.4s ease-in-out;
}

/* Modern jQuery UI Datepicker Override */
.ui-datepicker {
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: 'Gotham', 'Helvetica Neue', sans-serif;
    padding: 10px;
    width: 280px !important;
    z-index: 9999 !important;
}

.ui-datepicker-header {
    background: #4a80bc; /* Banking Blue */
    color: white;
    border: none;
    border-radius: 4px;
}

.ui-datepicker-title select {
    color: #333;
    margin: 2px;
    padding: 2px;
    border-radius: 3px;
}

.ui-datepicker th {
    color: #666;
    padding: 10px 0;
}

.ui-datepicker td span, .ui-datepicker td a {
    text-align: center;
    padding: 8px;
    border-radius: 50%;
    border: none !important;
    background: transparent !important;
}

.ui-datepicker-calendar .ui-state-active {
    background: #5cb85c !important; /* Success Green */
    color: white !important;
}

.ui-datepicker-calendar .ui-state-hover {
    background: #f0f0f0 !important;
    color: #333 !important;
}

/* Hide future dates visually */
.ui-datepicker-unselectable.ui-state-disabled span {
    background: #f9f9f9 !important;
    color: #ccc !important;
}

.form-group.has-error {
    position: relative;
    margin-bottom: 25px; /* Give space for the error message */
}

    .form-group.has-error .text-danger.small {
        position: absolute;
        bottom: -20px;
        left: 15px;
        white-space: nowrap;
    }

/* Specific fix for the "years" text alignment */
.stay-location-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group.has-error .text-danger.small {
    clear: both;
    width: 100%;
    padding-top: 5px;
}

/* Ensure the slider and input stay on one line */
.stay-location-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Prevent Multiple Error Stacking */
.form-group .text-danger.small + .text-danger.small {
    display: none !important;
}

/* Ensure the Street/Purok error is aligned correctly */
.has-error input, .has-error select {
    border-color: #d48344 !important; /* Orange-ish warning */
}

/* Container spacing */
.captcha-row {
    margin-bottom: 20px;
}

/* Centering and overflow handling */
.captcha-wrapper {
    display: inline-block;
    margin: 0 auto;
    max-width: 100%;
}

/* Mobile Responsiveness (Scaling) */
@media screen and (max-width: 360px) {
    .captcha-wrapper {
        /* Scale down to roughly 80% to fit narrow screens */
        transform: scale(0.85);
        transform-origin: center top;
        /* Adjust height to remove the extra whitespace scaling creates */
        height: 70px;
    }
}

@media screen and (max-width: 320px) {
    .captcha-wrapper {
        transform: scale(0.75);
    }
}

/* Container to force horizontal centering */
.captcha-flex-container {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;
    width: 100%;
    overflow: visible; /* Allows the scaled captcha to show */
}

/* The wrapper that handles scaling */
.captcha-wrapper {
    transform-origin: center center;
    display: inline-block;
}

/* Mobile Adjustments */
@media screen and (max-width: 480px) {
    .captcha-wrapper {
        /* Scale of 1.1 or 1.2 makes it appear 'bigger' than standard */
        transform: scale(1.1);
        /* Add margin to prevent it overlapping items above/below due to scaling */
        margin: 10px 0;
    }
}

/* Extra small devices (iPhone SE/Fold) */
@media screen and (max-width: 320px) {
    .captcha-wrapper {
        /* On tiny screens, we must scale down or it will cut off */
        transform: scale(0.85);
    }
}

