.finance_form{
    width: 100%;
    background-color: #000;
    border: 2px solid #ff3131;
    border-radius: 10px;
    padding: 2%;
    margin: 10% 0;
    margin-right: 3%;
    font-family: verdana;
    font-weight: bold;
    color: #fff;
    font-size: 16px;
    
}

.page_1, .page_2, .page_3, .page_4, .page_5, .page_6,.page_7,.page_8{
    display: none;
}

.active_page{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}


.finance_form span{
    color: #ff0000;
}

.error{
    display: none;
    color: #ff0000 !important;
    width: 100%;
    text-align: start;
    font-size: 16px !important;
}

.finance_form input{
    width: 100%;
    height: 20px;
    font-size: 17px;
    outline: none;
    border-radius: 10px;
    border: 2px solid #ff3131;
    margin-top: 0.5%;
    margin-bottom: 2.5%;
}

.finance_form label {
    width: 100%;
    text-align: start;
    align-items: center;
}

.sa_id__drivers_message{
 width: 100%;
 text-align: start;
}

.first_name_container, .last_name_container{
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}

.finance_form input::placeholder{
    font-size: 16px;
    font-family: verdana;
    color: #474747;
}

.finance_form .spinner {
    border: 4px dashed #7CFC00;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  .finance_form .submitting{
      display:none;
      flex-direction: column;
      color:#7CFC00;
      align-items:center;
      width: 100%;
      justify-content: start;
      margin-bottom: 2%;
    }
  
  .finance_form .submitting p{
      color:#7CFC00 !important;
      margin-left:2%;
  }

  .finance_form button{
    background-color: #ff3131;
    font-family: verdana;
    font-size: 16px;
    font-weight: normal;
    color: #000;
    border: none;
    padding: 1%;
    cursor: pointer;
}

/* Hide the default checkbox */
.finance_form input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #7a7a7a;
    border-radius: 0;
    background-color: #fff;
    padding: 0;
  }
  
  /* Change the background color of the checkbox when checked */
  .finance_form input[type="checkbox"]:checked {
    border-color: #ff3131;
    
  }
  
  /* Change the color of the checkmark */
  .finance_form input[type="checkbox"]:checked::before {
    content: "\2714";
    display: block;
    width: 100%;
    height: 100%;
    font-size: 16px;
    color: #ff3131;
    text-align: center;
  }

  .finance_form input[type="checkbox"]:checked::after{
    color: #ff3131;
  }

  .name, .id_drivers_container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 2%;
    margin-bottom: 2.5%;
}

.sa_drivers_container, .sa_id_container{
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.percentage_container {
    width: 100%;
    height: 10px;
    background-color: transparent;
    display: flex;
    justify-content: start;
    align-items: center;
  }
  
  progress {
    width: 90%;
    height: 100%;
    margin-left: 1.5%;
    appearance: none;
    border: none;
    background-color: #e0e0e0;
  }
  
  progress::-webkit-progress-value {
    background-color: #ff3131;
  }
  
  progress::-moz-progress-bar {
    background-color: #ff3131;
  }
  
  progress::-ms-fill {
    background-color: #ff3131;
  }

  .progress_value{
    font-size: 15px;
    color: #fff !important;
  }

  .page_navigation{
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 4% 0;
    align-items: center;
  }

  .page_1 .page_navigation{
    justify-content: end;
    padding: 0;
    padding-right: 5%;
  }

  .page_navigation button{
    background-color: #ff3131;
    font-family: verdana;
    font-size: 16px;
    font-weight: normal;
    color: #000;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    padding: 1%;
  }

  .page_navigation button:hover{
    background-color: #000;
    color: #ff3131;
  }

  .city_details_container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 2%;
    margin-bottom: 2.5%;
  }

  .city_zip_container, .state_country_container{
    width: 45%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
  }

  .wedding_date_container{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
  }
  
  .day_container{
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
  }

  .month_container{
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
  }

  .year_container{
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: end;
  }

  .wedding_date_label{
    width: 100%;
    text-align: start;
  }

  #form_message{
    display: flex;
    width: 100%;
    text-align: center;
  }

  .finance_form_modal{
    width: 96%;
    background-color: #000;
    border: none;
    border-radius: 10px;
    padding: 2%;
    font-family: verdana;
    font-weight: bold;
    color: #fff;
    font-size: 16px;
  }
  .finance_form_dialog{
    height: 100%;
    width: 75%;
    background-color: #000;
    border: 2px solid #ff3131;
    border-radius: 10px;

  }

  .finance_form_modal input{
    width: 100%;
    height: 30px;
    font-size: 16px;
    outline: none;
    border-radius: 10px;
    border: 2px solid #ff3131;
    background-color: #fff;
    margin-top: 0.5%;
    margin-bottom: 2.5%;
    text-align: start;
}
.finance_modal_close{
  height: 50px;
  width: 50px;
  position: absolute;
  top: 1%;
  right: 1%;
}

.finance_form_modal input{
  color: #000 !important;
  caret-color: #000 !important;
}

.finance_form_modal .line{
  margin: 5% 0;
}

@media (min-width: 768px) and (max-width: 991px) {
  .finance_form{
    margin: 0;
    
}
}

@media (max-width: 767px) {
  .finance_form{
    margin: 0;
    font-size: 16px;
}
}