/* ==========================================================================
   Store / User Management Table & Controls
   ========================================================================== */

.table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 16px;
  flex-wrap: wrap;
}

.search-field-wrap {
  position: relative;
  flex: 1;
  max-width: 380px;
}

.search-field-wrap input { padding-left: 42px; }

.search-field-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.data-table-container {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.data-table th {
  padding: 13px 14px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--card-border);
  background: var(--bg-surface-soft);
}

.data-table td {
  padding: 15px 14px;
  border-bottom: 1px solid var(--card-border);
  vertical-align: middle;
}

.data-table tbody tr:last-child td { border-bottom: none; }

.data-table tbody tr { transition: background 0.15s ease; }

.data-table tbody tr:hover td { background: var(--status-blue-bg); }

.store-name-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.store-name-cell .name {
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.store-name-cell .sub-detail {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'Consolas', 'Menlo', monospace;
}

.action-btn-group {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}