/* ==========================================================================
   MyJobAlly — Admin Blog management styles
   ========================================================================== */

/* ---- Post list row ---- */
.post-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-light);
}
.post-row:last-child { border-bottom: none; }
.post-row img {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-alt);
  flex-shrink: 0;
}
.post-row-body { flex: 1; min-width: 0; }
.post-row-body strong { display: block; font-size: 15px; margin-bottom: 2px; }
.post-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.category-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--text-body);
}
.category-badge--scholarship { background: #F5F3FF; color: #7C3AED; }
.category-badge--career-advice { background: var(--brand-pink-soft); color: var(--brand-pink); }

.post-status-pill {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 14px;
  white-space: nowrap;
}
.post-status-pill--published { background: #F0FDF4; color: #16A34A; }
.post-status-pill--draft { background: #F3F4F6; color: var(--text-muted); }
.post-status-pill--scheduled { background: #EFF6FF; color: #2563EB; }

.post-row-stats {
  display: flex;
  gap: var(--space-md);
  text-align: center;
  flex-shrink: 0;
}
.post-row-stats div { min-width: 50px; }
.post-row-stats .num { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.post-row-stats .label { font-size: 10.5px; color: var(--text-muted); }

/* ---- SEO snippet preview (Google-style search result mockup) ---- */
.seo-preview-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  background: #fff;
}
.seo-preview-url { font-size: 12.5px; color: #1a0dab; margin-bottom: 2px; }
.seo-preview-url .path { color: #006621; }
.seo-preview-title { font-size: 18px; color: #1a0dab; margin-bottom: 4px; line-height: 1.3; }
.seo-preview-desc { font-size: 13.5px; color: #4d5156; line-height: 1.4; }

.char-count {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}
.char-count.over-limit { color: #DC2626; font-weight: 600; }

/* ---- Featured image upload ---- */
.featured-image-upload {
  position: relative;
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-sm);
  padding: var(--space-lg);
  text-align: center;
  margin-bottom: var(--space-sm);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.featured-image-upload:hover { border-color: var(--brand-pink); background: var(--brand-pink-soft); }
.featured-image-upload img {
  max-width: 100%;
  max-height: 180px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}
.featured-image-upload .icon { width: 28px; height: 28px; color: var(--text-muted); margin-bottom: var(--space-sm); }
.featured-image-upload p { font-size: 13.5px; color: var(--text-body); }
.featured-image-upload span { font-size: 12px; color: var(--text-muted); }

/* ---- Publish sidebar card ---- */
.publish-card .form-group:last-child { margin-bottom: 0; }
