/*!
 * DataPrune — Admin Styles
 *
 * @package   DataPrune
 * @license   GPL-2.0+
 * @link      https://aireport.it
 * @copyright Copyright (C) 2024 AiReport
 */

/* =========================================================
   Page header — shared across all plugin pages
   ========================================================= */

.wbdp-page-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding: 20px 0 4px;
	margin-bottom: 4px;
}
.wbdp-page-header-text h1 {
	margin: 0 0 4px;
	font-size: 22px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.wbdp-page-header-text h1 .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
	color: #2271b1;
}
.wbdp-page-header-text p {
	margin: 0;
	color: #646970;
	font-size: 13px;
}
.wbdp-run-btn {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
}
.wbdp-run-btn .dashicons {
	font-size: 16px !important;
	width: 16px !important;
	height: 16px !important;
}

/* Legacy h1 style (fallback) */
.wbdp-wrap > h1:first-child {
	display: flex;
	align-items: center;
	gap: 8px;
}
.wbdp-wrap h1 .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
	color: #2271b1;
}

/* Safety banner */
.wbdp-safety-banner { border-left-color: #d63638; }

/* Tab content */
.wbdp-tab-content {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-top: none;
	padding: 20px 24px;
}
.wbdp-section h2 {
	margin-top: 0;
	padding-top: 0;
	font-size: 1.2em;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
	margin-bottom: 20px;
}

/* Checkbox group */
.wbdp-checkbox-label {
	display: inline-block;
	margin-right: 14px;
	margin-bottom: 4px;
	font-size: 13px;
}

/* Date inputs */
.wbdp-date-input { width: 150px; }

/* Count bar */
.wbdp-count-bar {
	margin: 16px 0;
	display: flex;
	align-items: center;
	gap: 12px;
}
.wbdp-count-result {
	font-size: 14px;
	font-weight: 600;
	color: #2271b1;
}

/* Delete button */
.wbdp-delete-btn {
	background: #d63638 !important;
	border-color: #d63638 !important;
	color: #fff !important;
}
.wbdp-delete-btn:hover {
	background: #b32d2e !important;
	border-color: #b32d2e !important;
}
.wbdp-delete-btn .dashicons {
	vertical-align: middle;
	margin-top: -2px;
}

/* Table */
.wbdp-table th { width: 220px; font-weight: 600; }

/* Cards */
.wbdp-card {
	background: #fff;
	border: 1px solid #c3c4c7;
	padding: 20px 24px;
	margin-bottom: 24px;
	border-radius: 3px;
}
.wbdp-card h2 { margin-top: 0; }
.wbdp-info-card { border-left: 4px solid #2271b1; }
.wbdp-info-card ul { margin: 0; padding-left: 0; list-style: none; }
.wbdp-info-card ul li { margin-bottom: 8px; font-size: 13px; }

/* Badges */
.wbdp-badge { display: inline-block; padding: 2px 10px; border-radius: 10px; font-size: 12px; font-weight: 600; }
.wbdp-badge-green { background: #d7eddf; color: #1e7238; }
.wbdp-badge-gray  { background: #e2e4e7; color: #555; }

/* Action links */
.wbdp-action-links form { display: inline; }
.wbdp-link-danger { color: #d63638 !important; }

/* =========================================================
   Progress Modal
   ========================================================= */

.wbdp-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.55);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wbdp-modal-box {
	background: #fff;
	border-radius: 6px;
	padding: 32px 36px;
	width: 480px;
	max-width: 94vw;
	box-shadow: 0 8px 40px rgba(0,0,0,.25);
}

.wbdp-modal-title {
	margin: 0 0 16px;
	font-size: 1.25em;
	display: flex;
	align-items: center;
	gap: 8px;
}
.wbdp-modal-title .dashicons { color: #d63638; font-size: 24px; width: 24px; height: 24px; }

.wbdp-modal-status {
	font-size: 13px;
	color: #555;
	margin: 0 0 14px;
}

/* Progress bar track */
.wbdp-progress-wrap {
	background: #e2e4e7;
	border-radius: 4px;
	height: 18px;
	overflow: hidden;
	margin-bottom: 10px;
}

/* Progress bar fill */
.wbdp-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #2271b1, #72aee6);
	border-radius: 4px;
	transition: width .25s ease;
	min-width: 4px;
}

/* Indeterminate animation while batch is running */
.wbdp-progress-indeterminate {
	width: 40% !important;
	background-size: 200% 100%;
	background-image: linear-gradient(90deg, #2271b1 25%, #72aee6 50%, #2271b1 75%);
	animation: wbdp-progress-pulse 1.2s ease-in-out infinite;
}
@keyframes wbdp-progress-pulse {
	0%   { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

/* Error state */
.wbdp-progress-error {
	background: linear-gradient(90deg, #b32d2e, #d63638) !important;
	animation: none !important;
}

.wbdp-modal-count {
	font-size: 13px;
	color: #333;
	text-align: right;
	margin: 0 0 20px;
}

/* Done message */
.wbdp-modal-done {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #d7eddf;
	border-radius: 4px;
	padding: 12px 16px;
	margin-bottom: 20px;
	color: #1e7238;
}
.wbdp-modal-done .dashicons { font-size: 22px; width: 22px; height: 22px; }

.wbdp-modal-footer {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

/* =========================================================
   Misc
   ========================================================= */
.wbdp-wrap .notice { margin-top: 10px; }

/* =========================================================
   Recovery Page
   ========================================================= */

/* Filtri */
.wbdp-recovery-filters { padding: 16px 20px; }
.wbdp-filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: flex-end;
}
.wbdp-filter-group {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.wbdp-filter-group label { font-size: 12px; font-weight: 600; color: #555; }
.wbdp-filter-actions { flex-direction: row; gap: 8px; }

/* Toolbar */
.wbdp-recovery-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 16px 0 8px;
}
.wbdp-recovery-count { font-size: 13px; color: #555; }

/* Grid */
.wbdp-recovery-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 220px, 1fr ) );
	gap: 16px;
	margin-top: 16px;
}

/* Card */
.wbdp-recovery-card {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .15s;
}
.wbdp-recovery-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.wbdp-recovery-card.wbdp-restored { opacity: .65; }

/* Thumb */
.wbdp-recovery-thumb {
	position: relative;
	height: 140px;
	background: #f0f0f1;
	overflow: hidden;
}
.wbdp-recovery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.wbdp-thumb-fallback {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #b0b0b0;
}
.wbdp-thumb-fallback .dashicons { font-size: 40px; width: 40px; height: 40px; }

/* Badges su thumb */
.wbdp-type-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 10px;
	text-transform: uppercase;
	letter-spacing: .5px;
}
.wbdp-badge-post  { background: #2271b1; color: #fff; }
.wbdp-badge-media { background: #8c5bb5; color: #fff; }

.wbdp-restored-badge {
	position: absolute;
	bottom: 8px;
	right: 8px;
	background: #1e7238;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 10px;
}

/* Info */
.wbdp-recovery-info { padding: 12px 14px; flex: 1; }
.wbdp-recovery-title {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	word-break: break-word;
}
.wbdp-recovery-meta {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 11px;
	color: #666;
}
.wbdp-recovery-meta li { margin-bottom: 3px; }
.wbdp-recovery-meta span { font-weight: 600; color: #333; }
.wbdp-truncate-url {
	display: inline-block;
	max-width: 130px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: bottom;
}

/* Actions */
.wbdp-recovery-actions {
	padding: 10px 14px;
	border-top: 1px solid #f0f0f1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.wbdp-restore-btn .dashicons { font-size: 14px; width: 14px; height: 14px; vertical-align: middle; }
.wbdp-restored-label { font-size: 12px; color: #1e7238; font-weight: 600; }
.wbdp-restored-label .dashicons { font-size: 16px; width: 16px; height: 16px; vertical-align: middle; }

/* Empty state */
.wbdp-empty-state {
	text-align: center;
	padding: 48px 24px;
	color: #777;
}
.wbdp-empty-state p { font-size: 14px; }

/* Pagination */
.wbdp-pagination { margin-top: 16px; }

/* Spinner on restore */
.wbdp-restore-btn[disabled] { opacity: .6; cursor: wait; }

/* =========================================================
   Donation Page
   ========================================================= */

.wbdp-donate-wrap h1 {
	color: #333;
}

/* Hero section */
.wbdp-donate-hero {
	background: linear-gradient(135deg, #fff5f5 0%, #fff 60%);
	border: 1px solid #f0d0d0;
	border-left: 5px solid #e25555;
	border-radius: 4px;
	padding: 32px 36px;
	margin: 20px 0 24px;
	display: flex;
	align-items: flex-start;
	gap: 32px;
}
.wbdp-donate-hero-text { flex: 1; }
.wbdp-donate-hero-text h2 {
	margin: 0 0 16px;
	font-size: 1.3em;
	color: #1d2327;
	line-height: 1.4;
}
.wbdp-donate-hero-text p {
	font-size: 14px;
	color: #555;
	line-height: 1.7;
	margin: 0 0 12px;
}

/* Big plugin icon in hero */
.wbdp-donate-logo {
	flex-shrink: 0;
}
.wbdp-donate-icon {
	font-size: 80px !important;
	width: 80px !important;
	height: 80px !important;
	color: #e25555;
	opacity: .15;
}

/* Donate CTA block */
.wbdp-donate-cta {
	margin-top: 24px;
}
.wbdp-donate-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #0070ba;
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 24px;
	padding: 12px 28px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .3px;
	transition: background .2s, transform .1s;
	box-shadow: 0 2px 8px rgba(0,112,186,.35);
}
.wbdp-donate-btn:hover {
	background: #005ea6 !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(0,112,186,.45);
}
.wbdp-donate-btn .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: #ffcc00;
}
.wbdp-donate-btn-outline {
	background: transparent !important;
	color: #0070ba !important;
	border: 2px solid #0070ba;
	box-shadow: none;
}
.wbdp-donate-btn-outline:hover {
	background: #0070ba !important;
	color: #fff !important;
}
.wbdp-donate-sub {
	margin: 8px 0 0 4px !important;
	font-size: 12px !important;
	color: #888 !important;
}

/* Feature grid */
.wbdp-donate-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 220px, 1fr ) );
	gap: 16px;
	margin-bottom: 24px;
}
.wbdp-donate-feature {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 20px;
}
.wbdp-donate-feature h3 {
	margin: 8px 0 8px;
	font-size: 13px;
	font-weight: 700;
}
.wbdp-donate-feature p {
	margin: 0;
	font-size: 12px;
	color: #666;
	line-height: 1.6;
}
.wbdp-df-icon {
	font-size: 28px !important;
	width: 28px !important;
	height: 28px !important;
	color: #2271b1;
}

/* Bottom CTA card */
.wbdp-donate-bottom {
	text-align: center;
	padding: 28px 36px;
}
.wbdp-donate-bottom p {
	font-size: 14px;
	margin-bottom: 16px;
}
.wbdp-donate-thanks {
	margin-top: 16px !important;
	font-size: 13px !important;
	color: #888 !important;
}

/* =========================================================
   Stats Cards  (dashboard, log, scheduled pages)
   ========================================================= */

.wbdp-stats-row {
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax( 180px, 1fr ) );
	gap: 16px;
	margin: 16px 0 24px;
}
.wbdp-stat-card {
	background: #fff;
	border: 1px solid #e2e4e7;
	border-radius: 8px;
	padding: 18px 20px 16px;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	transition: box-shadow .15s;
}
.wbdp-stat-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.wbdp-stat-card.wbdp-stat-highlighted {
	background: linear-gradient( 135deg, #f0f6ff, #fff );
	border-color: #bad4f0;
}
.wbdp-stat-card.wbdp-stat-card-danger { border-color: #f5c6cb; }
.wbdp-stat-card.wbdp-stat-card-warning { border-color: #fce8a6; }

.wbdp-stat-icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.wbdp-stat-icon .dashicons {
	font-size: 20px !important;
	width: 20px !important;
	height: 20px !important;
	color: #fff;
}
.wbdp-stat-icon-blue   { background: #2271b1; }
.wbdp-stat-icon-green  { background: #00a32a; }
.wbdp-stat-icon-red    { background: #d63638; }
.wbdp-stat-icon-orange { background: #dba617; }
.wbdp-stat-icon-purple { background: #8c5bb5; }

.wbdp-stat-body {}
.wbdp-stat-value {
	font-size: 26px;
	font-weight: 700;
	color: #1d2327;
	line-height: 1.15;
	letter-spacing: -.5px;
}
.wbdp-stat-value-sm { font-size: 18px; letter-spacing: 0; }
.wbdp-stat-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: #8c9194;
	margin-top: 3px;
}
.wbdp-stat-sub { font-size: 12px; color: #2271b1; margin-top: 2px; }
.wbdp-stat-sub-danger { color: #d63638; }

/* =========================================================
   Content-type selector cards  (Bulk Delete page)
   ========================================================= */

.wbdp-type-cards {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 130px, 1fr ) );
	gap: 12px;
	margin: 16px 0 0;
}
.wbdp-type-card {
	background: #fff;
	border: 2px solid #e2e4e7;
	border-radius: 10px;
	padding: 18px 12px 14px;
	text-align: center;
	text-decoration: none !important;
	color: #1d2327 !important;
	transition: border-color .18s, box-shadow .18s, transform .1s;
	display: block;
}
.wbdp-type-card:hover {
	border-color: #2271b1;
	box-shadow: 0 2px 10px rgba( 34, 113, 177, .15 );
	transform: translateY( -2px );
}
.wbdp-type-card.wbdp-type-active {
	border-color: #2271b1;
	background: #f0f6ff;
}
.wbdp-type-card .dashicons {
	font-size: 30px !important;
	width: 30px !important;
	height: 30px !important;
	color: #2271b1;
	display: block;
	margin: 0 auto 8px;
	transition: color .18s;
}
.wbdp-type-card.wbdp-type-active .dashicons { color: #1a4d8f; }
.wbdp-type-card-label {
	font-size: 12px;
	font-weight: 600;
	display: block;
	margin-bottom: 4px;
	line-height: 1.3;
}
.wbdp-type-card-count {
	font-size: 11px;
	color: #8c9194;
	display: block;
}
.wbdp-type-active .wbdp-type-card-count { color: #2271b1; font-weight: 600; }

/* =========================================================
   Cards — extra variants
   ========================================================= */

.wbdp-card-flush {
	padding: 0 !important;
}
.wbdp-card-inner-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 20px;
	border-bottom: 1px solid #e2e4e7;
}
.wbdp-card-inner-header h2 {
	margin: 0;
	font-size: 1em;
	font-weight: 600;
}
.wbdp-card-footer {
	padding: 12px 20px;
	border-top: 1px solid #e2e4e7;
	font-size: 12px;
	color: #646970;
}
.wbdp-badge-blue { background: #e8f1fb; color: #2271b1; }

/* Section header inside card */
.wbdp-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}
.wbdp-section-header h2 {
	margin: 0;
	font-size: 1em;
	font-weight: 600;
}

/* =========================================================
   Activity stream  (Dashboard)
   ========================================================= */

.wbdp-activity-stream {
	list-style: none;
	margin: 0;
	padding: 0;
}
.wbdp-activity-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f0f0f1;
}
.wbdp-activity-item:last-child { border-bottom: none; }
.wbdp-activity-icon {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #f0f6ff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.wbdp-activity-icon .dashicons {
	font-size: 15px !important;
	width: 15px !important;
	height: 15px !important;
	color: #2271b1;
}
.wbdp-activity-icon.wbdp-icon-manual { background: #d7eddf; }
.wbdp-activity-icon.wbdp-icon-manual .dashicons { color: #1e7238; }
.wbdp-activity-icon.wbdp-icon-scheduled { background: #f0f6ff; }
.wbdp-activity-body { flex: 1; min-width: 0; }
.wbdp-activity-title {
	font-size: 13px;
	font-weight: 600;
	color: #1d2327;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.wbdp-activity-desc { font-size: 12px; color: #646970; margin-top: 2px; }
.wbdp-activity-time { font-size: 11px; color: #8c9194; white-space: nowrap; padding-top: 2px; }

/* =========================================================
   Dashboard two-column grid
   ========================================================= */

.wbdp-dashboard-grid {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 20px;
	align-items: start;
}
@media ( max-width: 1100px ) {
	.wbdp-dashboard-grid { grid-template-columns: 1fr; }
}
.wbdp-dashboard-sidebar { display: flex; flex-direction: column; gap: 16px; }

/* =========================================================
   Quick-tasks list  (Dashboard sidebar)
   ========================================================= */

.wbdp-quick-tasks-card { padding: 16px !important; }
.wbdp-quick-tasks {
	list-style: none;
	margin: 0;
	padding: 0;
}
.wbdp-quick-task {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 4px;
	border-bottom: 1px solid #f0f0f1;
	text-decoration: none !important;
	color: #1d2327 !important;
	border-radius: 4px;
	transition: background .12s;
}
.wbdp-quick-task:hover { background: #f6f7f7; }
.wbdp-quick-tasks li:last-child .wbdp-quick-task { border-bottom: none; }
.wbdp-quick-task-label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 500;
}
.wbdp-quick-task-label .dashicons {
	font-size: 18px !important;
	width: 18px !important;
	height: 18px !important;
	color: #646970;
}
.wbdp-quick-task .dashicons-arrow-right-alt2 {
	color: #c3c4c7;
	font-size: 16px !important;
	width: 16px !important;
	height: 16px !important;
}

/* =========================================================
   Cleanup Alert  (Dashboard)
   ========================================================= */

.wbdp-cleanup-alert {
	background: #fff5f5;
	border: 1px solid #f5c6cb;
	border-left: 4px solid #d63638;
	border-radius: 6px;
	padding: 14px 18px;
}
.wbdp-cleanup-alert-title {
	font-size: 12px;
	font-weight: 700;
	color: #d63638;
	text-transform: uppercase;
	letter-spacing: .5px;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: 4px;
}
.wbdp-cleanup-alert-title .dashicons {
	font-size: 14px !important;
	width: 14px !important;
	height: 14px !important;
}
.wbdp-cleanup-alert p { font-size: 13px; color: #555; margin: 0 0 10px; }

/* =========================================================
   System status strip  (Dashboard)
   ========================================================= */

.wbdp-system-status {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid #e2e4e7;
	border-radius: 6px;
	font-size: 11px;
	color: #646970;
}
.wbdp-status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #00a32a;
	display: inline-block;
	flex-shrink: 0;
}
.wbdp-status-item { display: flex; align-items: center; gap: 5px; }
.wbdp-status-item strong { color: #1d2327; }

/* =========================================================
   Log table  (Log page)
   ========================================================= */

.wbdp-log-table thead th {
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: #646970;
	padding: 12px 14px;
}
.wbdp-log-table tbody tr { transition: background .1s; }
.wbdp-log-table tbody tr:hover { background: #f9f9f9 !important; }
.wbdp-log-table td { padding: 12px 14px; vertical-align: middle; }
.wbdp-log-date { white-space: nowrap; font-size: 12px; color: #646970; }
.wbdp-log-desc { font-size: 13px; font-weight: 500; color: #1d2327; }
.wbdp-log-code { font-size: 10px; color: #8c9194; background: transparent; padding: 0; }
.wbdp-log-user { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.wbdp-log-system { color: #8c9194; font-size: 12px; }
.wbdp-avatar { border-radius: 50% !important; }

.wbdp-source-badge {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .3px;
}
.wbdp-source-manual    { background: #e8f1fb; color: #2271b1; }
.wbdp-source-scheduled { background: #d7eddf; color: #1e7238; }

.wbdp-log-count-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #f0f0f1;
	border-radius: 20px;
	padding: 3px 10px;
	font-size: 12px;
	font-weight: 700;
	color: #1d2327;
}
.wbdp-log-count-pill .dashicons {
	font-size: 12px !important;
	width: 12px !important;
	height: 12px !important;
	color: #646970;
}

.wbdp-table-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 20px;
	border-top: 1px solid #e2e4e7;
	flex-wrap: wrap;
	gap: 10px;
}
.wbdp-showing-label { font-size: 12px; color: #646970; }
.wbdp-pagination { display: flex; gap: 4px; flex-wrap: wrap; }
.wbdp-page-btn { min-width: 34px; text-align: center; }

/* =========================================================
   Task list  (Scheduled page)
   ========================================================= */

.wbdp-task-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.wbdp-task-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 20px;
	border-bottom: 1px solid #f0f0f1;
	transition: background .1s;
	flex-wrap: wrap;
}
.wbdp-task-row:hover { background: #f9f9f9; }
.wbdp-task-row:last-child { border-bottom: none; }
.wbdp-task-row.wbdp-task-paused { opacity: .7; }

.wbdp-task-type-icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: #f0f6ff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.wbdp-task-type-icon .dashicons {
	font-size: 18px !important;
	width: 18px !important;
	height: 18px !important;
	color: #2271b1;
}
.wbdp-task-paused .wbdp-task-type-icon { background: #f6f7f7; }
.wbdp-task-paused .wbdp-task-type-icon .dashicons { color: #8c9194; }

.wbdp-task-info { flex: 1; min-width: 140px; }
.wbdp-task-name { font-size: 13px; font-weight: 600; color: #1d2327; }
.wbdp-task-desc { font-size: 12px; color: #646970; margin-top: 2px; }

.wbdp-task-freq {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: #646970;
	min-width: 90px;
}
.wbdp-task-freq .dashicons {
	font-size: 14px !important;
	width: 14px !important;
	height: 14px !important;
}
.wbdp-task-last-run { font-size: 12px; color: #646970; min-width: 120px; }
.wbdp-task-status { min-width: 70px; }
.wbdp-task-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.wbdp-btn-danger {
	color: #d63638 !important;
	border-color: #f5c6cb !important;
}
.wbdp-btn-danger:hover {
	background: #d63638 !important;
	color: #fff !important;
	border-color: #d63638 !important;
}
