html body {
    padding: 0;
    margin: 0;
}

.apply_welcome {
    margin: 0%;
    height: 100vh;
    width: 100%;
}

/* Clear floats after the columns */
.apply_welcome:after {
    content: "";
    display: table;
    clear: both;
}

.apply_welcome_split {
    float: left;
}

.apply_welcome_split:nth-child(1) {
    position: relative;
    width: 60%;
    height: 100vh;
    background-color: #121825;
}

.apply_welcome_split:nth-child(2) {
    width: 40%;
    height: 100vh;
    background-image: url('4386408-4386408-scaled.jpg'); /* Set your image URL here */
    background-size: cover;
    background-position: center;
}

.welcome_split_centered-div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    text-align: center;
    min-width: 300px;
}

.welcome_split_centered-div h1 {
    color: #ffffff;
    font-family: 'Aleo', verdana;
    font-size: 50px;
    font-weight: bold;

}

.welcome_split_centered-div p {
    color: #ccc;
    font-family: 'Alexandria', Verdana, Geneva, Tahoma, sans-serif;
    font-size: 21px;
}

.welcome_split_centered-div button {
     background-color: #04AA6D;
     color: #ffffff;
     border: none;
     padding: 10px 20px;
     font-size: 20px;
     font-family: 'Alexandria', Tahoma, Geneva, Verdana, sans-serif;
     cursor: pointer;
     border-radius: 5px;
}

.welcome_split_centered-div  button:hover {
   opacity: 0.8;
}

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

    .welcome_split_centered-div h1 {
    color: #ffffff;
    font-family: 'Aleo', verdana;
    font-size: 40px;
    font-weight: bold;

}

.welcome_split_centered-div p {
    color: #ccc;
    font-family: 'Alexandria', Verdana, Geneva, Tahoma, sans-serif;
    font-size: 18px;
}


.welcome_split_centered-div button {
     background-color: #04AA6D;
     color: #ffffff;
     border: none;
     padding: 10px 20px;
     width: 100%;
     font-size: 20px;
     font-family: 'Alexandria', Tahoma, Geneva, Verdana, sans-serif;
     cursor: pointer;
     border-radius: 5px;
}

}

@media screen and (max-width: 600px) {
    .apply_welcome_split:nth-child(1) {
        width: 100%;
        height: 100vh;
    }

    .apply_welcome_split:nth-child(2) {
        display: none;
    }
}

.new-div {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('4386408-4386408-scaled.jpg'); /* Set your image URL here */
    background-size: cover;
    background-position: center;
    overflow-x: scroll;
    scrollbar-width: thin; /* For Firefox compatibility */
}

/* width */
.new-div::-webkit-scrollbar {
  width: 15px;
}
@media screen and (max-width: 600px) {
  /* width */
.new-div::-webkit-scrollbar {
  width: 10px;
}

}

/* Track */
.new-div::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
.new-div::-webkit-scrollbar-thumb {
  background:  #121825;
  border-radius: 10px;
}

/* Handle on hover */
.new-div::-webkit-scrollbar-thumb:hover {
  background:  #121825;
}


/* ================================== form css ====================================*/

* {
    box-sizing: border-box;
  }
  

  
  #regForm {
    background-color: #121825;
    margin: 100px auto;
    padding: 40px;
    width: 70%;
    min-width: 650px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 8px;
  }
  
  @media screen and (max-width: 600px) {
      #regForm {
    background-color: #121825;
    margin: 100px auto;
    padding: 10px;
    width: 90%;
    min-width: 330px
  }
  
  }
  
  #regForm label {
      font-family: 'Alexandria', Verdana, Geneva, Tahoma, sans-serif;
      font-weight: 500;
      color: #ffffff;
      font-size: 16px;
  }
  
  h1 {
    text-align: center;
    font-family: 'Aleo', Verdana, Geneva, Tahoma, sans-serif;
    font-size: 30px;
    color: #ffffff;
  }
  
  h2 {
      font-family: 'Aleo', Verdana, Geneva, Tahoma, sans-serif;
      font-size: 30px;
      color: #eee;
  }
  
  input {
    padding: 10px;
    width: 100%;
    border-radius: 2px;
    font-size: 18px;
    font-family: 'ABeeZee', Verdana, Geneva, Tahoma, sans-serif;
    border: none;
    border: 1px solid #e5e7eb33;
    border-radius: 3px;
    background-color: #ffffff17;
    color: rgb(229, 231, 235);
  }
  
  /* Mark input boxes that get an error on validation: */
  input.invalid {
    background-color: #ffdddd;
  }
  
  /* Hide all steps by default: */
  .tab {
    display: none;
  }
  
  button {
    background-color: #04AA6D;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 20px;
    font-family: 'Alexandria', Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
    border-radius: 5px;
  }
  
  button:hover {
    opacity: 0.8;
  }
  
  #prevBtn {
    background-color: #cccccccb;
  }
  
  /* Make circles that indicate the steps of the form: */
  .step {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbbbbb;
    border: none;  
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
  }
  
  .step.active {
    opacity: 1;
  }
  
  /* Mark the steps that are finished and valid: */
  .step.finish {
    background-color: #04AA6D;
  }
  
  /* Create three equal columns that float next to each other */
  .addy_column {
    float: left;
    width: 33.33%;
    padding: 5px;
  }

   /* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
   @media screen and (max-width: 600px) {
    .addy_column {
      width: 100%;
    }
    input[type=date] {
      position: relative;
      min-width: 200px;
    }
  }
   /* Clear floats after the columns */
   .addy_row:after {
    content: "";
    display: table;
    clear: both;
  }


    /* Create three equal columns that float next to each other */
    .loantype_column {
      float: left;
      width: 25%;
      padding: 5px;
    }
  
     /* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
     @media screen and (max-width: 600px) {
     .loantype_column {
        width: 100%;
      }
    }

    /* Clear floats after the columns */
    .loantype_row:after {
        content: "";
        display: table;
        clear: both;
     }
  
  input[type=date] {
    width: 33.33%;
    padding-right: 30px;
    position: relative;
  }
  
  input[type=date]:after {
    content: "\f073";
    font-family: 'FontAwesome';
    font-size: 22px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }

  
  
  /* Add Font Awesome icons to the left side of input fields */
  .icon-input {
    position: relative;
  }
  
  .icon-input input {
    padding-left: 50px;
  }
  
  .icon-input .fa {
    position: absolute;
    left: 1px;
    top: 50%;
    font-size: 25px;
    background-color: #3b82f6;
    color: #ffffff;
    width: 45px;
    padding: 10px;
    transform: translateY(-50%);
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
  }
  
 
  
 
  
      .image-upload {
        display: table;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 100%;
        margin: auto;
      }
  
      .image_div {
        max-width: 50%;
        float: left;
        margin: 0 auto; /* Center the .image_div horizontally */
      }
  
      /* Clear floats after the columns */
      .image-upload:after {
        content: "";
        display: table;
        clear: both;
      }
  
      @media screen and (max-width: 600px) {
        .image-upload {
          display: flex;
          flex-direction: column;
          align-items: center;
          text-align: center;
        }
  
        .image_div {
          max-width: 300px;
          float: none; /* Remove the float to center the .image_div */
          margin: 0 auto; /* Add margin to center the .image_div horizontally */
          margin-bottom: 30px;
        }
      }
  
      .preview-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 280px;
        height: 200px; /* Fixed height for the container */
        border: 2px dashed #ccc;
        background-color:  #ffffff17;
        overflow: hidden;
        position: relative;
      }
  
      .preview {
        max-width: 100%; /* Allow the image to resize within the container */
        max-height: 100%; /* Allow the image to resize within the container */
        display: block;
      }
  
      .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        opacity: 0;
        transition: opacity 0.3s;
        cursor: pointer;
      }
  
      .overlay:hover {
        opacity: 1;
      }
  
      .choose-file-button {
        display: none;
        font-family: 'ABeeZee';
        font-size: 20px;
      }
  
      .overlay:hover .choose-file-button {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
  
      .progress {
        margin-top: 5px;
        width: 100%;
        background-color: #ffffff17;
      }
  
      .progress-bar {
        width: 0;
      }
  
      @media screen and (max-width: 600px) {
        .progress {
          margin-top: 5px;
          width: 100%;
          border-radius: 10px;
          background-color: #ffffff17;
        }
  
        .progress-bar {
          border-radius: 10px;
          width: 0;
        }
      }
  
      .loader {
        position: absolute;
        bottom: 0;
        width: 100%;
        text-align: center;
        font-family: 'ABeeZee';
        font-size: 16px;
      }
  
      .img_icon {
        opacity: 0.8;
      }
  
      /*the container must be positioned relative:*/
  .custom-select {
    position: relative;
    font-family: 'ABeeZee', Verdana, Geneva, Tahoma, sans-serif;
  }
  
  .custom-select select {
    display: none; /*hide original SELECT element:*/
  }
  
  .select-selected {
    background-color: #3b82f6;
  }
  
  /*style the arrow inside the select element:*/
  .select-selected:after {
    position: absolute;
    content: "";
    top: 20px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
  }
  
  /*point the arrow upwards when the select box is open (active):*/
  .select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
  }
  
  /*style the items (options), including the selected item:*/
  .select-items div,.select-selected {
    color: #ffffff;
    padding: 9.5px 16px;
    font-size: 18px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
    user-select: none;
  }
  
  /*style items (options):*/
  .select-items {
    position: absolute;
    background-color: #3b82f6;
    top: 100%;
    max-height: 400px;
    overflow-y: scroll;
    left: 0;
    right: 0;
    z-index: 99;
  }
  
  /*hide the items when the select box is closed:*/
  .select-hide {
    display: none;
  }
  
  .select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
  }
  
  #apply_return {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #121825;
    color: #bbbbbb;
    font-family: 'Aleo', Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 600;
    padding: 10px;
    border: none;
    border-bottom-right-radius: 7px;
    cursor: pointer;
    font-size: 15px;
    width: 80px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center; /* Center text horizontally */
    line-height: 40px; /* Center text vertically */
}

/* The container */
.checkmark_container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid #e5e7eb33;
    border-radius: 3px;
    background-color: #ffffff17;
  }
  
  /* Hide the browser's default checkbox */
  .checkmark_container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
  }
  
  /* On mouse-over, add a grey background color */
  .checkmark_container:hover input ~ .checkmark {
    background-color: #ccc;
  }
  
  /* When the checkbox is checked, add a blue background */
  .checkmark_container input:checked ~ .checkmark {
    background-color: #2196F3;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the checkmark when checked */
  .checkmark_container input:checked ~ .checkmark:after {
    display: block;
  }
  
  /* Style the checkmark/indicator */
  .checkmark_container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  #loan_purpose {
    width: 100%;
    height: 130px;
    resize: none; /* Prevent resizing by the user */
    border-radius: 2px;
    font-size: 18px;
    font-family: 'ABeeZee', Verdana, Geneva, Tahoma, sans-serif;
    border: none;
    border: 1px solid #e5e7eb33;
    border-radius: 3px;
    background-color: #ffffff17;
    color: rgb(229, 231, 235);
}

input[type="range"] {
    width: 100%;
}
