body {
  font-family: 'Assistant', sans-serif;
  background: #f5f7fa;
}

.top-bar {
  background: #1565c0;
  color: #fff;
  padding: 14px 24px;
  font-size: 1.3rem;
}

.fw-800 { font-weight: 800; }

.nav-tabs .nav-link { cursor: pointer; }

.st-table th, .st-table td {
  white-space: nowrap;
}

.status-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  color: #fff;
  font-size: .82rem;
}

/* ---------- login ---------- */

.login-screen {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0f1629 60%, #1a3a5c 100%);
  padding: 20px;
}
.login-box { width: 100%; max-width: 400px; }
.login-icon { font-size: 3rem; color: #3b82f6; text-align: center; }
.login-title { color: #fff; font-size: 1.8rem; font-weight: 800; text-align: center; margin: 4px 0 2px; }
.login-sub { color: rgba(255,255,255,0.5); font-size: 0.85rem; text-align: center; margin-bottom: 0; }

.otp-input {
  font-size: 2rem;
  font-family: monospace;
  letter-spacing: 0.5rem;
  text-align: center;
  padding: 14px 12px;
  color: #1e293b;
}

/* ---------- sortable/filterable table ---------- */

.st-th {
  white-space: nowrap;
  user-select: none;
  position: relative;
  background: #eef2f7;
}

.st-sort-label {
  cursor: pointer;
  font-weight: 700;
}

.st-arrow {
  color: #1565c0;
}

.st-filter-btn {
  border: none;
  background: transparent;
  color: #6c757d;
  margin-right: 4px;
  cursor: pointer;
  padding: 0 2px;
}

.st-th.st-filtered .st-filter-btn {
  color: #1565c0;
  font-weight: 800;
}

.st-popover {
  position: absolute;
  z-index: 2000;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  width: 240px;
  padding: 8px;
}

.st-popover-search {
  margin-bottom: 6px;
}

.st-popover-actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.st-popover-actions button {
  border: none;
  background: transparent;
  color: #1565c0;
  font-size: .85rem;
  cursor: pointer;
}

.st-popover-list {
  max-height: 220px;
  overflow-y: auto;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 4px 0;
}

.st-popover-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 4px;
  font-size: .85rem;
  cursor: pointer;
}

.st-popover-footer {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
