.wc-partecipanti-wrap { margin: 2rem 0; }
.wc-part-title { font-size: 1.2rem; font-weight: 600; display: flex; align-items: center; gap: 10px; margin-bottom: .4rem; }
.wc-part-intro { opacity: .75; margin-bottom: 1.5rem; font-size: .95rem; }
.wc-part-badge { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 4px; }
.wc-part-badge--ok      { background: #e1f5ee; color: #085041; }
.wc-part-badge--pending { background: #faeeda; color: #412402; }
.wc-part-fieldset { border: 1px solid rgba(128,128,128,.25); border-radius: 6px; padding: 1rem 1.25rem; margin-bottom: 1.25rem; }
.wc-part-fieldset--locked { opacity: .85; }
.wc-part-legend { font-weight: 600; font-size: .95rem; padding: 0 6px; }
.wc-part-row { padding: .75rem 0; border-bottom: 1px solid rgba(128,128,128,.15); }
.wc-part-row:last-child { border-bottom: none; padding-bottom: 0; }
.wc-part-row-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.wc-part-row--locked { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.wc-part-row--locked .wc-part-row-label { min-width: 110px; }
.wc-part-readonly-fields { display: flex; gap: 1.5rem; font-size: .9rem; flex-wrap: wrap; }
.wc-part-email { opacity: .7; }
.wc-part-row-label { font-size: .85rem; font-weight: 600; opacity: .6; text-transform: uppercase; letter-spacing: .04em; }
.wc-part-autofill {  border-radius: 10px; padding: 2px 10px; font-size: .8rem; cursor: pointer; opacity: 1; transition: opacity .15s; }
.wc-part-autofill:hover { opacity: 1; }
.wc-part-fields { display: grid;     grid-template-columns: .1fr 1fr 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .wc-part-fields { grid-template-columns: 1fr; } }
.wc-part-field { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; }
.wc-part-field input { width: 100%; padding: 7px 10px; border: 1px solid rgba(128,128,128,.35); border-radius: 4px; font-size: .9rem; background: transparent; color: inherit; box-sizing: border-box; }
.wc-part-field input:focus { outline: 2px solid currentColor; outline-offset: 1px; }
.wc-part-saving { font-size: .85rem; opacity: .65; }
.wc-part-notice { padding: 10px 14px; border-radius: 5px; margin-bottom: 10px; font-size: .9rem; }
.wc-part-notice--ok  { background: #e1f5ee; color: #085041; }
.wc-part-notice--err { background: #fcebeb; color: #501313; }

.wc-partecipanti-wrap{

  background-color: var(--surface);
  border: 1px solid #eee;
  padding: 30px;
  position: relative;

  h3{
    display: block;
  }

  .wc-part-badge{
    position: absolute;
    top: 10px;
    right: 10px;
    border: 1px solid;
  }

  .wc-part-fields{
    align-items: end;

    .partecipante-counter{
      display: flex;
      width: 40px;
      height: 40px;
      background-color: #eee;
      border-radius: 10px;
      justify-content: center;
      align-items: center;

      span{
        text-align: center;
      }

    }
          input{
        background-color: #fff;
        border-radius: 0;
        border-color: #777777;
      }


  }

  .wc-part-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1rem;
    justify-content: center;
  }

  .button.wc-part-submit{
    background-color: #fcd571;
    color: #3a3a3a;
    border-radius: 15px;
    padding: 15px 20px;
    transition: all .2s ease;

    &:hover{
      background-color: #dab453;
    }
  }
  .button.wc-part-remember-later{
    background-color: transparent;
    color: #3a3a3a;
    border-radius: 15px;
    border: 1px solid #03a5c9;
    padding: 15px 20px;
    transition: all .2s ease;

    &:hover{
      background-color: #03a5c9;
      color: #fff;
    }
  }

  

  .wc-part-fieldset{
    padding: 0;
    border: 0;

    .wc-part-autofill{
      margin-top: 20px;
      margin: 20px auto;
      display: block;
      background-color: #03a5c9;
      color: #fff;
      text-transform: uppercase;

      transition: all .2s ease;

      &:hover{
        color: #000;
        
      }
    }
  }

}

@media(max-width: 991px){
  .wc-partecipanti-wrap{

    padding: 60px 30px 30px 30px;
  }
}

@media(max-width: 676px){
  .wc-part-actions{

    flex-direction: column;
  }
}