/* Order management toolbar — admin / vendor */
.tev-om-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0 0 1rem;
}
.tev-om-toolbar .tev-om-status {
  min-width: 200px;
  flex: 0 1 220px;
}
.tev-om-toolbar .tev-om-search {
  flex: 1 1 240px;
  min-width: 180px;
}
.tev-om-advanced {
  display: none;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.25);
}
.tev-om-advanced.open {
  display: flex;
  align-items: flex-end;
}
.tev-om-advanced .form-control {
  min-width: 120px;
}
.tev-om-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  margin: 0.5rem 0;
}
.tev-om-detail-grid span {
  display: block;
  color: #64748b;
  font-size: 0.75rem;
}
.tev-om-detail-section {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}
.tev-om-detail-section h4 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
}
.tev-om-empty-hint {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted, #64748b);
  font-size: 0.9rem;
}

.tev-om-status-bar-wrap {
  margin: 0 0 0.75rem;
}
.tev-om-status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.tev-om-status-btn {
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.tev-om-status-btn:hover {
  border-color: #2563eb;
  color: #1d4ed8;
}
.tev-om-status-btn.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
.tev-order-details-cell {
  font-size: 0.82rem;
  line-height: 1.45;
  max-width: 220px;
}
.tev-order-details-cell strong {
  color: #0f172a;
}
.tev-order-row-clickable {
  cursor: pointer;
}
.tev-order-row-clickable:hover td {
  background: rgba(37, 99, 235, 0.04);
}
