*{box-sizing: border-box;}
    .spouse-form-wrap{display: flex; row-gap: 15px; column-gap: 43px; align-items: flex-start; padding-bottom: 34px;}
    .spouse-form-wrap span{display: block; font-size: 12px; color: #808080; font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;}
    /* .spouse-form-wrap h4{margin: 0;} */
    .spouse-form-wrap .age-field{display: flex; flex-direction: column;}
    .age-field input[type="number"]{width: 100%; width: 106px; height: 30px; border: 1px solid #979797; border-radius: 6px; padding: 4px 10px;}
    .age-field input[type="number"]::placeholder{font-size: 18px; color: #393939; font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;}
    .gender-field-wrap label{position: relative;}
    .gender-field-wrap label:first-child{border-right: 1px solid #979797;}
    .gender-field-wrap input[type="radio"]{position: relative; appearance: none; -webkit-appearance: none; transition: linear 0.8s; width: 100%; height: 30px; border: none; padding: 0 !important; -webkit-tap-highlight-color: transparent; min-width: 74px; margin: 0;}
    .gender-field-wrap .radio-field-wrap{border: 1px solid #979797; display: flex; border-radius: 6px;}
    .gender-field-wrap .gender-field{height: 30px;}
    .gender-field-wrap .gender-field.male input[type="radio"]::before{position: absolute; content: ''; background: url(https://starthealth.com/wp-content/uploads/2024/04/male.svg) no-repeat; background-size: 100%; width: 9px; height: 22px; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0.3;}
    .gender-field-wrap .gender-field.male input[type="radio"]:checked:before{opacity: 1;}
	  .gender-field-wrap .gender-field.female input[type="radio"]::before{position: absolute; content: ''; background: url(https://starthealth.com/wp-content/uploads/2024/04/female.svg) no-repeat; background-size: 100%; width: 10px; height: 22px; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0.3;}
    .gender-field-wrap .gender-field.female input[type="radio"]:checked:before{opacity: 1;}
    .spouse-form-wrap.spouse .row{display: flex; column-gap: 43px; align-items: flex-start; margin-bottom: 10px;}
    .spouse-form-wrap.spouse{flex-wrap: wrap;}
    .qq-spouse-form h3{font-size: 21px; color: #1D5299; font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif; font-weight: 700;}
    .qq-spouse-form h3.add_button{cursor: pointer; display: flex; align-items: center; gap: 8px;}
    .qq-spouse-form h3.add_button:hover{color: #3B7BD2;}
    .qq-spouse-form h3.add_button span{font-size: 30px;}
    .spouse-form-wrap .remove_button{background: url(../Divi-child/images/trash.svg) no-repeat; background-size: 100%; width: 20px; font-size: 0; margin-top: 27px;}
    .spouse-form-wrap .remove_button:hover{filter: brightness(0) saturate(100%) invert(69%) sepia(2%) saturate(4%) hue-rotate(324deg) brightness(89%) contrast(92%);}
    .spouse-submit{font-weight: 700; font-family: 'none',sans-serif; color: white; font-size: 15px; background-color: #FF6542; border: none; padding: 14px 17px; border-radius: 7px; cursor: pointer;}
    .qq-form-age-validation-text a{color: #FF6542;}
    .spouse-form-topfield{display: flex; flex-direction: column; margin: 10px 0 20px; width: 100%; max-width: 300px;}
    .spouse-form-topfield input[type="email"]{
      /* width: 106px; */
      height: 30px;
      border: 1px solid #979797;
      border-radius: 6px;
      padding: 4px 10px;
    }
    
    .spouse-form-topfield span{display: block;
      font-size: 12px;
      color: #808080;
      font-family: 'Lato', Helvetica, Arial, Lucida, sans-serif;
    } 

    .spouse-form-topfield input[type="number"]{
      /* width: 106px; */
      height: 30px;
      border: 1px solid #979797;
      border-radius: 6px;
      padding: 4px 10px;
    }

    /* responsive css */
    @media(max-width: 480px){
      .spouse-form-wrap, .spouse-form-wrap.spouse .row{column-gap: 15px;}
      .spouse-form-wrap .add_button, .spouse-form-wrap .remove_button{margin-left: 0;}
      .age-field input[type="number"]{max-width: 80px;}
    }
    span.error{
      color : #ff6542;
      display: inline;
    }



    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    input[type="number"] {
        -moz-appearance: textfield;
    }
