.main-step-form {
    display: flex;
    min-height: 100vh;
    height: auto;
    gap: 5vw;
}

#birthdate {
  -webkit-appearance: none;
  padding: 15px 20px;
}

.left-side-steps {
    width: 10%;
    height: auto;
    background-color: #112234;
}

.step-form {
    width: 1200px;
    margin: 0 auto;
}

.step-form-content {
    width: 90%;
    color: #112234;
}
.step-form .input-group {
    display: flex;
    justify-content: center;
}

.step-form input {
    background-color: #ECEDEE !important;
    margin-left: 0 !important;
    width: 90% !important;
}
.input-group-inner {
    width: 60%;
}
.step-form h5 {
  text-transform: uppercase;
    margin: 30px 0 0 10px;
    font-family: 'Oswald';
}
.back-submit-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 100px;
}

.back-submit-container a{
    font-family: 'Oswald';
    letter-spacing: 1.77px;
    padding-left: 45px;
    position: relative;
    color: #000;
}

.step-form.form-container button {
  position: static;
  font-family: 'Oswald';
  letter-spacing: 1.77px;
}



.back-submit-container a::before {
    content: "";
    display: inline-block; /* Allow the image to be treated as an inline element */
    background-image: url("/images/back.png");
    background-size: contain; /* Ensures the image scales correctly */
    background-repeat: no-repeat; /* Prevents repeating of the image */
    width: 40px; /* Set the width of the image */
    height: 25px; /* Set the height of the image */
    position: absolute;
    left: 0; /* Start from the left edge of the paragraph */
    transform: translateX(-5px); /* Move the image 5px to the left */
    top: 70%; /* Position the top of the image at 50% of the paragraph height */
    transform: translate(
      -5px,
      -50%
    ); /* Adjust for both left positioning and vertical centering */
  }

  .left-side-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    color: #fff;
    text-align: center;
    gap: 150px;
    padding: 50px 15px;
  }
  .left-side-steps h2, .left-side-steps h5 {
    margin:0;
    font-family: 'Oswald'
  }
  .left-side-steps h5 {
    letter-spacing: 2px;
    font-weight: 500;
  }
  .left-side-steps span {
    font-size: 18px;
    font-family: 'Oswald';
    letter-spacing: 2px;
  }
  .step1, .step2, .step3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0.2;
  }
  

  .active-step {
    opacity: 1;
  }
  

  .step2, .step3 {
    position: relative;
    text-align: center;
    padding: 40px 0; /* Create space for the images */
}

.step3 {
    padding: 0;
}

.step2::before,
.step3::before {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    width: 5px;  /* Adjust the width */
    height: 100px; /* Adjust the height */
    background-image: url("/images/stepline.png");
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateX(-50%);
}

.step2::before, .step3::before {
    top: -110px; /* Adjust this value to control the space above the element */
}

.step3::before {
    top: -150px;
}


.step-form select{
    width: 95%;
    margin: 10px 0;
    background-color: #ECEDEE;
    font-family: "Oswald";
    font-weight: 500;
    padding: 15px 20px;
    border: none;
    letter-spacing: 2px;
    color: #112234;
    border-radius: 10px;
  }
 
  .step-form select {
    background: #ECEDEE url("/images/downarrow.png") no-repeat scroll right 15px
      center/8px auto;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 55px;
    padding-right: 40px; /* Add padding to make room for the icon */
  }
  
  .step-form  select {
    color: #112234;
  }

  .step-form select option {
    background-color: #fff;
  }
  
  .uploaded-files {
    display: flex;
    gap: 20px;
  }
  
  
  .form-upload-box {
    width: 90%;
    margin: 10px 0;
    display: flex;
    align-items: center;
    background-color: #ECEDEE;
    font-family: "Oswald";
    font-weight: 500;
    height: 55px;
    padding: 0 15px;
    border: none;
    letter-spacing: 2px;
    color: #112234;
    border-radius: 10px;
  }

  .form-upload-icon {
    display: flex;
    align-items: center;
    border-right: 1px solid #fff;
    height: 100%;
  }
  
  .form-upload-icon img {
    padding-right: 10px;
    width: 40px;
    height: auto;
  }
  
  .form-upload-label {
    font-family: 'Lato';
    margin-left: 15px;
    font-weight: 600;
    color: #112234;
    cursor: pointer;

  }
  
  .form-upload-input {
    display: none;
  }
  
  .form-warning {
    display: flex;
    align-items: flex-start;
    margin-top: 15px;
    font-size: 14px;
    color: #112234;
  }
  
  .form-warning img {
    width: 16px;
    height: auto;
    margin-right: 10px;
  }
  
  .form-warning p {
    margin: 0;
    color: #112234;
    font-size: 14px;
    line-height: 24px;
    font-weight: 800;
  }
  .form-buttons-container {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  .form-buttons-container a{
    color: #AD1929;
  }

  .step-form {
    position: relative;
    max-width: 1200px;
  }

  .step-form .back-submit-container button {
    position: static;
  }

  .step-form form textarea {
    background-color: #ECEDEE !important;
    margin: 20px 0 5px 0 !important;
  }
  
  .step-form form textarea::placeholder {
    opacity: 0.5;
    letter-spacing: 2px;
  }
  .form-buttons-container a::before{
    display: none;
  }
  .step-form textarea {
    background-color: #ECEDEE !important;
  }

  .step-form-content.final {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .step-form-content.final h1 {
    letter-spacing: 5px ;
  }

  .down {
    position: static !important;
    margin-right: 40px !important;
  }

  .step-form textarea::placeholder{
    color: #112234;
    opacity: 0.5;
  }

  .file-preview {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    margin: 5px 0;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    
  }

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

#loading-spinner {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  text-align: center;
}

#loading-spinner div {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

#loading-spinner p {
  margin-top: 10px;
  font-size: 16px;
}

  .file-preview img {
    width: 100px;
    height: 100px;
  }
  .file-preview iframe {
    width: 100px;
    height: 100px;
  }

  .skipButtonStep4 {
    z-index: 10;
  }
  
  .file-name {
    flex-grow: 1;
    margin-right: 10px;
    word-wrap: break-word;
  }
  
  .remove-file {
    min-height: 0 !important;
    min-width: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: #F55F27 !important;
    color: #053068 !important;
    cursor: pointer;
    position: absolute !important;
    top: 0 !important;
    right: 5px !important;
    margin: 5px !important;
    height: 20px !important;
    padding: 10px !important;
    font-size: 12px !important;
    width: 20px !important;
    
  }
  
  .remove-file:hover {
    color: #F55F27;
  }
  @media (max-width: 768px) 
{
    .form-warning p {
        font-size: 12px;
        max-width: 80%;
        line-height: 20px;
      }

      .form-upload-box {
        width: 90%;
      }
      .form-buttons-container {
        flex-direction: column;
      }

      .step-form form textarea {
        width: 80% !important;
        height: 200px !important;
      }
      .step-form-content.final h1 {
        letter-spacing: 2px ;
      }
       
  .step-form form textarea::placeholder {
    font-size: 14px;
  }
}
  

  /* Screen size: Max 1600px */
@media (max-width: 1600px) {
    .left-side-steps span {
        font-size: 16px;
        
      }
  }
  
  /* Screen size: Max 1450px */
  @media (max-width: 1450px) {
    .left-side-steps span {
        font-size: 15px;
        
      }
  }
  
  /* Screen size: Max 1400px */
  @media (max-width: 1400px) {
    .step-form {
        width: 1000px;
        margin: 0 auto;
    }
    .left-side-steps span {
        font-size: 14px;
        
      }
    
  }
  
  /* Screen size: Max 1300px */
  @media (max-width: 1300px) {
    .left-side-steps span {
        font-size: 13px;
        
      }
  }
  
  
  /* Mobile view (Max 768px) */
  @media (max-width: 768px) {
    .main-step-form {
        display: flex;
        flex-direction: column;
        min-height: 50vh;
        height: auto;
        gap: 20px;
    }

    .step-form textarea {
      background-color: #ECEDEE !important;
    }
    .step-form-content {
        margin-top: 8vh;
        width: 100% !important;
        padding: 20px 0;

    }

    #birthdate {
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      padding: 10px 20px;
      font-size: 14px;
      line-height: 30px; /* Match the desired height */
      height: 40px;
      color: #000; /* Force height explicitly */
    }

    .step-form button {
      right: 0 !important;
    }
    .step-form-content h1{
        margin:0;
        max-width: 95%;
    }
    
    .left-side-steps {
        width: auto;
        height: auto;
        padding:0 15px;
        flex-direction: row;
        gap: 50px;
    }
    .step2, .step3, .step1 {
      padding: 20px 0;
    }
    .step-form form {
        width: auto !important;
        padding-top: 20px !important;
    }
    
    .step-form {
        width: auto;
        max-width: 100%;
        margin-left: 0;
    }
    
    .step-form-content {
        width: auto;
        color: #112234;
    }
    
    .step-form select{
      width: 100%;
    }
   
    .input-group-inner {
        width: 100%;
    }
    .step-form h5 {
        margin: 20px 0 0 0;
    }
    .back-submit-container {
        margin-top: 50px;
        gap: 30px;
        align-items: start;
        max-width: 100%;
    }
   
      .left-side-steps span {
        font-size: 12px;
      }

      .back-submit-container a::before {
        top: 80%; 
      }
      .form-buttons-container a {
        padding-left: 0;
      }

      .form-container {
        width: 100%;
      }

      .step-form button {
        max-width: 100px !important;
        font-size: 12px !important;
      }

      .form-upload-label {
        font-size: 10px;
        font-weight: 700;
      }

      .step-form {
        margin-bottom: 50px;
      }

      .down {
        margin-bottom: 0 !important;
        margin-right: 0 !important;
      }

.step2::before,
.step3::before {
    content: "";
    display: block;
    position: absolute;
    left: -45px;
    top: 50%;
    width: 40px;  /* Adjust the width */
    height: 4px; /* Adjust the height */
    background-image: url("/images/hline.png");
    background-size: contain;
    background-repeat: no-repeat;
    transform: translateY(-50%);
}

.stepform1 {
  margin-top: -50px;
  padding-top: 0 !important;
}
.main-step-form .form-container {
  width: 100% ;
  margin: 0 auto ;
}

.main-step-form .form-container form input {
  width:90% !important;
  font-size: 16px;
}

.main-step-form .form-container form {
  padding: 0 5%;
  margin-top: -50px;
}
.main-step-form .form-container form button {
  margin-right: 0;
}
.step2::before, .step3::before {
    top: 50%; /* Adjust this value to control the space above the element */
}

  }
  
  /* Mobile view (Max 375px) */
  @media (max-width: 375px) {
    .main-step-form {
        min-height: 70vh;
        height: auto;
        gap: 20px;
    }
    .step-form-content {
        margin-top: 10vh;
    }

    .left-side-steps {
        padding-top: 12vh;
    }
    .form-upload-label {
        font-size: 10px;
    }
    .step-form-content.final h1 {
        margin-top: -40vh;
    }
  }
