/*basic reset*/
* {
    margin: 0;
    padding: 0;
}

/*form styles*/
#msform {
    text-align: center;
    position: relative;
    margin-top: 30px;
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 25px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    box-sizing: border-box;
    width: 80%;
    margin: 0 10%;

    /*stacking fieldsets above each other*/
    position: relative;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
}

/*inputs*/
#msform input,
#msform textarea,
#msform select {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    color: #2c3e50;
    font-size: 13px;
    height: 46px;
}

#msform input:focus,
#msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #6a7886;
    outline-width: 0;
    transition: All 0.5s ease-in;
    -webkit-transition: All 0.5s ease-in;
    -moz-transition: All 0.5s ease-in;
    -o-transition: All 0.5s ease-in;
}

/*buttons*/
#msform .action-button {
    width: 100px;
    background: #1685EC;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

#msform .action-button:hover,
#msform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #1685EC;
}

#msform .action-button-previous {
    width: 100px;
    background: #c5c5f1;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #c5c5f1;
}

/*headings*/
.fs-title {
    font-size: 18px;
    text-transform: uppercase;
    color: #2c3e50;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-weight: bold;
    padding-top: 7px;
}

.fs-subtitle {
    font-weight: normal;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

/*progressbar*/
#progressbar {
    width: 98%;
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
}

#progressbar li {
    list-style-type: none;
    color: black;
    /* text-transform: uppercase; */
    font-size: 9px;
    width: 33.33%;
    float: left;
    position: relative;
    letter-spacing: 1px;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 24px;
    height: 24px;
    line-height: 26px;
    display: block;
    font-size: 12px;
    color: white;
    background: #C5C5F1;
    border-radius: 25px;
    margin: 0 auto 10px auto;
}

/*progressbar connectors*/
#progressbar li:after {
    content: "";
    width: 100%;
    height: 2px;
    background: #C5C5F1;
    position: absolute;
    left: -50%;
    top: 9px;
    z-index: -1;
    /*put it behind the numbers*/
}

#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}

/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before,
#progressbar li.active:after {
    background: #1685EC;
    color: white;
}

/* Not relevant to this form */
.dme_link {
    margin-top: 30px;
    text-align: center;
}

.dme_link a {
    background: #fff;
    font-weight: bold;
    color: #1685EC;
    border: 0 none;
    border-radius: 25px;
    cursor: pointer;
    padding: 5px 25px;
    font-size: 12px;
}

.dme_link a:hover,
.dme_link a:focus {
    background: #c5c5f1;
    text-decoration: none;
}

.half_width {
    width: 49%;
}

.full_width {
    width: 100%;
}

.row_class {
    display: flex;
}

/* Create two equal columns that sits next to each other */
.column_class {
    flex: 50%;
    padding: 5px;
}

label {
    display: block;
    text-align: left;
    color: #7a7a7a;
    font-family: unset;
}

/*** loader css ****/
.submit-overlay {
    position: fixed;
    z-index: 10000;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}

.loader {
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-top: 6px solid rgb(3, 3, 32);
    border-bottom: 6px solid rgb(3, 3, 32);
    width: 70px;
    height: 70px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    position: absolute;
    left: 50%;
    top: 35%;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    position: absolute;
    left: 42%;
    top: 48%;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.second-heading {
    padding-left: 5px;
    color: #7a7a7a;
    font-weight: bold;
}

.border-bottom-lg {

    border-bottom: 1px solid lightgray;
    margin-bottom: 10px;
}

.margin-top-bottom {

    margin-bottom: 10px;
    margin-top: 10px;
}

.gray-color-text {

    font-size: 12px;
    color: lightslategray;
}

.gray-color-normal-text {

    color: lightslategray;
}

.text-align-left {

    text-align: left;
}

.single-item {
    width: 50% !important;
}

.ssn-text {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
    color: #7a7a7a;
    text-align: left;
}

.bank-account-duration {

    float: left;
    width: 32%;
    margin-right: 10px;
}

.agreement {
    display: flex;
    align-items: center;
}

.agreement input {
    margin-right: 10px; /* Space between checkbox and text */
}

.bank-years-duration {

    float: left;
    margin-top: 16px;
    margin-right: 20px;
    font-size: 15px;
}

.checkbox-label {
    display: flex;
    text-align: left;
    font-size: 15px;
}

.checkbox-cls {

    height: 100%;
}

.field-padding-left {
    padding-left: 18px;
}

.field-padding-right {
    padding-right: 18px;
}

.bank-months-duration {
    margin-top: 18px;
    font-size: 15px;
}

.blue-font {
    color: #1485EC;
}

.main-heading {
    background-color: #1485EC;
    border-radius: 5px;
    height: 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-color-white {

    color: white !important;
}

/* spinner */


.div-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #ffffff;
    font-family: Arial, sans-serif;
}

.container {
    text-align: center;
    position: relative;
}

.spinner {
    width: 250px;
    height: 250px;
    position: relative;
    display: inline-block;
}

.spinner div {
    width: 20px;
    height: 20px;
    background-color: #2366BA;
    border-radius: 50%;
    position: absolute;
    animation: spin 2s linear infinite, colorChange 1.5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes colorChange {
  0% { background-color: #2366BA; }
  50% { background-color: #96C2CA; }
  100% { background-color: #2366BA; }
}

.spinner div:nth-child(1) { top: 0; left: 50%; animation-delay: 0s; }
.spinner div:nth-child(2) { top: 8%; left: 75%; animation-delay: 0.1s; }
.spinner div:nth-child(3) { top: 25%; left: 93%; animation-delay: 0.2s; }
.spinner div:nth-child(4) { top: 50%; left: 100%; animation-delay: 0.3s; }
.spinner div:nth-child(5) { top: 75%; left: 93%; animation-delay: 0.4s; }
.spinner div:nth-child(6) { top: 92%; left: 75%; animation-delay: 0.5s; }
.spinner div:nth-child(7) { top: 100%; left: 50%; animation-delay: 0.6s; }
.spinner div:nth-child(8) { top: 92%; left: 25%; animation-delay: 0.7s; }
.spinner div:nth-child(9) { top: 75%; left: 7%; animation-delay: 0.8s; }
.spinner div:nth-child(10) { top: 50%; left: 0%; animation-delay: 0.9s; }
.spinner div:nth-child(11) { top: 25%; left: 7%; animation-delay: 1s; }
.spinner div:nth-child(12) { top: 8%; left: 25%; animation-delay: 1.1s; }

.logo {
    position: absolute;
    top: 30%;
    left: 52%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #348acd;
    font-weight: bold;
}

#timer {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 50px;
}

/* Make policy links clearly visible as hyperlinks */
a[href^="https://www.upliftloans.com"] {
  color: #1685EC !important; /* Bright blue color */
  text-decoration: underline !important;
  font-weight: 500;
}

a[href^="https://www.upliftloans.com"]:hover {
  color: #0d5ea8 !important; /* Darker blue on hover */
}

/* Fix checkbox alignment */
.checkbox-label {
  display: flex;
  text-align: left;
  font-size: 15px;
  align-items: flex-start !important; /* This ensures vertical alignment at the top */
  margin-bottom: 10px;
}

/* Style the checkbox container */
.checkbox-label > div:first-child {
  padding-top: 3px; /* This moves the checkbox down slightly to align with the first line of text */
  flex-shrink: 0;
}

/* Style the text container */
.checkbox-label > div:nth-child(2) {
  margin-left: 10px;
  line-height: 1.4;
}

/* Make sure checkboxes have appropriate sizing */
input[type="checkbox"] {
  width: auto !important;
  height: auto !important;
  min-width: 16px;
  min-height: 16px;
}