/* Extra styles for the embedded dashboard only.
   This file does NOT modify your original style.css or app.js. */

/* Kept intentionally minimal; fullscreen should still show the full dashboard. */

/* Improve iframe experience on touch devices */
html, body{
  scroll-behavior: smooth;
}

/* Dark scrollbars inside the embedded dashboard (where supported) */
html{
  scrollbar-color: rgba(175,179,183,0.35) rgba(13,31,35,0.55);
}
*::-webkit-scrollbar{
  width: 10px;
  height: 10px;
}
*::-webkit-scrollbar-track{
  background: rgba(13,31,35,0.55);
}
*::-webkit-scrollbar-thumb{
  background: rgba(175,179,183,0.28);
  border-radius: 999px;
  border: 2px solid rgba(13,31,35,0.55);
}
*::-webkit-scrollbar-thumb:hover{
  background: rgba(34,197,94,0.28);
}

/* Floating fullscreen toggle (embedded dashboard UI) */
.fs-toggle{
  position: fixed;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: calc(14px + env(safe-area-inset-right, 0px));
  z-index: 999;
  border: 1px solid rgba(45,74,83,0.9);
  background: linear-gradient(145deg, rgba(19,46,53,0.92), rgba(45,74,83,0.72));
  color: rgba(255,255,255,0.9);
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 18px 60px rgba(0,0,0,0.45);
}
.fs-toggle:hover{
  transform: translateY(-1px);
  border-color: rgba(34,197,94,0.6);
}
.fs-toggle:active{
  transform: translateY(0);
}
.fs-toggle:focus-visible{
  outline: 2px solid rgba(34,197,94,0.9);
  outline-offset: 3px;
}

@media (max-width: 520px){
  .fs-toggle{
    top: calc(10px + env(safe-area-inset-top, 0px));
    right: calc(10px + env(safe-area-inset-right, 0px));
    padding: 10px 12px;
  }
}

/* Pseudo-fullscreen fallback (for browsers without Fullscreen API) */
body.pseudo-fullscreen{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px;
  background: #0D1F23;
}


