/*
 * File Path: assets/css/admin/dashboard/dashboard-widgets.css
 * Dashboard -- News feed, brand monitor, stats actions, card header,
 * full-width action bar and tile overrides.
 * Component of mbs-admin-dashboard.css (R-014).
 */

/* ── News feed ────────────────────────────────────────────────────────────── */
.mbs-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mbs-news-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f1;
    font-size: 13px;
}

.mbs-news-list li:last-child { border-bottom: none; }

.mbs-news-list a {
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
}

.mbs-news-source {
    font-size: 11px;
    color: #646970;
}

.mbs-news-refresh {
    margin-top: 10px;
    font-size: 12px;
}

.mbs-news-empty {
    color: #646970;
    font-size: 13px;
    font-style: italic;
}

/* ── Brand monitor placeholder ────────────────────────────────────────────── */
.mbs-brand-monitor-placeholder .mbs-pro-signal {
    font-size: 13px;
    color: #646970;
    margin: 12px 0;
}

.mbs-brand-static-links ul {
    margin: 6px 0 0 12px;
    font-size: 13px;
}

.mbs-brand-static-links li {
    margin-bottom: 4px;
}


/* Quick-action tiles are in .mbs-action-bar (full-width bar above grid). */

/* ── Stats actions row ────────────────────────────────────────────────────── */
.mbs-stats-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f1;
}


/* ── Card header (title + action button on same row) ─────────────────────── */
.mbs-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f1;
}

.mbs-card-header h2 {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #1d2327;
}

/* ── Action bar (lives inside .mbs-header-zone) ────────────────────────── */
.mbs-action-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 0;
}

/* Inside header-zone: flex child, 4-col grid (7 tiles -> 4+3 rows) */
.mbs-header-zone .mbs-action-bar {
    flex: 1;
    min-width: 0;
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
    .mbs-action-bar {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .mbs-action-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Larger tiles in the action bar */
.mbs-action-bar .mbs-quick-action {
    padding: 22px 12px 18px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 6px;
    background: #fff;
    border-color: #c3c4c7;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.mbs-action-bar .mbs-quick-action:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,.10);
    transform: translateY(-1px);
    transition: box-shadow .15s, transform .15s;
}

.mbs-action-bar .mbs-quick-action .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
    margin-bottom: 4px;
    color: var(--wp-admin-theme-color, var(--mbs-status-info));
}

/* Remove the narrow-col override now that tiles live in the full-width bar */
