/* === SCBC Post Manager (plugin skin) — match the dashboard blue buttons === */

/* Card container (match dashboard section) */
.scbc-postmanager-section {
  margin: 20px 0;
  padding: 24px;
  background: #f4f8ff;
  border: 1px solid #d0e2ff;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

/* Title */
.scbc-postmanager-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #2c3e50;
}

/* Button row */
.scbc-postmanager-button-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons (force override any theme outline/pink styles) */
.scbc-postmanager-section .scbc-postmanager-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 20px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .2px;

  background-color: #3f51b5 !important;           /* dashboard blue */
  color: #fff !important;
  border: 1px solid transparent !important;        /* kill outline variants */
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(63,81,181,.25);

  transition: background .25s ease, box-shadow .25s ease, transform .05s ease;
  text-decoration: none !important;
}

/* Hover/active (same feel as dashboard) */
.scbc-postmanager-section .scbc-postmanager-btn:hover {
  background-color: #303f9f !important;
  box-shadow: 0 8px 18px rgba(48,63,159,.30);
}
.scbc-postmanager-section .scbc-postmanager-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(63,81,181,.25);
}
.scbc-postmanager-section .scbc-postmanager-btn:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 640px) {
  .scbc-postmanager-button-grid { gap: 10px; }
  .scbc-postmanager-btn { width: 100%; text-align: center; }
}

/* === SCBC list posts (table) === */
.scbc-postlist--table { margin: 8px 0 16px; }
.scbc-postlist__table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e3e7f5;
  border-radius: 10px;
  overflow: hidden;
}
.scbc-postlist__table thead th {
  background: #f4f8ff;
  color: #2c3e50;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #e3e7f5;
  cursor: pointer; user-select: none;
}
.scbc-postlist__table thead th.sortable.asc::after  { content: " ▲"; font-size: 12px; color: #3f51b5; }
.scbc-postlist__table thead th.sortable.desc::after { content: " ▼"; font-size: 12px; color: #3f51b5; }

.scbc-postlist__table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid #f0f2fb;
}
.scbc-postlist__table tbody tr:hover { background: #fafcff; }
.scbc-postlist__table a { text-decoration: none; color: #2c3e50; }
.scbc-postlist__table a:hover { text-decoration: underline; }

/* === SCBC list posts (card) === */
.scbc-postlist--card {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px; margin: 8px 0 16px;
}
.scbc-postlist__card {
  background: #f7f9ff; border: 1px solid #dbe1f2; border-radius: 12px; padding: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.scbc-postlist__title { font-size: 16px; margin: 0 0 4px; }
.scbc-postlist__title a { text-decoration: none; color: #2c3e50; }
.scbc-postlist__title a:hover { text-decoration: underline; }
.scbc-postlist__meta { color: #667; font-size: 12px; margin-bottom: 6px; }
.scbc-postlist__excerpt { color: #334; font-size: 14px; }

/* Tabs row (left aligned) */
/* Note: only override the tab row, keep shortcode buttons unchanged */
.spml-mm-tabs { 
  justify-content: flex-start !important;
}

