/* === Default styles for ReactDB tabbed output === */
.reactdb-tabbed-output {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  width: 100%;
}

.reactdb-tabbed-output .reactdb-output-controlPanel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.reactdb-tabbed-output .reactdb-output-searchBlock {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid #e3e3e3;
  border-radius: 0.75rem;
  background: #f9fafc;
}

.reactdb-tabbed-output .reactdb-output-searchLabel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.reactdb-tabbed-output .reactdb-output-searchTitle {
  font-weight: 600;
  font-size: 0.95rem;
}

.reactdb-tabbed-output .reactdb-output-searchInput {
  padding: 0.5rem 0.85rem;
  border: 1px solid #d0d7de;
  border-radius: 999px;
  font-size: 0.95rem;
  max-width: 100%;
}

.reactdb-tabbed-output .reactdb-output-searchInput:focus {
  outline: none;
  border-color: #1976d2;
  box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.15);
}

.reactdb-tabbed-output .reactdb-output-filterGroup {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid #e3e3e3;
  border-radius: 0.75rem;
  background: #ffffff;
}

.reactdb-tabbed-output .reactdb-output-filterGroup.is-hidden {
  display: none !important;
}

.reactdb-tabbed-output .reactdb-output-controlPanel--hidden {
  display: none !important;
}

.reactdb-tabbed-output .reactdb-output-filterTitle {
  font-weight: 600;
  font-size: 0.95rem;
}

.reactdb-tabbed-output .reactdb-output-filterList {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.reactdb-tabbed-output .reactdb-output-filterButton {
  border: 1px solid #d0d7de;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  background: #f1f5f9;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.reactdb-tabbed-output .reactdb-output-filterButton:hover {
  background: #e2e8f0;
}

.reactdb-tabbed-output .reactdb-output-filterButton.is-active {
  background: #1976d2;
  color: #fff;
  border-color: #1976d2;
  box-shadow: 0 0 0 1px rgba(25, 118, 210, 0.3);
}

.reactdb-tabbed-output .reactdb-tabbed-content {
  width: 100%;
}

.reactdb-tabbed-output .reactdb-output-items {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1rem;
  width: 100%;
}

.reactdb-tabbed-output .reactdb-output-items .reactdb-item {
  display: block;
  flex: 0 1 auto;
  max-width: 100%;
  break-inside: avoid;
}

.reactdb-tabbed-output .reactdb-output-items .reactdb-default-row {
  width: 100%;
  flex: 1 1 100%;
}

.reactdb-tabbed-output .reactdb-default-row {
  padding: 0.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  background: #fff;
}
