/**
 * RSM Content Widgets + Buttons — custom hub shell (suite styling standard).
 * Scope: admin.php?page=rsmspark-content-widgets|rsm-buttons only — not native WP screens.
 */

.rsmspark-content-widgets-admin {
	--rsm-brand: #ff6b35;
	--rsm-brand-hover: #e85a24;
	--rsm-brand-dark: #c2410c;
	--rsm-bar: #eef2f6;
	--rsm-border: #e2e8f0;
}

.rsmspark-content-widgets-admin.rsmspark-suite-admin-hub .rsmspark-suite-admin-header,
body.rsmspark-suite-admin-screen .rsmspark-content-widgets-admin .rsmspark-suite-admin-header {
	background: #ff6b35 !important;
	color: #fff;
	margin: 0 0 0 -20px;
	padding: 18px 24px 10px;
}

.rsmspark-content-widgets-admin .rsmspark-suite-admin-header__kicker {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.9;
	color: #fff;
}

.rsmspark-content-widgets-admin .rsmspark-suite-admin-header__title {
	margin: 0;
	color: #fff !important;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.2;
}








/* Hub tabs + buttons: rsm-shared admin-suite.css + admin-suite-buttons.css */

.rsmspark-cw-pro-actions {
	margin-top: 8px;
}

.rsmspark-cw-pro-actions .button {
	min-height: 32px;
}

.rsmspark-cw-pro-actions .rsmspark-cw-btn-validate {
	border-color: #14b8a6 !important;
	background: #f0fdfa !important;
	color: #0f766e !important;
}

.rsmspark-cw-pro-actions .rsmspark-cw-btn-validate:hover,
.rsmspark-cw-pro-actions .rsmspark-cw-btn-validate:focus {
	border-color: #0d9488 !important;
	background: #ccfbf1 !important;
	color: #115e59 !important;
}

.rsmspark-cw-pro-actions .rsmspark-cw-btn-deactivate {
	border-color: #fda4af !important;
	background: #fff1f2 !important;
	color: #be123c !important;
}

.rsmspark-cw-pro-actions .rsmspark-cw-btn-deactivate:hover,
.rsmspark-cw-pro-actions .rsmspark-cw-btn-deactivate:focus {
	border-color: #fb7185 !important;
	background: #ffe4e6 !important;
	color: #9f1239 !important;
}

.rsmspark-cw-pro-actions .rsmspark-cw-btn-cache {
	border-color: #cbd5e1 !important;
	background: #f8fafc !important;
	color: #334155 !important;
}

.rsmspark-cw-pro-actions .rsmspark-cw-btn-cache:hover,
.rsmspark-cw-pro-actions .rsmspark-cw-btn-cache:focus {
	border-color: #94a3b8 !important;
	background: #f1f5f9 !important;
	color: #1e293b !important;
}

/**
 * Hub settings tabs — plugin-bundled fallback (survives mixed rsm-shared bootstrap).
 * Canonical copy also lives in admin-suite.css.
 */
body.rsmspark-suite-admin-screen .rsmspark-suite-admin-hub .nav-tab-wrapper {
	margin-left: -20px !important;
	margin-right: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding: 10px 16px;
	background: #eef2f6;
	border: 1px solid #d0d7de;
	border-top: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.65);
}

body.rsmspark-suite-admin-screen .rsmspark-suite-admin-hub .nav-tab-wrapper .nav-tab {
	margin: 0;
	float: none;
	border: 1px solid transparent !important;
	border-radius: 4px;
	background: transparent !important;
	color: #334155 !important;
	padding: 6px 10px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	box-shadow: none;
	transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

body.rsmspark-suite-admin-screen .rsmspark-suite-admin-hub .nav-tab-wrapper .nav-tab:hover,
body.rsmspark-suite-admin-screen .rsmspark-suite-admin-hub .nav-tab-wrapper .nav-tab:focus {
	color: #c2410c !important;
	background: #fff !important;
	border-color: #d1d5db !important;
}

body.rsmspark-suite-admin-screen .rsmspark-suite-admin-hub .nav-tab-wrapper .nav-tab.nav-tab-active,
body.rsmspark-suite-admin-screen .rsmspark-suite-admin-hub .nav-tab-wrapper .nav-tab.nav-tab-active:hover,
body.rsmspark-suite-admin-screen .rsmspark-suite-admin-hub .nav-tab-wrapper .nav-tab.nav-tab-active:focus,
body.rsmspark-suite-admin-screen .rsmspark-suite-admin-hub .nav-tab-wrapper .nav-tab[aria-current="page"],
body.rsmspark-suite-admin-screen .rsmspark-suite-admin-hub .nav-tab-wrapper .nav-tab.current {
	background: #fff !important;
	color: #c2410c !important;
	border-color: #cbd5e1 !important;
	font-weight: 600;
	box-shadow: 0 1px 2px rgb(15 23 42 / 0.06);
}
