/* StocINBIT responsive stylesheet - compiled from scss/style.scss */
:root {
  --primary: #3498db;
  --primary-dark: #2c3e50;
  --accent: #f39c12;
  --success: #2ecc71;
  --danger: #e74c3c;
  --light: #f8f9fa;
  --muted: #6c757d;
  --border: #e9ecef;
  --radius: 12px;
  --sidebar-width: 240px;
  --navbar-height: 64px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: #eef1f6;
  color: #1f2933;
}
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  color: #2d86c1;
  text-decoration: none;
}
.app-navbar {
  height: var(--navbar-height);
  padding: 0.35rem 1rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: sticky;
  top: 0;
  z-index: 1020;
}
.app-navbar .brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
}
.app-navbar .btn-menu {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.app-shell {
  display: flex;
  min-height: calc(100vh - var(--navbar-height));
  background: #f7f9fc;
}
.sidebar {
  width: var(--sidebar-width);
  background: #0f172a;
  color: #fff;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  bottom: 0;
  padding: 0.85rem;
  transform: translateX(-100%);
  transition: transform 0.22s ease;
  z-index: 1010;
}
.sidebar .logo {
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.sidebar .nav-link {
  color: #eaf6ff;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
}
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.sidebar-open .sidebar {
  transform: translateX(0);
}
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 1005;
}
.sidebar-open .sidebar-backdrop {
  opacity: 1;
  visibility: visible;
}
.app-content {
  width: 100%;
  margin-left: 0;
  padding: 0.5rem;
  margin-top: var(--navbar-height);
}
.app-content > .container-fluid {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.card {
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}
.card-compact .card-body {
  padding: 0.85rem 0.95rem;
}
.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
}
.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}
.table-responsive {
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.badge-pill {
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-weight: 600;
}
.login-hero {
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(52, 152, 219, 0.12), transparent 25%), radial-gradient(circle at 80% 0%, rgba(243, 156, 18, 0.16), transparent 20%), #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.login-card {
  max-width: 420px;
  width: 100%;
}
.qr-panel {
  position: relative;
  overflow: hidden;
}
.qr-video {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: none;
}
.qr-video.active {
  display: block;
}
.toast-bottom {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  left: 1rem;
  z-index: 1050;
}
.table-card {
  display: none;
}
.table-card .card {
  margin-bottom: 0.75rem;
}
.table-card .card-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
}
.table-card .row + .row {
  margin-top: 0.25rem;
  padding-top: 0.25rem;
  border-top: 1px dashed var(--border);
}
.navbar-responsive {
  flex-direction: column;
}
.btn-full {
  width: 100%;
  min-height: 48px;
}
.chart-card canvas {
  max-width: 100%;
}
.modal-fullscreen-mobile .modal-dialog {
  margin: 0;
  max-width: 100%;
}
.modal-fullscreen-mobile .modal-content {
  min-height: 100vh;
}
.table-desktop thead th {
  white-space: nowrap;
}
.table-desktop td,
.table-desktop th {
  vertical-align: middle;
}
.scroll-x {
  overflow-x: auto;
}
@media (max-width: 768px) {
  .table {
    display: block;
    overflow-x: auto;
  }
  .table-card {
    display: block;
  }
  .table-desktop {
    display: none;
  }
  .navbar-responsive {
    flex-direction: column;
  }
}
@media (min-width: 768px) {
  .app-content {
    padding: 0.75rem;
    margin-left: var(--sidebar-width);
  }
  .app-content > .container-fluid {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .sidebar {
    position: sticky;
    transform: translateX(0);
  }
  .sidebar-backdrop {
    display: none;
  }
  .app-navbar {
    position: sticky;
  }
  .login-card {
    max-width: 480px;
  }
}
@media (min-width: 1024px) {
  .stat-value {
    font-size: 1.6rem;
  }
  .app-content {
    padding: 1rem;
  }
  .app-content > .container-fluid {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
/* Mandatory media queries */
.container {
  padding: 1rem;
}
@media (min-width: 768px) {
  .container {
    padding: 2rem;
  }
}
@media (min-width: 1024px) {
  .container {
    padding: 3rem;
  }
}
.navbar {
  flex-direction: column;
}
@media (min-width: 992px) {
  .navbar {
    flex-direction: row;
  }
}
.sidebar {
  transform: translateX(-100%);
}
@media (min-width: 992px) {
  .sidebar {
    transform: translateX(0);
  }
}

