/* IranOLT — styles */

#sidebar {
  width: 220px;
  min-height: 100vh;
  flex-shrink: 0;
  transition: width 0.2s;
}

#sidebar .nav-link {
  color: var(--bs-body-color);
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  font-size: 0.875rem;
}

#sidebar .nav-link.active,
#sidebar .nav-link:hover {
  background-color: var(--bs-primary);
  color: #fff;
}

#content {
  min-width: 0;
}

#wrapper.sidebar-collapsed #sidebar {
  width: 0;
  overflow: hidden;
}

.clickable-row:hover td {
  background-color: rgba(13,110,253,0.08);
}

.btn-xs {
  font-size: 0.75rem;
}

/* Signal semaphore colors */
.signal-ok    { color: #198754; }
.signal-warn  { color: #ffc107; }
.signal-crit  { color: #dc3545; font-weight: bold; }

/* Tables in dark mode */
.table > :not(caption) > * > * {
  vertical-align: middle;
}

/* Sidebar header */
.sidebar-header {
  height: 56px;
}

/* Small code */
code {
  font-size: 0.8em;
}

/* Progress bar thin */
.progress-xs {
  height: 4px;
}

/* Card header clean */
.card-header {
  font-size: 0.875rem;
  font-weight: 600;
}
