/* ═══════════════════════════════════════════════
   users.module.css — page wrapper + tab nav
   Purple theme matching sidebar
═══════════════════════════════════════════════ */

.pageRoot {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #f8f7ff;
}

/* ── Tab Navigation ──────────────────────────── */
.tabNav {
  display: flex;
  gap: 0;
  background: #fff;
  border-bottom: 2px solid #e8e2f7;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(139, 20, 212, 0.06);
}

.tabNavBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border: none;
  border-bottom: 3px solid transparent;
  background: none;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: -2px;
  white-space: nowrap;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.tabNavBtn svg {
  opacity: 0.6;
  transition: opacity 0.2s;
}

.tabNavBtn:hover {
  color: #8b14d4;
}

.tabNavBtn:hover svg {
  opacity: 1;
}

.tabNavBtnActive {
  color: #8b14d4;
  border-bottom-color: #8b14d4;
}

.tabNavBtnActive svg {
  opacity: 1;
}

/* ── Tab Content ─────────────────────────────── */
.tabContent {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 768px) {
  .tabNav {
    padding: 0 16px;
    overflow-x: auto;
  }

  .tabNavBtn {
    padding: 12px 16px;
    font-size: 12px;
  }
}