#jssf{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 450px;
  width: 100%;
  background-color: #fff;
  min-width: 1000px;
  .jssf-form-response-display{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 450px;
    border-radius: 8px;
    width: 100%;
  }
  .jssf-form-button{
    margin-top: 20px;
    width: fit-content;
    padding: 10px 40px;
    border-radius: 8px;
    color: #fff;
    background-color: #941C80;
    &:hover{
      cursor: pointer;
    }
  }
}
.jssf-form-field{
    width: 100%;
    &#rgpd{
      color : rgb(40,40,40);
      font-weight: 600;
      .jssf-form-field-sub-div{
        display: flex;
        label{
           display: none;
        }
        input{
          margin-right: 10px;
        }
      }
    }
}
.jssf-form-left-container, .jssf-form-right-container{
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding-right: 15px;
  .jssf-form-field{
    width: 100%;
    overflow: hidden;
    &#rgpd{
      label{
        display: none;
      }
      input{
        margin-right: 10px;
      }
    }
    &.wrong{
      .jssf-form-field-sub-div:has(input[type="text"], input[type="email"], input[type="tel"]){
        margin-bottom: 0;
        border: 1px solid red;
      }
      .jssf-form-field-sub-div textarea{
        margin-bottom: 0;
        border: 1px solid red;
      }
    }
    .jssf-form-field-sub-div{
      &:has(input[type="text"], input[type="email"], input[type="tel"]){
        color: rgb(40,40,40);
        border: 1px solid #ccc;
        padding: 10px 15px;
        transition: border 0.3s ease;
        margin-bottom: calc(0.8rem + 10px);
        label{
          min-width: 75px;
          border-right: 1px solid #ccc;
          margin-right: 15px;
        }
      }
      border-radius: 8px;
      font-size: 0.875rem;
      display: flex;
      align-items: center;
      label{
        white-space: nowrap;
      }
      input[type="text"], input[type="email"], input[type="tel"], textarea{
        all: unset;
        font-style: italic;
        flex-grow: 1;
        width: 100%;
        box-sizing: border-box;
      }
      &:has(textarea){
        flex-direction: column;
        align-items: start;
        flex-grow: 1;
        height: 100%;
        label{
          font-size: 1rem;
          text-transform: uppercase;
          font-weight: bold;
          margin-bottom: 10px;
          color: #000;
        }
        textarea{
          color: #000000;
          border-radius: 8px;
          border: 1px solid transparent;
          padding: 10px 15px;
          margin-bottom: calc(0.8rem + 10px);
          flex-grow: 1;
          height: 100%;
          min-height: 200px;
          border: 1px solid #ccc;
        }
      }
    }
    &:has(textarea){
      flex-grow: 1;
      display: flex;
      flex-direction: column;
    }
    p{
      margin:5px 0;
      font-size: 0.8rem;
    }
  }
}

@media(max-width : 650px){
  .jssf-form{
    flex-direction: column;
    .jssf-form-content{
      flex-direction: column;
    }
    .jssf-form-left-container, .jssf-form-right-container{
      width: 100%;
      padding: 0;
      margin: 0;
    }
  }
}
@media (max-width : 1000px){
  #jssf{
    max-width: 100%;
    min-width: unset;
  }
}