.radio, .checkbox {
    cursor: pointer;
    line-height: 20px;
    font-size: 14px;
    margin: 15px;
  }
  .radio .label, .checkbox .label{
    display: block;
    float: left;
    margin-right: 10px;
    width: 20px;
    height: 20px;
    border: 2px solid #c8ccd4;
    border-radius: 100%;
    -webkit-tap-highlight-color: transparent;
  }
  .radio .label:after, .checkbox .label:after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background: var(--primary);
    transform: scale(0);
    transition: all 0.2s ease;
    opacity: 0.08;
    pointer-events: none;
  }
  .radio:hover .label:after,.checkbox:hover .label:after {
    transform: scale(3.6);
  }
  input[type="radio"]:checked + .label,input[type="checkbox"]:checked + .label {
    border-color: var(--primary);
  }
  input[type="radio"]:checked + .label:after,input[type="checkbox"]:checked + .label:after {
    transform: scale(1);
    transition: all 0.2s cubic-bezier(0.35, 0.9, 0.4, 0.9);
    opacity: 1;
  }.material-radiofield {
    display: flex;
  }
  .material-checkboxfield {
    display: flex;
    flex-direction: column;
  }
  
.material-textfield label {
    position: absolute;
   top: 50%;
    transform: translateY(-50%);
    padding: 0 0.5rem;
    margin-left: 1rem;
    transition: 0.1s ease-out;
    transform-origin: left top;
    pointer-events: none;
    background: #fff;
    z-index: 99;
    font-size:0.9rem;
  }
  .material-textfield input:focus,.material-textfield textarea:focus {
    border-color: var(--primary);
  }
  .material-textfield input:focus + label,.material-textfield textarea:focus + label {
    color: var(--primary);
  }
  .material-textfield input:focus + label, .material-textfield input:not(:placeholder-shown) + label, .material-textfield textarea:focus + label, .material-textfield textarea:not(:placeholder-shown) + label {
    top: 0;
    transform: translateY(-50%) scale(0.9);
  }
  .material-textfield select:not(:placeholder-shown) ~ label {
    top: 0;
    z-index: 99;
    transform: translateY(-50%) scale(.9);
    font-size: 0.9rem;
    background:#fff;
    font-variation-settings: "FILL" 1;
}
.material-textfield select:focus ~ label {
    color: var(--primary);
    top: 0;
    transform: translateY(-50%) scale(.9);
  }
  
select:hover {
        box-shadow: unset;
        background-color:unset !important;
        color:unset;
    }

    .material-textfield textarea {
    position: relative;
    font-size: 1rem;
    padding: 1rem 2rem 1rem;
    display: block;
    width: clamp(6.25rem, 100vw - 8.096rem, 92%);
    border-radius: var(--round);
    block-size: 100%;
  }
  .material-textfield textarea:not(:placeholder-shown) + label {
    top: 0;
    z-index: 99;
    transform: translateY(-50%) scale(.9);
    font-size: 0.9rem;
    background: #fff;
}