/* Documentazione CSS - Override per header fisso */

/* Header fisso sempre visibile */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 100 !important;
  background: rgba(255,255,255,.98) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(0,0,0,.1) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.05) !important;
}

/* Compensazione body per header fisso */
body {
  padding-top: 80px !important;
}

/* Aggiustamento sidebar per header fisso */
.docs-sidebar {
  top: 80px !important;
  height: calc(100vh - 80px) !important;
}

/* Aggiustamento layout documentazione */
.docs-layout {
  min-height: calc(100vh - 80px) !important;
}

/* Miglioramento smooth scroll per compensare header fisso */
html {
  scroll-padding-top: 100px;
}

/* Responsive mobile - header fisso anche su mobile */
@media (max-width: 767.98px) {
  body {
    padding-top: 70px !important;
  }
  
  .docs-sidebar {
    top: 70px !important;
    height: auto !important;
  }
  
  .docs-layout {
    min-height: calc(100vh - 70px) !important;
  }
  
  html {
    scroll-padding-top: 90px;
  }
}
