/* Patoz Defterim v4.1.3
   Mobil/tablet: her sayfanın son içeriği alt menünün en az 50 px üstünde kalır. */
:root{
  --pd-live-bottom-nav-height:0px;
  --pd-required-bottom-gap:50px;
  --pd-device-safe-bottom:env(safe-area-inset-bottom,0px);
}

@media screen and (max-width:1100px){
  html.pd-bottom-nav-visible body.host-authenticated #view.view.host-content,
  html.pd-bottom-nav-visible body.host-authenticated .host-content{
    padding-bottom:calc(var(--pd-live-bottom-nav-height) + var(--pd-required-bottom-gap) + var(--pd-device-safe-bottom))!important;
    scroll-padding-bottom:calc(var(--pd-live-bottom-nav-height) + var(--pd-required-bottom-gap) + var(--pd-device-safe-bottom))!important;
    box-sizing:border-box!important;
  }

  /* Sayfa içeriğini oluşturan son kapsayıcılarda eski negatif/sıfır alt boşlukları etkisizleştir. */
  html.pd-bottom-nav-visible body.host-authenticated #view.view.host-content > :last-child,
  html.pd-bottom-nav-visible body.host-authenticated #view.view.host-content > .view-page:last-child,
  html.pd-bottom-nav-visible body.host-authenticated #view.view.host-content > section:last-child{
    margin-bottom:var(--pd-required-bottom-gap)!important;
  }

  /* İç kaydırma kullanan tam ekran sayfa ve listeler. */
  html.pd-bottom-nav-visible body.host-authenticated :is(
    .page-scroll,
    .content-scroll,
    .list-scroll,
    .modal-body,
    .drawer-body,
    .sheet-body,
    .customer-detail-body,
    .business-request-panel
  ){
    scroll-padding-bottom:calc(var(--pd-live-bottom-nav-height) + var(--pd-required-bottom-gap) + var(--pd-device-safe-bottom))!important;
  }

  /* Odaklanan son form alanı menünün arkasında kalmasın. */
  html.pd-bottom-nav-visible body.host-authenticated :is(input,select,textarea,button,[tabindex]):focus{
    scroll-margin-bottom:calc(var(--pd-live-bottom-nav-height) + var(--pd-required-bottom-gap) + var(--pd-device-safe-bottom))!important;
  }
}

@media print{
  html.pd-bottom-nav-visible body.host-authenticated #view.view.host-content,
  html.pd-bottom-nav-visible body.host-authenticated .host-content{padding-bottom:0!important}
}
