/* 14.6.77 - Family Calendar waste recurrence + smaller frontend floating buttons */

/* Raccolta differenziata: card più riconoscibile nel calendario task */
body.fcp-app-root-page .fcp-family-waste-card-14676,
body.fcp-app-root-page .fcp-mobile-task-card[data-source-system="family_waste"]{
  border-color:#bbf7d0!important;
  background:linear-gradient(180deg,#f0fdf4 0%,#ffffff 100%)!important;
}
body.fcp-app-root-page .fcp-family-waste-card-14676 em,
body.fcp-app-root-page .fcp-mobile-task-card[data-source-system="family_waste"] em{
  background:#dcfce7!important;
  color:#166534!important;
}

/* Floating button + più piccolo */
html.fcp-global-stability-14640 body .fcp-mobile-fab.fcp-single-task-fab-14640,
body.fcp-app-root-page .fcp-mobile-fab,
body.fcp-app-root-page .fcp-native-mobile-action,
body .fcp-mobile-fab,
body .fcp-native-mobile-action{
  width:54px!important;
  height:54px!important;
  min-width:54px!important;
  min-height:54px!important;
  max-width:54px!important;
  max-height:54px!important;
  border-radius:18px!important;
  font-size:30px!important;
  line-height:1!important;
  right:18px!important;
  bottom:calc(96px + env(safe-area-inset-bottom,0px))!important;
  box-shadow:0 14px 32px rgba(37,99,235,.30)!important;
}
html.fcp-global-stability-14640 body .fcp-mobile-fab.fcp-single-task-fab-14640::before,
body.fcp-app-root-page .fcp-mobile-fab::before,
body.fcp-app-root-page .fcp-native-mobile-action::before{
  font-size:28px!important;
}

/* Microfono/assistente più piccolo */
html.fcp-mobile-ai-v43 .fcp-mobile-recorder-fab,
body.fcp-app-root-page .fcp-mobile-recorder-fab,
body .fcp-mobile-recorder-fab{
  width:50px!important;
  height:50px!important;
  min-width:50px!important;
  min-height:50px!important;
  max-width:50px!important;
  max-height:50px!important;
  border-radius:18px!important;
  left:18px!important;
  bottom:calc(106px + env(safe-area-inset-bottom,0px))!important;
  box-shadow:0 12px 26px rgba(15,23,42,.15)!important;
}
html.fcp-mobile-ai-v43 .fcp-mobile-recorder-fab span,
body.fcp-app-root-page .fcp-mobile-recorder-fab span,
body .fcp-mobile-recorder-fab span{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  font-size:21px!important;
}
html.fcp-mobile-ai-v43 .fcp-mobile-recorder-fab:after,
body.fcp-app-root-page .fcp-mobile-recorder-fab:after,
body .fcp-mobile-recorder-fab:after{
  width:50px!important;
  height:50px!important;
}

@media (max-width:480px){
  html.fcp-global-stability-14640 body .fcp-mobile-fab.fcp-single-task-fab-14640,
  body.fcp-app-root-page .fcp-mobile-fab,
  body.fcp-app-root-page .fcp-native-mobile-action,
  body .fcp-mobile-fab,
  body .fcp-native-mobile-action{
    width:50px!important;
    height:50px!important;
    min-width:50px!important;
    min-height:50px!important;
    max-width:50px!important;
    max-height:50px!important;
    border-radius:17px!important;
    font-size:28px!important;
    right:16px!important;
    bottom:calc(94px + env(safe-area-inset-bottom,0px))!important;
  }
  html.fcp-mobile-ai-v43 .fcp-mobile-recorder-fab,
  body.fcp-app-root-page .fcp-mobile-recorder-fab,
  body .fcp-mobile-recorder-fab{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    min-height:48px!important;
    max-width:48px!important;
    max-height:48px!important;
    left:16px!important;
    bottom:calc(104px + env(safe-area-inset-bottom,0px))!important;
  }
}
