body { background-color: #f7f7f7; }
.card { border-radius: .75rem; }
video, canvas { max-height: 420px; }
.layout { min-height: 100vh; }
.sidebar { width: 260px; background: #212529; transition: width .2s ease; overflow: hidden; flex: 0 0 260px; }
.sidebar .nav-link { padding: .6rem 1rem; border-radius: .5rem; display: flex; align-items: center; transition: background .2s ease, transform .2s ease; position: relative; }
.sidebar .nav-link .bi { font-size: 1.1rem; transition: transform .2s ease; }
.sidebar .nav-link:hover, .sidebar .nav-link.active { background: rgba(255,255,255,0.12); }
 
.sidebar .nav-link:focus-visible { outline: 2px solid rgba(255,255,255,0.35); outline-offset: 2px; }
.offcanvas.text-bg-dark .nav-link:focus-visible { outline: 2px solid rgba(255,255,255,0.35); outline-offset: 2px; border-radius: .5rem; }
 
.offcanvas.text-bg-dark .nav-link { color: #fff; display: flex; align-items: center; }
.offcanvas.text-bg-dark .nav-link.active, .offcanvas.text-bg-dark .nav-link:hover { background: rgba(255,255,255,0.12); }
@media (prefers-reduced-motion: reduce) {
  .sidebar .nav-link, .sidebar .nav-link .bi { transition: none; }
  .sidebar .nav-link:hover { transform: none; }
  .sidebar .nav-link:hover .bi { transform: none; }
}
.offcanvas { z-index: 1060; }
@media (min-width: 768px) {
  .content { margin-left: 0px; flex: 1 1 auto; min-width: 0; }
}
@media (max-width: 767.98px) {
  .content { margin-top: 56px; }
}
.navbar.fixed-top { z-index: 1070; }
@media (max-width: 767.98px) {
  .navbar.fixed-top .navbar-brand { max-width: calc(100% - 110px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .navbar.fixed-top .navbar-toggler { display: inline-flex; align-items: center; }
}
.login-wrapper { min-height: 100vh; background-position: center; background-size: cover; background-repeat: no-repeat; }
.login-card { max-width: 420px; width: 100%; }
.card { overflow: hidden; }
canvas { max-width: 100%; display: block; }
 
