/* Sidebar */
.sidebar {
  min-height: calc(100vh - 56px);
  box-shadow: inset -1px 0 0 rgba(255,255,255,.1);
}
.sidebar .nav-link {
  padding: .5rem 1rem;
  font-size: .9rem;
  border-radius: .25rem;
  margin: 1px 4px;
  transition: background .15s;
}
.sidebar .nav-link:hover { background: rgba(255,255,255,.1); }
.sidebar .nav-link.active { background: rgba(255,255,255,.2); font-weight: 600; }

/* Scan Station */
#scanInput {
  font-size: 1.5rem;
  text-align: center;
  letter-spacing: .2em;
  border: 3px solid #dee2e6;
  transition: border-color .2s;
}
#scanInput:focus { border-color: #0d6efd; outline: none; box-shadow: 0 0 0 .2rem rgba(13,110,253,.25); }

.scan-banner {
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all .3s;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.scan-banner.success  { background: #d1e7dd; border: 3px solid #198754; }
.scan-banner.error    { background: #f8d7da; border: 3px solid #dc3545; }
.scan-banner.warning  { background: #fff3cd; border: 3px solid #ffc107; }
.scan-banner.idle     { background: #f8f9fa; border: 3px dashed #dee2e6; color: #adb5bd; }

/* KPI cards */
.card.border-start { border-left-width: 4px !important; }

/* Blinking dot */
@keyframes blink { 50% { opacity: 0; } }

/* Table hover */
.table-hover tbody tr:hover { background-color: rgba(0,0,0,.025); }

/* Utilities */
.cursor-pointer { cursor: pointer; }
