.elementor-601 .elementor-element.elementor-element-324a075{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-601 .elementor-element.elementor-element-9d5f43b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}:root{--page-title-display:none;}/* Start custom CSS for wpforms, class: .elementor-element-7ab668b *//* ===== TiCuroIo - Calendario disponibilità WPForms ===== */

.tc-avcal{
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  padding-bottom: 8px;
}

.tc-avcal__table{
  width: 100%;
  min-width: 760px; /* forza la tabella a restare larga e scrollabile */
  border-collapse: separate;
  border-spacing: 8px;
  table-layout: fixed;
}

.tc-avcal__table th,
.tc-avcal__table td{
  text-align: center;
  vertical-align: middle;
}

.tc-avcal__table thead th{
  font-weight: 700;
  font-size: 14px;
  color: #0b235b;
  white-space: nowrap;
}

.tc-avcal__table thead th small{
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: .75;
  margin-top: 2px;
}

.tc-avcal__table tbody td:first-child{
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
  min-width: 110px;
  color: #0b235b;
}

.tc-avcal__table button{
  width: 42px;
  height: 42px;
  border: 1px solid #cfe0f7;
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  color: transparent; /* nasconde la ✓ finché non è attivo */
  transition: all .2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.tc-avcal__table button.is-active,
.tc-avcal__table button[aria-pressed="true"]{
  background: #0047a9;
  border-color: #0047a9;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0,71,169,.18);
}

.tc-avcal__hint{
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #5b6b84;
}

/* Sblocca eventuali contenitori che tagliano la tabella */
#wpforms-516 .wpforms-field-html,
#wpforms-516 .wpforms-field-container,
#wpforms-516 form{
  overflow: visible !important;
}

#wpforms-516 .wpforms-field-html .tc-avcal{
  display: block;
  max-width: 100%;
}

/* ===== Hint visivo scroll mobile calendario ===== */

@media (max-width: 767px){

  .tc-avcal{
    position: relative;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: thin;                /* Firefox */
    scrollbar-color: #0047a9 #ddeffd;     /* Firefox */
  }

  /* Chrome / Edge / Safari */
  .tc-avcal::-webkit-scrollbar{
    height: 8px;
  }

  .tc-avcal::-webkit-scrollbar-track{
    background: #ddeffd;
    border-radius: 999px;
  }

  .tc-avcal::-webkit-scrollbar-thumb{
    background: #0047a9;
    border-radius: 999px;
  }

  .tc-avcal::-webkit-scrollbar-thumb:hover{
    background: #0b235b;
  }

  /* sfumatura laterale per far capire che c'è altro */
  .tc-avcal::after{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 34px;
    height: calc(100% - 14px); /* lascia libera la scrollbar sotto */
    pointer-events: none;
    background: linear-gradient(to left, #ffffff 15%, rgba(255,255,255,0));
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
  }

  /* testo aiutino opzionale */
  .tc-avcal__hint{
    position: relative;
    padding-right: 26px;
  }

  .tc-avcal__hint::after{
    content: "⇄";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 16px;
    color: #0047a9;
    font-weight: 700;
  }
}

/* Mobile */
@media (max-width: 767px){
  .tc-avcal{
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .tc-avcal__table{
    min-width: 820px; /* un po’ più largo su mobile per farlo scorrere bene */
  }

  .tc-avcal__table thead th{
    font-size: 13px;
  }

  .tc-avcal__table thead th small{
    font-size: 10px;
  }

  .tc-avcal__table tbody td:first-child{
    min-width: 105px;
    font-size: 13px;
  }

  .tc-avcal__table button{
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
}/* End custom CSS */