/* FCP 14.7.14 — fix mirato calendario passato, raccolta e Avvia chiamata. */

/* Home: il CTA Call Assistant deve essere sempre leggibile sopra gli altri layer. */
body.fcp-app-root-page .fcp-home-call-card-14712,
body.fcp-app-root-page .fcp-home-call-card-14714,
body.fcp-app-root-page [data-fcp-open-call-assistant]{
  position:relative!important;
  z-index:180!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
}

body.fcp-app-root-page .fcp-home-call-card-14714{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:14px!important;
  align-items:center!important;
  width:100%!important;
  margin:0 0 16px!important;
  padding:18px!important;
  border-radius:24px!important;
  border:1px solid #dbe7f5!important;
  background:linear-gradient(135deg,#fff,#f3f8ff)!important;
  box-shadow:0 16px 42px rgba(15,35,69,.08)!important;
  box-sizing:border-box!important;
}

body.fcp-app-root-page .fcp-home-call-card-14714 small{
  display:block!important;
  margin:0 0 7px!important;
  color:#1769ff!important;
  font-size:11px!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}

body.fcp-app-root-page .fcp-home-call-card-14714 h3{
  margin:0 0 6px!important;
  color:#10284f!important;
  font-size:23px!important;
  line-height:1.1!important;
  font-weight:950!important;
}

body.fcp-app-root-page .fcp-home-call-card-14714 p{
  margin:0!important;
  color:#6b7c93!important;
  font-size:14px!important;
  line-height:1.45!important;
}

body.fcp-app-root-page .fcp-home-call-card-14714 button{
  appearance:none!important;
  border:0!important;
  min-height:48px!important;
  padding:0 18px!important;
  border-radius:17px!important;
  background:#1769ff!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:950!important;
  white-space:nowrap!important;
  box-shadow:0 12px 26px rgba(23,105,255,.22)!important;
}

/* Raccolta differenziata: il check deve essere visibile e usabile come una task. */
body.fcp-app-root-page .fcp-family-waste-card-14676 .fcp-mobile-task-check,
body.fcp-app-root-page .fcp-mobile-task-card[data-source-system="family_waste"] .fcp-mobile-task-check,
body.fcp-app-root-page .fcp-waste-complete-button-14714{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  align-items:center!important;
  justify-content:center!important;
}

body.fcp-app-root-page .fcp-family-waste-card-14676 .fcp-mobile-task-more,
body.fcp-app-root-page .fcp-mobile-task-card[data-source-system="family_waste"] .fcp-mobile-task-more{
  display:none!important;
}

body.fcp-app-root-page .fcp-waste-complete-button-14714::after{
  content:'✓'!important;
  display:block!important;
  color:#16a34a!important;
  font-size:18px!important;
  font-weight:950!important;
  line-height:1!important;
  opacity:.65!important;
}

body.fcp-app-root-page .fcp-mobile-task-card[data-source-system="family_waste"].is-completed,
body.fcp-app-root-page .fcp-mobile-task-card[data-source-system="family_waste"].is-saving{
  opacity:.55!important;
  transform:scale(.99)!important;
}

@media(max-width:767px){
  body.fcp-app-root-page .fcp-home-call-card-14714{
    grid-template-columns:1fr!important;
    padding:16px!important;
    border-radius:22px!important;
  }
  body.fcp-app-root-page .fcp-home-call-card-14714 button{
    width:100%!important;
    justify-content:center!important;
  }
}
