/* Admin posts — filter tabs (3 per row × 2 rows). No Tailwind required. */

.admin-filter-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.admin-filter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.admin-filter-card {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-sizing: border-box;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.admin-filter-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.admin-filter-card__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  line-height: 1;
}

.admin-filter-card__body {
  min-width: 0;
  flex: 1;
  text-align: left;
}

.admin-filter-card__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-filter-card__count {
  display: block;
  margin-top: 0.125rem;
  font-size: 1.25rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: #1e293b;
}

/* Themes — icon */
.admin-filter-card--unreviewed .admin-filter-card__icon { background: #fef3c7; color: #b45309; }
.admin-filter-card--reviewed   .admin-filter-card__icon { background: #d1fae5; color: #047857; }
.admin-filter-card--empty      .admin-filter-card__icon { background: #ffe4e6; color: #be123c; }
.admin-filter-card--hidden     .admin-filter-card__icon { background: #e2e8f0; color: #475569; }
.admin-filter-card--with_data  .admin-filter-card__icon { background: #dbeafe; color: #1d4ed8; }
.admin-filter-card--all        .admin-filter-card__icon { background: #f1f5f9; color: #64748b; }

/* Themes — active */
.admin-filter-card--unreviewed.is-active { border-color: #f59e0b; background: #fffbeb; box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25); }
.admin-filter-card--reviewed.is-active   { border-color: #10b981; background: #ecfdf5; box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25); }
.admin-filter-card--empty.is-active      { border-color: #f43f5e; background: #fff1f2; box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.2); }
.admin-filter-card--hidden.is-active     { border-color: #64748b; background: #f8fafc; box-shadow: 0 0 0 2px rgba(100, 116, 139, 0.2); }
.admin-filter-card--with_data.is-active  { border-color: #3b82f6; background: #eff6ff; box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25); }
.admin-filter-card--all.is-active        { border-color: #475569; background: #f8fafc; box-shadow: 0 0 0 2px rgba(71, 85, 105, 0.2); }

.admin-filter-card.is-active .admin-filter-card__label { color: #0f172a; }

.admin-filter-card--unreviewed.is-active .admin-filter-card__count { color: #92400e; }
.admin-filter-card--reviewed.is-active   .admin-filter-card__count { color: #065f46; }
.admin-filter-card--empty.is-active      .admin-filter-card__count { color: #9f1239; }
.admin-filter-card--hidden.is-active     .admin-filter-card__count { color: #0f172a; }
.admin-filter-card--with_data.is-active  .admin-filter-card__count { color: #1e3a8a; }
.admin-filter-card--all.is-active        .admin-filter-card__count { color: #0f172a; }

/* Bulk action bar (plain CSS fallback if Tailwind utilities missing) */
.admin-bulk-bar {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  margin-bottom: 0.75rem;
  background: #0f172a;
  color: #fff;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  position: sticky;
  top: 3.5rem;
  z-index: 20;
}
.admin-bulk-bar.is-visible { display: flex; }
.admin-bulk-bar__count { font-weight: 600; }
.admin-bulk-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.admin-bulk-bar__btn--hide { background: #f59e0b; color: #fff; }
.admin-bulk-bar__btn--restore { background: #fff; color: #0f172a; }
.admin-bulk-bar__btn--delete { background: #dc2626; color: #fff; }
.admin-bulk-bar__btn--clear { background: transparent; color: rgba(255,255,255,0.7); margin-left: auto; }
.admin-bulk-bar__btn:hover { filter: brightness(1.05); }
.admin-bulk-bar form { display: inline; margin: 0; }

tr.admin-row-selected { background-color: #eff6ff !important; }
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
