/**
 * Show Certificates Anywhere for LearnDash — modern WordPress admin UI.
 *
 * @package ShowCertificatesAnywhereForLearnDash
 */

@font-face {
	font-family: "Outfit";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/outfit/Outfit-Variable.woff2") format("woff2");
}

.slca-settings-wrap {
	--slca-admin-blue: #2271b1;
	--slca-admin-blue-dark: #135e96;
	--slca-admin-ink: #1d2327;
	--slca-admin-muted: #646970;
	--slca-admin-border: #dcdcde;
	--slca-admin-border-soft: #e7e8ea;
	--slca-admin-surface: #fff;
	--slca-admin-surface-soft: #f6f7f7;
	--slca-admin-success: #18794e;
	--slca-admin-danger: #b32d2e;
	max-width: 1280px;
	margin-top: 20px;
	color: var(--slca-admin-ink);
}

.slca-settings-wrap,
.slca-settings-wrap * {
	box-sizing: border-box;
}

/* Global admin notices belong to WordPress, not inside this focused screen. */
body.toplevel_page_slca-certificate-customizer #wpbody-content > .notice,
body.toplevel_page_slca-certificate-customizer #wpbody-content > .updated,
body.toplevel_page_slca-certificate-customizer #wpbody-content > .error,
body.toplevel_page_slca-certificate-customizer #wpbody-content > .update-nag {
	display: none !important;
}

.slca-settings-wrap > .slca-settings-feedback {
	display: block !important;
	margin: 0 0 14px;
}

.slca-page-header .notice,
.slca-page-header .updated,
.slca-page-header .error,
.slca-page-header .update-nag {
	display: none !important;
}

/* ─── Branded page header ───────────────────────────────────── */

.slca-page-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 26px;
	margin-bottom: 14px;
	background: linear-gradient(135deg, #fff 0%, #f3f8fc 100%);
	border: 1px solid var(--slca-admin-border);
	border-radius: 14px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.slca-header-identity {
	display: flex;
	align-items: center;
	gap: 16px;
	min-width: 0;
}

.slca-brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 50px;
	width: 50px;
	height: 50px;
	color: #fff;
	background: var(--slca-admin-blue);
	border-radius: 12px;
	box-shadow: 0 7px 18px rgba(34, 113, 177, 0.2);
}

.slca-brand-mark .dashicons {
	width: 28px;
	height: 28px;
	font-size: 28px;
}

.slca-page-header h1 {
	padding: 0;
	margin: 0;
	color: var(--slca-admin-ink);
	font-size: 25px;
	font-weight: 650;
	line-height: 1.25;
}

.slca-author-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 23px;
	padding: 3px 10px;
	margin-top: 7px;
	color: #68470a;
	background: linear-gradient(135deg, #fff9df 0%, #f6dc91 100%);
	border: 1px solid #e5bd55;
	border-radius: 999px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 4px 10px -7px rgba(111, 72, 0, 0.75);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
	white-space: nowrap;
}

.slca-author-pill::before {
	content: '';
	width: 6px;
	height: 6px;
	background: #c89420;
	border: 2px solid rgba(255, 255, 255, 0.72);
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(166, 111, 9, 0.14);
}

.slca-page-header p {
	margin: 7px 0 0;
	color: var(--slca-admin-muted);
	font-size: 13px;
	line-height: 1.5;
}

.slca-header-meta {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 8px;
}

.slca-version-pill,
.slca-connection-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 30px;
	padding: 5px 10px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	border: 1px solid var(--slca-admin-border);
	border-radius: 999px;
}

.slca-version-pill {
	color: #50575e;
	background: #fff;
}

.slca-connection-pill--ok {
	color: var(--slca-admin-success);
	background: #edf7f3;
	border-color: #b8e6d0;
}

.slca-connection-pill--error {
	color: var(--slca-admin-danger);
	background: #fcf0f1;
	border-color: #f2c5c7;
}

.slca-connection-pill .dashicons {
	width: 16px;
	height: 16px;
	font-size: 16px;
}

/* ─── Section navigation ────────────────────────────────────── */

.slca-section-nav {
	display: flex;
	align-items: center;
	gap: 4px;
	position: sticky;
	top: 32px;
	z-index: 20;
	padding: 7px;
	margin-bottom: 18px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid var(--slca-admin-border);
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	backdrop-filter: blur(8px);
}

.slca-section-nav a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 36px;
	padding: 7px 13px;
	color: #3c434a;
	font-weight: 600;
	text-decoration: none;
	border-radius: 7px;
}

.slca-section-nav a:hover {
	color: var(--slca-admin-blue-dark);
	background: #f0f6fc;
}

.slca-section-nav a:focus-visible {
	outline: 2px solid var(--slca-admin-blue);
	outline-offset: 1px;
	box-shadow: none;
}

.slca-section-nav .dashicons {
	width: 17px;
	height: 17px;
	font-size: 17px;
}

/* ─── Main page layout ──────────────────────────────────────── */

.slca-admin-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: 20px;
	align-items: start;
}

.slca-settings-main {
	min-width: 0;
}

.slca-settings-card,
.slca-side-card,
.slca-save-bar {
	background: var(--slca-admin-surface);
	border: 1px solid var(--slca-admin-border);
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.035);
}

.slca-settings-card {
	margin-bottom: 18px;
	scroll-margin-top: 92px;
}

.slca-settings-card:target {
	border-color: #9ec5e5;
	box-shadow: 0 0 0 1px #c6ddf0, 0 5px 18px rgba(34, 113, 177, 0.08);
}

.slca-card-header {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 20px 22px;
	border-bottom: 1px solid var(--slca-admin-border-soft);
}

.slca-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	color: var(--slca-admin-blue-dark);
	background: #f0f6fc;
	border-radius: 9px;
}

.slca-card-icon .dashicons {
	width: 20px;
	height: 20px;
	font-size: 20px;
}

.slca-card-header h2,
.slca-side-card h2 {
	padding: 0;
	margin: 0;
	color: var(--slca-admin-ink);
	font-size: 16px;
	font-weight: 650;
	line-height: 1.35;
}

.slca-card-header p {
	margin: 3px 0 0;
	color: var(--slca-admin-muted);
	font-size: 13px;
	line-height: 1.45;
}

.slca-card-body {
	padding: 22px;
}

.slca-card-body > .slca-setting-field + .slca-setting-field,
.slca-card-body--advanced > .slca-setting-field + .slca-setting-field {
	padding-top: 22px;
	margin-top: 22px;
	border-top: 1px solid var(--slca-admin-border-soft);
}

/* ─── Settings controls ─────────────────────────────────────── */

.slca-setting-field {
	min-width: 0;
	padding: 0;
	margin: 0;
	border: 0;
}

.slca-setting-label {
	display: block;
	padding: 0;
	margin: 0 0 8px;
	color: #2c3338;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.4;
}

.slca-setting-description {
	max-width: 620px;
	margin: 8px 0 0;
	color: var(--slca-admin-muted);
	font-size: 12px;
	font-style: normal;
	line-height: 1.5;
}

.slca-setting-field select,
.slca-text-field {
	width: 100%;
	max-width: 340px;
	min-height: 40px;
	margin: 0;
	color: #2c3338;
	background-color: #fff;
	border-color: #b8bcc1;
	border-radius: 6px;
}

.slca-setting-field select:hover,
.slca-text-field:hover {
	border-color: #8c8f94;
}

.slca-setting-field select:focus,
.slca-text-field:focus {
	border-color: var(--slca-admin-blue);
	box-shadow: 0 0 0 1px var(--slca-admin-blue);
}

.slca-control-group + .slca-control-group {
	padding-top: 24px;
	margin-top: 26px;
	border-top: 1px solid var(--slca-admin-border-soft);
}

.slca-group-heading {
	margin-bottom: 18px;
}

.slca-group-heading h3 {
	margin: 0;
	font-size: 14px;
	font-weight: 650;
	line-height: 1.4;
}

.slca-group-heading p {
	margin: 3px 0 0;
	color: var(--slca-admin-muted);
	font-size: 12px;
	line-height: 1.45;
}

.slca-field-grid {
	display: grid;
	gap: 22px 24px;
}

.slca-field-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.slca-field-grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ─── WordPress color picker ────────────────────────────────── */

.slca-setting-field .wp-picker-container {
	display: block;
	width: 100%;
}

.slca-setting-field .wp-color-result.button {
	display: inline-flex;
	align-items: center;
	width: 100%;
	max-width: 180px;
	min-height: 40px;
	padding: 0 0 0 38px;
	margin: 0;
	background: #fff;
	border-color: #b8bcc1;
	border-radius: 6px;
	box-shadow: none;
}

.rtl .slca-setting-field .wp-color-result.button {
	padding: 0 38px 0 0;
}

.slca-setting-field .wp-color-result.button:hover,
.slca-setting-field .wp-color-result.button:focus {
	border-color: var(--slca-admin-blue);
}

.slca-setting-field .wp-color-result-text {
	flex: 1;
	padding: 0 10px;
	text-align: start;
	border: 0;
}

.slca-setting-field .wp-color-result::after {
	border: 0;
}

.slca-setting-field .wp-picker-open + .wp-picker-input-wrap {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
}

.slca-setting-field .wp-picker-input-wrap label {
	margin: 0;
}

/* ─── Layout cards ──────────────────────────────────────────── */

.slca-template-selector {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.slca-template-option,
.slca-icon-option {
	display: block;
	position: relative;
	cursor: pointer;
}

.slca-choice-input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	opacity: 0;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.slca-template-card {
	display: block;
	height: 100%;
	padding: 10px;
	background: #fff;
	border: 1px solid var(--slca-admin-border);
	border-radius: 9px;
	transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.slca-template-option:hover .slca-template-card {
	border-color: #8c8f94;
}

.slca-choice-input:checked + .slca-template-card {
	background: #f6faff;
	border-color: var(--slca-admin-blue);
	box-shadow: inset 0 0 0 1px var(--slca-admin-blue);
}

.slca-choice-input:focus-visible + .slca-template-card,
.slca-choice-input:focus-visible + .slca-icon-option-body {
	outline: 2px solid var(--slca-admin-blue);
	outline-offset: 2px;
}

.slca-template-preview {
	display: block;
	height: 66px;
	padding: 9px;
	margin-bottom: 9px;
	background: var(--slca-admin-surface-soft);
	border: 1px solid #eceef0;
	border-radius: 6px;
}

.slca-template-preview i {
	display: block;
	background: #fff;
	border: 1px solid #d8dadd;
	border-radius: 3px;
}

.slca-template-preview--list i {
	height: 12px;
	margin-bottom: 5px;
}

.slca-template-preview--grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 5px;
}

.slca-template-preview--grid i {
	height: 19px;
}

.slca-template-preview--portal {
	background: #172033;
	border-color: #172033;
}

.slca-template-preview--portal i {
	height: 12px;
	margin-bottom: 5px;
	background: #26334b;
	border-color: #43516c;
}

.slca-template-copy strong,
.slca-template-copy small {
	display: block;
}

.slca-template-copy strong {
	color: #2c3338;
	font-size: 13px;
	line-height: 1.35;
}

.slca-template-copy small {
	margin-top: 2px;
	color: var(--slca-admin-muted);
	font-size: 11px;
	line-height: 1.35;
}

/* ─── Icon cards ────────────────────────────────────────────── */

.slca-icon-selector {
	display: grid;
	grid-template-columns: repeat(6, minmax(72px, 1fr));
	gap: 10px;
}

.slca-icon-option-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 82px;
	padding: 10px 8px;
	color: #3c434a;
	background: #fff;
	border: 1px solid var(--slca-admin-border);
	border-radius: 9px;
	transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.slca-icon-option:hover .slca-icon-option-body {
	border-color: #8c8f94;
}

.slca-choice-input:checked + .slca-icon-option-body {
	color: var(--slca-admin-blue-dark);
	background: #f6faff;
	border-color: var(--slca-admin-blue);
	box-shadow: inset 0 0 0 1px var(--slca-admin-blue);
}

.slca-icon-preview {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
}

.slca-icon-preview svg {
	display: block;
	width: 25px;
	height: 25px;
}

.slca-no-icon {
	font-size: 24px;
	line-height: 1;
}

.slca-icon-label {
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
}

/* ─── Accessible switches ───────────────────────────────────── */

.slca-setting-field--toggle {
	padding: 18px;
	background: #fbfcfd;
	border: 1px solid var(--slca-admin-border-soft);
	border-radius: 9px;
}

.slca-card-body--advanced > .slca-setting-field--toggle + .slca-setting-field--toggle {
	padding-top: 18px;
	margin-top: 14px;
	border-top: 1px solid var(--slca-admin-border-soft);
}

.slca-switch {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	position: relative;
	cursor: pointer;
}

.slca-switch input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.slca-switch-control {
	display: inline-block;
	position: relative;
	flex: 0 0 40px;
	width: 40px;
	height: 22px;
	background: #8c8f94;
	border-radius: 999px;
	transition: background 140ms ease;
}

.slca-switch-control::after {
	content: '';
	position: absolute;
	top: 3px;
	inset-inline-start: 3px;
	width: 16px;
	height: 16px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
	transition: transform 140ms ease;
}

.slca-switch input:checked + .slca-switch-control {
	background: var(--slca-admin-blue);
}

.slca-switch input:checked + .slca-switch-control::after {
	transform: translateX(18px);
}

.rtl .slca-switch input:checked + .slca-switch-control::after {
	transform: translateX(-18px);
}

.slca-switch input:focus-visible + .slca-switch-control {
	outline: 2px solid var(--slca-admin-blue);
	outline-offset: 2px;
}

.slca-switch-text {
	color: #2c3338;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

/* ─── Save action ───────────────────────────────────────────── */

.slca-save-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 16px;
	margin-top: 2px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.035);
}

.slca-save-bar strong,
.slca-save-bar span {
	display: block;
}

.slca-save-bar strong {
	font-size: 13px;
}

.slca-save-bar span {
	margin-top: 2px;
	color: var(--slca-admin-muted);
	font-size: 12px;
}

.slca-save-button.button {
	min-width: 126px;
	min-height: 40px;
	padding: 6px 18px;
	font-weight: 600;
}

/* ─── Sidebar cards ─────────────────────────────────────────── */

.slca-settings-sidebar {
	display: grid;
	gap: 14px;
	position: static;
}

.slca-side-card {
	padding: 18px;
}

.slca-side-card-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}

.slca-side-card-header > .dashicons {
	width: 18px;
	height: 18px;
	color: var(--slca-admin-blue-dark);
	font-size: 18px;
}

.slca-side-card p {
	margin: 7px 0;
	color: #50575e;
	font-size: 12px;
	line-height: 1.55;
}

.slca-dashboard-pro-card {
	position: relative;
	overflow: hidden;
	padding: 24px;
	color: #fff;
	background:
		radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.28), transparent 42%),
		linear-gradient(145deg, #0f172a 0%, #173b78 66%, #0f766e 125%);
	border: 1px solid rgba(147, 197, 253, 0.34);
	border-radius: 14px;
	box-shadow: 0 16px 34px -20px rgba(15, 23, 42, 0.72);
	font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
}

.slca-dashboard-pro-card::after {
	content: '';
	position: absolute;
	inset-inline-end: -38px;
	bottom: -52px;
	width: 150px;
	height: 150px;
	pointer-events: none;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 50%;
}

.slca-dashboard-pro-copy,
.slca-dashboard-pro-button {
	position: relative;
	z-index: 1;
}

.slca-dashboard-pro-label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 13px;
	color: #bfdbfe;
	font-size: 10.5px;
	font-weight: 750;
	letter-spacing: 0.105em;
	line-height: 1.3;
	text-transform: uppercase;
}

.slca-dashboard-pro-label .dashicons {
	width: 17px;
	height: 17px;
	font-size: 17px;
}

.slca-dashboard-pro-card h2 {
	margin: 0;
	color: #fff;
	font-size: 22px;
	font-weight: 750;
	letter-spacing: -0.025em;
	line-height: 1.16;
}

.slca-dashboard-pro-card p {
	margin: 11px 0 15px;
	color: #dbeafe;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.55;
}

.slca-dashboard-pro-roles {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.slca-dashboard-pro-roles span {
	display: inline-flex;
	align-items: center;
	min-height: 25px;
	padding: 4px 10px;
	color: #e0f2fe;
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	font-size: 10.5px;
	font-weight: 650;
	line-height: 1;
}

.slca-dashboard-pro-card .slca-dashboard-pro-button.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: fit-content;
	min-height: 43px;
	padding: 5px 8px 5px 18px;
	margin-top: 18px;
	color: #14366d;
	background: linear-gradient(135deg, #fff 0%, #eff6ff 100%);
	border: 1px solid rgba(255, 255, 255, 0.92);
	border-radius: 999px;
	box-shadow: 0 12px 24px -14px rgba(2, 6, 23, 0.8);
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.005em;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.slca-dashboard-pro-card .slca-dashboard-pro-button.button:hover,
.slca-dashboard-pro-card .slca-dashboard-pro-button.button:focus {
	color: #0f3b78;
	background: #fff;
	border-color: #fff;
	box-shadow: 0 16px 28px -14px rgba(2, 6, 23, 0.9);
	transform: translateY(-1px);
}

.slca-dashboard-pro-card .slca-dashboard-pro-button.button:focus-visible {
	outline: 3px solid #93c5fd;
	outline-offset: 3px;
}

.slca-dashboard-pro-card .slca-dashboard-pro-button.button .dashicons {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 27px;
	height: 27px;
	color: #fff;
	background: linear-gradient(135deg, #2563eb, #1d4ed8);
	border-radius: 50%;
	font-size: 15px;
	line-height: 1;
	transition: transform 160ms ease;
}

.slca-dashboard-pro-card .slca-dashboard-pro-button.button .dashicons::before {
	color: #fff;
}

.slca-dashboard-pro-card .slca-dashboard-pro-button.button:hover .dashicons,
.slca-dashboard-pro-card .slca-dashboard-pro-button.button:focus .dashicons {
	transform: translateX(2px);
}

@media (prefers-reduced-motion: reduce) {
	.slca-dashboard-pro-card .slca-dashboard-pro-button.button,
	.slca-dashboard-pro-card .slca-dashboard-pro-button.button .dashicons {
		transition: none;
	}
}

code.slca-shortcode-display {
	display: block;
	padding: 9px 10px;
	margin: 8px 0;
	overflow-wrap: anywhere;
	color: #2c3338;
	background: var(--slca-admin-surface-soft);
	border: 1px solid #e1e3e5;
	border-radius: 6px;
	font-size: 12px;
	line-height: 1.35;
}

.slca-block-tip {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 10px;
	margin: 12px 0;
	background: #f0f6fc;
	border-radius: 7px;
}

.slca-block-tip > .dashicons {
	flex: 0 0 17px;
	width: 17px;
	height: 17px;
	margin-top: 1px;
	color: var(--slca-admin-blue-dark);
	font-size: 17px;
}

.slca-block-tip p {
	margin: 0;
	color: #3c434a;
}

.slca-details {
	margin-top: 12px;
	border-top: 1px solid var(--slca-admin-border-soft);
}

.slca-details summary {
	padding: 12px 2px 2px;
	color: var(--slca-admin-blue-dark);
	font-size: 12px;
	font-weight: 650;
	cursor: pointer;
}

.slca-details summary:focus-visible {
	outline: 2px solid var(--slca-admin-blue);
	outline-offset: 2px;
}

.slca-details-body {
	padding-top: 10px;
}

.slca-details-body h3 {
	margin: 14px 0 5px;
	font-size: 12px;
}

.slca-shortcode-table {
	width: 100%;
	border-collapse: collapse;
}

.slca-shortcode-table th,
.slca-shortcode-table td {
	padding: 7px 4px;
	font-size: 11px;
	line-height: 1.4;
	text-align: start;
	vertical-align: top;
	border-bottom: 1px solid #eceef0;
}

.slca-shortcode-table th {
	width: 76px;
	font-weight: 600;
}

.slca-pro-card {
	background: #f8f8ff;
	border-color: #d8d9f3;
}

.slca-pro-badge {
	display: inline-block;
	padding: 3px 7px;
	margin-bottom: 9px;
	color: #4f46a5;
	background: #e8e7ff;
	border-radius: 999px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.slca-pro-card .button {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 6px;
}

.slca-pro-card .button .dashicons {
	width: 15px;
	height: 15px;
	font-size: 15px;
}

.slca-plugin-meta {
	margin: 0;
}

.slca-plugin-meta > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid var(--slca-admin-border-soft);
}

.slca-plugin-meta > div:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.slca-plugin-meta dt,
.slca-plugin-meta dd {
	margin: 0;
	font-size: 12px;
}

.slca-plugin-meta dt {
	color: var(--slca-admin-muted);
}

.slca-plugin-meta dd {
	font-weight: 600;
	text-align: end;
}

/* ─── Responsive behavior ───────────────────────────────────── */

@media (max-width: 1180px) {
	.slca-admin-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.slca-settings-sidebar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		position: static;
	}

	.slca-settings-sidebar > .slca-side-card:first-child {
		grid-column: 1 / -1;
	}

	.slca-dashboard-pro-card {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(190px, 230px);
		align-items: center;
		gap: 24px;
	}

	.slca-dashboard-pro-card .slca-dashboard-pro-button.button {
		margin-top: 0;
	}
}

@media (max-width: 900px) {
	.slca-field-grid--three {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.slca-icon-selector {
		grid-template-columns: repeat(3, minmax(72px, 1fr));
	}
}

@media (max-width: 782px) {
	.slca-settings-wrap {
		margin-inline-end: 10px;
	}

	.slca-page-header {
		align-items: flex-start;
		padding: 20px;
	}

	.slca-page-header,
	.slca-header-meta {
		justify-content: flex-start;
	}

	.slca-page-header {
		flex-direction: column;
	}

	.slca-section-nav {
		top: 46px;
		overflow-x: auto;
	}

	.slca-section-nav a {
		flex: 1 0 auto;
		justify-content: center;
	}

	.slca-field-grid--two,
	.slca-field-grid--three,
	.slca-settings-sidebar {
		grid-template-columns: minmax(0, 1fr);
	}

	.slca-settings-sidebar > .slca-side-card:first-child {
		grid-column: auto;
	}

	.slca-dashboard-pro-card {
		display: block;
	}

	.slca-dashboard-pro-card .slca-dashboard-pro-button.button {
		margin-top: 16px;
	}

	.slca-save-bar {
		position: static;
	}
}

@media (max-width: 600px) {
	.slca-header-identity {
		align-items: flex-start;
	}

	.slca-brand-mark {
		flex-basis: 42px;
		width: 42px;
		height: 42px;
	}

	.slca-page-header h1 {
		font-size: 21px;
	}

	.slca-template-selector {
		grid-template-columns: minmax(0, 1fr);
	}

	.slca-icon-selector {
		grid-template-columns: repeat(3, minmax(66px, 1fr));
	}

	.slca-card-header,
	.slca-card-body {
		padding: 17px;
	}

	.slca-save-bar {
		align-items: stretch;
		flex-direction: column;
	}

	.slca-save-button.button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.slca-settings-wrap *,
	.slca-settings-wrap *::before,
	.slca-settings-wrap *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
