
#multiStepForm {
    font-family:'Montserrat', sans-serif;
    text-align: center;
    height: 100vh;
    display: flex;
    gap: 5em;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-size:cover;
    background-position:center;
    /*box-shadow: 0 0 4px 10px;*/
    padding:90px 0 0 0;
    /*overflow:hidden;*/
    position:relative;
  }

label.company-option{
    padding:5px 10px;
}



.step {
  transition: opacity 0.5s ease-in-out;
  position:absolute;
  width:100%;
  /*top:0;*/
  left:0;
  /*padding: 2rem;*/
  box-sizing: border-box;
  z-index:0;
  display: none;
  vertical-align: middle;
  padding:90px 0 0 0;
}

.step.active {
  display: block;
  opacity: 1;
  z-index: 1;
}


.step h2 {
    color: #1c4f71;
    font-size: 35px;
    margin-bottom: 40px;
    font-family: roboto;
    font-weight: 600;
}

/*form-step should be replaced by step*/

.step input,
.step select {
  width: 80%;
  /*max-width: 400px;*/
  padding: 1em;
  margin-bottom: 1.5em;
  border: 2px solid #1c4f71;
  border-radius: 8px;
  font-size: 1rem;
}


.company-option {
  /*display: inline-block;*/
   display:flex;
   align-items: center;     
  justify-content: center;
  cursor: pointer;
  padding: 10px;
  border: 2px solid transparent;
  border-radius: 10px;
  text-align: center;
   width: 130px;
}


.company-option.selected {
  border-color: #1c4f71;
  background-color: #eaf4f9;
}


/*.company-option img {*/
/*  max-width: 150px;*/
/*  height: auto;*/
/*  display: block;*/
/*}*/


button.next-btn,
button.prev-btn {
  background-color: #e65700;
  color: #fff;
  padding: 0.75em 2em;
  border: none;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button.next-btn:hover,
button.prev-btn:hover {
  background-color: #1c4f71;
}


#step1 button{
    padding:10px 50px 10px 50px;
    font-family:montserrat;
    background-color:#1c4f72;
    outline:none;
    border:1px solid #1c4f72;
    /*color:#e65700;*/
    color:#ffffff;
    font-weight:600;
    text-align:center;
    margin:auto;
    display:block;
  
}

#step1 button:hover{
    padding:10px 50px 10px 50px;
    font-family:montserrat;
    background-color:#e65700;
    outline:none;
    border:1px solid #e65700;
    color:#fff;
    font-weight:600;
    text-align:center;
    margin:auto;
    display:block;

}


button.next-btn {
    padding: 10px 50px;
    font-family: montserrat;
    background-color: #1c4f72;
    border: 1px solid #1c4f72;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    width: 200px;
    cursor:pointer;
    transition:background-color 0.3s ease, color 0.3s ease;
}



button.next-btn:hover{
    background-color:#163c57;
    border-color: #163c57;
    color:#ffffff;
}

button.prev-btn {
    padding: 10px 50px;
    font-family: roboto;
    background-color: transparent;
    border: 1px solid #cccccc;
    color: #333333;
    font-weight: 600;
    text-align: center;
    width: 200px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-bottom:10px;
}

button.prev-btn:hover {
    background-color: #bbbbbb;
    border-color: #aaaaaa;
    color: #000000;
}

button[type="submit"] {
    padding: 10px 50px;
    font-family: montserrat;
    background-color: #28a745; /* Green */
    border: 1px solid #28a745;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    width: 200px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Submit Button Hover Style */
button[type="submit"]:hover {
    background-color: #218838; /* Darker Green */
    border-color: #1e7e34;
    color: #ffffff;
}




#person_details{
    display:flex;
    align-items:center;
    gap:1em;
    justify-content: space-evenly;
    margin-bottom:auto;
    width:80% !important;
}



#step4, #step5, #step6{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content: center;
    gap:20px;
    padding-left:300px;
}


.step h2 {
  margin-bottom: 15px;
}

.company-option {
  display: inline-block;
  margin: 10px;
  cursor: pointer;
}

.company-option img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  transition: border 0.3s;
  margin-left:auto;
  margin-right:auto;
  display:block;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}


@media (min-width:400px) and (max-width:769px){
    #multiStepForm {
    text-align: center;
    height: 100vh;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-size:cover;
    background-position:center;
    /*box-shadow: 0 0 4px 10px;*/
    /*padding:90px 0 0 0;*/
    /*overflow:hidden;*/
    position:relative;
}
  #step4, #step5, #step6 {
      padding-left:100px;
  }
  .step{
  transition: opacity 0.5s ease-in-out;
  width:100%;
  /*top:0;*/
  left:0;
  /*padding: 2rem;*/
  box-sizing: border-box;
  z-index:0;
  display: none;
  position:relative !important;
  padding:90px 0 0 0;
  box-sizing:border-box;
  wrap:wrap;
  }
  
  .company-option img{
      height:50px;
      width:50px;
  }
  .company-option p{
      font-size:13px;
  }
}



@media (max-width:400px){
     #step4, #step5, #step6 {
      padding:10px;
  } 
  #person_details{
      width:100% !important;
  }
  button.prev-btn{
      width:94%;
  }
  button.next-btn{
      width:94%;
  }
  button[type="submit"]{
   width:94%;   
  }
  
}




/* Add this to your theme's style.css or enqueue it separately */
.thankyou-message-wrapper {
  max-width: 600px;
  margin: 50px auto;
  padding: 30px;
  background-color: #f8fafc;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.thankyou-message-wrapper h2 {
  color: #1c4f71;
  margin-bottom: 10px;
}

.thankyou-message-wrapper p {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
}

.thankyou-message-wrapper ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.thankyou-message-wrapper ul li {
  background-color: #ffffff;
  padding: 12px 15px;
  margin-bottom: 10px;
  border-left: 4px solid #e65700;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.thankyou-message-wrapper ul li strong {
  color: #1c4f71;
}

.thankyou-message-wrapper button {
  background-color: #e65700;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.thankyou-message-wrapper button:hover {
  background-color: #cc4d00;
}














