/* Global styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5; /* Light gray background */
    color: #333; /* Dark text */
}

/* Container for the entire form */
.container {
    max-width:600px;
    margin: 0px auto;
    min-width: 400px;
    padding: 0 20px;
    background-color: white; /* White background for the form */
}
.logoContainer{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
}
.logo {
    width: 300px;
}

/* Form header */
h1 {
    color: #ffffff; /* Dark blue for the title */
}

.headingContainer {
    padding: 30px;
    background-color: #b19154ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.loanTermsContainer {
 display: flex;
 justify-content:space-between;
 padding-right: 10%;
}

h2 {
    color: #1a1a1a; /* Dark blue for section titles */
    margin-bottom: 15px;
    font-size: 1.3em;
    padding-bottom: 25px;
    font-weight:0;
}

.form-section {
    margin-bottom: 40px;
}

/* Labels */
label {
    display: block;
    margin-bottom: 8px;
    color: #1a1a1a; /* Dark blue for labels */
}

/* Input fields */
input[type="text"], input[type="number"], select {
    width: 100%;
    height: 35px;
    margin-top: 15px;
    margin-bottom: 15px;
    border: 0px solid #ccc;
    border-bottom: 1px solid #b19154ff;
    color: #1a1a1a;
    font-size: 1em;
}

/* Style for drop-down menus */
select {
    color: #1a1a1a;
}

/* Checkbox */
input[type="checkbox"] {
    margin-right: 10px;
}

/* Styling for the loan and fees information */
p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

#repayableAmount {
    font-weight: bold;
    color: #b19154ff; /* Dark red to highlight repayable amount */
}

/* Disclaimer styling */
section h2 + p {
    font-size: 0.95em;
    color: #777; /* Light gray for disclaimers */
}

/* Submit button */
button {
    width: 200px;
    height: 60px;
    padding: 15px;
    background-color: #b19154ff; /* Dark blue background for button */
    color: white; /* White text */
    border: none;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    display: block;
    margin: auto;
}

button {
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


button:hover {
    background-color: #003366; /* Darker blue on hover */
}

button:disabled {
    background-color: rgb(228, 208, 171);
}

button:disabled:active{
    background-color: rgb(228, 208, 171);
}

/* Make form more compact and aligned */
.form-section label, 
.form-section input,
.form-section select {
    margin-bottom: 12px;
    font-size: 1em;
}

/* Add focus effect for input fields */
input:focus, select:focus {
    border-color: rgb(32, 27, 17);
    outline: none;
    box-shadow: 0 0 0px rgb(37, 37, 37);
}

/* Add media queries to make sure it's responsive */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.1em;
    }

    button {
        font-size: 1em;
    }
}

/* Style for the slider */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 2px;
    background: #b19154ff;
    outline: none;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Slider thumb (the handle) */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #1a1a1a; /* Dark blue color for the handle */
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #004080;
    border-radius: 50%;
    cursor: pointer;
}

.selectedAmount {
    font-weight: bold;
    font-size: 1.5em ;
}

.disclaimer, .disclaimerText {
    display: inline-block;
    margin-top: 20px;
}

.footer {
    margin-top: 50px;
}

.privacyNotice {
    padding: 0;
}

.privacyParagraph {
    font-size: 11px;
    text-align: justify;
}

.needHelp {
    padding: 10px 0 0 0;
}

.contact {
    font-weight: bold;
    font-size: 15px;
    padding-bottom: 10px;
    font-size: 11px;
}

.ncr {
    font-size: 10px;
    text-align: center;
    color: rgb(255, 255, 255);
    background-color: #b19154ff;
}

