/* The release version is part of this asset's physical filename for CDN cache isolation. */

/*
 * Table of important z-indizies
 * Our Tooltips: 160010
 * Our Modals: 160005
 * media-modal: 160000 (from WordPress)
 * full screen loading icon: 160006
 */

/*
 * Responsive Breakpoints:
 *  - min-width: 2200px, 1800px, 960px, 800px
 *  - max-width: 2480px, 1880px, 1480px, 1180px, 960px, 880px, 782px, 600px, 480px
 *  - calculated max-widths:
 *      calc((3 * 512px) + (3 * 4rem) + (2 * 1.5rem) + 457px)
 *      calc((2 * 512px) + (2 * 4rem) + (1 * 1.5rem) + 457px)
 *      calc((3 * 512px) + (3 * 4rem) + (2 * 1.5rem) + 457px)
 */

/* ========================================================================== */
/*  GLOBAL VARIABLES & BASE STYLES                                            */
/* ========================================================================== */

/* type: generic */
:root {
	--ai4seo-green: #21C653;
	--ai4seo-blue: #2271b1;
	--ai4seo-blue-dark: #135e96;
	--ai4seo-red: #e51010;
	--ai4seo-yellow: #fbca01;
	--ai4seo-gray: #888;
	--ai4seo-gray-dark: #555;
	--ai4seo-orange: #FFA500;
	--ai4seo-white: #ffffff;
	--ai4seo-black: #000000;
	--ai4seo-dark-text: #333333;
	--ai4seo-muted-text: #777777;
	--ai4seo-border-light: #dddddd;
	--ai4seo-border: #cccccc;
	--ai4seo-border-muted: #bbbbbb;
	--ai4seo-off-white: #fcfcfc;
	--ai4seo-teal: #21a6cf;
	--ai4seo-teal-light: #31b6df;
	--ai4seo-teal-dark: #1196bf;
	--ai4seo-dark-green: #0a8e1e;
	--ai4seo-orange-dark: #773300;
	--ai4seo-warning: #efefae;
	--ai4seo-warning-soft: #ffffde;
	--ai4seo-panel-bg: whitesmoke;
	--ai4seo-wordpress-bg: #f0f0f1;
	--ai4seo-sooz-ci-blue: #0066aa;
	--ai4seo-sooz-ci-blue-input: #1177bb;
	--ai4seo-sooz-ci-blue-input-light: #3399cc;
	--ai4seo-sooz-ci-blue-input-dark: #005599;
	--ai4seo-keyboard-focus-outline: 2px solid rgba(17, 119, 187, .4);
	--ai4seo-keyboard-focus-outline-offset: 2px;
	--ai4seo-form-control-max-width: 620px;
}

/* ========================================================================== */
/*  BRANDING & TEXT ELEMENTS                                                  */
/* ========================================================================== */

/* type: content — Admin shell → Branding labels */
.ai4seo-plugin-name {
	font-weight: bold;
	white-space: nowrap;
}

/* type: module — footnote label */
.ai4seo-sub-info {
	font-size: smaller;
	color: var(--ai4seo-gray);
}

/* type: content — Admin shell → Branding labels */
.ai4seo-local-mode-hint {
	color: var(--ai4seo-red);
	font-size: 0.5rem;
	font-weight: bold;
	position: absolute;
	right: 0;
	top: -10px;
}

/* type: content — Admin shell → AI for SEO admin pages */
body.ai4seo-admin-page #wpfooter {
	display: none;
}

/* type: content — Admin shell → AI for SEO admin pages */
body.ai4seo-admin-page #wpbody-content {
	padding-bottom: 0;
}

/* type: content — WordPress admin menu → Notification badge */
.update-plugins.ai4seo-menu-notification-count {
	position: absolute;
	right: 12px;
}

/* ========================================================================== */
/*  BADGES & VOUCHER STYLES                                                   */
/* ========================================================================== */

/* type: utility — badge color modifier */
.ai4seo-green-bubble,
/* type: utility — badge color modifier */
.ai4seo-red-bubble,
/* type: utility — badge color modifier */
.ai4seo-blue-bubble {
	color: var(--ai4seo-white) !important;
}

/* type: utility — badge color modifier */
.ai4seo-green-bubble span,
/* type: utility — badge color modifier */
.ai4seo-red-bubble span,
/* type: utility — badge color modifier */
.ai4seo-blue-bubble span {
	color: var(--ai4seo-white) !important;
}

/* type: utility — badge color modifier */
.ai4seo-green-bubble svg,
/* type: utility — badge color modifier */
.ai4seo-red-bubble svg,
/* type: utility — badge color modifier */
.ai4seo-blue-bubble svg {
	fill: var(--ai4seo-white) !important;
}

/* type: utility — badge color modifier */
.ai4seo-green-bubble {
	background-color: var(--ai4seo-green);
}

/* type: utility — badge color modifier */
.ai4seo-red-bubble {
	background-color: var(--ai4seo-red);
}

/* type: utility — badge color modifier */
.ai4seo-blue-bubble {
	background-color: var(--ai4seo-sooz-ci-blue);
}

/* type: utility - badge color modifier */
.ai4seo-yellow-bubble {
	background-color: var(--ai4seo-yellow);
}

/* -- Status Dots & Scores ------------------------------------------------- */

/* type: content — Dashboard → SEO performance indicators */
.ai4seo-green-dot {
	width: 10px;
	height: 10px;
	background-color: green;
	border-radius: 50%;
	display: inline-block;
	margin-right: 5px;
}

/* type: content — Dashboard → SEO performance indicators */
.ai4seo-orange-dot {
	width: 10px;
	height: 10px;
	background-color: var(--ai4seo-orange);
	border-radius: 50%;
	display: inline-block;
	margin-right: 5px;
}

/* type: content — Dashboard → SEO performance indicators */
.ai4seo-red-dot {
	width: 10px;
	height: 10px;
	background-color: var(--ai4seo-red);
	border-radius: 50%;
	display: inline-block;
	margin-right: 5px;
}

/* type: content — Dashboard → SEO performance indicators */
.ai4seo-seo-score {
	font-weight: bold;
	display: inline-block;
}

/* type: content — Dashboard → SEO performance indicators */
.ai4seo-good-seo-score {
	color: green;
}

/* type: content — Dashboard → SEO performance indicators */
.ai4seo-ok-seo-score {
	color: var(--ai4seo-orange);
}

/* type: content — Dashboard → SEO performance indicators */
.ai4seo-bad-seo-score, .ai4seo-very-bad-seo-score {
	color: var(--ai4seo-red);
}

/* type: module — voucher display */
.ai4seo-voucher-code-wrapper {
	margin-top: 1rem;
	border: 3px dashed #0a0;
	display: inline-block;
	border-radius: 10px;
}

/* type: module — voucher display */
.ai4seo-voucher-code-wrapper .ai4seo-voucher-code {
	color: #050;
	font-weight: bold;
	font-size: 1.2rem;
	padding: 6px 20px;
	background-color: #7d7;
	text-align: left;
	display: inline-block;
	position: relative;
	border-radius: 8px;
}

/* type: module — clipboard feedback */
.ai4seo-copied-to-clipboard {
	display: none;
}

/* ========================================================================== */
/*  INTERACTIVE UTILITIES                                                     */
/* ========================================================================== */

/* type: content — Account form: keeps the floating license-key toggle anchored to the input field. */
.ai4seo-license-key-input-wrapper {
	position: relative;
}

/* type: content — Account form: reserves room for the license-key toggle inside the field. */
.ai4seo-license-key-input-wrapper-has-toggle .ai4seo-textfield {
	padding-right: 92px !important;
}

/* type: content — Account form: masked license keys use the same inactive field color as readonly controls. */
.ai4seo-license-key-mask {
	background-color: #eee !important;
}

/* type: module — icon */
.ai4seo-form-floating-textfield-icon-holder {
	position: absolute;
	top: 4px;
	right: 5px;
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 4px 8px;
	background: transparent;
	border: 1px solid transparent;
	border-radius: .3rem;
	color: var(--ai4seo-gray-dark);
	cursor: pointer;
	font: inherit;
	line-height: 1;
}

/* type: module — icon button */
.ai4seo-form-floating-textfield-icon-holder:hover,
.ai4seo-form-floating-textfield-icon-holder:focus {
	background-color: var(--ai4seo-off-white);
	border-color: var(--ai4seo-border-light);
	color: var(--ai4seo-dark-text);
}

/* type: module — icon button */
.ai4seo-form-floating-textfield-icon-holder:focus {
	outline: 2px solid rgba(17, 119, 187, .18);
	outline-offset: 1px;
}

/* type: content — Account form: aligns license-key toggle text and icon in both states. */
.ai4seo-license-key-toggle-show-state,
.ai4seo-license-key-toggle-hide-state {
	align-items: center;
	display: inline-flex;
	gap: .35rem;
}

/* type: content — Account form: keeps the toggle icon visually aligned with the compact field button. */
.ai4seo-form-floating-textfield-icon-holder svg {
	fill: currentColor !important;
	height: 1rem;
	margin-top: 0 !important;
	width: 1rem;
}

/* type: utility — interaction disable */
.ai4seo-inactive-element {
	cursor: default !important;
	pointer-events: none !important;
}

/* type: utility — alignment */
.ai4seo-float-right {
	float: right;
}

/* ========================================================================== */
/*  ADMIN BAR SHORTCUTS                                                       */
/* ========================================================================== */

/* type: content — WordPress admin bar → Quick shortcuts */
#wp-admin-bar-ai4seo-edit, #wp-admin-bar-ai4seo-edit .ab-item, #wp-admin-bar-ai4seo-edit-mobile, #wp-admin-bar-ai4seo-edit-mobile .ab-item {
	cursor: pointer;
}

/* type: content — WordPress admin bar → Quick shortcuts */
#wp-admin-bar-ai4seo-edit .ab-item .ai4seo-icon {
	position: relative;
	float: left;
	padding: 2px 0;
	margin-right: 6px;
	margin-top: 6px;
	height: 16px;
}

/* type: utility — icon size modifier */
.ai4seo-medium-icon {
	height: 2rem !important;
	width: 2rem !important;
}

/* type: utility — icon size modifier */
.ai4seo-big-icon {
	height: 5rem !important;
	width: 5rem !important;
	margin-bottom: 1rem;
	opacity: .7;
}

/* type: utility — icon color accent */
.ai4seo-fill-green {
	fill: green;
}

/* ========================================================================== */
/*  SETTINGS PANELS                                                           */
/* ========================================================================== */

/* type: content — Settings → Automated generation panel */
.ai4seo-automated-generation-settings-wrapper {
	border: 1px solid var(--ai4seo-border);
	background-color: var(--ai4seo-white);
	padding: 1.5rem;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	border-radius: .5rem;
	width: 100%;
	box-sizing: border-box;
}

/* type: content — Settings → Advanced settings: retain warning tinting except where the current navigator state supplies its own white background. */
.ai4seo-is-advanced-setting:not(.ai4seo-settings-section-navigation-link[aria-current='location']) {
	background-color: var(--ai4seo-warning-soft) !important;
}

/* type: component — generated-data reset full-reset note */
.ai4seo-generated-data-reset-full-reset-note {
	background: var(--ai4seo-warning-soft);
	border-left: 4px solid var(--ai4seo-warning);
	margin-top: .75rem;
	padding: 8px 12px;
}

/* type: content — Settings → Alt text injection controls */
#ai4seo-js-alt-text-injection-setting.ai4seo-js-alt-text-setting-hidden {
	display: none !important;
}

/* type: module — loading icon holder */
.ai4seo-hidden-loading-icon-holder {
	display: none;
	margin-left: .5rem;
}

.ai4seo-full-screen-loading-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgba(255, 255, 255, 0.6); /* optional dim overlay */
	z-index: 160006; /* ensure it stays above all content */
	transform: scale(3);
}

/* ========================================================================== */
/*  LOADING STATES & LOCKING                                                  */
/* ========================================================================== */

/* type: module — loading icon holder */
.ai4seo-hidden-loading-icon-holder {
	display: none;
	margin-left: .5rem;
}

/* type: module — loading icon holder */
.ai4seo-hidden-loading-icon-holder svg {
	width: 1rem;
	height: 1rem;
}

/* type: utility — lock state */
.ai4seo-lockable {

}

/* type: utility — interaction disable */
.ai4seo-temporary-locked {
	pointer-events: none !important;
	opacity: 0.7 !important;
	cursor: not-allowed !important;
}

/* ========================================================================== */
/*  LAYOUT & SPACING UTILITIES                                                */
/* ========================================================================== */

/* -- Clearing Helpers ----------------------------------------------------- */

/* type: utility — float clearing */
.ai4seo-clear-both {
	clear: both;
}

/* type: utility — float clearing */
.ai4seo-clear {
	clear: both;
	padding: 1em 0;
}

/* type: utility: clickable */
.ai4seo-clickable {
	cursor: pointer;
}

/* -- Gap Utilities -------------------------------------------------------- */

/* type: utility — spacing utility */
.ai4seo-gap {
	clear: both;
	padding: 1em 0;
	height: 1em;
	box-sizing: border-box;
}

/* type: utility — spacing utility */
.ai4seo-gap-zero {
	clear: both;
	padding: 0;
	height: 0;
	box-sizing: border-box;
}

/* type: utility — spacing utility */
.ai4seo-tiny-gap {
	margin-top: 5px;
	clear: both;
}

/* type: utility — spacing utility */
.ai4seo-small-gap {
	margin-top: 10px;
	clear: both;
}

/* type: utility — spacing utility */
.ai4seo-medium-gap {
	margin-top: 20px;
	clear: both;
}

/* type: utility — spacing utility */
.ai4seo-large-gap {
	margin-top: 40px;
	clear: both;
}

/* -- Directional Spacing Helpers ----------------------------------------- */

/* type: utility — spacing utility */
.ai4seo-gap-left {
	margin-left: 1em;
}

/* type: utility — spacing utility */
.ai4seo-gap-right {
	margin-right: 1em;
}

/* type: utility — spacing utility */
.ai4seo-gap-top {
	margin-top: 1em;
}

/* type: utility — spacing utility */
.ai4seo-gap-bottom {
	margin-bottom: 1em;
}

/* ========================================================================== */
/*  ICON SIZES & COLORS                                                       */
/* ========================================================================== */

/* -- Base Icon Styling ---------------------------------------------------- */

/* type: module — icon */
.ai4seo-icon {
	width: 1rem;
	height: 1rem;
	display: inline-block;
	vertical-align: middle;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.ai4seo-sooz-logo {
	width: auto;
	height: 1.2rem;
	line-height: 1.2rem;
	fill: var(--ai4seo-sooz-ci-blue) !important;
	margin-top: -.1rem;
}

/* type: module — Elementor app bar metadata editor action */
.ai4seo-elementor-app-bar-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
}

/* type: module — Elementor app bar metadata editor action */
.ai4seo-elementor-app-bar-icon .ai4seo-sooz-logo {
	width: 1.4rem;
	height: 1.4rem;
	margin: 0;
	fill: currentColor !important;
}

.ai4seo-modal-headline-icon .ai4seo-sooz-logo {
	width: auto;
	height: 1.5rem;
	line-height: 1.5rem;
	fill: var(--ai4seo-sooz-ci-blue) !important;
	margin-top: -.4rem;
}

.column-ai-for-seo .ai4seo-sooz-logo {
	margin-bottom: -.3rem;
}

/* -- Icon Size Variations ------------------------------------------------- */

/* type: utility — icon size modifier */
.ai4seo-large-icon {
	width: 2rem !important;
	height: 2rem !important;
}

/* type: utility — icon size modifier */
.ai4seo-16x16-icon {
	width: 16px !important;
	height: 16px !important;
}

/* type: utility — icon size modifier */
.ai4seo-24x24-icon {
	width: 24px !important;
	height: 24px !important;
}

/* type: utility — icon size modifier */
.ai4seo-big-paragraph-icon {
	width: 24px;
	height: 24px;
	float: left;
	margin-right: 10px;
	margin-top: 5px;
}

/* -- Icon Color Variations ------------------------------------------------- */

/* type: utility — icon color accent */
.ai4seo-red-icon {
	/* svg color */
	fill: var(--ai4seo-red) !important;
}

/* type: utility — icon color accent */
.ai4seo-green-icon {
	/* svg color */
	fill: #00ff00 !important;
}

/* type: utility — icon color accent */
.ai4seo-dark-green-icon {
	/* svg color */
	fill: #008800 !important;
}

/* type: utility — icon color accent */
.ai4seo-blue-icon {
	/* svg color */
	fill: #0000ff !important;
}

/* type: utility — icon color accent */
.ai4seo-orange-icon {
	/* svg color */
	fill: #ffa500 !important;
}

/* type: utility — icon color accent */
.ai4seo-purple-icon {
	/* svg color */
	fill: #800080 !important;
}

/* type: utility — icon color accent */
.ai4seo-gray-icon {
	/* svg color */
	fill: #808080 !important;
}

/* type: utility — icon color accent */
.ai4seo-black-icon {
	/* svg color */
	fill: #000000 !important;
}

/* type: utility — icon color accent */
.ai4seo-white-icon {
	/* svg color */
	fill: #ffffff !important;
}

/* type: utility — icon color accent */
.ai4seo-light-gray-icon {
	/* svg color */
	fill: #d3d3d3 !important;
}

/* type: utility — icon color accent */
.ai4seo-dark-gray-icon {
	/* svg color */
	fill: #a9a9a9 !important;
}

/* type: utility — icon color accent */
.ai4seo-light-blue-icon {
	/* svg color */
	fill: #add8e6 !important;
}

/* type: utility — icon color accent */
.ai4seo-light-green-icon {
	/* svg color */
	fill: #90ee90 !important;
}

/* type: utility — icon color accent */
.ai4seo-light-yellow-icon {
	/* svg color */
	fill: #ffffe0 !important;
}

/* type: utility — icon color accent */
.ai4seo-light-red-icon {
	/* svg color */
	fill: #ffcccb !important;
}

/* type: utility — icon color accent */
.ai4seo-light-orange-icon {
	/* svg color */
	fill: #ffcccb !important;
}

/* type: utility — icon color accent */
.ai4seo-light-purple-icon {
	/* svg color */
	fill: #e6e6fa !important;
}

/* type: utility — icon color accent */
.ai4seo-light-pink-icon {
	/* svg color */
	fill: #ffb6c1 !important;
}

/* type: utility — icon color accent */
.ai4seo-light-brown-icon {
	/* svg color */
	fill: #d2b48c !important;
}


/* ========================================================================== */
/*  ACCORDION COMPONENT                                                       */
/* ========================================================================== */

/* -- Accordion Container -------------------------------------------------- */

/* type: module — accordion */
.ai4seo-accordion-holder {
	clear: both;
	position: relative;
	min-width: 255px;
	max-width: 800px;
	margin-bottom: 1rem;
}

/* -- Accordion Elements --------------------------------------------------- */

/* type: module — accordion */
/* Keep card styling on the wrapper while the nested native button owns interaction. */
.ai4seo-accordion-holder .ai4seo-accordion-headline {
	padding: 0;
	background-color: #eee;
	z-index: 2;
}

/* type: module — accordion */
/* Reset browser button chrome without changing the established full-width headline layout. */
.ai4seo-accordion-holder .ai4seo-accordion-trigger {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: .7rem;
	border: 0;
	border-radius: inherit;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: 600;
	line-height: inherit;
	text-align: left;
	cursor: pointer;
}

/* type: module — accordion */
/* Expose keyboard focus without adding a persistent border to pointer interactions. */
.ai4seo-accordion-holder .ai4seo-accordion-trigger:focus-visible {
	outline: 2px solid var(--wp-admin-theme-color, #2271b1);
	outline-offset: 2px;
}

/* type: module — accordion */
.ai4seo-accordion-holder .ai4seo-accordion-content {
	display: none;
	z-index: 1;
	margin-top: -.5rem;
}

/* type: module — accordion */
.ai4seo-accordion-holder .ai4seo-accordion-content img {
	max-width: 100%;
}

/* type: content — Posts list → Key phrase column */
.ai4seo-key-phrase {
	font-size: smaller;
	color: var(--ai4seo-gray);
	font-weight: normal;
}

/* type: content — Posts list → Key phrase column */
.ai4seo-no-key-phrase {
	font-size: smaller;
	color: var(--ai4seo-red);
	font-style: italic;
	font-weight: normal;
}

/* type: content — Content lists → Coverage column */
.ai4seo-content-list-active-fields-note {
	font-size: smaller;
}

/* ========================================================================== */
/*  FORM INPUTS                                                               */
/* ========================================================================== */

/* type: module — form control */
input.ai4seo-license-key-input, input.ai4seo-username-input {
	width: 100%;
	padding: 10px;
	border-radius: 5px;
	border: 1px solid var(--ai4seo-border);
	font-size: 16px;
	text-align: center;
	font-family: 'Courier New', Courier, monospace;
}

/* type: content — Account & Settings → Credential fields */
textarea.ai4seo-license-key-box, textarea.ai4seo-username-box {
	width: 100%;
	font-family: 'Courier New', Courier, monospace !important;
	background-color: rgba(0, 0, 0, .1);
	text-align: center;
	font-size: 14px;
}

/* type: content — Account & Settings → Credential fields */
textarea.ai4seo-username-box {
	height: 26px;
}


/* ========================================================================== */
/*  NAVIGATION MENU                                                           */
/* ========================================================================== */

/* type: content — Admin shell → Navigation layout */
nav.ai4seo-menu-items-wrapper {
	border: 0;
	margin: 0;
	padding: 0;
}

/* type: content — Admin shell → Navigation layout */
a.ai4seo-menu-item {
	padding: .5rem 1rem;
	width: 95%;
	margin-bottom: 1rem;
	font-weight: bold;
	border: 2px solid transparent;
	box-sizing: border-box;
	background-color: transparent;
	border-radius: .5rem;
}

/* type: content — Admin shell → Navigation layout */
a.ai4seo-menu-item > i, a.ai4seo-menu-item > svg {
	margin-right: 1rem;
	color: #aaa;
	transform: scale(1.25);
	display: inline-block;
	fill: #aaa;
}

/* type: content — Admin shell → Navigation layout */
a.ai4seo-menu-item > svg {
	width: 20px;
}

/* type: content — Admin shell → Navigation layout */
a.ai4seo-menu-item > div {
	display: inline-block;
}

/* type: content — Admin shell → Navigation layout */
a.ai4seo-menu-item:hover {
	background-color: #fff;
}

/* type: content — Admin shell → Navigation layout */
a.ai4seo-active-menu-item {
	background-color: #eee !important;
	border: 2px solid #41c6ef !important;
}

/* type: content — Admin shell → Navigation layout */
a.ai4seo-active-menu-item > i, a.ai4seo-active-menu-item > svg {
	color: #555;
	fill: #555;
	transform: scale(1.35);
}

/* type: content — Admin shell → Navigation layout */
a.ai4seo-active-menu-item > div {
	color: #000;
	transform: scale(1.1);
}

/* type: content — Admin shell → Navigation layout */
a.ai4seo-active-menu-item:hover {
	background-color: #eee;
}

/* type: content — Admin shell → Navigation layout */
div.ai4seo-content-wrapper {
	margin-left: 0;
	display: flex;
	justify-content: left;
	align-items: flex-start;
	flex-direction: column;
	flex: 1; /* Takes up the remaining space */
	padding: 0;
}

/* type: utility — responsive visibility (show) */
.ai4seo-visible-on-mobile {
	display: none;
}

/* type: utility — responsive visibility (hide) */
.ai4seo-hidden-on-mobile {
	display: block;
}

/* type: utility — layout max-width */
div.ai4seo-max-width-100 {
	max-width: 100%;
}

/* type: module — avatar */
.ai4seo-developer-avatar-wrapper {
	position: absolute;
	left: 6px;
	top: 6px;
	border-radius: 50%;
	border: 2px solid #b29a76;
	overflow: hidden;
	width: 30px;
	height: 30px;
}

/* type: module — avatar */
.ai4seo-developer-avatar-wrapper img {
	width: 30px;
	height: 30px;
}

/* type: module — badge */
.ai4seo-menu-counter {
	display: inline-block;
	vertical-align: top;
	box-sizing: border-box;
	padding: 0 5px;
	min-width: 18px;
	height: 18px;
	border-radius: 9px;
	background-color: #d63638;
	color: #fff;
	font-size: 11px;
	line-height: 1.6;
	text-align: center;
	margin-left: 1rem;
	position: relative;
	bottom: -3px;
	font-weight: normal;
}

/* type: component — dashboard statistics card */
.ai4seo-dashboard-statistics-card {
	padding: 1rem 1rem 0 1rem !important; /* decreased padding to compensate chart size */
	align-items: end !important;
}

/* type: component — dashboard statistics card: reserve a separate top row for the refresh action. */
.ai4seo-dashboard-statistics-card:has(> .ai4seo-top-right-refresh-button-wrapper) {
	padding-top: 3rem !important;
}

/* type: component — dashboard statistics card */
.ai4seo-dashboard-statistics-message-row {
	flex: 0 0 100%;
	width: 100%;
	margin-bottom: 1.5rem;
	padding: 0 1.5rem;
	box-sizing: border-box;
}

/* type: component — dashboard statistics card */
.ai4seo-dashboard-statistics-message-content {
	max-width: 800px;
	margin: 0 auto;
}

/* type: component — dashboard statistics card */
.ai4seo-dashboard-retry-all-failed-wrapper {
	flex: 0 0 100%;
	width: 100%;
	margin-bottom: 1.5rem;
	padding: 0 1.5rem;
	box-sizing: border-box;
}

/* type: component — dashboard section heading */
.ai4seo-card .ai4seo-dashboard-section-heading {
	width: 100%;
	margin-top: 1.33em;
	margin-bottom: 1.33em;
	text-align: center;
	font-size: .75rem;
	letter-spacing: .12rem;
}


/* type: module — dashboard chart */
.ai4seo-chart-container {
	float: left;
	width: 255px;
	height: 130px;
	margin: 40px 20px;
	position: relative;
	transform: scale(1.2);
}

/* type: module — dashboard chart: lift the transformed chart context while its tooltip is open. */
.ai4seo-chart-container:has(.ai4seo-half-donut-chart-sub-info-trigger[aria-expanded='true']) {
	z-index: 160010;
}

/* type: module — dashboard chart */
.ai4seo-chart-container > .ai4seo-dashboard-section-heading {
	width: 255px;
	margin-top: 10px;
	margin-bottom: -5px;
}

/* type: module — dashboard chart */
.ai4seo-half-donut-container {
	margin-top: -20px;
}

/* type: module — dashboard chart */
.ai4seo-half-donut-chart-percentage {
	position: absolute;
	width: 255px;
	text-align: center;
	bottom: 32px;
	left: 0;
	font-size: 30px;
	font-weight: bold;
}

/* type: module — dashboard chart */
.ai4seo-half-donut-chart-complete-count {
	position: absolute;
	width: 255px;
	text-align: center;
	bottom: 5px;
	left: 0;
	font-size: 12px;
}

/* type: module — dashboard chart */
.ai4seo-half-donut-chart-complete {
	color: #005500;
}

/* type: module — dashboard chart */
.ai4seo-half-donut-chart-incomplete {
	color: var(--ai4seo-black);
}


/* type: module — dashboard chart */
.ai4seo-half-donut-chart-sub-info {
	position: absolute;
	width: 255px;
	text-align: center;
	bottom: 23px;
	left: 0;
	font-size: 11px;
	color: var(--ai4seo-gray);
	text-decoration: underline;
	cursor: help;
}

/* type: module — dashboard chart: the short explanatory tooltip should expand without internal scrolling. */
.ai4seo-half-donut-chart-sub-info .ai4seo-tooltip {
	max-height: none !important;
	overflow-y: visible !important;
}

/* type: module — dashboard chart */
.ai4seo-chart-legend-container {
	float: left;
	align-self: center;
	height: auto;
	padding-left: 50px;
	padding-top: .5rem;
	padding-bottom: .5rem;
	min-width: 250px;
}

/* type: module — dashboard chart */
.ai4seo-chart-legend {
	font-family: Arial, sans-serif;
	margin-top: 0;
	margin-bottom: 1rem;
	padding-left: 0;
	list-style: none;
}

/* type: module — dashboard chart */
div.ai4seo-card .ai4seo-chart-legend > .ai4seo-dashboard-section-heading {
	margin-bottom: .5rem;
	text-align: left;
}

/* type: module — dashboard chart */
.ai4seo-chart-legend-item {
	display: flex;
	align-items: center;
	margin-bottom: 5px;
}

/* type: module — dashboard chart */
.ai4seo-chart-legend-color {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	margin-right: 10px;
	flex-shrink: 0; /* Prevents the color box from shrinking */
}

/* type: module — dashboard chart */
.ai4seo-circle.ai4seo-chart-segment {
	stroke: var(--ai4seo-chart-segment-color);
}

/* type: module — dashboard chart */
.ai4seo-chart-legend-color.ai4seo-chart-segment {
	background-color: var(--ai4seo-chart-segment-color);
}

/* type: module — dashboard chart */
.ai4seo-chart-segment-complete {
	--ai4seo-chart-segment-color: #00aa00;
}

/* type: module — dashboard chart */
.ai4seo-chart-segment-queued {
	--ai4seo-chart-segment-color: #007bff;
}

/* type: module — dashboard chart */
.ai4seo-chart-segment-eligible_for_auto_queue {
	--ai4seo-chart-segment-color: #555555;
}

/* type: module — dashboard chart */
.ai4seo-chart-segment-missing {
	--ai4seo-chart-segment-color: #dddddd;
}

/* type: module — dashboard chart */
.ai4seo-chart-segment-failed {
	--ai4seo-chart-segment-color: #dc3545;
}

/* type: module — dashboard chart */
.ai4seo-chart-legend-text {
	flex-grow: 1; /* Allows the text to fill the remaining space */
	font-size: 14px;
	color: black;
}

/* type: content — Dashboard → SEO Autopilot status */
.ai4seo-caret-down, .ai4seo-caret-up {
	margin-left: .3rem;
	margin-top: -3px;
	display: inline-block;
}

/* type: content — Dashboard → SEO Autopilot status */
div.ai4seo-bulk-generation-status-container {
	width: 100%;
	margin-top: 0;
	text-align: center;
	position: relative;
}

/* type: content — Dashboard → SEO Autopilot status */
div.ai4seo-bulk-generation-status-container > svg {
	width: 175px;
	height: 175px;
	fill: #aaa;
}

/* type: content — Dashboard → SEO Autopilot status */
div.ai4seo-bulk-generation-status-container > .ai4seo-bulk-generation-status-inactive-logo {
	filter: grayscale(100%);
	opacity: .5;
	width: 150px;
	height: 150px;
	position: relative;
}

/* type: content — Dashboard → SEO Autopilot status */
div.ai4seo-bulk-generation-status-container > .ai4seo-bulk-generation-status-active-logo {
	opacity: .75;
	width: 150px;
	height: 150px;
	position: relative;
}

/* type: content — Dashboard → SEO Autopilot status */
.ai4seo-bulk-generation-status-active-logo-triangle-exclamation svg {
	position: absolute;
	top: 0;
	left: calc(50% + 75px);
	width: 32px;
	height: 32px;
	fill: var(--ai4seo-red);
	opacity: .5;
}

/* type: content — Dashboard → SEO Autopilot status */
div.ai4seo-bulk-generation-status-animated-logo-container {
	width: 100%;
	height: 160px;
}

/* type: content — Dashboard → SEO Autopilot status */
div.ai4seo-bulk-generation-status-container > div.ai4seo-bulk-generation-status-text {
	margin-top: 1.5rem;
	font-size: 2rem;
	color: #888;
}

/* type: content — Dashboard → SEO Autopilot status */
div.ai4seo-bulk-generation-status-container > div.ai4seo-bulk-generation-status-text.ai4seo-bulk-generation-status-muted {
	color: #444;
}

/* type: content — Dashboard → SEO Autopilot status */
div.ai4seo-bulk-generation-status-subtext {
	margin-top: 1.2rem;
	font-size: .9rem;
	color: #555;
	min-height: 3rem;
}

/* type: module — icon */
.ai4seo-handshake-icon {
	float: left;
	margin-right: 1.5rem;
	fill: #aaa;
	width: 75px;
	height: 75px;
}

/* type: module — icon */
i.ai4seo-menu-item-icon {
	margin-right: 5px;
	color: #555;
}

.ai4seo-menu-items-wrapper .ai4seo-menu-item-icon {
	margin-top: 3px;
}

/* type: module — icon */
img.ai4seo-menu-item-icon {
	margin-right: 5px;
	width: 16px;
	height: 16px;
}

/* type: content — Dashboard → Expert concierge card */
.ai4seo-dashboard-expert-card {
	padding: 1.75rem;
}

/* type: content — Dashboard → Expert concierge card */
.ai4seo-dashboard-expert-card-inner {
	display: flex;
	gap: 1.75rem;
	align-items: start;
	margin-top: 1.5rem;
}

/* type: content — Dashboard → Collapsible sections */
.ai4seo-card .ai4seo-dashboard-collapsible-heading {
	margin-bottom: 0;
}

/* type: content — Dashboard → Collapsible sections */
.ai4seo-dashboard-collapsible-trigger {
	appearance: none;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: block;
	font: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
	text-align: inherit;
	text-transform: inherit;
	width: 100%;
}

/* type: content — Dashboard → Collapsible sections */
.ai4seo-dashboard-section-content {
	margin-top: 1.5rem;
}

/* type: content — Dashboard → Support actions */
.ai4seo-dashboard-action-row {
	margin-left: 2rem;
	margin-bottom: 2rem;
	margin-top: 1rem;
}

/* type: content — Dashboard → Support actions */
.ai4seo-dashboard-action-row-final {
	margin-left: 2rem;
	margin-top: 1rem;
}

/* type: content — Dashboard → Overview cards */
.ai4seo-dashboard-card-min-height {
	min-height: 475px;
}

/* type: content — Dashboard → Recent activity */
.ai4seo-latest-activity-empty-message {
	font-style: italic;
	width: 100%;
	text-align: center;
}

/* type: content — Dashboard → Promotional notice */
.ai4seo-dashboard-black-friday-card {
	border-color: #037;
	background-color: #ace4f5;
}

/* type: content — Dashboard → Promotional notice */
.ai4seo-dashboard-black-friday-title {
	margin-bottom: 5px;
	color: #037 !important;
	font-weight: bold;
	font-size: 2.5em;
	text-align: center;
}

/* type: content — Dashboard → Promotional notice */
.ai4seo-dashboard-black-friday-discount {
	color: #b40a0a !important;
	text-decoration: underline;
	text-align: center;
	font-size: 1.8em;
	font-weight: bold;
}

/* type: content — Dashboard → Promotional notice */
.ai4seo-dashboard-black-friday-copy {
	margin-top: 0;
	font-size: larger;
	text-align: center;
	line-height: 2em;
}

/* type: content — Dashboard → Promotional notice */
.ai4seo-dashboard-black-friday-code {
	background-color: #003377;
	color: #fff !important;
	padding: 2px 8px;
	border-radius: 5px;
}

/* type: content — Dashboard → Promotional notice */
.ai4seo-dashboard-black-friday-emphasis {
	font-weight: bold;
	font-size: larger;
}

/* type: content — Dashboard → Expert concierge card */
.ai4seo-dashboard-expert-avatar {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	border: 3px solid var(--ai4seo-green);
	background: linear-gradient(135deg, #4b82f0, #884bff);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	font-weight: 700;
	color: #ffffff;
	box-shadow: 10px 10px 25px rgba(92, 113, 255, 0.25);
	overflow: hidden;
}

.ai4seo-dashboard-expert-avatar > img {
	width: 72px;
	height: 72px;
}

/* type: content — Dashboard → Expert concierge card */
.ai4seo-dashboard-expert-content {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}

/* type: content — Dashboard → Expert concierge card */
.ai4seo-dashboard-expert-name {
	font-size: 1.3rem !important;
	font-weight: 700 !important;
	color: var(--ai4seo-dark-text) !important;
}

.ai4seo-dashboard-expert-name .ai4seo-online-status-badge {
	margin-left: .7rem;
	vertical-align: top;
}

/* type: content — Dashboard → Expert concierge card */
.ai4seo-dashboard-expert-button {
	width: fit-content;
	padding-left: 1.5rem !important;
	padding-right: 1.5rem !important;
}

/* type: content — Dashboard → Expert concierge card */
.ai4seo-dashboard-expert-secondary {
	margin: 0;
	color: #5f6368;
	font-size: .85rem;
}

/* type: content — Dashboard → Expert concierge card */
@media (max-width: 960px) {
	.ai4seo-dashboard-expert-card-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.ai4seo-dashboard-expert-avatar {
		width: 64px;
		height: 64px;
		font-size: 1.6rem;
	}

	.ai4seo-dashboard-expert-button {
		width: 100%;
		text-align: center;
	}
}

/* type: content — Dashboard → Recent plugin updates */
img.ai4seo-inline-logo {
	width: 24px;
	height: 24px;
	margin-bottom: -7px;
}

/* type: content — Dashboard → Recent plugin updates */
div.ai4seo-recent-plugin-updates-content {
	display: inline-block;
	margin-top: 1.5rem;
}

/* type: content — Dashboard → Recent plugin updates */
div.ai4seo-recent-plugin-updates-content.ai4seo-display-none {
	display: none;
}

/* type: content — Dashboard → Recent plugin updates */
.ai4seo-recent-plugin-updates-content .ai4seo-recent-plugin-updates-title {
	appearance: none;
	background: transparent;
	border: 0;
	color: black;
	font: inherit;
	margin-top: 2rem;
	margin-bottom: .5rem;
	margin-left: -1rem;
	padding: .5rem 1rem;
	border-bottom: 1px solid #ddd;
	cursor: pointer;
	text-align: left;
}

/* type: content — Dashboard → Recent plugin updates */
.ai4seo-recent-plugin-updates-content .ai4seo-recent-plugin-updates-important-title {
	font-weight: bold;
	color: #0000aa;
}

/* type: content — Dashboard → Recent plugin updates */
div.ai4seo-changelog-entry-content {
	padding-left: 1rem;
	border-left: 1px solid #ddd;
	margin-top: -.5rem;
	padding-top: .1rem;
	margin-bottom: 1.5rem;
}

/* type: content — Dashboard → Recent plugin updates */
div.ai4seo-recent-plugin-updates-content li {
	margin-bottom: 1rem;
	list-style-type: disc;
	padding-left: .5rem;
	position: relative;
	color: #333;
	margin-left: -3px;
}

/* type: content — Dashboard → Recent plugin updates */
div.ai4seo-recent-plugin-updates-content ul > li > ul {
	margin-top: .5rem;
	margin-bottom: 1.2rem;
}

/* type: content — Dashboard → Recent plugin updates */
div.ai4seo-recent-plugin-updates-content ul > li > ul > li {
	margin-bottom: .5rem;
	list-style-type: "–";
	padding-left: 1rem;
	margin-left: .5rem;
}

/* type: content — Dashboard → Recent plugin updates */
div.ai4seo-recent-plugin-updates-content li::marker {
	color: #777;
}

/* Recent Plugin Updates Collapsible Styles */
/* type: content — Dashboard → Recent plugin updates */
.ai4seo-changes-count {
	font-size: smaller;
	color: var(--ai4seo-gray);
	margin-left: 10px;
	font-weight: normal;
}

/* type: content — Dashboard → Recent plugin updates */
.ai4seo-changelog-entry-content {
	margin-top: 10px;
	margin-bottom: 20px;
}

/* type: content — Dashboard → Recent plugin updates */
.ai4seo-recent-plugin-updates-content .ai4seo-recent-plugin-updates-title {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
}

/* type: content — Dashboard → Recent plugin updates */
.ai4seo-recent-plugin-updates-content .ai4seo-recent-plugin-updates-title:hover {
	background-color: #f9f9f9;
	border-radius: 3px;
}


/* type: content — Dashboard → Recent plugin updates */
.ai4seo-payg-confirmation-checkbox {
	margin-right: 1rem !important;
	transform: scale(1.4);
	display: inline-block;
	height: 3rem;
}

/* type: content — Dashboard → Recent plugin updates */
.ai4seo-confirmation-checkbox-container {
	display: flex;
	align-items: center;
	margin-top: 1rem;
}

/* type: content - PAYG customization: confirmation rows can place the toggle at the far edge while keeping copy first. */
.ai4seo-confirmation-checkbox-container-left {
	flex-grow: 1;
}

/* type: content - PAYG customization: right-align native single checkboxes without changing the modal markup contract. */
.ai4seo-confirmation-checkbox-container-left:has(input.ai4seo-single-checkbox[type="checkbox"]) {
	order: 2;
	flex-grow: 0;
	align-self: flex-start;
	margin-left: auto;
}

/* type: content - PAYG customization: the toggle owns spacing through its container so the shared switch margin does not add drift. */
.ai4seo-confirmation-checkbox-container-left:has(input.ai4seo-single-checkbox[type="checkbox"]) input.ai4seo-single-checkbox[type="checkbox"] {
	margin-left: 0 !important;
}

/* type: content - PAYG customization: copy remains the leading flex item when the checkbox column is visually moved right. */
.ai4seo-confirmation-checkbox-container-right {
	order: 1;
}

/* type: content - PAYG customization: two-line confirmation copy should align toggles to the first line instead of the row center. */
.ai4seo-confirmation-checkbox-container:has(input.ai4seo-single-checkbox[type="checkbox"]) {
	align-items: flex-start;
	gap: 16px;
}

/* type: content - PAYG customization: let confirmation copy consume the remaining row width beside the right-aligned toggle. */
.ai4seo-confirmation-checkbox-container:has(input.ai4seo-single-checkbox[type="checkbox"]) .ai4seo-confirmation-checkbox-container-right {
	flex: 1 1 auto;
}

/* type: content - PAYG customization: labels in confirmation rows keep their larger modal emphasis. */
.ai4seo-confirmation-checkbox-container-right > label {
	font-size: larger;
}

/* type: content — Dashboard → Pay-As-You-Go customization */
.ai4seo-payg-confirmation-enable-wrapper {
	margin-top: 2.5rem;
}

/* type: content — Dashboard → Pay-As-You-Go customization */
.ai4seo-payg-reference-price {
	color: #555;
	text-decoration: line-through;
}

/* type: content — Dashboard → Pay-As-You-Go customization */
div.ai4seo-get-more-credits-section-right.ai4seo-payg-disabled-text,
div.ai4seo-get-more-credits-section-big-title.ai4seo-payg-disabled-text {
	color: #999;
}



/* === AI4SEO FORM =========================================================================== */

/* type: module — form layout */
.ai4seo-form {
	padding-bottom: 3rem; /* Extra space for bottom-aligned buttons */
}

/* type: module — form layout */
.ai4seo-modal-content .ai4seo-form {
	padding-bottom: 0;
}

/* type: module — form layout */
.ai4seo-form+.ai4seo-form {
	margin-top: -2rem;
}

/* type: module — form layout */
.ai4seo-editor-form {
	margin-top: 2rem;
}

/* type: module — form layout */
.ai4seo-form-section {
	max-width: 100%;
	margin-top: 0;
	margin-bottom: 2rem;
	padding: 0 !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	border: 1px solid #ccc;
	border-radius: .5rem;
}

/* type: module — form layout */
.ai4seo-form-section > h2 {
	margin: 0 !important;
	width: 100%;
	background-color: #eee;
	padding: .7rem 1rem;
	box-sizing: border-box;
	border-bottom: 1px solid #ddd;
	border-radius: .5rem .5rem 0 0;
}

/* type: module — form layout */
.ai4seo-form-section > h2 svg {
	fill: var(--ai4seo-gray);
	margin-right: 7px;
	margin-top: -2px;
	height: 28px !important;
}

/* type: module — form layout */
.ai4seo-form-section > h2 i {
	color: #555;
	margin-right: 15px;
	margin-top: -4px;
	font-size: 28px !important;
}

.ai4seo-form-section+.ai4seo-button {
	top: -1rem !important;
}

/* type: module — form layout */
.ai4seo-form-item {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap; /* Ensure that items can wrap */
	font-size: .9rem;
	line-height: 1.4rem;
	padding: 2.5rem 2rem;
	border-radius: .5rem;
}

/* type: module — form layout */
.ai4seo-form-item-flush {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* type: module — form layout */
.ai4seo-form-item-no-top-padding {
	padding-top: 0 !important;
}

/* type: content — Account → License actions */
.ai4seo-account-license-buttons-wrapper {
	margin-top: 1.5rem;
	margin-bottom: -.5rem;
}

/* type: content — Account → Privacy consent: preserve one row and use the full available form-control width. */
.ai4seo-account-extended-data-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	width: 100%;
	max-width: 100%;
}

/* type: content — Account → Privacy consent: allow long consent copy to use all space before the checkbox. */
.ai4seo-account-extended-data-consent > .ai4seo-label-with-tooltip {
	flex: 1 1 auto;
}

/* type: content — Account → Privacy consent: pin the checkbox to the row edge independently of text wrapping. */
.ai4seo-account-extended-data-consent > input.ai4seo-single-checkbox[type="checkbox"] {
	flex: 0 0 auto;
	align-self: flex-start;
	margin-top: 0 !important;
	margin-right: 0 !important;
	margin-left: auto !important;
}

/* type: content — Settings → Section subtitles */
.ai4seo-settings-section-subtitle {
	font-size: small;
}

/* type: content — Settings → Section navigation: remain beneath WordPress admin chrome while users move through long Settings forms. */
.ai4seo-settings-section-navigation {
	position: sticky;
	top: calc(32px + .75rem);
	z-index: 9;
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 1.25rem 0;
	padding: .6rem;
	border: 1px solid var(--ai4seo-border);
	border-radius: .5rem;
	background-color: var(--ai4seo-wordpress-bg);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

/* type: content — Settings → Section navigation: keep section links compact and wrap before the mobile scroll treatment takes over. */
.ai4seo-settings-section-navigation-links {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

/* type: content — Settings → Section navigation: keep hidden-section recovery actions visible with the sticky navigator. */
.ai4seo-settings-section-navigation-hidden-target-notice {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .5rem;
	margin-top: .6rem;
	color: var(--ai4seo-dark-text);
	font-size: .9rem;
}

/* type: content — Settings → Section navigation: align native links with the existing compact admin-control hierarchy. */
.ai4seo-settings-section-navigation-link {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	padding: .5rem .75rem;
	border: 1px solid var(--ai4seo-border);
	border-radius: .3rem;
	background-color: var(--ai4seo-panel-bg);
	color: var(--ai4seo-dark-text);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
}

/* type: content — Settings → Section navigation: signal an available destination without overriding the active link state. */
.ai4seo-settings-section-navigation-link:hover {
	border-color: var(--ai4seo-sooz-ci-blue-input);
	background-color: var(--ai4seo-off-white);
	color: var(--ai4seo-sooz-ci-blue-input);
}

/* type: content — Settings → Section navigation: retain visible keyboard focus on interactive links without outlining focused heading targets. */
.ai4seo-settings-section-navigation-link:focus-visible {
	outline: 2px solid var(--ai4seo-sooz-ci-blue-input);
	outline-offset: 2px;
}

/* type: content — Settings → Section navigation: use one neutral selected state for standard and advanced links. */
.ai4seo-settings-section-navigation-link[aria-current='location'],
.ai4seo-settings-section-navigation-link[aria-current='location']:hover {
	border-color: var(--ai4seo-border);
	background-color: var(--ai4seo-white) !important;
	color: var(--ai4seo-black) !important;
}

/* type: content — Settings → Section navigation: mirror the existing advanced-setting visibility class. */
.ai4seo-settings-section-navigation-link.ai4seo-display-none {
	display: none;
}

/* type: content — Settings → Section navigation: keep hash targets clear of the sticky navigator and WordPress admin chrome. */
.ai4seo-settings-section-heading {
	scroll-margin-top: calc(32px + 5rem);
}

/* type: content — Settings → Section navigation: mark the programmatically focused destination without restoring the removed blue outline. */
.ai4seo-settings-section-heading-focused {
	box-shadow: inset 4px 0 0 var(--ai4seo-gray-dark);
}

@media screen and (max-width: 782px) {
	/* type: content — Settings → Section navigation: account for the taller mobile WordPress admin bar. */
	.ai4seo-settings-section-navigation {
		top: calc(46px + .5rem);
	}

	/* type: content — Settings → Section navigation: preserve a single sticky row and allow horizontal access on narrow screens. */
	.ai4seo-settings-section-navigation-links {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: .15rem;
		scrollbar-width: thin;
	}

	/* type: content — Settings → Section navigation: align mobile hash targets below the mobile admin bar and navigator. */
	.ai4seo-settings-section-heading {
		scroll-margin-top: calc(46px + 5rem);
	}
}

/* type: module — form layout */
.ai4seo-form-item p {
	font-size: .9rem;
	line-height: 1.4rem;
}

/* type: module — form layout */
.ai4seo-form-item-divider {
	border-top: 1px solid #eee;
	margin: 0;
	border-bottom: 0;
}

/* type: module — form layout */
.ai4seo-form-item > label,
.ai4seo-form-item > .ai4seo-form-item-label {
	display: block;
	flex-shrink: 0;
	margin-right: .7rem;
	margin-bottom: 1rem;
	font-size: 1.1rem;
	font-weight: normal;
	line-height: 150%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	width: 300px;
	max-width: var(--ai4seo-form-control-max-width);
}

/* type: module — form layout: keep native label and adjacent tooltip aligned without nesting controls. */
.ai4seo-label-with-tooltip {
	display: inline-flex;
	align-items: flex-start;
	gap: 5px;
	max-width: 100%;
}

/* type: module — form layout: allow long field labels to shrink without pushing the tooltip out of its column. */
.ai4seo-label-with-tooltip > label {
	min-width: 0;
}

/* type: module — form layout: keep the tooltip button fixed-size and reuse the wrapper gap for spacing. */
.ai4seo-label-with-tooltip > .ai4seo-icon-with-tooltip {
	flex: 0 0 auto;
	margin-left: 0;
}

/* type: module — icon */
.ai4seo-form-item > label > .ai4seo-24x24-icon,
.ai4seo-form-item > .ai4seo-form-item-label > .ai4seo-24x24-icon,
.ai4seo-form-item > .ai4seo-form-item-label .ai4seo-label-with-tooltip > label > .ai4seo-24x24-icon {
	margin-top: -3px;
	margin-right: 3px;
}

/* type: module — form layout */
.ai4seo-form-item-input-wrapper {
	flex-grow: 1;
	max-width: var(--ai4seo-form-control-max-width);
}

/* type: module — form layout */
.ai4seo-form-item-input-wrapper > label {
	max-width: var(--ai4seo-form-control-max-width);
	display: block;
}

/* type: module — form layout */
.ai4seo-form-item-description {
	color: var(--ai4seo-gray-dark);
	max-width: var(--ai4seo-form-control-max-width);
	margin-top: 1.5rem;
	display: block;
	margin-bottom: 0 !important;
	text-align: justify;
}

/* type: module - form control: shared base uses the table border tone for clear, flat fields. */
.ai4seo-form-item-input-wrapper input:not([type="checkbox"]):not([type="radio"]),
.ai4seo-form-item-input-wrapper select,
.ai4seo-form-item-input-wrapper textarea,
input.ai4seo-textfield,
select.ai4seo-textfield,
input.ai4seo-editor-textfield,
input.ai4seo-help-search,
select.ai4seo-select,
select.ai4seo-editor-select,
textarea.ai4seo-textarea,
textarea.ai4seo-editor-textarea {
	width: 100%;
	max-width: 100%;
	padding: 8px 14px !important;
	background: var(--ai4seo-white) !important;
	color: var(--ai4seo-dark-text) !important;
	box-sizing: border-box !important;
	border: 1px solid var(--ai4seo-border) !important;
	border-radius: .45rem !important;
	box-shadow: none !important;
	margin-bottom: 0 !important;
	line-height: 1.45 !important;
	font-size: 1rem !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, outline-color .15s ease;
}

/* type: module - form control: single-line fields match the established button height while textareas keep multiline sizing. */
.ai4seo-form-item-input-wrapper input:not([type="checkbox"]):not([type="radio"]),
.ai4seo-form-item-input-wrapper select,
input.ai4seo-textfield,
select.ai4seo-textfield,
input.ai4seo-editor-textfield,
input.ai4seo-help-search,
select.ai4seo-select,
select.ai4seo-editor-select {
	height: 40px !important;
	min-height: 40px !important;
}

/* type: module - form control: selects use a shared SVG caret so WordPress and browser chrome do not style them differently. */
.ai4seo-form-item-input-wrapper select,
select.ai4seo-textfield,
select.ai4seo-select,
select.ai4seo-editor-select {
	appearance: none !important;
	-webkit-appearance: none !important;
	background-color: var(--ai4seo-white) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%236f7782' d='M31.3 192h257.4c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'/%3E%3C/svg%3E") !important;
	background-position: right 14px center !important;
	background-repeat: no-repeat !important;
	background-size: 10px 16px !important;
	cursor: default !important;
	padding-right: 42px !important;
}

/* type: module - form control: text-entry controls keep the text cursor so polished fields do not feel like action buttons. */
.ai4seo-form-item-input-wrapper input:not([type="checkbox"]):not([type="radio"]),
.ai4seo-form-item-input-wrapper textarea,
input.ai4seo-textfield,
input.ai4seo-editor-textfield,
input.ai4seo-help-search,
textarea.ai4seo-textarea,
textarea.ai4seo-editor-textarea {
	cursor: text !important;
}

/* type: module - form control: hover state is intentionally limited to the border to avoid a button-like raised affordance. */
.ai4seo-form-item-input-wrapper input:not([type="checkbox"]):not([type="radio"]):hover,
.ai4seo-form-item-input-wrapper select:hover,
.ai4seo-form-item-input-wrapper textarea:hover,
input.ai4seo-textfield:hover,
input.ai4seo-editor-textfield:hover,
input.ai4seo-help-search:hover,
select.ai4seo-textfield:hover,
select.ai4seo-select:hover,
select.ai4seo-editor-select:hover,
textarea.ai4seo-textarea:hover,
textarea.ai4seo-editor-textarea:hover {
	border-color: var(--ai4seo-border-muted) !important;
}

/* type: module - form control: focus outline mirrors admin accessibility while preserving the flat white field surface. */
.ai4seo-form-item-input-wrapper input:not([type="checkbox"]):not([type="radio"]):focus,
.ai4seo-form-item-input-wrapper select:focus,
.ai4seo-form-item-input-wrapper textarea:focus,
input.ai4seo-textfield:focus,
input.ai4seo-editor-textfield:focus,
input.ai4seo-help-search:focus,
select.ai4seo-textfield:focus,
select.ai4seo-select:focus,
select.ai4seo-editor-select:focus,
textarea.ai4seo-textarea:focus,
textarea.ai4seo-editor-textarea:focus {
	border-color: var(--ai4seo-sooz-ci-blue-input) !important;
	box-shadow: none !important;
	outline: 2px solid rgba(17, 119, 187, .18) !important;
	outline-offset: 1px !important;
}

/* type: module - form control: inactive states preserve field geometry so settings pages do not reflow when controls lock. */
.ai4seo-form-item-input-wrapper input:not([type="checkbox"]):not([type="radio"]):disabled,
.ai4seo-form-item-input-wrapper select:disabled,
.ai4seo-form-item-input-wrapper textarea:disabled,
.ai4seo-form-item-input-wrapper input:not([type="checkbox"]):not([type="radio"]):read-only,
.ai4seo-form-item-input-wrapper textarea:read-only,
input.ai4seo-textfield:disabled,
input.ai4seo-editor-textfield:disabled,
input.ai4seo-help-search:disabled,
input.ai4seo-textfield:read-only,
input.ai4seo-editor-textfield:read-only,
input.ai4seo-help-search:read-only,
select.ai4seo-textfield:disabled,
select.ai4seo-select:disabled,
select.ai4seo-editor-select:disabled,
textarea.ai4seo-textarea:disabled,
textarea.ai4seo-editor-textarea:disabled,
textarea.ai4seo-textarea:read-only,
textarea.ai4seo-editor-textarea:read-only {
	background: #f6f7f7 !important;
	border-color: var(--ai4seo-border-light) !important;
	color: var(--ai4seo-muted-text) !important;
	cursor: not-allowed !important;
	opacity: 1 !important;
}

/* type: module - form control: disabled selects need their own muted caret because the normal caret is embedded as a background. */
.ai4seo-form-item-input-wrapper select:disabled,
select.ai4seo-textfield:disabled,
select.ai4seo-select:disabled,
select.ai4seo-editor-select:disabled {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath fill='%23bbbbbb' d='M31.3 192h257.4c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z'/%3E%3C/svg%3E") !important;
	background-position: right 14px center !important;
	background-repeat: no-repeat !important;
	background-size: 10px 16px !important;
}

/* type: module - account form: presentation-only license spacing lives in CSS instead of the account template markup. */
.ai4seo-account-license-description {
	margin: 2rem 2rem 0 2rem !important;
}

textarea.ai4seo-textarea,
textarea.ai4seo-editor-textarea {
	transition: height .15s ease;
}

/* type: module — form layout */
.ai4seo-form-item-input-wrapper .ai4seo-file-input {
	width: 100% !important;
	padding: 8px 12px !important;
	border: 1px solid var(--ai4seo-border) !important;
	border-radius: 4px !important;
	background-color: #fff !important;
	font-size: 1rem !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

/* type: module — form layout */
.ai4seo-form-multiple-inputs {
	display: block;
	margin-bottom: .5rem;
	margin-left: 1.1rem;
}

/* type: module - toggle checkbox: keep native checkbox inputs for save flows while rendering the single-checkbox class as a switch. */
input.ai4seo-single-checkbox[type="checkbox"] {
	position: relative !important;
	display: inline-block !important;
	width: 46px !important;
	min-width: 46px !important;
	height: 26px !important;
	min-height: 26px !important;
	margin: 0 0 0 9px !important;
	vertical-align: middle !important;
	background: #e8eaed !important;
	border: 1px solid var(--ai4seo-border) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	cursor: pointer !important;
	outline: none !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	transform: none !important;
	transition: background-color .18s ease, border-color .18s ease;
}

/* type: module - toggle checkbox: the knob is separated from the icon so the X/check can be tuned independently. */
input.ai4seo-single-checkbox[type="checkbox"]::before {
	content: "" !important;
	position: absolute !important;
	top: 2px !important;
	left: 2px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	background: var(--ai4seo-white) !important;
	border-radius: 50% !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .22) !important;
	float: none !important;
	transition: transform .18s ease;
}

/* type: module - toggle checkbox: the unchecked X is positioned against the knob, not the full track. */
input.ai4seo-single-checkbox[type="checkbox"]::after {
	content: "x" !important;
	position: absolute !important;
	top: 0 !important;
	left: 1.4px !important;
	display: block !important;
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	color: #a9b2bd !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 20px !important;
	text-align: center !important;
	text-indent: 0 !important;
	pointer-events: none !important;
	speak: never !important;
	transition: color .18s ease, transform .18s ease;
}

/* type: module - toggle checkbox: checked state uses the AI4SEO blue track while the native checked value stays unchanged. */
input.ai4seo-single-checkbox[type="checkbox"]:checked {
	background: var(--ai4seo-sooz-ci-blue-input) !important;
	border-color: var(--ai4seo-sooz-ci-blue-input-dark) !important;
}

/* type: module - toggle checkbox: the 20px travel matches the track width minus knob and 2px side offsets. */
input.ai4seo-single-checkbox[type="checkbox"]:checked::before {
	transform: translateX(20px) !important;
}

/* type: module - toggle checkbox: the check icon follows the knob and keeps its earlier smaller visual weight. */
input.ai4seo-single-checkbox[type="checkbox"]:checked::after {
	content: "\2713" !important;
	color: var(--ai4seo-sooz-ci-blue-input) !important;
	left: 2px !important;
	top: 2px !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	transform: translateX(20px) !important;
}

/* type: module - toggle checkbox: hover only adjusts the outline so the switch does not look like a raised button. */
input.ai4seo-single-checkbox[type="checkbox"]:hover {
	border-color: var(--ai4seo-border-muted) !important;
}

/* type: module - toggle checkbox: checked hover keeps the stronger blue border used by active controls. */
input.ai4seo-single-checkbox[type="checkbox"]:checked:hover {
	border-color: var(--ai4seo-sooz-ci-blue-input-dark) !important;
}

/* type: module - toggle checkbox: keyboard focus remains visible after removing the browser checkbox appearance. */
input.ai4seo-single-checkbox[type="checkbox"]:focus-visible {
	outline: 2px solid rgba(17, 119, 187, .28) !important;
	outline-offset: 2px !important;
}

/* type: module - toggle checkbox: disabled switches stay readable but no longer invite interaction. */
input.ai4seo-single-checkbox[type="checkbox"]:disabled {
	background: #edf0f2 !important;
	border-color: var(--ai4seo-border-light) !important;
	cursor: not-allowed !important;
	opacity: .75 !important;
}

/* type: module - toggle checkbox: disabled icon color follows the muted border palette used for locked controls. */
input.ai4seo-single-checkbox[type="checkbox"]:disabled::after {
	color: var(--ai4seo-border-muted) !important;
}

/* type: module - toggle checkbox: labels containing a single toggle become full-width rows so copy leads and switch trails. */
.ai4seo-form-item-input-wrapper label:has(> input.ai4seo-single-checkbox[type="checkbox"]),
.ai4seo-tos-checkbox label:has(> input.ai4seo-single-checkbox[type="checkbox"]) {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	width: 100%;
}

/* type: module - toggle checkbox: nested helper wrappers should not constrain right-aligned switch rows. */
.ai4seo-form-item-input-wrapper > div:has(> label > input.ai4seo-single-checkbox[type="checkbox"]) {
	width: 100%;
	max-width: none !important;
}

/* type: content — Account → Privacy consent */
.ai4seo-form-item-input-wrapper > div.ai4seo-account-extended-data-consent:has(> label > input.ai4seo-single-checkbox[type="checkbox"]) {
	max-width: 400px !important;
}

/* type: module - toggle checkbox: switch inputs align to the top of multiline labels and occupy the row's far edge. */
.ai4seo-form-item-input-wrapper label:has(> input.ai4seo-single-checkbox[type="checkbox"]) > input.ai4seo-single-checkbox[type="checkbox"],
.ai4seo-tos-checkbox label:has(> input.ai4seo-single-checkbox[type="checkbox"]) > input.ai4seo-single-checkbox[type="checkbox"] {
	order: 2;
	flex: 0 0 auto;
	align-self: flex-start;
	margin-top: 0 !important;
	margin-right: 0 !important;
	margin-left: auto !important;
}

/* type: module - toggle checkbox: legacy line breaks inside checkbox labels are hidden once flex layout controls spacing. */
.ai4seo-form-item-input-wrapper label:has(> input.ai4seo-single-checkbox[type="checkbox"]) > br,
.ai4seo-tos-checkbox label:has(> input.ai4seo-single-checkbox[type="checkbox"]) > br {
	display: none;
}

/* type: module - slider input */
/* Root variables connect the PHP helper arguments to the shared slider layout rules. */
.ai4seo-slider-input {
	--ai4seo-slider-marker-size: 18px;
	--ai4seo-slider-track-background: linear-gradient(90deg, var(--ai4seo-sooz-ci-blue-input) 0%, var(--ai4seo-gray) 50%, var(--ai4seo-red) 100%);
	--ai4seo-slider-track-thickness: 5px;
	--ai4seo-slider-track-length: 100%;
	--ai4seo-slider-track-opacity: 1;
	width: 100%;
	max-width: var(--ai4seo-form-control-max-width);
	margin-top: 5px;
}

/* The control wrapper positions optional controls relative to the visible slider bar. */
.ai4seo-slider-input-control-wrapper {
	position: relative;
	max-width: 100%;
}

/* The control defines the track positioning context for both orientations. */
.ai4seo-slider-input-control {
	position: relative;
	max-width: 100%;
	cursor: pointer;
}

/* Horizontal sliders default to the settings page's left-bound input alignment. */
.ai4seo-slider-input-horizontal .ai4seo-slider-input-control-wrapper {
	width: min(var(--ai4seo-slider-track-length), 100%);
	margin-right: auto;
	margin-left: 0;
}

/* Sliders with help icons reserve space so the icon does not overlap the final stage. */
.ai4seo-slider-input-has-help.ai4seo-slider-input-horizontal .ai4seo-slider-input-control-wrapper {
	width: min(var(--ai4seo-slider-track-length), calc(100% - 44px));
}

/* Horizontal controls fill the wrapper that owns slider alignment and help-icon positioning. */
.ai4seo-slider-input-horizontal .ai4seo-slider-input-control {
	width: 100%;
}

/* Center alignment lets future settings opt into a balanced visual layout. */
.ai4seo-slider-input-align-center.ai4seo-slider-input-horizontal .ai4seo-slider-input-control-wrapper {
	margin-right: auto;
	margin-left: auto;
}

/* Right alignment is available for compact controls placed near right-aligned UI. */
.ai4seo-slider-input-align-right.ai4seo-slider-input-horizontal .ai4seo-slider-input-control-wrapper {
	margin-right: 0;
	margin-left: auto;
}

/* Rotated labels need right-side breathing room so the final label does not clip. */
.ai4seo-slider-input-rotate-labels.ai4seo-slider-input-horizontal .ai4seo-slider-input-control-wrapper {
	max-width: calc(100% - 80px);
}

/* The optional help icon floats just above and to the right of the slider bar. */
.ai4seo-slider-input-help {
	position: absolute;
	z-index: 3;
	top: -14px;
	right: -26px;
	line-height: 1;
}

/* The active slider help wrapper must sit above later help icons while its tooltip is open. */
.ai4seo-slider-input-help:hover,
.ai4seo-slider-input-help:focus-within {
	z-index: 160011;
}

/* Slider help icons opt out of the inline-label icon offset used by regular form tooltips. */
.ai4seo-slider-input-help .ai4seo-icon-with-tooltip {
	line-height: 1;
	margin-left: 0;
}

/* Slider help icons are already positioned by their wrapper. */
.ai4seo-slider-input-help .ai4seo-icon-with-tooltip svg {
	margin-top: 0 !important;
	vertical-align: middle;
}

/* Slider help tooltip content is a compact option list. */
.ai4seo-slider-input-help .ai4seo-tooltip {
	text-align: left;
}

/* Slider help list uses tooltip padding for its outer spacing. */
.ai4seo-slider-input-help-list {
	margin: 0;
	padding-left: 18px;
}

/* Slider help list items stay compact but readable. */
.ai4seo-slider-input-help-list li {
	margin: 0;
}

/* Separate stage descriptions inside the slider help tooltip. */
.ai4seo-slider-input-help-list li + li {
	margin-top: 10px;
}

/* The visual track is mapped to the nearest real radio by JavaScript. */
.ai4seo-slider-input-track {
	position: absolute;
	z-index: 0;
	background: var(--ai4seo-slider-track-background);
	border-radius: 999px;
	opacity: var(--ai4seo-slider-track-opacity);
	pointer-events: none;
}

/* Horizontal track caps share the exact center point of the first and last markers. */
.ai4seo-slider-input-horizontal .ai4seo-slider-input-track {
	top: calc((var(--ai4seo-slider-marker-size) - var(--ai4seo-slider-track-thickness)) / 2);
	right: calc((var(--ai4seo-slider-marker-size) - var(--ai4seo-slider-track-thickness)) / 2);
	left: calc((var(--ai4seo-slider-marker-size) - var(--ai4seo-slider-track-thickness)) / 2);
	height: var(--ai4seo-slider-track-thickness);
}

/* Stages sit above the decorative track to keep marker hover/focus states visible. */
.ai4seo-slider-input-stages {
	position: relative;
	z-index: 1;
}

/* Horizontal stage distribution keeps the first and last radio centered over the track ends. */
.ai4seo-slider-input-horizontal .ai4seo-slider-input-stages {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

/* Labels own the click target for their hidden radio and custom marker. */
.ai4seo-slider-input-stage {
	position: relative;
	min-width: 0;
	cursor: pointer;
	color: var(--ai4seo-gray-dark);
}

/* Fixed marker-width stages prevent label and badge widths from shifting the track endpoints. */
.ai4seo-slider-input-horizontal .ai4seo-slider-input-stage {
	display: flex;
	flex: 0 0 var(--ai4seo-slider-marker-size);
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: var(--ai4seo-slider-marker-size);
	margin: 0;
	padding: 0;
	text-align: center;
}

/* Native radios stay accessible while the custom marker carries the visual state. */
.ai4seo-slider-input-radio {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

/* The marker mirrors the plugin's small circular control styling. */
.ai4seo-slider-input-marker {
	display: block;
	width: var(--ai4seo-slider-marker-size);
	height: var(--ai4seo-slider-marker-size);
	box-sizing: border-box;
	background: var(--ai4seo-white);
	border: 2px solid var(--ai4seo-border);
	border-radius: 50%;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .14);
	transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

/* Selected stages use the plugin blue ring so slider state matches other active controls. */
.ai4seo-slider-input-stage-selected .ai4seo-slider-input-marker {
	background: var(--ai4seo-blue);
	border-color: var(--ai4seo-white);
	box-shadow: 0 0 0 2px var(--ai4seo-blue);
}

/* Track hover previews the nearest stage without changing the saved radio value. */
.ai4seo-slider-input-stage-previewed:not(.ai4seo-slider-input-stage-selected) .ai4seo-slider-input-marker {
	border-color: var(--ai4seo-blue);
	box-shadow: 0 0 0 2px rgba(0, 115, 170, .25);
}

/* Active stage feedback previews the click target before the radio change event fires. */
.ai4seo-slider-input-stage:active .ai4seo-slider-input-marker {
	border-color: var(--ai4seo-blue);
	box-shadow: 0 0 0 2px rgba(0, 115, 170, .25);
}

/* Focus visibility keeps keyboard review possible even though radios are visually hidden. */
.ai4seo-slider-input-radio:focus-visible + .ai4seo-slider-input-marker {
	outline: 2px solid var(--ai4seo-blue);
	outline-offset: 3px;
}

/* Default labels are compact enough for numeric and short-word slider stages. */
.ai4seo-slider-input-label {
	max-width: 90px;
	color: var(--ai4seo-dark-text);
	font-size: .82rem;
	line-height: 1.15;
	overflow-wrap: anywhere;
}

/* Numeric range labels extend beyond marker-width stage boxes so each complete range stays readable on one line. */
.ai4seo-slider-input-inline-labels .ai4seo-slider-input-label {
	width: max-content;
	max-width: none;
	white-space: nowrap;
	overflow-wrap: normal;
}

/* Paid stages remain discoverable while their badges and upgrade action communicate the subscription requirement. */
.ai4seo-slider-input-stage-locked {
	cursor: pointer;
}

/* WordPress admin radio rules must never expose the disabled native control beside the custom marker. */
.ai4seo-slider-input-stage-locked .ai4seo-slider-input-radio {
	display: none !important;
}

/* Locked markers retain the same solid visual weight because plan badges already distinguish upgrade-only stages. */
.ai4seo-slider-input-stage-locked .ai4seo-slider-input-marker {
	background: var(--ai4seo-white);
	border-color: var(--ai4seo-border);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .14);
}

/* Keyboard focus lands on the locked label because its disabled radio cannot receive focus. */
.ai4seo-slider-input-stage-locked:focus-visible .ai4seo-slider-input-marker {
	outline: 2px solid var(--ai4seo-blue);
	outline-offset: 3px;
}

/* Compact plan badges fit below generation-length ranges without changing the shared plan color system. */
.ai4seo-slider-input-stage-plan-badge {
	padding: .08rem .38rem;
	font-size: .65rem;
}

/* Long labels rotate down and right so their first letter starts below the marker center. */
.ai4seo-slider-input-rotate-labels .ai4seo-slider-input-label {
	position: absolute;
	top: calc(var(--ai4seo-slider-marker-size) + 6px);
	left: calc(50% + 5px);
	width: max-content;
	max-width: none;
	white-space: nowrap;
	transform: rotate(45deg);
	transform-origin: top left;
}

/* Rotated horizontal stages reserve enough height for labels before the description block. */
.ai4seo-slider-input-rotate-labels.ai4seo-slider-input-horizontal .ai4seo-slider-input-stage {
	min-height: 115px;
	align-items: center;
}

/* Explicit marker centering prevents rotated label offsets from shifting the control point. */
.ai4seo-slider-input-rotate-labels.ai4seo-slider-input-horizontal .ai4seo-slider-input-marker {
	align-self: center;
}

/* The description area is shared by hover previews and the currently selected stage. */
.ai4seo-slider-input-selected-description {
	max-width: var(--ai4seo-form-control-max-width);
	min-height: 1.4rem;
	margin-top: 12px;
	color: #000;
	font-size: .9rem;
	line-height: 1.4rem;
}

/* Vertical sliders place the persistent description beside the stacked radio group. */
.ai4seo-slider-input-vertical {
	--ai4seo-slider-track-background: linear-gradient(180deg, var(--ai4seo-sooz-ci-blue-input) 0%, var(--ai4seo-gray) 50%, var(--ai4seo-red) 100%);
	display: flex;
	align-items: center;
	gap: 2.5rem;
}

/* Vertical controls use the configured track length as height instead of width. */
.ai4seo-slider-input-vertical .ai4seo-slider-input-control {
	width: max-content;
	height: var(--ai4seo-slider-track-length);
	min-height: 180px;
}

/* Vertical tracks use the same center-to-center geometry as horizontal tracks. */
.ai4seo-slider-input-vertical .ai4seo-slider-input-track {
	top: calc((var(--ai4seo-slider-marker-size) - var(--ai4seo-slider-track-thickness)) / 2);
	bottom: calc((var(--ai4seo-slider-marker-size) - var(--ai4seo-slider-track-thickness)) / 2);
	left: calc((var(--ai4seo-slider-marker-size) - var(--ai4seo-slider-track-thickness)) / 2);
	width: var(--ai4seo-slider-track-thickness);
}

/* Stacked stages fill the configured height so endpoints align with the vertical track. */
.ai4seo-slider-input-vertical .ai4seo-slider-input-stages {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

/* Vertical stage labels sit beside markers for compact settings-page rows. */
.ai4seo-slider-input-vertical .ai4seo-slider-input-stage {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Vertical labels have a wider cap because they are not rotated. */
.ai4seo-slider-input-vertical .ai4seo-slider-input-label {
	max-width: 140px;
	text-align: left;
}

/* Vertical descriptions opt out of the horizontal top margin and use the flex row gap. */
.ai4seo-slider-input-vertical .ai4seo-slider-input-selected-description {
	flex: 1;
	margin-top: 0;
}

/* type: content - Settings -> Metadata custom instructions */
.ai4seo-post-type-custom-instructions-item {
	margin-bottom: 14px;
}

/* type: content - Settings -> Metadata custom instructions */
.ai4seo-post-type-custom-instructions-caption {
	display: block;
	max-width: var(--ai4seo-form-control-max-width);
	margin: 0 0 6px 0;
	padding: 0;
	color: var(--ai4seo-dark-text);
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.4;
}

/* type: content - Custom instructions examples tooltip */
.ai4seo-custom-instructions-examples {
	display: inline-block;
	position: relative;
	white-space: nowrap;
}

/* type: content - Custom instructions examples tooltip */
.ai4seo-custom-instructions-examples-trigger {
	color: var(--ai4seo-blue);
	cursor: help;
	display: inline-flex;
	margin: 0;
	padding: 0;
}

.ai4seo-custom-instructions-examples-trigger svg {
	fill: var(--ai4seo-gray-dark);
	width: 15px !important;
	height: 15px !important;
}

/* type: content - Custom instructions examples tooltip */
.ai4seo-custom-instructions-examples .ai4seo-tooltip {
	text-align: left;
	white-space: normal;
}

/* type: module — keep the long custom-instructions help usable inside editor modals. */
.ai4seo-editor-workspace-modal .ai4seo-custom-instructions-examples .ai4seo-tooltip {
	box-sizing: border-box;
	max-height: min(34rem, calc(100vh - 12rem));
	max-width: min(34rem, calc(100vw - 8rem));
	min-width: min(22rem, calc(100vw - 8rem));
	overflow-y: auto;
	padding: 1rem;
}

/* type: content - Custom instructions examples tooltip */
.ai4seo-custom-instructions-examples-description {
	display: block;
	margin: 0 0 10px 0;
}

/* type: content - Custom instructions examples tooltip */
.ai4seo-custom-instructions-examples-caption {
	display: block;
	font-size: .82rem;
	margin: 0;
}

/* type: content — Separate usage limits from examples inside the compact tooltip. */
.ai4seo-custom-instructions-limits-caption {
	margin-top: 12px;
}

/* type: content — Remove trailing space because the limits copy closes the tooltip. */
.ai4seo-custom-instructions-limits-description {
	margin-bottom: 0;
}

/* type: content - Custom instructions examples tooltip */
.ai4seo-custom-instructions-examples-list {
	display: block;
	margin: 10px 0 0 0;
}

/* type: content - Custom instructions examples tooltip */
.ai4seo-custom-instructions-examples-item {
	display: list-item;
	margin-left: 18px;
}

/* type: content - Custom instructions examples tooltip */
.ai4seo-custom-instructions-examples-item + .ai4seo-custom-instructions-examples-item {
	margin-top: 8px;
}

/* type: content - Settings -> Subscription feature upgrade prompt */
.ai4seo-setting-upgrade-prompt {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .4rem;
	max-width: var(--ai4seo-form-control-max-width);
	margin-top: 8px;
	color: var(--ai4seo-gray-dark);
}

/* type: content — Editor → AI form layout */
.ai4seo-select-all-checkbox-label {
	transform: scale(1.2);
	transform-origin: left;
	margin-left: 0;
	max-width: 80% !important;
}

/* type: module — form layout */
.ai4seo-contact-form {
	max-width: 520px;
	margin-top: 30px;
}

/* type: module — form layout */
.ai4seo-contact-form .ai4seo-form-item > label {
	width: 150px;
}

/* type: module — form layout */
.ai4seo-disabled-form-input {
	pointer-events: none !important;
	opacity: .7 !important;
}

/* type: content — Editor → AI form layout */
.ai4seo-prefix-suffix-setting-holder {
	margin-top: 0;
	margin-bottom: 10px;
}

/* type: content — Editor → AI form layout */
.ai4seo-prefix-suffix-setting-holder .ai4seo-prefix-suffix-setting-headline {
	margin-bottom: 3px;
	font-weight: 600;
}


/* ========================================================================== */
/*  CONTENT LIST FILTER BAR                                                   */
/* ========================================================================== */

/* type: module — Content listings → Filter bar wrapper */
.ai4seo-filter-bar {
	margin: 0 0 .5rem;
	width: 100%;
}

/* type: module — Content listings → Native-style controls layout */
.ai4seo-content-list-controls__top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
}

/* type: module — Content listings → Status filter area */
.ai4seo-content-list-controls__views {
	flex: 0 0 auto;
	max-width: 100%;
	min-width: 0;
	padding-top: 10px;
}

/* type: module — Content listings → Status filter links */
.ai4seo-content-list-status-filters {
	float: none;
	margin: 0;
}

/* type: module — Content listings → Status filter item */
.ai4seo-content-list-status-filters li {
	display: inline-block;
	margin: 0;
	white-space: nowrap;
}

/* type: module - Content listings: the search area grows, while child controls keep fixed caps for post/media alignment. */
.ai4seo-content-list-controls__search {
	flex: 1 1 auto;
	margin-left: auto;
	min-width: 0;
	text-align: right;
}

/* type: module - Content listings: desktop filters stay on one row so text search sits directly beside language selection. */
.ai4seo-content-list-search-form {
	display: flex;
	float: none;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin: 0;
}

/* type: module - Content listings: cap text search on post and attachment screens so it does not dominate the filter row. */
.ai4seo-content-list-search-form input[type="search"] {
	flex: 1 1 345px;
	width: auto !important;
	min-width: 260px;
	max-width: 345px;
}

/* type: module - Content listings: language filters keep a predictable width beside the capped text search field. */
.ai4seo-content-list-search-form select {
	flex: 0 0 300px;
	width: 300px !important;
	min-width: 220px;
	max-width: 100%;
}

/* type: module — Content listings → Total count */
.ai4seo-content-list-total-count {
	display: inline-block;
}

/* type: module — Content listings → Sortable table header */
.ai4seo-posts-table th.ai4seo-content-list-sortable-column {
	padding: 8px 10px;
}

/* type: module — Content listings → Sortable table title */
.ai4seo-content-list-sortable-column-title {
	display: inline-flex;
	align-items: center;
	vertical-align: middle;
}

/* type: module — Content listings → Sortable table link */
.ai4seo-posts-table th.ai4seo-content-list-sortable-column .ai4seo-content-list-sort-link {
	display: inline-flex;
	align-items: center;
	color: inherit;
	gap: .35rem;
	overflow: visible;
	padding: 0;
	text-decoration: none;
}

/* type: module — Content listings → Sortable table title label */
.ai4seo-content-list-sortable-column-label {
	display: inline-block;
}

/* type: module — Content listings → Sort indicators */
.ai4seo-content-list-sort-indicators {
	display: inline-flex;
	flex-direction: column;
	gap: 2px;
	justify-content: center;
	line-height: 1;
	vertical-align: middle;
}

/* type: module — Content listings → Sort indicator */
.ai4seo-content-list-sort-indicator.sorting-indicator {
	border-left: 4px solid transparent !important;
	border-right: 4px solid transparent !important;
	cursor: pointer;
	display: block !important;
	height: 0 !important;
	margin: 0 !important;
	opacity: 1;
	padding: 0 !important;
	width: 0 !important;
}

/* type: module — Content listings → Ascending sort indicator */
.ai4seo-content-list-sort-indicator--asc.sorting-indicator {
	border-bottom: 5px solid #a7aaad !important;
}

/* type: module — Content listings → Descending sort indicator */
.ai4seo-content-list-sort-indicator--desc.sorting-indicator {
	border-top: 5px solid #a7aaad !important;
}

/* type: module — Content listings → Active ascending sort indicator */
.ai4seo-content-list-sort-indicator--asc.ai4seo-content-list-sort-indicator--active.sorting-indicator {
	border-bottom-color: #1d2327 !important;
}

/* type: module — Content listings → Active descending sort indicator */
.ai4seo-content-list-sort-indicator--desc.ai4seo-content-list-sort-indicator--active.sorting-indicator {
	border-top-color: #1d2327 !important;
}

/* type: module — Content listings → Hovered ascending sort indicator */
.ai4seo-content-list-sort-link:hover .ai4seo-content-list-sort-indicator--asc.sorting-indicator,
.ai4seo-content-list-sort-link:focus .ai4seo-content-list-sort-indicator--asc.sorting-indicator {
	border-bottom-color: #2271b1 !important;
}

/* type: module — Content listings → Hovered descending sort indicator */
.ai4seo-content-list-sort-link:hover .ai4seo-content-list-sort-indicator--desc.sorting-indicator,
.ai4seo-content-list-sort-link:focus .ai4seo-content-list-sort-indicator--desc.sorting-indicator {
	border-top-color: #2271b1 !important;
}

/* type: module — Content listings → Bulk action row */
.ai4seo-content-list-controls__bulk {
	clear: both;
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: auto !important;
	margin: 14px 0 .5rem;
	min-height: auto;
	overflow: visible;
	visibility: visible;
	width: 100%;
}

/* type: module — Content listings → Bulk action wrapper */
.ai4seo-content-list-controls__bulk .alignleft.actions {
	display: block !important;
	float: none;
	margin: 0;
	overflow: visible;
	visibility: visible;
}

/* type: module — Content listings → Bulk action count */
.ai4seo-content-list-controls__count {
	float: none;
	height: auto;
	margin-left: auto;
	text-align: right;
	white-space: nowrap;
}

/* type: module - Content listings: controls stay aligned while contextual guidance wraps below them. */
.ai4seo-content-list-controls__bulk .ai4seo-bulk-generation-queue-action-form {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
}

/* type: module - Content listings: bulk action selects share the polished field height without stretching across the row. */
.ai4seo-content-list-controls__bulk select.ai4seo-bulk-generation-queue-action-select {
	box-sizing: border-box;
	display: block !important;
	flex: 0 0 auto;
	height: 40px !important;
	line-height: 1.45 !important;
	max-width: 330px !important;
	min-height: 40px !important;
	min-width: 220px;
	padding-top: 8px !important;
	padding-bottom: 8px !important;
	visibility: visible;
	width: 330px !important;
}

@media (max-width: 782px) {
	/* type: module — Content listings → Responsive controls layout */
	.ai4seo-content-list-controls__top {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	/* type: module — Content listings → Responsive search block */
	.ai4seo-content-list-controls__search {
		flex: 0 1 auto;
		margin-left: 0;
		text-align: left;
		width: 100%;
	}

	/* type: module — Content listings → Responsive search form */
	.ai4seo-content-list-search-form {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	/* type: module — Content listings → Responsive bulk row */
	.ai4seo-content-list-controls__bulk {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	/* type: module — Content listings → Responsive form controls */
	.ai4seo-content-list-search-form input[type="search"],
	.ai4seo-content-list-search-form select,
	.ai4seo-content-list-search-form .ai4seo-button,
	.ai4seo-content-list-controls__bulk .ai4seo-bulk-generation-queue-action-form,
	.ai4seo-content-list-controls__bulk .ai4seo-bulk-generation-queue-action-form select,
	.ai4seo-content-list-controls__bulk .ai4seo-bulk-generation-queue-action-select,
	.ai4seo-content-list-controls__bulk .ai4seo-button {
		width: 100% !important;
	}

	/* type: module - Content listings: small screens trade the desktop cap for full-width stacked filters. */
	.ai4seo-content-list-search-form input[type="search"],
	.ai4seo-content-list-search-form select {
		flex: 1 1 auto;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	/* type: module — Content listings → Responsive bulk action selector */
	.ai4seo-content-list-controls__bulk .ai4seo-bulk-generation-queue-action-form select,
	.ai4seo-content-list-controls__bulk .ai4seo-bulk-generation-queue-action-select {
		flex: 1 1 100%;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	/* type: module — Content listings → Responsive bulk controls */
	.ai4seo-content-list-controls__bulk .ai4seo-bulk-generation-queue-action-form {
		flex-direction: column;
		align-items: stretch;
	}

	/* type: module — Content listings → Center responsive bulk-action help without the desktop offset */
	.ai4seo-content-list-controls__bulk .ai4seo-bulk-generation-queue-action-help {
		left: 0;
		top: 0;
	}

	/* type: module — Content listings → Align responsive bulk-action submission with the full-width selector */
	.ai4seo-content-list-controls__bulk .ai4seo-bulk-generation-queue-action-form .ai4seo-bulk-generation-queue-action-submit {
		margin-left: 0;
	}

	/* type: module — Content listings → Responsive total count */
	.ai4seo-content-list-controls__count {
		margin-left: 0;
		text-align: left;
		width: 100%;
	}
}


/* === Media queries ========================================================================= */

/* type: module — form layout */
.ai4seo-small-form .ai4seo-form-item {
	flex-direction: column;
}

/* type: module — form layout */
.ai4seo-small-form .ai4seo-form-item > label {
	width: 100%;
	margin-right: 0;
}

/* type: module — form layout */
.ai4seo-small-form .ai4seo-form-item-input-wrapper {
	width: 100%;
}

/* type: module — form layout */
.ai4seo-small-form .ai4seo-form-item-description {
	margin-top: 20px;
}

/* type: module — form layout */
.ai4seo-small-form .ai4seo-form-section {
	width: 100%;
	max-width: 100%;
}

/* type: module — form layout */
.ai4seo-small-form .ai4seo-form-section .ai4seo-form-item {
	padding: 2rem 1.5rem;
}

/* type: module — form layout */
.ai4seo-small-form .ai4seo-form-item-divider {
	margin-top: 1rem;
	margin-bottom: .5rem;
}



/* === no borders ================================================================================= */

/* type: content — Editor → Borderless form variant */
.ai4seo-no-borders {
	border: none !important;
	box-shadow: none !important;
}

/* type: module — form layout */
.ai4seo-no-borders .ai4seo-form-section {
	padding: 0 0 1rem 0 !important;
	border: none !important;
	box-shadow: none !important;
	margin-bottom: 0 !important;
}

/* type: module — form layout */
.ai4seo-no-borders .ai4seo-form-item {
	padding: 2rem 0 !important;
	border: none !important;
	box-shadow: none !important;
}

/* type: module — form layout */
.ai4seo-no-borders .ai4seo-form-item-divider {
	border-top: none !important;
	border-bottom: none !important;
	margin-top: .5rem !important;
	margin-bottom: 0 !important;
}



/* === Help content ========================================================================== */

/* type: module — help module */
.ai4seo-help-selection-container {
	display: flex;
	flex-wrap: wrap;
	margin-top: 20px;
	gap: 1.5rem;
}

/* type: module — help module */
.ai4seo-help-selection-container a {
	text-decoration: none;
}

/* type: module — faq block */
.ai4seo-help-content, .ai4seo-faq-section-holder {
	display: flex;
	flex-direction: column; /* Stack items vertically */
}

/* type: module — help module */
.ai4seo-help-language-note {
	font-weight: normal;
	font-size: 12px;
	margin-top: -8px;
}

/* type: module — help module */
.ai4seo-help-screenshot {
	width: 100%;
}

/* type: module — help module */
.ai4seo-help-content .ai4seo-accordion-content ul {
	list-style: disc outside;
	margin: 0 0 1rem 1.5rem;
	padding-left: 1.2rem;
}

/* type: module — help module */
.ai4seo-help-content .ai4seo-accordion-content li {
	display: list-item;
	margin-bottom: .5rem;
}

/* type: module — help module */
.ai4seo-help-content h1 {
	margin-bottom: 1rem;
}

/* type: module — help module */
.ai4seo-help-preview-selection {
	min-width: 235px;
	min-height: 235px;
	width: 235px;
	height: 235px;
	background: #eee;
	box-sizing: border-box;
	text-align: center;
	cursor: pointer;
	flex: auto;
	flex-wrap: wrap;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	border: 1px solid #ccc;
	border-radius: .5rem;
}

/* type: module — help module */
.ai4seo-help-preview-selection:hover {
	background: #f9f9f9;
}

/* type: module — help module; indicate which help section is currently open without changing the tile layout */
.ai4seo-help-preview-selection.ai4seo-active-help-preview-selection {
	background: var(--ai4seo-white);
	border-color: var(--ai4seo-sooz-ci-blue);
	box-shadow: 0 0 0 2px rgba(0, 102, 170, 0.18), 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* type: module — help module; keep the selected tile stable when the pointer hovers over it */
.ai4seo-help-preview-selection.ai4seo-active-help-preview-selection:hover {
	background: var(--ai4seo-white);
}

/** 100% width if the display is < 960px */
@media (max-width: 960px) {
/* type: module — help module */
	.ai4seo-help-preview-selection {
		width: 100%;
		margin-right: 0;
	}
}

/* type: module — icon */
.ai4seo-help-preview-selection i.dashicons {
	font-size: 10em;
	display: block;
	margin: 0 auto 20px auto;
	width: 100%;
	height: 65%;
	line-height: 200px;
	color: var(--ai4seo-gray);
}

/* type: module — icon; match the Dashicon color to the active help tile border */
.ai4seo-help-preview-selection.ai4seo-active-help-preview-selection i.dashicons {
	color: var(--ai4seo-sooz-ci-blue);
}

/* type: module — help module */
.ai4seo-help-preview-selection svg {
	display: block;
	margin: 47px auto 25px auto;
	width: 45%;
	height: 45%;
	line-height: 200px;
	fill: var(--ai4seo-gray);
}

/* type: module — help module; match SVG-based help icons to the same active color treatment */
.ai4seo-help-preview-selection.ai4seo-active-help-preview-selection svg {
	fill: var(--ai4seo-sooz-ci-blue);
}

/* type: module — help module */
.ai4seo-help-preview-selection span {
	display: block;
	font-size: 1.5em;
	font-weight: bold;
	color: #555;
}

/* type: module — help module */
.ai4seo-help-search-wrapper {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin-top: 20px;
	max-width: 520px;
	white-space: nowrap;
	padding-right: 15px;
	position: relative;
}

/* type: module — help module */
.ai4seo-help-search-wrapper svg {
	width: 1.5em;
	height: 1.5em;
	margin: 10px 0;
	fill: #665;
	position: absolute;
	left: 13px;
}

/* type: module — help module */
input.ai4seo-help-search {
	width: 100%;
	min-width: 255px;
	max-width: 520px;
	height: 40px;
	padding-left: 2.5em !important;
}

/* type: module — help troubleshooting: separates support sections without overusing the large global spacer. */
.ai4seo-troubleshooting-section-gap {
	clear: both;
	margin-top: 2rem;
}

/* type: module — help troubleshooting: action buttons already create visual height, so the next card only needs a modest gap. */
.ai4seo-troubleshooting-section-gap-after-action {
	margin-top: .5rem;
}

/* type: module — help troubleshooting: separates the saved debug-output controls from manual debug operations. */
.ai4seo-troubleshooting-section-gap-after-debug-settings {
	margin-top: 3rem;
}

/* type: module — help troubleshooting: keep card-to-action spacing explicit for the debug operations form. */
.ai4seo-debug-operation-submit-button {
	top: 0 !important;
}

/* type: module — help troubleshooting: keeps debug-log content away from the card header while preserving scroll behavior. */
.ai4seo-debug-message-log-entries {
	box-sizing: border-box;
	max-height: 240px;
	max-width: 100%;
	overflow: auto;
	padding: 1.1rem 1.5rem 1rem 1.5rem;
	white-space: pre-wrap;
}

/* type: module — help troubleshooting: the empty-log copy uses the container padding for spacing. */
.ai4seo-debug-message-log-empty-message {
	margin: 0;
}

/* type: module — help troubleshooting: copy feedback stays inside the debug-log button without inline styles. */
.ai4seo-debug-log-copy-to-clipboard-tooltip {
	float: right;
}

/* === Other styles ========================================================================== */

/* type: utility — visibility toggle */
.ai4seo-display-none {
	display: none;
}

/* type: utility — temporary visibility toggle */
.ai4seo-temporary-visible {
	display: block !important;
}

/* type: utility — text decoration */
.ai4seo-text-underlined {
	text-decoration: underline;
}

/* type: utility — critical text */
.ai4seo-text-critical {
	color: var(--ai4seo-red);
	font-weight: bold;
}



/* Datetime picker styling for SEO Autopilot */
/* type: content — Dashboard → SEO Autopilot scheduling */
.ai4seo-autopilot-footnote {
	font-size: smaller;
	margin-top: .5rem;
}

/* type: content — Dashboard → SEO Autopilot scheduling */
.ai4seo-autopilot-settings-form {
	margin-top: 2rem;
}

/* type: content — Dashboard → SEO Autopilot scheduling */
.ai4seo-bulk-generation-queue-status {
	display: flex;
	align-items: center;
	gap: .5rem;
	flex-wrap: wrap;
	margin-top: .5rem;
}

/* type: content — Dashboard → SEO Autopilot scheduling */
.ai4seo-datetime-picker-container {
	margin-top: 1rem;
	margin-bottom: 0.5rem;
}

/* type: content — Dashboard → SEO Autopilot scheduling */
.ai4seo-datetime-picker-label {
	display: block;
	margin-bottom: 0.5rem;
	color: #1d2327;
}

/* type: content — Dashboard → SEO Autopilot reminder */
.ai4seo-generated-data-reminder-container {
	margin-bottom: 1.5rem;
}

/* type: content — Dashboard → SEO Autopilot reminder */
.ai4seo-generated-data-reminder-container strong {
	display: block;
	margin-bottom: .5rem;
	color: var(--ai4seo-dark-text);
}

/* type: utility — inline button */
.ai4seo-inline-text-button {
	padding: 0 !important;
	border: none !important;
	background: none !important;
	color: #6295c8 !important;
	text-decoration: underline !important;
	box-shadow: none !important;
	font-size: inherit !important;
	line-height: inherit !important;
}

/* type: utility — inline button */
.ai4seo-inline-text-button:hover,
.ai4seo-inline-text-button:focus {
	color: var(--ai4seo-dark-text) !important;
	background: none !important;
}

/* type: content — Dashboard → SEO Autopilot reminder */
.ai4seo-remove-generated-data-action-container {
	margin-top: 1rem;
}

/* type: module — button */
.ai4seo-danger-button {
	background-color: var(--ai4seo-red) !important;
	border-color: var(--ai4seo-red) !important;
	color: var(--ai4seo-white) !important;
}

/* type: module — button */
.ai4seo-danger-button:hover {
	background-color: #c40000 !important;
	border-color: #c40000 !important;
}

/* type: module — form control */
.ai4seo-datetime-picker-input {
	width: 100%;
	padding: 0.5rem;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	font-size: 14px;
	background-color: #fff;
	color: #1d2327;
}

/* type: module — form control */
.ai4seo-datetime-picker-input:focus {
	border-color: var(--ai4seo-blue);
	outline: none;
	box-shadow: 0 0 0 1px var(--ai4seo-blue);
}



/* === ADMIN MENU =========================================================================== */

/* type: content — WordPress admin menu → Plugin icon */
#wpadminbar .ai4seo-main-menu-icon {
	background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDUwMC4wMDAwMDAgNTAwLjAwMDAwMCI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsNTAwLjAwMDAwMCkgc2NhbGUoMC4xMDAwMDAsLTAuMTAwMDAwKSIgZmlsbD0iI2RkZGRkZCIgc3Ryb2tlPSJub25lIj48cGF0aCBkPSJNMjE0NSA0NzU1IGw3IC0yNDUgLTg0MyAtMiAtODQ0IC0zIC0zIC04MjcgLTIgLTgyOCAtMjMwIDAgLTIzMCAwIDAgLTM0NSAwIC0zNDUgMjMwIDAgMjMwIDAgMiAtMjIgYzEgLTEzIDIgLTM4NyAzIC04MzMgbDAgLTgxMCA4MzggLTMgODM3IC0yIDAgLTI0NSAwIC0yNDUgMzUwIDAgMzUwIDAgMCAyNDUgMCAyNDUgODQwIDAgODQwIDAgMiAzMDggYzEgMTY5IDEgNTM5IDAgODIyIC0xIDI4MyAxIDUyMiAzIDUzMCA0IDEzIDM4IDE1IDI0MCAxMiBsMjM1IC0zIDAgMzQ1IDAgMzQ2IC0yMzcgMiAtMjM4IDMgLTMgODI4IC0yIDgyNyAtODQwIDAgLTg0MCAwIDAgMjQ1IDAgMjQ1IC0zNTEgMCAtMzUxIDAgNyAtMjQ1eiBtMzQ0IC0xMTQzIGM1IC0xMCAyMSAtNjMgMzUgLTExOCAzNiAtMTQyIDEwNCAtMzc1IDExMCAtMzgyIDEwIC0xMCAxOCA2IDMxIDYwIDggMjkgMzIgMTI1IDU1IDIxMyAyNCA4OCA0NSAxNzQgNDcgMTkwIDMgMTcgMTAgMzYgMTUgNDMgOCA5IDEyNCAxMiA1MTkgMTIgNDAxIDAgNTA5IC0zIDUwOSAtMTIgLTEgLTcgMSAtMTY4IDQgLTM1OCA0IC0yNTEgOCAtMTU5NSA2IC0xOTAyIDAgLTE3IC00MyAtMTggLTc1NCAtMTggbC03NTQgMCAtOTcgMTQ1IGMtNTQgODAgLTEwMSAxNDUgLTEwNCAxNDUgLTQgMCAtMjUgLTI0IC00NiAtNTIgLTQ3IC02MyAtMTUwIC0xOTYgLTE3MCAtMjIwIC0xNCAtMTcgLTQ4IC0xOCAtNDYzIC0xOCAtMjQ3IDAgLTQ1MSAzIC00NTUgNiAtMyAzIDIgMjkgMTMgNTggMTAgMjggMzQgMTAzIDU1IDE2NiAxMjQgMzkzIDY2MSAyMDEyIDY3NyAyMDQzIDggMTYgMzcgMTcgMzgzIDE3IDM1MSAwIDM3NSAtMSAzODQgLTE4eiIvPjxwYXRoIGQ9Ik0xOTA3IDMwODggYy0xMDIgLTI5OSAtMTg5IC01NTMgLTI0NyAtNzE4IC02MyAtMTc5IC0xOTUgLTU2MyAtMjEwIC02MTMgbC05IC0yOCAxNDEgMyAxNDEgMyA0MSAxMjUgNDEgMTI1IDI5NiAzIDI5NiAyIDM5IC0xMzAgMzggLTEzMCAxNDMgMCBjNzkgMCAxNDMgMiAxNDMgNCAwIDYgLTgwIDI0MCAtMTE1IDMzNiAtMTQgNDEgLTUxIDE0MyAtODAgMjI1IC0yOSA4MyAtNzAgMTk1IC05MCAyNTAgLTM3IDEwMiAtMjM1IDY2NyAtMjM1IDY3MiAwIDIgLTY1IDMgLTE0NCAzIGwtMTQzIDAgLTQ2IC0xMzJ6IG0yMDMgLTI0MSBjMCAtOCA0MyAtMTQzIDk1IC0zMDIgNTIgLTE1OCA5NSAtMjk0IDk1IC0zMDEgMCAtMTEgLTM4IC0xNCAtMjA1IC0xNCAtMTM2IDAgLTIwNSA0IC0yMDUgMTAgMCAyNSAyMDIgNjIwIDIxMSA2MjAgNSAwIDkgLTYgOSAtMTN6Ii8+PHBhdGggZD0iTTMxMjYgMjQ4NCBjLTMgLTQwNCAtNCAtNzQwIC0xIC03NDUgNCAtNSA2NyAtOSAxNDEgLTkgbDEzNCAwIDAgNzQ1IDAgNzQ1IC0xMzMgMCAtMTM0IDAgLTcgLTczNnoiLz48L2c+PC9zdmc+);
	background-position: 0 6px;
	background-repeat: no-repeat;
	background-size: 20px;
	float: left;
	height: 30px;
	width: 28px;
}

/* === AI4SEO TOS =========================================================================== */

/* type: module — tos layout */
.ai4seo-tos-plugin-logo {
	max-height: 30px;
}

/* type: module — tos layout */
.ai4seo-tos-checkbox {
	margin-top: 10px;
	display: flex;
	align-items: flex-start;
	line-height: 150%;
	gap: 10px; /* Adjust the space between the checkbox and the label */
	position: relative;
}

/* type: module - tos layout: default input alignment remains for any TOS checkbox that does not use the switch class. */
.ai4seo-tos-checkbox input {
	margin-top: 1px;
}

/* type: module - tos layout: TOS checkboxes use the shared switch rendering while the label text remains the leading item. */
.ai4seo-tos-checkbox input.ai4seo-single-checkbox {
	order: 2;
	flex: 0 0 auto;
	margin-top: 0 !important;
	margin-right: 0 !important;
	margin-left: 10px !important;
}

/* type: module - tos layout: TOS consent copy leads the row while the shared switch remains visually trailing. */
.ai4seo-tos-checkbox label {
	order: 1;
	flex: 1;
}

/* type: module — tos layout */
.ai4seo-tos-box h2 {
	margin-top: 20px !important;
	text-transform: uppercase;
	font-family: Roboto, Open Sans, sans-serif !important;
}

/* type: module — tos layout */
.ai4seo-tos-version-number {
	font-size: small;
	color: var(--ai4seo-gray);
	white-space: nowrap;
}

/* type: module — tos layout */
.ai4seo-tos-box ol {
	list-style-type: decimal;
}

/* type: module — tos layout */
.ai4seo-tos-box ol li::marker {
	font-weight: bold;
	color: var(--ai4seo-gray);
}



/**********************************************************************************************************************/
/*** ANIMATIONS *******************************************************************************************************/
/**********************************************************************************************************************/

/* ========================================================================== */
/*  LAYOUT & SIDEBAR                                                          */
/* ========================================================================== */

/* type: module — layout shell */
.ai4seo-sidebar-headline .ai4seo-sooz-logo {
	width: 9rem;
	height: 5rem;
	margin-top: 0;
	margin-bottom: 0;
}

/* type: module — layout shell */
.ai4seo-top-bar-headline .ai4seo-sooz-logo {
	height: 2rem;
	margin-top: 0;
	margin-bottom: 0;
}

/* Dashboard */
/* type: module — layout shell */
.ai4seo-sidebar-version-number {
	font-size: small;
	font-weight: normal;
	color: var(--ai4seo-gray);
	width: 100%;
	margin-top: 1rem;
	margin-bottom: 1rem;
	text-align: center;
	pointer-events: none;
}

@media (min-width: 960px) {
/* type: module — layout shell */
	.ai4seo-sidebar {
		min-height: calc(100vh - 4rem);
	}
}

@media (max-width: 960px) {
/* type: module — layout shell */
	.ai4seo-sidebar-version-number {
		position: relative !important;
		bottom: 0 !important;
		left: 0 !important;
		margin-bottom: 0 !important;
	}
}

/* type: content — Dashboard → Overview layout */
.ai4seo-wrap {
	position: relative; /* oder static */
	height: auto;
	min-height: calc(100vh - 4rem); /* Adjusted for the top bar height */
	left: -20px;
	top: 0;
	display: flex;
	width: calc(100% + 20px);
	box-sizing: border-box;
	padding: 2rem 1.3rem 0 2rem;
	margin: 0;
	background-color: var(--ai4seo-wordpress-bg);
}

/* type: module — layout shell */
.ai4seo-mobile-top-bar {
	display: none;
	width: calc(100% + 20px);
	height: 4rem;
	background-color: #fff;
	margin-left: -20px;
	border-bottom: 1px solid #ccc;
	position: absolute;
	z-index: 11;
}

/* type: module — button */
.ai4seo-mobile-top-bar-toggle-button {
	position: absolute;
	top: 0;
	left: 0;
	width: 5rem;
	height: 4rem;
	background-color: #eee;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	border: none;
	border-right: 1px solid #ccc;
	text-align: center;
	z-index: 2;
}

/* type: module — layout shell */
div.ai4seo-top-bar-headline {
	font-size: 1.5rem;
	padding-top: 1rem;
	width: calc(100% - 2rem);
	text-align: center;
	font-weight: bold;
	position: relative;
	z-index: 1;
	margin-left: 2rem; /* account for the toggle button */
}

/* type: module — layout shell */
.ai4seo-mobile-top-bar .ai4seo-local-mode-hint {
	top: .5rem;
	right: 4rem;
}

/* type: module — button */
.ai4seo-mobile-top-bar-toggle-button svg {
	width: 1.5rem;
	height: 1.5rem;
	vertical-align: middle;
	fill: var(--ai4seo-gray);
	margin-left: .5rem;
}

/* type: module — layout shell */
.ai4seo-sidebar {
	width: 260px;
	overflow-y: auto;
	flex-shrink: 0; /* Ensures the sidebar does not shrink */
	padding-right: 1.6rem;
	margin-left: -2rem;
	padding-left: 1.5rem;
	margin-top: -.5rem;
	z-index: 10;
	box-sizing: border-box;
	position: sticky;
	top: 4rem;
	align-self: flex-start;
}

/* type: module — layout shell */
div.ai4seo-sidebar-headline {
	font-size: 1.5rem;
	margin: 1rem 0 2.5rem 0;
	width: 100%;
	text-align: center;
	font-weight: bold;
	position: relative;
}

@media (max-width: 960px) {
/* type: utility — responsive visibility (show) */
	div.ai4seo-visible-on-mobile {
		display: block;
	}

/* type: utility — responsive visibility (show) */
	span.ai4seo-visible-on-mobile {
		display: inline;
	}

/* type: utility — responsive visibility (hide) */
	.ai4seo-hidden-on-mobile {
		display: none;
	}

/* type: module — layout shell */
	.ai4seo-mobile-top-bar {
		display: block;
	}

/* type: content — Dashboard → Overview layout */
	.ai4seo-wrap {
		padding-top: 5rem; /** account for the top bar */
		height: auto;
	}

/* type: module — layout shell */
	div.ai4seo-content-wrapper {
		height: calc(100vh - 8rem);
		max-width: 100%;
		min-width: 0;
		width: 100%;
	}

/* type: module — layout shell */
	.ai4seo-sidebar {
		height: auto;
		left: -300px;
		position: absolute;
		padding-bottom: 1.5rem;
	}

/* type: module — layout shell */
	.ai4seo-sidebar-open {
		left: 42px !important;
		background-color: #fff;
		border-right: 1px solid #ccc;
		box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
		padding-left: 1.5rem;
		margin-top: -0;
		padding-top: 1.5rem;
		border-radius: 0 0 .5rem 0;
	}

/* type: module — navigation link */
	a.ai4seo-menu-item {
		padding: .5rem;
		margin-bottom: .1rem;
		width: 100%;
	}

/* type: module — layout shell */
	.ai4seo-content-wrapper {
		margin-left: 0;
	}
}

/* ========================================================================== */
/*  DASHBOARD & CARDS                                                         */
/* ========================================================================== */

/* type: module — badge */
.ai4seo-subscription-badge {
	color: green;
	font-size: 1.1rem;
	line-height: 2rem;
	margin-top: .5rem;
	margin-bottom: 0.5rem;
	padding: .5rem 1.5rem;
	background-color: whitesmoke;
	border-radius: 3rem;
	display: inline-block;
}

/* type: utility — plan requirement badge */
.ai4seo-plan-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.15rem 0.6rem;
	border-radius: 999px;
	font-size: 0.75rem;
	line-height: 1.2;
	font-weight: 600;
	font-family: inherit;
	border: 1px solid var(--ai4seo-border-light);
	background-color: var(--ai4seo-off-white);
	color: var(--ai4seo-dark-text);
	vertical-align: middle;
	white-space: nowrap;
}

/* type: utility — plan requirement badge icon */
.ai4seo-plan-badge .ai4seo-icon,
.ai4seo-plan-badge-icon {
	width: 0.9rem;
	height: 0.9rem;
	margin-right: 0.35rem;
	flex-shrink: 0;
}

/* type: utility — plan requirement badge (Basic) */
.ai4seo-plan-badge-basic {
	background-color: rgba(229, 134, 0, 0.3);
	border-color: rgba(229, 134, 0, 0.5);
	color: var(--ai4seo-orange-dark);
}

/* type: utility — plan requirement badge (Pro) */
.ai4seo-plan-badge-pro {
	background-color: rgba(150, 150, 150, 0.1);
	border-color: rgba(150, 150, 150, 0.3);
	color: var(--ai4seo-gray-dark);
}

/* type: utility — plan requirement badge (Premium) */
.ai4seo-plan-badge-premium {
	background-color: rgba(251, 250, 1, 0.3);
	border-color: rgba(150, 150, 1, 0.6);
	color: #6a3b00;
}

/* type: module — badge */
.ai4seo-subscription-badge svg {
	width: 1.8rem;
	height: 1.8rem;
	margin-left: -.7rem;
	margin-right: .4rem;
	margin-top: -.2rem;
}

/* type: module — subscription info */
.ai4seo-plan-name {
	font-size: x-large;
	margin-top: 25px;
}

/* type: module — card */
div.ai4seo-cards-container {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: flex-start;
	align-items: flex-start;
	max-width: calc((3 * 512px) + (3 * 4rem) + (2 * 1.5rem));
}

/* type: module — card */
div.ai4seo-card {
	color: black;
	margin: 0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	border: 1px solid #ccc;
	border-radius: .5rem;
	box-sizing: border-box;
	flex: 1 1 100%;
	max-width: calc(512px + 4rem);
	padding: 2rem;
	text-align: left;
	line-height: 1.4rem;
	font-size: 1rem;
	/*max-height: fit-content;*/
}

div.ai4seo-card p {
	font-size: 1rem;
	line-height: 160%;
	margin: 0;
}

/* type: module — card */
div.ai4seo-centered-card {
	flex: 1 1 100%;
	display: flex; /* Enable Flexbox */
	flex-wrap: wrap; /* Allow elements to wrap to the next row */
	justify-content: center; /* Center elements horizontally in their row */
	gap: 0;
}

/* type: module — card */
div.ai4seo-2-rows-card {
	flex: 1 0 calc(66.666% - 1rem); /* Occupy two rows' worth of space */
	max-width: calc(512px + 4rem); /* Ensure it aligns with other cards */
	gap: 0;
}

/* type: module — card */
div.ai4seo-fully-centered-card {
	flex: 1 1 100%;
	display: flex; /* Enable Flexbox */
	flex-wrap: wrap; /* Allow elements to wrap to the next row */
	align-items: center; /* Center elements vertically in their row */
	justify-content: center; /* Center elements horizontally in their row */
}

/* type: module — card */
div.ai4seo-three-column-card {
	max-width: calc((3 * 512px) + (3 * 4rem) + (2 * 1.5rem));
}

@media (max-width: calc((3 * 512px) + (3 * 4rem) + (2 * 1.5rem) + 457px)) {
/* type: module — card */
	div.ai4seo-three-column-card {
		max-width: calc((2 * 512px) + (2 * 4rem) + (1 * 1.5rem));
	}
}

/* type: module — card */
.ai4seo-card h1, .ai4seo-card h2, .ai4seo-card h3, .ai4seo-card h4, .ai4seo-card h5 {
	color: #333;
	text-transform: uppercase;
	font-weight: 600;
}

/* type: module — card */
.ai4seo-card h4 {
	width: 100%;
	text-align: center;
	font-size: .75rem;
	letter-spacing: .12rem;
}

/* type: module — card */
.ai4seo-card div, .ai4seo-card p, .ai4seo-card pre, .ai4seo-card span {
	color: black;
}

/* type: module — card */
.ai4seo-card h1:first-of-type, .ai4seo-card h2:first-of-type, .ai4seo-card h3:first-of-type, .ai4seo-card h4:first-of-type, .ai4seo-card h5:first-of-type {
	margin-top: 0;
}

/* type: content — Dashboard → Status summary card */
div.ai4seo-status-box {
	border: 1px solid #ccc;
	/** gradient background */
	background: #fff;
	border-radius: .5rem;
	padding: 1.5rem;
	margin-top: 1.5rem;
	text-align: center;
}

/* type: content — Dashboard → Highlight banner */
div.ai4seo-status-box h5:first-of-type {
	margin-top: 0;
}

/* type: content — Dashboard → Highlight banner */
div.ai4seo-status-box h5 {
	margin-top: 1rem;
	margin-bottom: .5rem;
	font-weight: bold;
}

/* type: content — Dashboard → Highlight banner */
div.ai4seo-status-box-credits {
	font-size: 3rem;
	line-height: 3rem;
	margin-bottom: 2rem;
}

@media (max-width: calc((2 * 512px) + (2 * 4rem) + (1 * 1.5rem) + 457px)) {
/* type: module — card */
	div.ai4seo-card {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

/* Dashboard */
/* type: module — progress indicator */
.ai4seo-consumption-background, .ai4seo-seo-coverage-progress-bar {
	background-color: white;
	min-height: 10px;
	color: #333;
	padding: 2px;
	border-radius: 4px;
	border: 1px solid #ddd;
}

/* type: module — progress indicator */
.ai4seo-seo-coverage-progress-bar {
	margin-bottom: 5px;
}

/* type: module — progress indicator */
progress.ai4seo-seo-coverage-progress-bar {
	display: block;
	width: 100%;
	height: 16px;
	appearance: none;
	-webkit-appearance: none;
	overflow: hidden;
}

/* type: module — progress indicator */
progress.ai4seo-seo-coverage-progress-bar::-webkit-progress-bar {
	background-color: var(--ai4seo-white);
	border-radius: 3px;
}

/* type: module — progress indicator */
progress.ai4seo-seo-coverage-progress-bar::-webkit-progress-value {
	background-color: var(--ai4seo-green);
	border-radius: 3px;
}

/* type: module — progress indicator */
progress.ai4seo-seo-coverage-progress-bar::-moz-progress-bar {
	background-color: var(--ai4seo-green);
	border-radius: 3px;
}

/* type: module — progress indicator */
.ai4seo-consumption-progress, .ai4seo-seo-coverage-inner-progress-bar {
	background-color: var(--ai4seo-green) !important;
	min-height: 10px;
	color: #fff;
	border-radius: 3px;
	box-sizing: border-box;
	line-height: 100%;
}

/* type: module — progress indicator */
.ai4seo-consumption-progress-orange {
	background-color: var(--ai4seo-orange) !important;
}

/* type: module — progress indicator */
.ai4seo-consumption-progress-red {
	background-color: var(--ai4seo-red) !important;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-credits-container {
	text-align: center;
	width: 100%;
	height: 120px;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-credits-number {
	font-size: 4rem;
	font-weight: bold;
	color: black;
	margin-top: 2rem;
	height: 4rem;
	line-height: 1;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-credits-number svg {
	width: 3rem;
	height: 3rem;
	margin-right: 0.5rem;
	vertical-align: baseline;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-next-free-credits-container {
	margin-top: 1rem;
}

div.ai4seo-next-free-credits-container .ai4seo-credits-usage-badge {
	padding: 4px 8px;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-credits-generation-costs-info {
	width: 100%;
	color: var(--ai4seo-gray);
	text-align: center;
	min-height: 100px;
	display: flex;
	flex-flow: column;
	margin-top: 2rem;
}

div.ai4seo-credits-generation-costs-info .ai4seo-credits-usage-badge {
	font-size: .95rem;
	padding: 2px 10px;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-credits-generation-costs-info h4 {
	margin-bottom: 0;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-credits-generation-costs-info li {
	text-align: center;
	margin-bottom: 1rem;
}

.ai4seo-upscaled-inline-icon {
	display: inline-block;
	transform: scale(1.8);
	transform-origin: right;
	margin-top: -2px;
	margin-right: -2px;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-how-to-get-credits-container {
	width: 100%;
	text-align: center;
	position: relative;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-how-to-get-credits-container h4 {
	cursor: pointer;
	margin-bottom: 0;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-get-more-credits-section:first-of-type {
	margin-top: 2rem;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-get-more-credits-section {
	border-bottom: 1px solid #ddd;
	padding-bottom: 1rem;
	margin-top: 1.5rem;
	min-height: 7rem;
	text-align: left;
	display: flex;
	align-items: stretch; /* Ensures both children have the same height */
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-get-more-credits-section > div.ai4seo-get-more-credits-section-left {
	margin-right: .5rem;
	margin-left: 1rem;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-get-more-credits-section > div.ai4seo-get-more-credits-section-right {
	flex: 1;
}

/* type: content — Dashboard → Overview layout */
.ai4seo-centered-inline-content {
	text-align: center;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-get-more-credits-section:last-child {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-get-more-credits-section-big-number {
	float: left;
	font-size: 5rem !important;
	line-height: 4rem !important;
	padding-bottom: 3rem;
	color: #ccc;
	width: 4.5rem;
	text-align: left;
	font-style: italic;
	min-height: 85px;
	font-weight: bold;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-get-more-credits-section-big-title {
	color: var(--ai4seo-gray);
	font-style: italic;
	font-weight: bold;
	font-size: 1.2rem !important;
	display: block;
	margin-bottom: .5rem;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-latest-activity-container {
	width: 100%;
	display: inline-block;
	position: relative;
	max-height: 360px;
	overflow-y: auto;
	box-sizing: border-box;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-latest-activity-item {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: .8rem .8rem .8rem 0;
	border-bottom: 1px solid #ddd;
	box-sizing: border-box;
}

/* type: module — icon */
div.ai4seo-latest-activity-item-icon {
	width: 6rem;
	max-width: 2.7rem;
}

/* type: module — icon */
div.ai4seo-latest-activity-item-icon i {
	font-size: 2rem;
	margin-top: .3rem;
	color: #888;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-latest-activity-item-text {
	font-size: smaller;
	flex-grow: 1;
	color: #555;
	overflow: hidden;
}

/* type: content — Dashboard → Overview layout */
div.ai4seo-latest-activity-item-costs {
	font-size: smaller;
	color: var(--ai4seo-gray);
	width: 3rem;
	text-align: center;
	margin-left: .5rem;
	margin-top: .5rem;
}

/* type: module — badge */
div.ai4seo-subscription-plan-badge {
	float: left;
	clear: both;
	background-color: white;
	padding: 7px 8px 5px 8px;
	border: 1px solid #ddd;
	border-radius: 10px;
	margin-right: 20px;
	margin-bottom: 15px;
}

/* type: module — badge */
div.ai4seo-subscription-plan-badge > img {
	width: 100px;
	height: 100px;
	border-radius: 5px;
}

/* type: content — Dashboard → Overview layout */
span.ai4seo-credits-renewal-info {
	font-size: small;
	color: darkgreen;
}

/* type: utility — positive number */
.ai4seo-bigger-green-number {
	font-size: x-large;
	color: green !important;
	font-weight: bold;
	position: relative;
	bottom: -3px;
}


/* === CREDITS PACK SELECTION =========================================================================== */

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-selection-container {
	width: 100%;
	display: inline-block;
	position: relative;
	box-sizing: border-box;
	margin-top: 1rem;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-selection-container label.ai4seo-credits-pack-selection-item {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: .7rem 1rem;
	box-sizing: border-box;
	border: 1px solid #ddd;
	margin: .5rem;
	border-radius: .5rem;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	z-index: 3;
	background: #fff;
}

/* type: content — Dashboard → Credits pack selection */
label.ai4seo-credits-pack-selection-item-most-popular {
	z-index: 3;
}

/* type: content — Dashboard → Credits pack selection */
label.ai4seo-credits-pack-selection-item:hover {
	background-color: #f9f9f9;
	border: 1px solid #ccc;
}

/* type: content — Dashboard → Credits pack selection */
label.ai4seo-credits-pack-selection-item-selected {
	background-color: #ffff88 !important;
	border: 1px solid #bb8a01 !important;
}

/* type: content — Dashboard → Credits pack selection */
label.ai4seo-credits-pack-selection-item > div.ai4seo-credits-pack-selection-item-left-side {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: .5rem;
}

/* type: content — Dashboard → Credits pack selection */
label.ai4seo-credits-pack-selection-item > div.ai4seo-credits-pack-selection-item-right-side {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

/* type: content — Dashboard → Credits pack selection: expose the shared keyboard focus treatment on the whole card. */
label.ai4seo-credits-pack-selection-item:has(input[type="radio"]:focus-visible) {
	outline: var(--ai4seo-keyboard-focus-outline);
	outline-offset: var(--ai4seo-keyboard-focus-outline-offset);
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-selection-item-most-popular-label {
	position: relative;
	top: 14px;
	left: 8px;
	background-color: #800080;
	opacity: .7;
	padding: 2px .9rem 8px .9rem;
	color: white;
	font-size: .7rem !important;
	border-radius: .5rem .5rem 0 0;
	font-variant: small-caps;
	line-height: 1.2rem !important;
	z-index: 2;
	margin-top: -13px;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-selection-item-discount-percentage {
	background-color: purple;
	color: white;
	border-radius: 25%;
	padding: .2rem .5rem;
	width: auto;
	display: inline-block;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-selection-item-credits-amount {
	font-size: larger;
	font-weight: bold;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-selection-item-reference-price {
	text-decoration: line-through;
	color: var(--ai4seo-gray);
	width: 85px;
	text-align: right;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-selection-item-price {
	font-size: larger;
	width: 110px;
	text-align: right;
	white-space: nowrap;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-cost-per-entry-container {
	margin-top: 1.5rem;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-credits-pack-cost-per-entry-container h4 {
	margin-bottom: .5rem;
}

/* type: content — Dashboard → Credits pack selection */
.ai4seo-credits-pack-taxes-note {
	float: right;
	margin-top: 10px;
	font-size: smaller;
}

/* type: content — Dashboard → Credits pack selection */
.ai4seo-enterprise-plan-notice {
	margin-top: 30px;
	margin-bottom: 10px;
	padding: 10px;
	border: 2px dashed #ccc;
	border-radius: 10px;
	background-color: #fafafa;
	text-align: center;
	font-size: large;
}

/* type: content — Dashboard → Credits pack selection */
div.ai4seo-pay-as-you-go-summary-container {

}

/* ========================================================================== */
/*  BUTTONS & INTERACTIVE ELEMENTS                                            */
/* ========================================================================== */

/* -- Base Buttons ---------------------------------------------------------- */

/* type: module — button */
.ai4seo-button {
	position: relative !important;
	font-size: 1rem !important;
	line-height: 1.2rem !important;
	cursor: pointer;
	width: fit-content;
	padding: 0.6rem 1.1rem !important;
	border: 1px solid var(--ai4seo-border) !important;
	color: #444 !important;
	border-radius: .3rem !important;
	box-sizing: border-box !important;
	white-space: nowrap !important;
	box-shadow: none !important;
	text-decoration: none !important;
	display: inline-block !important;
	transform-style: unset !important;
	background-color: var(--ai4seo-panel-bg) !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

/* type: module — button */
.ai4seo-button:active {
	transform: none !important;
}

/* type: module — button */
.ai4seo-button svg {
	fill: var(--ai4seo-gray-dark) !important;
	width: auto;
	height: 1rem;
	line-height: 1rem;
	margin-top: -5px;
}

/* type: module — button */
.ai4seo-button > svg.ai4seo-button-icon-left {
	margin-right: .6rem;
}

/* type: module — button */
.ai4seo-small-button > svg.ai4seo-button-icon-left {
	margin-right: .35rem;
}

/* type: module — button */
.ai4seo-button:hover {
	background-color: var(--ai4seo-off-white) !important;
	border-color: var(--ai4seo-border) !important;
	color: var(--ai4seo-dark-text) !important;
	transform-style: unset !important;
}

/* type: module — button */
.ai4seo-submit-button, .ai4seo-primary-button {
	background-color: var(--ai4seo-sooz-ci-blue-input) !important;
	border-color: #0186af !important;
	color: var(--ai4seo-white) !important;
	transform-style: unset !important;
	transition: background-color .15s ease, color .15s ease;
}

.ai4seo-submit-button > span, .ai4seo-primary-button > span {
	color: var(--ai4seo-white) !important;
}

/* type: module - inactive button states shared by primary, submit, and modal save-next actions */
.ai4seo-submit-button.ai4seo-inactive-button,
.ai4seo-primary-button.ai4seo-inactive-button,
.ai4seo-save-button.ai4seo-inactive-button,
.ai4seo-submit-button.ai4seo-start-inactive,
.ai4seo-primary-button.ai4seo-start-inactive,
.ai4seo-save-button.ai4seo-start-inactive,
.ai4seo-submit-button.ai4seo-inactive-button:disabled,
.ai4seo-primary-button.ai4seo-inactive-button:disabled,
.ai4seo-save-button.ai4seo-inactive-button:disabled,
.ai4seo-submit-button.ai4seo-start-inactive:disabled,
.ai4seo-primary-button.ai4seo-start-inactive:disabled,
.ai4seo-save-button.ai4seo-start-inactive:disabled {
	background-color: var(--ai4seo-border) !important;
	background: var(--ai4seo-border) !important;
	box-shadow: none !important;
	transform: none !important;
	color: var(--ai4seo-muted-text) !important;
	cursor: not-allowed !important;
	border-color: var(--ai4seo-border-muted) !important;
	opacity: .7 !important;
	pointer-events: none !important;
}

/* type: module - inactive button label states match the parent disabled styling above */
.ai4seo-submit-button.ai4seo-inactive-button > span,
.ai4seo-primary-button.ai4seo-inactive-button > span,
.ai4seo-save-button.ai4seo-inactive-button > span,
.ai4seo-submit-button.ai4seo-start-inactive > span,
.ai4seo-primary-button.ai4seo-start-inactive > span,
.ai4seo-save-button.ai4seo-start-inactive > span,
.ai4seo-submit-button.ai4seo-inactive-button:disabled > span,
.ai4seo-primary-button.ai4seo-inactive-button:disabled > span,
.ai4seo-save-button.ai4seo-inactive-button:disabled > span,
.ai4seo-submit-button.ai4seo-start-inactive:disabled > span,
.ai4seo-primary-button.ai4seo-start-inactive:disabled > span,
.ai4seo-save-button.ai4seo-start-inactive:disabled > span {
	color: var(--ai4seo-muted-text) !important;
}

/* type: module — button */
.ai4seo-submit-button:hover, .ai4seo-primary-button:hover {
	background-color: var(--ai4seo-sooz-ci-blue-input-light) !important;
	border-color: var(--ai4seo-sooz-ci-blue-input) !important;
	color: var(--ai4seo-white) !important;
	transform-style: unset !important;
}

/* type: module - inactive button interaction states must not visually re-enable dirty-state-gated actions */
.ai4seo-submit-button.ai4seo-inactive-button:hover,
.ai4seo-primary-button.ai4seo-inactive-button:hover,
.ai4seo-save-button.ai4seo-inactive-button:hover,
.ai4seo-submit-button.ai4seo-inactive-button:focus,
.ai4seo-primary-button.ai4seo-inactive-button:focus,
.ai4seo-save-button.ai4seo-inactive-button:focus,
.ai4seo-submit-button.ai4seo-inactive-button:active,
.ai4seo-primary-button.ai4seo-inactive-button:active,
.ai4seo-save-button.ai4seo-inactive-button:active {
	background-color: var(--ai4seo-border) !important;
	border-color: var(--ai4seo-border-muted) !important;
	color: var(--ai4seo-muted-text) !important;
	box-shadow: none !important;
	transform: none !important;
	pointer-events: none !important;
}

/* type: module — button */
.ai4seo-inactive-button {
	background-color: var(--ai4seo-border) !important;
	color: var(--ai4seo-muted-text) !important;
	cursor: not-allowed !important;
	border-color: var(--ai4seo-border-muted) !important;
	opacity: .7 !important;
	pointer-events: none !important;
}

/* type: module — button */
.ai4seo-inactive-button svg {
	fill: var(--ai4seo-muted-text) !important;
}

/* type: module — button */
.ai4seo-inactive-button:hover {
	background-color: var(--ai4seo-border) !important;
	color: var(--ai4seo-muted-text) !important;
	cursor: not-allowed !important;
	border-color: var(--ai4seo-border-muted) !important;
}

/* type: module — button */
.ai4seo-inactive-button:active {
	transform: none !important;
}

/* -- Button Layouts & Wrappers -------------------------------------------- */

/* type: module - button */
.ai4seo-sticky-buttons-bar {
	position: fixed;
	bottom: 0;
	z-index: 1000;
	padding: 30px 0 0 0;
	width: calc(100% - 260px - 160px); /* account for sidebars */
	overflow: hidden;
	left: calc(260px + 160px); /* account for sidebars */
}

.ai4seo-form:has(+ .ai4seo-sticky-buttons-bar) {
	margin-bottom: 2rem;
}

/* type: module - button */
.ai4seo-sticky-buttons-bar .ai4seo-buttons-wrapper {
	background-color: var(--ai4seo-wordpress-bg);
	justify-content: left;
	padding: 1.2rem;
}

/* breakpoint for smaller screens */
@media screen and (max-width: 960px) {
	.ai4seo-sticky-buttons-bar {
		width: 100%;
		left: 0;
	}

	.ai4seo-sticky-buttons-bar .ai4seo-buttons-wrapper {
		justify-content: center !important;
		padding: .9rem 0 .9rem 0 !important;
	}
}

/* breakpoint for smaller screens */
@media screen and (max-width: 782px) {
	.ai4seo-sticky-buttons-bar .ai4seo-buttons-wrapper {
		justify-content: center !important;
		padding: .9rem 0 .7rem 0 !important;
	}
}

.ai4seo_sticky_element_hides_something {
	box-shadow: 0 0 30px rgba(75, 75, 75, 0.5) !important;
	background-color: rgba(240, 240, 241, .95) !important
}

/* type: module — button */
.ai4seo-buttons-wrapper {
	display: flex;
	justify-content: center; /* Centers the content horizontally */
	align-items: center; /* Centers the content vertically */
	gap: 1.5rem;
	clear: both;
	flex-wrap: wrap;
	transition: box-shadow .15s ease, background-color .15s ease;
	box-shadow: none;
}

@media only screen and (min-width: 800px) {
/* type: module — button */
	.ai4seo-big-button {
		font-size: 1.1rem !important;
		padding: .7rem 1.5rem !important;
		line-height: 1.5rem !important;
	}
}

/* type: module — button */
.ai4seo-button.ai4seo-submit-button svg, .ai4seo-button.ai4seo-primary-button svg {
	fill: #ffffff !important;
}

/* type: module — button */
.ai4seo-abort-button, .ai4seo-secondary-button {
	background-color: transparent !important;
	color: var(--ai4seo-gray-dark) !important;
	transform-style: unset !important;
	text-decoration: none !important;
}

/* type: module — button */
.ai4seo-abort-button:hover,
.ai4seo-abort-button:hover > span,
.ai4seo-secondary-button:hover,
.ai4seo-secondary-button:hover > span {
	color: var(--ai4seo-white) !important;
	transform-style: unset !important;
}

/* type: module — button */
.ai4seo-abort-button:hover svg,
.ai4seo-secondary-button:hover svg {
	fill: var(--ai4seo-white) !important;
}

/* type: module — button */
.ai4seo-abort-button:hover {
	background-color: var(--ai4seo-red) !important;
}

/* type: module — button */
.ai4seo-secondary-button:hover {
	background-color: var(--ai4seo-teal) !important;
}

/* type: module — button */
.ai4seo-settings-top-buttons {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
	justify-content: right;
	align-items: center;
}

@media screen and (max-width: 782px) {
	/* type: module — button */
	.ai4seo-settings-top-buttons {
		flex-wrap: wrap;
		justify-content: flex-start;
		max-width: 100%;
		min-width: 0;
		width: 100%;
	}
}

/* type: module - link */
.ai4seo-more-setting-entries summary {
	cursor: pointer;
	color: var(--ai4seo-sooz-ci-blue) !important;
	font-weight: 600;
	text-decoration: underline !important;
}

/* type: module — button */
.ai4seo-button-icon {
	position: relative;
	top: 2px;
	max-height: 1rem;
}

/* type: module — button */
.ai4seo-top-right-refresh-button-wrapper {
	position: absolute;
	top: 2rem;
	right: 2rem;
	z-index: 999;
}

/* type: module — button */
div.ai4seo-get-more-credits-section .ai4seo-button {
	margin-top: 1rem;
}

/* type: module — button */
div.ai4seo-bulk-generation-button-container, div.ai4seo-buy-credits-button-container {
	width: 100%;
	text-align: center;
	margin-top: 1rem;
}

/* type: module — button */
div.ai4seo-bulk-generation-button-container > div.ai4seo-buttons-wrapper, div.ai4seo-buy-credits-button-container > div.ai4seo-buttons-wrapper {
	margin: 0 0 -.5rem 0;
}

/* type: module — button */
div.ai4seo-latest-activity-item-buttons {
	text-align: center;
	white-space: nowrap;
}

/* type: module — button */
div.ai4seo-latest-activity-item-buttons a, div.ai4seo-latest-activity-item-buttons button {
	margin-left: .5rem;
}

/* -- Button Variations ----------------------------------------------------- */

/* type: module — button */
.ai4seo-icon-only-button {
	width: 2.5rem;
	height: 2.5rem;
	padding: 10px !important;
	text-align: center !important;
	line-height: 1rem !important;
}

/* type: module — button */
.ai4seo-icon-only-button:active {
	transform: none !important;
}

/* type: module - button: icon-only SVGs are nudged to sit optically centered inside compact square buttons. */
.ai4seo-icon-only-button svg {
	margin-top: -2px;
	margin-right: -1px !important;
}

/* type: module — button */
.ai4seo-small-button {
	font-size: .8rem !important;
	padding: 4px 10px 5px 10px !important;
	line-height: 100% !important;
	min-height: auto !important;
}

.ai4seo-small-button > span {
	font-size: .8rem !important;
	line-height: 100% !important;
}

/* type: module — button */
.ai4seo-small-button:active {
	transform: none !important;
}

/* type: module — button */
.ai4seo-small-button svg {
	width: 0.8rem;
	height: 0.8rem;
	margin-top: -3px;
}

/* type: content — Settings → Automated generation panel */
.ai4seo-advanced-settings-highlight {
	background-color: var(--ai4seo-warning) !important;
}

/* type: content — Settings → Automated generation panel */
.ai4seo-advanced-settings-highlight:hover {
	background-color: var(--ai4seo-warning) !important;
}

/* -- Contextual Buttons --------------------------------------------------- */

/* type: module — button */
div.ai4seo-credits-pack-selection-container .ai4seo-credits-pack-show-more-options-button {
	margin-top: 1rem;
}

/* type: module — button */
.ai4seo-form-input-wrapper-with-generate-button {
	padding-bottom: 20px;
	position: relative;
}

.ai4seo-editor-workspace .ai4seo-form-input-wrapper-with-generate-button {
	display: flex;
	flex-direction: column;
	padding-bottom: 0;
}

.ai4seo-editor-workspace .ai4seo-form-input-wrapper-with-generate-button .ai4seo-generate-button {
	bottom: auto;
	left: auto;
	margin: .55rem 0 0;
	position: static;
	width: 100% !important;
}

/* type: module — button */
.ai4seo-form-input-wrapper-with-generate-button .ai4seo-generate-button {
	width: 350px !important;
	position: absolute;
	bottom: 0;
	left: 50%;
	margin-left: -175px;
}

@media (max-width: 880px) {
/* type: module — button */
	.ai4seo-form-input-wrapper-with-generate-button .ai4seo-generate-button {
		margin-top: 37px !important;
		width: 100% !important;
		left: 0 !important;
		margin-left: 0 !important;
	}

	.ai4seo-editor-workspace .ai4seo-form-input-wrapper-with-generate-button .ai4seo-generate-button {
		margin-top: .55rem !important;
		width: 100% !important;
		left: auto !important;
	}
}


/* type: module — button */
.ai4seo-generate-button {
	background-color: var(--ai4seo-panel-bg) !important;
	color: var(--ai4seo-dark-text) !important;
	line-height: 2 !important;
	width: 100% !important;
	margin-top: 10px !important;
	position: relative !important;
	cursor: pointer;
	font-size: 1rem !important;
	display: inline-block !important;
	border-radius: 3px !important;
	padding: 5px 15px !important;
}

.ai4seo-show-all-seo-settings-button {
	width: 90% !important;
	margin-left: 5% !important;
}

.ai4seo-generate-button svg.ai4seo-sooz-logo {
	fill: var(--ai4seo-sooz-ci-blue) !important;
}

/* type: module — button */
.ai4seo-generate-button:hover {
	background-color: var(--ai4seo-white) !important;
}

/* type: module — button */
.ai4seo-generate-button-arrow:before {
	content: '';
	display: block;
	position: absolute;
	left: calc(50% - 11px);
	bottom: 100%;
	width: 0;
	height: 0;
	border: 10px solid transparent;
	border-bottom-color: var(--ai4seo-muted-text);
}

/* type: module — button */
.ai4seo-generate-button-arrow:after {
	content: '';
	display: block;
	position: absolute;
	left: calc(50% - 11px);
	top: -16px;
	bottom: 100%;
	width: 0;
	height: 0;
	border: 9px solid transparent;
	border-bottom-color: var(--ai4seo-panel-bg);
}

/* type: module — button */
.ai4seo-generate-button:hover:after {
	border-bottom-color: var(--ai4seo-white) !important;
}

/* type: module — button */
.ai4seo-generate-button > .ai4seo-sooz-logo {
	position: relative;
	height: 1rem;
	max-width: none;
	max-height: none;
	margin: -4px 0.1rem 0 0.15rem;
}

/* type: module — Yoast focus keyphrase action: keep the embedded SOOZ logo on the label line. */
#wpseo-metabox-root #focus-keyword-input-metabox + .ai4seo-generate-button > .ai4seo-sooz-logo {
	display: inline-block !important;
	vertical-align: middle;
}

/* type: module — button */
.ai4seo-generate-all-button-wrapper {
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	vertical-align: middle;
}

/* type: module — AIOSEO Generate All: visually anchors SOOZ controls to AIOSEO's tab header. */
.ai4seo-aioseo-generate-all-button-hook {
	background: #f7f8fa;
	border-bottom: 1px solid #e8e8eb;
}

/* type: module — External Generate All: keeps each structured-editor action compact and readable. */
.ai4seo-aioseo-generate-all-button-hook .ai4seo-generate-all-button,
[id^="seopress-js-module-seo-metabox"] .ai4seo-seopress-generate-all-button-hook .ai4seo-generate-all-button {
	width: 100%;
	min-width: 0;
	max-width: 260px;
}

/* type: module — SEOPress actions: keep the shared action visible above every cached React tab. */
[id^="seopress-js-module-seo-metabox"] .ai4seo-seopress-generate-all-button-hook {
	background: #f7f8fa;
	border-bottom: 1px solid #e2e4e7;
}

/* type: module — SEOPress field actions: separate generated controls from field counters and tags. */
[id^="seopress-js-module-seo-metabox"] input + .ai4seo-generate-button,
[id^="seopress-js-module-seo-metabox"] textarea + .ai4seo-generate-button {
	margin: 8px 0 12px !important;
}

/* type: module — SEO SIMPLE PACK actions: separate SOOZ's editor controls from its metadata fields. */
#ssp_metabox .ssp_metabox.-post > .ai4seo-generate-all-button-wrapper {
	margin: -16px -16px 24px;
	border-bottom: 1px solid #dcdcde;
}

#ssp_metabox .ssp-field__item > .ai4seo-generate-button {
	margin-bottom: 0 !important;
}

/* type: module — AIOSEO field action: separates SOOZ controls from the preceding Quill editor. */
.aioseo-html-tags-editor + .ai4seo-generate-button {
	margin-bottom: 12px !important;
}

/* type: module — button */
.ai4seo-generate-all-button svg {
	display: block;
	margin: 1em auto;
	width: 6rem;
	height: auto;
	fill: var(--ai4seo-sooz-ci-blue) !important;
}

.ai4seo-generate-all-button {
	margin: 10px;
	position: relative;
	vertical-align: middle;
}

.ai4seo-generation-button-credits-usage {
	position: absolute;
	top: 5px;
	right: 7px;
}

.ai4seo-credits-usage-badge {
	background-color: transparent;
	border: 1px solid var(--ai4seo-yellow);
	box-shadow: 1px 1px 1px rgba(100, 100, 0, 0.5) !important;
	color: var(--ai4seo-dark-text);
	padding: 0 8px;
	border-radius: 10px;
	font-size: 0.8rem;
	font-weight: bold;
	white-space: nowrap;
}

/* type: module — important generation action: let the shared primary state override the neutral generation palette. */
.ai4seo-generate-button.ai4seo-primary-button {
	background-color: var(--ai4seo-sooz-ci-blue-input) !important;
	border-color: #0186af !important;
	color: var(--ai4seo-white) !important;
}

.ai4seo-generate-button.ai4seo-primary-button:hover,
.ai4seo-generate-all-button.ai4seo-primary-button:hover {
	background-color: var(--ai4seo-sooz-ci-blue-input-dark) !important;
	border-color: var(--ai4seo-sooz-ci-blue-input) !important;
	color: var(--ai4seo-white) !important;
}

/* Keep both generation-control logos legible over the primary background, including explicit path fills. */
.ai4seo-generate-button.ai4seo-primary-button svg.ai4seo-sooz-logo,
.ai4seo-generate-all-button.ai4seo-primary-button svg.ai4seo-sooz-logo {
	fill: var(--ai4seo-white) !important;
}

.ai4seo-generate-button.ai4seo-primary-button svg.ai4seo-sooz-logo path,
.ai4seo-generate-all-button.ai4seo-primary-button svg.ai4seo-sooz-logo path {
	fill: var(--ai4seo-white) !important;
}

/* Preserve credit-badge contrast after the later neutral generation badge rules. */
.ai4seo-generate-button.ai4seo-primary-button > .ai4seo-generation-button-credits-usage,
.ai4seo-generate-all-button.ai4seo-primary-button > .ai4seo-generation-button-credits-usage {
	color: var(--ai4seo-white) !important;
}

/* Match the individual button arrow layers to the primary border and normal/hover backgrounds. */
.ai4seo-generate-button-arrow.ai4seo-primary-button:before {
	border-bottom-color: #0186af !important;
}

.ai4seo-generate-button-arrow.ai4seo-primary-button:after {
	border-bottom-color: var(--ai4seo-sooz-ci-blue-input) !important;
}

.ai4seo-generate-button-arrow.ai4seo-primary-button:hover:after {
	border-bottom-color: var(--ai4seo-sooz-ci-blue-input-dark) !important;
}

/* type: module — Squirrly compatibility: retain SOOZ credit-badge typography. */
.sq_blocksnippet .ai4seo-generation-button-credits-usage.ai4seo-credits-usage-badge {
	font-size: .8rem !important;
	line-height: 1.2rem !important;
}

@media only screen and (min-width: 800px) {
	.sq_blocksnippet .ai4seo-big-button .ai4seo-generation-button-credits-usage.ai4seo-credits-usage-badge {
		line-height: 1.5rem !important;
	}
}

.ai4seo-online-status-badge {
	background-color: transparent;
	border: 1px solid var(--ai4seo-green);
	box-shadow: 1px 1px 1px rgba(100, 100, 0, 0.5) !important;
	color: var(--ai4seo-dark-text);
	padding: 0 8px 0 28px;
	border-radius: 10px;
	font-size: 0.8rem;
	font-weight: bold;
	white-space: nowrap;
	position: relative;
	display: inline-block;
}

.ai4seo-online-status-badge .ai4seo-online-status-icon {
	position: absolute;
	left: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background-color: var(--ai4seo-green);
}

/* type: module — button */
.ai4seo-voucher-code-wrapper .ai4seo-copy-voucher-code-button {
	position: absolute;
	right: -7px;
	top: -2px;
	border: none !important;
	box-shadow: none !important;
	line-height: 1rem;
	border-radius: 0 10px 10px 0;
}

/* type: module — button */
.ai4seo-voucher-code-wrapper .ai4seo-copy-voucher-code-button:hover {
	background-color: #0a0 !important;
	border-color: #0a0 !important;
	color: white !important;
}

/* type: module — button */
.ai4seo-voucher-code-wrapper .ai4seo-copy-voucher-code-button svg {
	fill: #050 !important;
}


/* ========================================================================== */
/*  MODALS & NOTIFICATIONS                                                    */
/* ========================================================================== */

.ai4seo-success-message,
/* type: content — Global UI → Modals and notifications */
.ai4seo-green-message {
	color: var(--ai4seo-dark-green) !important;
}

.ai4seo-error-message,
/* type: content — Global UI → Modals and notifications */
.ai4seo-red-message {
	color: var(--ai4seo-red) !important;
}

/* type: content — Global UI → Modals and notifications */
.ai4seo-blue-message {
	color: var(--ai4seo-blue) !important;
}

/* type: content — Global UI → Modals and notifications */
.ai4seo-yellow-message-inline-offset {
	margin-top: 10px;
}

/* type: content — Global UI → Modals and notifications */
.ai4seo-orange-message {
	color: var(--ai4seo-orange) !important;
}

/* type: content — Global UI → Modals and notifications */
.ai4seo-gray-message {
	color: var(--ai4seo-gray) !important;
}

/* type: content — Editor field source hints */
.ai4seo-editor-field-source-message,
.ai4seo-editor-field-warning-message,
.ai4seo-editor-length-feedback {
	display: block;
	font-weight: 400;
	line-height: 1.35;
}

/* type: utility — editor field visibility: keep the shared display utility from being overridden above. */
.ai4seo-editor-field-source-message.ai4seo-display-none,
.ai4seo-editor-field-warning-message.ai4seo-display-none {
	display: none;
}

/* type: content — Editor field source hints */
.ai4seo-editor-field-source-message {
	margin-top: 4px;
}

/* type: content — Editor field follow-up warning */
.ai4seo-editor-field-warning-message {
	margin-top: 6px;
}

/* type: content — Metadata Editor → Length target feedback */
.ai4seo-editor-length-feedback {
	margin-top: 4px;
	font-variant-numeric: tabular-nums;
}

/* type: state — Metadata Editor → Length target feedback */
.ai4seo-editor-length-feedback-outside-target {
	color: var(--ai4seo-orange);
}

/* type: module — badge */
.ai4seo-bubble,
/* type: utility — badge color modifier */
.ai4seo-green-bubble,
/* type: utility — badge color modifier */
.ai4seo-red-bubble,
/* type: utility — badge color modifier */
.ai4seo-blue-bubble,
/* type: utility — badge color modifier */
.ai4seo-yellow-bubble {
	padding: 1px 8px;
	margin: 0 2px;
	border-radius: .5rem;
	display: inline-block;
	font-weight: bold;
	height: auto;
}

/* type: module — badge */
.ai4seo-bubble {
	background-color: var(--ai4seo-border-light);
	color: var(--ai4seo-dark-text);
}

/* type: module — button */
.ai4seo-notice .ai4seo-buttons-wrapper {
	justify-content: flex-start; /* Aligns buttons to the right */
	margin-top: 1.5rem !important;
	margin-bottom: .4rem !important;
}

/* Modals */
/* type: module — modal */
.ai4seo-modal-wrapper {
	position: fixed;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0,0,0,0.8);
	z-index: 160005;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* type: module — modal */
.ai4seo-modal-schemas-container {
	display: none !important;
}

/* type: module — modal */
.ai4seo-modal {
	position: absolute;
	max-width: calc(100vw - 4rem);
	max-height: calc(100vh - 6rem);
	top: 3rem; /* is adjusted in some cases via javascript */
	background-color: #ffffff;
	padding: 2rem;
	box-sizing: border-box;
	-webkit-border-radius: .5rem;
	border-radius: .5rem;
	color: black;
	overflow: auto;
}

/* type: module — modal */
.ai4seo-notification-modal {
	text-align: center;
	font-size: larger;
}

/* type: module — modal */
.ai4seo-modal .ai4seo-modal-headline {
	margin-top: 0;
	font-size: 1.6rem;
	margin-bottom: 1.5rem;
	line-height: 150%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* type: module — icon */
.ai4seo-modal .ai4seo-modal-headline .ai4seo-modal-headline-icon {
	display: inline-block;
	padding: 0;
	margin: 0 .3rem 0 0;
}

/* type: module — icon */
.ai4seo-modal .ai4seo-modal-headline .ai4seo-modal-headline-icon img {
	height: 1.6rem;
	margin-right: .5rem;
	margin-bottom: -2px;
}

/* type: module — modal */
.ai4seo-modal .ai4seo-modal-sub-headline {
	font-size: 1.2rem;
	margin-top: -1rem;
	margin-bottom: 2rem;
	line-height: 150%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* type: content - Metadata Editor - Entry context */
.ai4seo-modal .ai4seo-metadata-editor-entry-context {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .75rem 1rem;
	margin-top: -1rem;
	margin-bottom: 2rem;
}

/* type: content - Metadata Editor - Entry context */
.ai4seo-modal .ai4seo-metadata-editor-entry-context .ai4seo-modal-sub-headline {
	margin: 0;
}

/* type: content - Metadata Editor - Header actions */
.ai4seo-metadata-editor-header-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .5rem;
}

/* type: content - Metadata Editor - Header actions */
.ai4seo-metadata-editor-header-actions .ai4seo-button {
	padding: .45rem .75rem !important;
	font-size: .95rem !important;
	line-height: 1rem !important;
}

/* type: content - Metadata Editor - Header actions */
.ai4seo-metadata-editor-header-actions .ai4seo-button svg {
	height: .95rem;
	margin-top: -3px;
}

/* type: content — Metadata Editor → Prefix and suffix hints */
.ai4seo-editor-prefix {
	float: left;
}

/* type: content — Metadata Editor → Prefix and suffix hints */
.ai4seo-editor-suffix {
	position: absolute;
	left: 0;
	margin-top: 5px;
}

/* type: content — Settings import modal */
.ai4seo-import-file-label {
	margin-bottom: 10px;
	font-weight: bold;
}

/* type: content — Settings import preview */
.ai4seo-import-settings-preview-heading {
	margin-top: 3rem;
}

/* type: content — Settings import preview */
.ai4seo-import-settings-invalid-item {
	color: var(--ai4seo-red);
	text-decoration: line-through;
}

/* type: content — Settings import preview */
.ai4seo-import-settings-current-value {
	color: var(--ai4seo-gray);
	text-decoration: line-through;
}

/* type: content - Editor custom instructions */
.ai4seo-editor-custom-instructions-form-item {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* type: content - Bulk custom instructions modal - warning copy before shared editor field */
.ai4seo-bulk-custom-instructions-warning {
	margin: .75rem 0 2rem 0;
}

/* type: content - Bulk custom instructions modal - keep warning paragraphs compact without notice-box styling */
.ai4seo-bulk-custom-instructions-warning p {
	margin: 0 0 .75rem 0;
}

/* type: content - Bulk custom instructions modal - remove trailing paragraph gap before the shared field wrapper */
.ai4seo-bulk-custom-instructions-warning p:last-child {
	margin-bottom: 0;
}

/* type: content - Bulk custom instructions modal - align shared custom-instructions field with modal copy */
.ai4seo-bulk-custom-instructions-form-item {
	padding-left: 0;
	padding-right: 0;
}

/* type: content - Bulk custom instructions confirmation - show the exact pending instructions safely in the stacked modal */
.ai4seo-bulk-custom-instructions-confirmation-preview {
	background: var(--ai4seo-panel-bg);
	border: 1px solid var(--ai4seo-border-light);
	border-radius: 5px;
	margin-top: 1rem;
	max-height: 220px;
	overflow: auto;
	padding: .75rem;
	text-align: left;
	white-space: pre-wrap;
	word-break: break-word;
}

@media (max-width: 600px) {
	/* type: content - Metadata Editor - Entry context */
	.ai4seo-modal .ai4seo-metadata-editor-entry-context {
		justify-content: center;
		text-align: center;
	}

	/* type: content - Metadata Editor - Header actions */
	.ai4seo-metadata-editor-header-actions {
		justify-content: center;
		width: 100%;
	}
}

/* type: module - icon */
.ai4seo-modal .ai4seo-modal-close-icon {
	position: absolute;
	top: 1rem;
	right: .7rem;
	cursor: pointer;
	padding: .5rem;
	border: 0;
	background: transparent;
	line-height: 1;
}

/* type: module — modal */
.ai4seo-modal .ai4seo-modal-content {
	font-size: 1rem;
	line-height: 160%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ai4seo-modal-content:has(+ .ai4seo-modal-footer) {
	/*margin-bottom: 1rem;*/
}

/* type: module — modal */
.ai4seo-modal-content p, .ai4seo-modal-content span, .ai4seo-modal-content li, .ai4seo-modal-content div, .ai4seo-modal-content td {
	font-size: 1rem;
	line-height: 160%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* type: module — modal */
.ai4seo-modal-content .ai4seo-sub-info {
	font-size: smaller;
}

/* type: module — modal */
.ai4seo-modal-content .ai4seo-editor-field-source-message,
.ai4seo-modal-content .ai4seo-editor-field-warning-message,
.ai4seo-modal-content .ai4seo-editor-length-feedback {
	line-height: 1.35;
}

@media (max-width: 600px) {
/* type: module — icon */
	.ai4seo-modal-close-icon {
		top: 0.5rem;
		right: 0.5rem;
	}
}

/* type: module — icon */
.ai4seo-modal .ai4seo-modal-close-icon svg {
	width: 1.5rem;
	height: 1.5rem;
	fill: #808080;
}

/* type: module — icon */
.ai4seo-modal .ai4seo-modal-close-icon:hover svg {
	fill: #ff3030;
}

/* type: module — icon */
.ai4seo-modal .ai4seo-ajax-modal-loading-icon {
	text-align: center;
	margin: 100px;
}

/* type: module — icon */
.ai4seo-modal .ai4seo-ajax-modal-loading-icon svg {
	width: 3rem;
	height: 3rem;
}

/* type: module — modal */
.ai4seo-modal .ai4seo-modal-footer {
	position: sticky;
	bottom: -2rem;
	margin: 0 -2rem -2rem -2rem;
	z-index: 1;
	padding: 1.6rem;
	background-color: #ffffff;
}

/* type: module — button */
.ai4seo-modal .ai4seo-buttons-wrapper {
}

/* type: module — modal */
.ai4seo-modal-small-size {
	min-width: 550px;
	width: 25vw;
	left: calc(50% - 12.5vw);
	padding: 2rem;
}

.ai4seo-modal-small-size .ai4seo-modal-footer {
	bottom: -2rem;
	margin: 0 -2rem -2rem -2rem;
}

/* type: module — modal */
.ai4seo-modal-medium-size {
	min-width: 1100px;
	width: 50vw;
	left: calc(50% - 25vw);
	padding: 3rem;
}

.ai4seo-modal-medium-size .ai4seo-modal-footer {
	bottom: -3rem;
	margin: 0 -3rem -3rem -3rem;
}

/* type: module — modal */
.ai4seo-modal-large-size {
	min-width: 2100px;
	width: 75vw;
	left: calc(50% - 37.5vw);
	padding: 4rem;
}

.ai4seo-modal-large-size .ai4seo-modal-footer {
	bottom: -4rem;
	margin: 0 -4rem -4rem -4rem;
}

/* type: module — modal */
.ai4seo-modal-auto-size {
	width: auto;
	margin: 0 auto;
	padding: 3rem;
}

.ai4seo-modal-auto-size .ai4seo-modal-footer {
	bottom: -4rem;
	margin: 0 -4rem -4rem -4rem;
}

/* Media queries for modal */
@media screen and (max-width: 2480px) {
/* type: module — modal */
	.ai4seo-modal-small-size {
		width: 30vw;
		left: calc(50% - 15vw);
	}

	/* type: module — modal */
	.ai4seo-modal-medium-size {
		width: 65vw;
		left: calc(50% - 32.5vw);
		padding: 2.5rem;
	}

	.ai4seo-modal-medium-size .ai4seo-modal-footer {
		bottom: -2.5rem;
		margin: 0 -2.5rem -2.5rem -2.5rem;
	}

	/* type: module — modal */
	.ai4seo-modal-large-size {
		min-width: auto;
		width: 85vw;
		left: calc(50% - 42.5vw);
		padding: 3.5rem;
	}

	.ai4seo-modal-large-size .ai4seo-modal-footer {
		bottom: -3.5rem;
		margin: 0 -3.5rem -3.5rem -3.5rem;
	}

/* type: module — modal */
	.ai4seo-modal-auto-size {
		padding: 2.5rem;
	}

	.ai4seo-modal-auto-size .ai4seo-modal-footer {
		bottom: -2.5rem;
		margin: 0 -2.5rem -2.5rem -2.5rem;
	}
}

/* Media queries for modal */
@media screen and (max-width: 1880px) {
/* type: module — modal */
	.ai4seo-modal-small-size {
		width: 35vw;
		left: calc(50% - 17.5vw);
	}

/* type: module — modal */
	.ai4seo-modal-medium-size {
		width: 75vw;
		left: calc(50% - 37.5vw);
		padding: 2rem;
	}

	.ai4seo-modal-medium-size .ai4seo-modal-footer {
		bottom: -2rem;
		margin: 0 -2rem -2rem -2rem;
	}

/* type: module — modal */
	.ai4seo-modal-auto-size {
		padding: 2rem;
	}

	.ai4seo-modal-auto-size .ai4seo-modal-footer {
		bottom: -2rem;
		margin: 0 -2rem -2rem -2rem;
	}
}

/* Media queries for modal */
@media screen and (max-width: 1480px) {
/* type: module — modal */
	.ai4seo-modal-small-size {
		width: 45vw;
		left: calc(50% - 22.5vw);
	}

/* type: module — modal */
	.ai4seo-modal-medium-size {
		min-width: auto;
		width: 85vw;
		left: calc(50% - 42.5vw);
	}

/* type: module — modal */
	.ai4seo-modal-large-size {
		width: 85vw;
		left: calc(50% - 42.5vw);
		padding: 3rem;
	}

	.ai4seo-modal-large-size .ai4seo-modal-footer {
		bottom: -3rem;
		margin: 0 -3rem -3rem -3rem;
	}
}

@media screen and (max-width: 1180px) {
	/* type: module — modal */
	.ai4seo-modal-small-size {
		width: 55vw;
		left: calc(50% - 27.5vw);
	}

	/* type: module — modal */
	.ai4seo-modal-large-size {
		padding: 2.5rem;
	}

	.ai4seo-modal-large-size .ai4seo-modal-footer {
		bottom: -2.5rem;
		margin: 0 -2.5rem -2.5rem -2.5rem;
	}
}

@media screen and (max-width: 880px) {
/* type: module — modal */
	.ai4seo-modal-small-size {
		width: 60vw;
		left: calc(50% - 30vw);
	}

/* type: module — modal */
	.ai4seo-modal-large-size {
		padding: 2rem;
	}

	.ai4seo-modal-large-size .ai4seo-modal-footer {
		bottom: -2rem;
		margin: 0 -2rem -2rem -2rem;
	}
}

@media screen and (max-width: 782px) {
	/* type: module — modal */
	.ai4seo-modal-small-size {
		width: 90vw;
		left: calc(50% - 45vw);
		padding: 1.5rem;
	}

	.ai4seo-modal-small-size .ai4seo-modal-footer {
		bottom: -1.5rem;
		margin: 0 -1.5rem -1.5rem -1.5rem;
	}

	/* type: module — modal */
	.ai4seo-modal-medium-size {
		padding: 1.5rem;
	}

	.ai4seo-modal-medium-size .ai4seo-modal-footer {
		bottom: -1.5rem;
		margin: 0 -1.5rem -1.5rem -1.5rem;
	}

	/* type: module — modal */
	.ai4seo-modal-large-size {
		padding: 1.5rem;
	}

	.ai4seo-modal-large-size .ai4seo-modal-footer {
		bottom: -1.5rem;
		margin: 0 -1.5rem -1.5rem -1.5rem;
	}

	/* type: module — modal */
	.ai4seo-modal-auto-size {
		padding: 1.5rem;
	}

	.ai4seo-modal-auto-size .ai4seo-modal-footer {
		bottom: -1.5rem;
		margin: 0 -1.5rem -1.5rem -1.5rem;
	}
}

@media screen and (max-width: 600px) {
	/* type: module — modal */
	.ai4seo-modal-small-size {
		min-width: auto;
		width: 95vw;
		left: calc(50% - 47.5vw);
	}

	/* type: module — modal */
	.ai4seo-modal-medium-size {
		padding: 1rem;
	}

	.ai4seo-modal-medium-size .ai4seo-modal-footer {
		bottom: -1rem;
		margin: 0 -1rem -1rem -1rem;
	}

	/* type: module — modal */
	.ai4seo-modal-large-size {
		padding: 1rem;
	}

	.ai4seo-modal-large-size .ai4seo-modal-footer {
		bottom: -1rem;
		margin: 0 -1rem -1rem -1rem;
	}

	/* type: module — modal */
	.ai4seo-modal-auto-size {
		padding: 1rem;
	}

	.ai4seo-modal-auto-size .ai4seo-modal-footer {
		bottom: -1rem;
		margin: 0 -1rem -1rem -1rem;
	}
}

/* type: module — modal */
body.ai4seo-has-open-modal {
	overflow: hidden;
}

/* type: content — Global UI → Modal responsiveness */
.ai4seo-seo-data-not-covered-message {
	color: var(--ai4seo-red);
}

/* type: module — icon */
.ai4seo-card img.ai4seo-message-icon {
	float: left;
	margin: 5px 10px 5px -10px;
}

/* Notices */

/* type: module — notice */
div.ai4seo-notice {
	font-size: 1rem;
	line-height: 1.5rem;
	padding: .5rem 1rem;
	padding-left: 45px !important;
	position: relative !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	border-radius: .5rem;
	width: 100%;
	max-width: calc((3 * 512px) + (3 * 4rem) + (2 * 1.5rem));
	box-sizing: border-box;
	margin-bottom: 1.5rem !important;
}

/* type: module — image-only notice */
div.ai4seo-notice.ai4seo-image-only-notification {
	background: transparent;
	border: 0;
	box-shadow: 0 0 15px 3px rgba(0, 0, 0, .3);
	overflow: hidden;
	padding: 0 !important;
}

/* type: module — notification image */
div.ai4seo-notice > .ai4seo-notification-image {
	border-radius: 5px;
	display: block;
	height: auto;
	width: 100%;
}

/* type: module — card */
div.ai4seo-cards-container > div.ai4seo-notice {
	margin: 0 !important;
}

/* type: module — notice */
div.ai4seo-notice li {
	list-style-type: disc;
	padding-left: .5rem;
	position: relative;
	color: #333;
	margin-left: 1rem;
	font-size: smaller;
}

@media (max-width: calc((3 * 512px) + (3 * 4rem) + (2 * 1.5rem) + 457px)) {
/* type: module — notice */
	div.ai4seo-notice {
		max-width: calc((2 * 512px) + (2 * 4rem) + (1 * 1.5rem));
	}
}

/* type: module — icon */
.ai4seo-notice .ai4seo-sooz-logo {
	position: absolute;
	left: 11px;
	top: 10px;
	width: 24px;
	height: 24px;
}

/* type: module - collapsible */
.ai4seo-collapsible {
	font-size: inherit;
	line-height: inherit;
}

/* type: module - collapsible */
.ai4seo-collapsible-summary {
	align-items: center;
	color: var(--ai4seo-blue);
	cursor: pointer;
	display: inline-flex;
	gap: .35rem;
	font-weight: 600;
	list-style: none;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/* type: module - collapsible */
.ai4seo-collapsible-summary::-webkit-details-marker {
	display: none;
}

/* type: module - collapsible */
.ai4seo-collapsible-summary::after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	content: "";
	display: inline-block;
	height: 0;
	transform: translateY(2px);
	transition: transform .15s ease;
	width: 0;
}

/* type: module - collapsible */
.ai4seo-collapsible[open] > .ai4seo-collapsible-summary::after {
	transform: rotate(180deg) translateY(2px);
}

/* type: module - collapsible */
.ai4seo-collapsible-summary:hover,
.ai4seo-collapsible-summary:focus {
	color: var(--ai4seo-blue-dark, #135e96);
	text-decoration-thickness: 2px;
}

/* type: module - collapsible */
.ai4seo-collapsible-content {
	margin-top: .5rem;
}

/* type: module - notice */
.ai4seo-notice-technical-details {
	margin-top: .75rem;
	font-size: .875rem;
	line-height: 1.35rem;
}

/* type: module - notice */
.ai4seo-notice-technical-details-list {
	margin: 0;
	padding-left: 1rem;
}

/* type: module - notice */
.ai4seo-notice-technical-details-list code {
	white-space: normal;
	word-break: break-word;
}

/* type: content — Global UI → Notices */
div.ai4seo-discount-available-message {
	position: relative;
	padding-left: 33px;
	margin: 10px;
	white-space: normal;
}

/* Container styling */
/* type: module — modal */
.ai4seo-bulk-generation-modal-checkboxes-container {
	display: flex;
	flex-direction: column; /* Align items vertically */
	gap: 8px; /* Add spacing between items */
	padding: .5rem;
	border: 1px solid #ddd;
	border-radius: 5px;
	background-color: #f9f9f9;
	position: relative;
}

/* Individual checkbox container styling */
/* type: module — modal */
.ai4seo-bulk-generation-modal-checkbox-container {
	display: flex;
	align-items: center; /* Center icon and text vertically */
	gap: 5px; /* Space between icon, checkbox, and label */
	padding: .5rem;
	border: 1px solid transparent;
	border-radius: 5px;
	transition: background-color 0.3s ease;
	cursor: pointer;
}

/* Hover effect */
/* type: module — modal */
.ai4seo-bulk-generation-modal-checkbox-container:hover {
	background-color: #e6f7ff;
	border: 1px solid #ddd;
}

/* Icon styling */
/* type: module — modal */
.ai4seo-bulk-generation-modal-checkbox-container i {
	font-size: 2rem !important;
	color: #555 !important; /* Adjust color to fit your theme */
	margin-top: -15px !important;
	margin-right: 20px !important;
}

/* Checkbox styling */
/* type: module — form control */
.ai4seo-bulk-generation-modal-checkbox-container input[type="checkbox"] {
	cursor: pointer;
}

/* Label styling */
/* type: module — modal */
.ai4seo-bulk-generation-modal-checkbox-container label {
	font-size: 16px;
	color: #333;
	width: 100%;
	text-align: left;
}

/* ai4seo-feedback-notice */
/* type: module — notice */
div.ai4seo-money-back-guarantee-notice {
}

/* type: module — notice */
div.ai4seo-money-back-guarantee-notice > div.ai4seo-andre-erbis-portrait {
	float: left;
	margin-right: 15px;
	margin-bottom: 85px;
}

/* type: module — notice */
div.ai4seo-money-back-guarantee-notice > div.ai4seo-andre-erbis-portrait > img {
	width: 100px;
	border-radius: 100%;
}

/* type: module — notice */
div.ai4seo-money-back-guarantee-notice > div.ai4seo-money-back-guarantee-headline {
	font-weight: bold;
	margin-bottom: 10px;
}

/* type: module — notice */
div.ai4seo-money-back-guarantee-notice > div.ai4seo-money-back-guarantee-quote {
	margin-bottom: 10px;
	font-style: italic;
	font-size: smaller;
}

/* type: module — notice */
div.ai4seo-money-back-guarantee-notice > div.ai4seo-money-back-guarantee-signature {
	font-size: smaller;
}

/* type: module — notice */
div.ai4seo-money-back-guarantee-notice > div.ai4seo-money-back-guarantee-signature > img {
	width: 100px;
}

/* type: module — badge */
.ai4seo-recent-plugin-updates-title > .ai4seo-bubble, .ai4seo-recent-plugin-updates-title > .ai4seo-blue-bubble {
	margin-right: .5rem;
}

@media screen and (max-width: 782px) {
	/* AI4SEO Table-Title-Button */
/* type: module — button */
	.ai4seo-table-title-button {
		float: none !important;
	}

	/* AI4SEO Not covered message */
/* type: content — Dashboard → Coverage table empty state */
	.ai4seo-seo-data-not-covered-message span {
		display: block;
		color: var(--ai4seo-red);
		text-decoration: none;
	}

}

/* type: module — icon */
.ai4seo-icon-with-tooltip {
	display: inline-block;
	color: #fff;
	text-align: center;
	cursor: pointer;
	font-weight: bold;
	line-height: 18px;
	margin-left: 5px;
	position: relative;
}

/* type: module — tooltip: native triggers preserve the established icon and text presentation. */
.ai4seo-tooltip-trigger {
	-webkit-appearance: none;
	appearance: none;
	display: inline;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	cursor: inherit;
	font: inherit;
	line-height: inherit;
	text-align: inherit;
	text-decoration: inherit;
	vertical-align: inherit;
}

/* type: module — tooltip: suppress WordPress' mouse-focus shadow before the keyboard-only state below applies. */
.ai4seo-tooltip-trigger:focus {
	box-shadow: none;
	outline: none;
}

/* type: module — tooltip: the only added visual appears for keyboard focus. */
.ai4seo-tooltip-trigger:focus-visible {
	border-radius: 2px;
	outline: var(--ai4seo-keyboard-focus-outline);
	outline-offset: var(--ai4seo-keyboard-focus-outline-offset);
}

/* type: module — icon */
.ai4seo-icon-with-tooltip svg {
	fill: var(--ai4seo-gray);
	width: 15px !important;
	height: 15px !important;
	margin-top: -12px !important;
}

/* type: module — tooltip */
.ai4seo-tooltip {
	display: none;
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	background-color: #333;
	color: #fff !important;
	padding: 20px;
	border-radius: 4px;
	z-index: 160010;
	margin-bottom: 10px;
	font-weight: normal !important;
	max-width: min(750px, calc(100vw - 40px));
	min-width: min(450px, calc(100vw - 40px));
	cursor: text;
	line-height: 150%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: .8rem;
	white-space: normal;
}

/* type: module — tooltip anchor for text-only triggers inserted through AJAX. */
.ai4seo-tooltip-holder {
	display: inline-block;
	position: relative;
}

/* type: module — workspace tooltip overlay escapes card and modal scroll clipping. */
.ai4seo-tooltip.ai4seo-tooltip-portal {
	box-sizing: border-box;
	margin: 0;
	max-width: min(46.875rem, calc(100vw - 2rem));
	min-width: min(28.125rem, calc(100vw - 2rem));
	overscroll-behavior: contain;
	position: fixed;
	z-index: 160100;
}

/* type: module — the holder arrow is not meaningful after viewport-level positioning and can create false overflow. */
.ai4seo-tooltip.ai4seo-tooltip-portal::after {
	display: none;
}

/* type: module — long custom-instructions guidance remains readable without filling the screen. */
.ai4seo-tooltip.ai4seo-tooltip-portal-custom-instructions {
	max-width: min(34rem, calc(100vw - 2rem));
	min-width: min(22rem, calc(100vw - 2rem));
	padding: 1rem;
	text-align: left;
}

/* type: module — tooltip */
.ai4seo-tooltip::after {
	content: '';
	position: absolute;
	border-width: 5px;
	border-style: solid;
	border-color: #333 transparent transparent transparent;
	left: 50%;
	transform: translateX(-50%);
}

/* type: module — tooltip */
.ai4seo-tooltip.show-above::after {
	top: auto;
	bottom: 100%;
	transform: translateX(-50%);
}

/* type: module — tooltip */
.ai4seo-tooltip.show-below::after {
	top: 100%;
	bottom: auto;
	transform: translateX(-50%);
}

/* type: module — form layout */
.ai4seo-modal-content .ai4seo-form-section > h2 i {
	margin-top: 0;
}

/* type: module — form layout */
@media (max-width: 960px) {
	.ai4seo-modal-content .ai4seo-form-item {
		flex-direction: column;
	}

	/* type: module — form layout */
	.ai4seo-modal-content .ai4seo-form-item > label,
	.ai4seo-modal-content .ai4seo-form-item > .ai4seo-form-item-label {
		width: 100%;
		margin-right: 0;
	}

	/* type: module — form layout */
	.ai4seo-modal-content .ai4seo-form-item-input-wrapper {
		width: 100%;
	}
}

/* type: module — form layout */
.ai4seo-modal-content .ai4seo-form-item-description {
	margin-top: 20px;
}

/* type: module — form layout */
.ai4seo-modal-content .ai4seo-form-section {
	width: 100%;
	max-width: 100%;
}

/* type: module — notice */
.ai4seo-help-search-notice {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-left-color: #d63638;
	border-left-width: 4px;
	box-shadow: 0 1px 1px rgba(0,0,0,.04);
	margin: 1em 0;
	padding: 1px 12px;
	width: 100%;
	max-width: 520px;
	box-sizing: border-box;
}

/* type: module - help module */
.ai4seo-help-debug-log-buttons {
	justify-content: flex-start;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

/* type: module — modal */
.ai4seo-tos-modal .ai4seo-tos-box {
	max-width: 500px;
	max-height: calc(100vh - 605px);
	min-height: 170px;
	overflow: auto;
	text-align: left;
	padding: 20px 30px;
	margin: 20px;
	border: 1px solid #ccc;
	border-radius: 5px;
	background-color: #eee;
	font-family: Roboto, Open Sans, sans-serif;
}

@media (max-width: 600px) {
/* type: module — modal */
	.ai4seo-tos-modal {
		padding: 20px;
	}

/* type: module — modal */
	.ai4seo-tos-modal .ai4seo-tos-box {
		padding: 10px;
		font-size: 12px;
		margin: 10px 0;
	}

/* type: module — tos layout */
	div.ai4seo-tos-box h2 {
		font-size: 16px !important;
	}

/* type: module — modal */
	.ai4seo-tos-modal .ai4seo-tos-checkboxes-wrapper {
		margin: 20px 0 0 0 !important;
	}
}

@media (min-width: 1800px) {
/* type: module — modal */
	.ai4seo-tos-modal {
		max-width: 40vw;
		left: calc(50% - 20vw);
	}
}

@media (min-width: 2200px) {
/* type: module — modal */
	.ai4seo-tos-modal {
		max-width: 30vw;
		left: calc(50% - 15vw);
	}
}

/* type: module — modal */
.ai4seo-tos-modal .ai4seo-tos-checkboxes-wrapper {
	max-width: 500px;
	margin: 30px 20px 0 20px;
	text-align: left;
}

/* type: module — icon */
.ai4seo-tos-checkbox .ai4seo-icon-with-tooltip {
	position: absolute;
	top: 30px;
	left: -4px;
}

/* type: module — tooltip */
.ai4seo-tos-checkbox .ai4seo-tooltip {
	margin-left: 50px;
}

@media (max-width: 600px) {
/* type: module — icon */
	.ai4seo-tos-checkbox .ai4seo-icon-with-tooltip {
		position: absolute;
		top: 45px;
		left: 1px;
	}

/* type: module — tooltip */
	.ai4seo-tos-checkbox .ai4seo-tooltip {
		margin-left: 30px;
	}
}

/* ========================================================================== */
/*  TABLES & PAGINATION                                                       */
/* ========================================================================== */

/* Pagination */
/* type: module — pagination */
.ai4seo-pagination {
	margin-top: 1rem;
}

/* type: module — pagination */
.ai4seo-pagination .page-numbers {
	color: var(--ai4seo-blue);
	border-color: var(--ai4seo-blue);
	background: #f6f7f7;
	vertical-align: top;
	display: inline-block;
	text-decoration: none;
	font-size: 13px;
	line-height: 2.15384615;
	min-height: 30px;
	margin: 0;
	padding: 0 10px;
	cursor: pointer;
	border-width: 1px;
	border-style: solid;
	-webkit-appearance: none;
	border-radius: 3px;
	white-space: nowrap;
	box-sizing: border-box;
}

/* type: module — pagination */
.ai4seo-pagination .page-numbers:hover {
	background: #f3f3f3;
	color: #369;
	border-color: #369;
}

/* type: module — pagination */
.ai4seo-pagination .page-numbers.current {
	cursor: default;
	background: #eee;
	color: var(--ai4seo-gray);
	border-color: var(--ai4seo-gray);
}

/* type: module — table */
.ai4seo-posts-table-container {
	-webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
	width: 100%;
}

/* type: module — table */
.ai4seo-posts-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: .5rem;
	overflow: hidden;
	border-color: #ccc !important;
}

/* type: module — table */
.ai4seo-posts-table th {
	vertical-align: middle;
}

/* type: module — table */
.ai4seo-posts-table th.ai4seo-hidden-on-mobile,
.ai4seo-posts-table td.ai4seo-hidden-on-mobile {
	display: table-cell;
}

/* type: module — table */
.ai4seo-posts-table td:first-child, .ai4seo-posts-table th:first-child {
	width: 30px;
}

/* type: module — table */
.ai4seo-posts-table td:nth-child(2), .ai4seo-posts-table th:nth-child(2) {
	width: 60px;
	white-space: nowrap;
}

/* type: module - table bulk actions */
.ai4seo-bulk-generation-queue-action-form {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 1rem 0;
}

/* type: module - table bulk actions */
.ai4seo-bulk-generation-queue-action-form select {
	min-width: 260px;
	max-width: 100%;
}

/* type: module - table bulk actions - positions SOOZ help icon beside the custom select */
.ai4seo-bulk-generation-queue-action-help {
	display: inline-flex;
	align-items: center;
	align-self: center;
	flex: 0 0 auto;
	left: -8px;
	line-height: 1;
	position: relative;
	top: -10px;
	vertical-align: middle;
}

/* type: module - table bulk actions - keeps Apply aligned after the help icon offset */
.ai4seo-bulk-generation-queue-action-form .ai4seo-bulk-generation-queue-action-submit {
	margin-left: -8px;
}

/* type: module - table bulk actions - keeps selected-action guidance below the controls without covering table rows */
.ai4seo-bulk-generation-queue-action-selected-description {
	flex: 1 0 100%;
	line-height: 1.5;
	margin: 0;
	max-width: var(--ai4seo-form-control-max-width);
}

/* type: module - table bulk actions */
.ai4seo-bulk-generation-queue-action-help .ai4seo-icon-with-tooltip {
	line-height: 1;
	margin-left: 0;
}

/* type: module - table bulk actions */
.ai4seo-bulk-generation-queue-action-help .ai4seo-icon-with-tooltip svg {
	margin-top: 0 !important;
	vertical-align: middle;
}

/* type: module - table bulk actions */
.ai4seo-bulk-generation-queue-action-help .ai4seo-tooltip {
	text-align: left;
}

/* type: module - table bulk actions */
.ai4seo-posts-table .ai4seo-bulk-generation-queue-checkbox-column {
	width: 30px;
	text-align: center;
}

/* type: module - table bulk actions */
.ai4seo-posts-table th.ai4seo-bulk-generation-queue-checkbox-column {
	vertical-align: middle;
}

/* type: module - table bulk actions */
.ai4seo-posts-table td.ai4seo-bulk-generation-queue-checkbox-column {
	vertical-align: top;
}

/* type: module - table bulk actions */
.ai4seo-posts-table .ai4seo-bulk-generation-queue-checkbox-column input[type="checkbox"] {
	margin: 0;
}

/* type: module — table */
.ai4seo-posts-table td.title {
	min-width: 200px;
}

/* type: module — table */
.ai4seo-posts-table td:last-child, .ai4seo-posts-table th:last-child {
	width: 50px;
	white-space: nowrap;
}

/* type: module - table - keep page row action buttons away from the right viewport edge */
.ai4seo-posts-table.pages td:last-child,
.ai4seo-posts-table.pages th:last-child {
	padding-right: 1rem;
}

/* type: module - table - row action buttons must stay side-by-side in the compact options column */
.ai4seo-posts-table .ai4seo-row-action-buttons {
	display: inline-flex;
	flex-wrap: nowrap;
	gap: .75rem;
	justify-content: flex-end;
}

/* type: module — table */
.ai4seo-posts-table td.ai4seo-generation-coverage {
	min-width: 200px;
	max-width: 400px;
	width: 400px;
}

/**
on mobile devices -> make td.ai4seo-generation-coverage smaller
 */
@media only screen and (max-width: 1180px) {
/* type: module — table */
	.ai4seo-posts-table td.ai4seo-generation-coverage {
		min-width: 100px;
		max-width: 200px;
		width: 200px;
	}
}

/* type: module — button */
.ai4seo-table-title-button {
	float: right !important;
}

@media screen and (max-width: 600px) {
	/* AI4SEO table content link */
/* type: module — table */
	.ai4seo-table-content-link {
		display: block;
	}

	/* type: module — table */
	.ai4seo-posts-table td:nth-child(2), .ai4seo-posts-table th:nth-child(2) {
		max-width: 44px;
		width: 44px;
	}
}

@media screen and (max-width: 960px) {
	/* type: module — table */
	.ai4seo-posts-table th.ai4seo-hidden-on-mobile,
	.ai4seo-posts-table td.ai4seo-hidden-on-mobile {
		display: none;
	}
}

@media screen and (max-width: 480px) {
	/* AI4SEO Metadata-coverage */
/* type: module — table */
	.ai4seo-posts-table td.ai4seo-generation-coverage {
		min-width: auto;
	}
}


/* ========================================================================== */
/*  MEDIA & ATTACHMENTS                                                       */
/* ========================================================================== */

/* type: module — button */
.ai4seo-attachment-generate-attributes-button {
	margin-bottom: 1em !important;
}

/* Generate-button details for attachments */
.media-frame-content > .attachment-details .ai4seo-generate-all-button {
	margin-left: 0;
	width: 100%;
	font-size: small !important;
}

/* type: module — button */
.media-frame-content .ai4seo-attachment-generate-attributes-button {
	min-width: 200px;
	margin-right: 2px;
	font-size: small !important;
}

/* Elementor / TinyMCE image details modal: align the button with its alt text field. */
.image-details #image-details-alt-text + .ai4seo-attachment-generate-attributes-button {
	width: 70% !important;
	margin-left: 27% !important;
	margin-right: 3% !important;
}

/* type: module — button */
.media-frame-content > .attachment-details .ai4seo-attachment-generate-attributes-button {
	min-width: 200px;
	max-width: 65%;
	float: right !important;
}

@media only screen and (max-width: 1180px) {
	.media-frame-content > .attachment-details .ai4seo-attachment-generate-attributes-button {
		width: 99% !important;
		max-width: 99% !important;
		float: none !important;
		text-align: left !important;
	}
}

/* Generate-button details for attachments */
.media-frame-content .media-sidebar .ai4seo-generate-all-button {
	margin-left: 0;
	width: 99% !important;
	max-width: 99% !important;
	margin-right: 2px !important;
	font-size: small !important;
}

/* type: module — button */
.media-frame-content .media-sidebar .ai4seo-attachment-generate-attributes-button,
.block-editor-block-inspector .ai4seo-attachment-generate-attributes-button {
	width: 99% !important;
	max-width: 99% !important;
	float: none !important;
	text-align: left !important;
}


/* type: module — button */
.post-type-attachment .ai4seo-attachment-generate-attributes-button {
	margin-bottom: 1em !important;
}

/* type: module — button */
.post-type-attachment .attachment-alt-text .ai4seo-attachment-generate-attributes-button {
	max-width: 500px !important;
	display: block !important;
}

/* type: module — button */
.post-type-attachment #wp-attachment_content-editor-container .ai4seo-attachment-generate-attributes-button {
	float: right !important;
}

@media only screen and (max-width: 880px) {
/* type: module — button */
	.attachment-info .ai4seo-attachment-generate-attributes-button {
		width: 98% !important;
		float: left !important;
	}
}

/* type: module — table */
.ai4seo-posts-table.attachments {
	width: 100%;
	min-width: 400px;
}

/* type: content — Media Library → Attachment AI controls */
.ai4seo-attachment-editor-image-preview {
	display: block;
	margin: 20px auto;
	float: left;
	border: 1px solid #ccc;
	border-radius: 8px;
	padding: 5px;
	box-shadow: 3px 3px 5px rgba(0,0,0,0.1);
}

/* type: content — Media Library → Attachment AI controls */
.ai4seo-attachment-editor-image-preview > img {
	max-width: 200px;
	height: auto;
	border-radius: 5px;
}

/* === PREVIEW-FIRST ENTRY EDITORS ========================================================== */

/* type: module — preview-first editor modal shell */
.ai4seo-editor-workspace-modal {
	display: flex;
	flex-direction: column;
	height: calc(100vh - 4rem);
	left: calc((100vw - min(85vw, 90rem)) / 2);
	max-height: calc(100vh - 4rem);
	max-width: calc(100vw - 4rem);
	min-width: 0;
	overflow: hidden;
	padding: 3rem;
	top: 2rem;
	width: min(85vw, 90rem);
}

/* type: module — preview-first editor modal headline */
.ai4seo-editor-workspace-modal > .ai4seo-modal-headline {
	flex: 0 0 auto;
	margin: 0 0 .75rem;
}

/* type: module — preview-first editor modal content */
.ai4seo-editor-workspace-modal > .ai4seo-modal-content {
	display: flex;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

/* type: module — preview-first editor loading state */
.ai4seo-editor-workspace-modal > .ai4seo-modal-content > .ai4seo-ajax-modal-loading-icon {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	justify-content: center;
	margin: 0;
	min-height: 0;
	text-align: center;
	width: 100%;
}

/* type: module — preview-first editor form workspace */
.ai4seo-editor-workspace {
	container-name: ai4seo-entry-editor;
	container-type: inline-size;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	margin: 0;
	min-height: 0;
	min-width: 0;
	width: 100%;
}

/* type: module — workspace header */
.ai4seo-editor-workspace-header {
	align-items: center;
	background: #fff;
	border-bottom: 1px solid #dcdcde;
	display: flex;
	flex: 0 0 auto;
	gap: 1rem;
	justify-content: space-between;
	padding: .25rem .125rem 1rem;
}

/* type: module — workspace entry identity */
.ai4seo-editor-workspace-identity {
	min-width: 0;
}

/* type: module — attachment identity keeps its media thumbnail beside the title and subtitle. */
.ai4seo-attachment-editor-workspace-identity {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	gap: .85rem;
}

.ai4seo-attachment-editor-header-media {
	flex: 0 0 4.5rem;
}

.ai4seo-attachment-editor-identity-copy {
	min-width: 0;
}

.ai4seo-editor-workspace-title {
	font-size: 1.2rem;
	line-height: 1.35;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ai4seo-editor-workspace-subtitle {
	color: #646970;
	font-size: .82rem !important;
	line-height: 1.35 !important;
	margin: .15rem 0 0;
}

/* type: module — workspace header actions */
.ai4seo-editor-workspace-header-actions {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: .55rem;
	justify-content: flex-end;
}

.ai4seo-editor-workspace-header-actions > .ai4seo-button,
.ai4seo-editor-workspace-header-actions > button {
	align-items: center;
	box-sizing: border-box;
	display: inline-flex;
	height: 2.5rem;
	margin: 0 !important;
	padding-top: .4rem !important;
}

/* type: module — editor footer generation actions */
.ai4seo-editor-workspace-footer > .ai4seo-button,
.ai4seo-editor-workspace-footer .ai4seo-generate-all-button {
	box-sizing: border-box;
	height: 3rem;
}

.ai4seo-editor-workspace-footer .ai4seo-generate-all-button-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	padding: 0;
}

.ai4seo-editor-workspace-footer .ai4seo-generate-all-button {
	align-items: center;
	display: grid !important;
	font-size: .78rem !important;
	gap: .5rem;
	grid-template-columns: 1.25rem minmax(0, 1fr) auto;
	line-height: 1.25 !important;
	margin: 0 !important;
	padding: .25rem .75rem !important;
	text-align: left;
	width: 15rem;
}

.ai4seo-editor-workspace-footer .ai4seo-generate-all-button .ai4seo-loading-animation-container {
	grid-column: 1 / -1;
}

.ai4seo-editor-workspace-footer .ai4seo-generation-button-icon {
	align-items: center;
	display: flex;
	justify-content: center;
}

.ai4seo-editor-workspace-footer .ai4seo-generation-button-icon svg {
	display: block;
	height: 1.25rem;
	margin: 0;
	width: 1.25rem;
}

.ai4seo-editor-workspace-footer .ai4seo-generation-button-label {
	min-width: 0;
	text-align: center;
}

.ai4seo-editor-workspace-footer .ai4seo-generation-button-credits-usage {
	justify-self: end;
	position: static;
}

/* type: module — segmented Preview and Editor switch */
.ai4seo-editor-mode-switch {
	background: #f0f0f1;
	border: 1px solid #c3c4c7;
	border-radius: .45rem;
	box-sizing: border-box;
	display: inline-flex;
	height: 2.5rem;
	padding: .18rem;
}

.ai4seo-editor-mode-switch-button {
	background: transparent;
	border: 0;
	border-radius: .3rem;
	color: #3c434a;
	cursor: pointer;
	font-size: .86rem;
	font-weight: 600;
	height: 100%;
	line-height: 1.2;
	min-height: 0;
	padding: .4rem .72rem;
}

.ai4seo-editor-mode-switch-button[aria-pressed="true"] {
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .16);
	color: #135e96;
}

.ai4seo-editor-mode-switch-button:focus-visible,
.ai4seo-editor-preview-edit-button:focus-visible {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2271b1 !important;
	outline: 0;
}

/* type: module — independently scrolling editor content */
.ai4seo-editor-workspace-scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 1rem .25rem 2rem;
	scrollbar-gutter: stable;
}

/* type: module — shared context and preview card grids */
.ai4seo-editor-shared-context-grid,
.ai4seo-editor-preview-grid,
.ai4seo-editor-fields-grid {
	display: grid;
	gap: 3rem;
	grid-template-columns: minmax(0, 1fr);
}

.ai4seo-editor-shared-context-grid {
	margin-top: 1rem;
}

.ai4seo-editor-preview-panel,
.ai4seo-editor-fields-panel {
	margin-top: 3rem;
}

.ai4seo-editor-mode-panel[hidden],
.ai4seo-editor-preview-only[hidden],
.ai4seo-editor-editor-only[hidden] {
	display: none !important;
}

/* type: module — shared generation context cards */
.ai4seo-editor-context-card,
.ai4seo-editor-workspace .ai4seo-editor-custom-instructions-form-item {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	box-sizing: border-box;
	margin: 0 !important;
	min-width: 0;
}

.ai4seo-editor-context-card {
	padding: 1rem !important;
}

.ai4seo-editor-context-card h3,
.ai4seo-editor-preview-card h3 {
	color: #1d2327;
	font-size: 1rem;
	line-height: 1.35;
	margin: 0 0 .8rem;
}

/* type: module — preview card heading and edit action */
.ai4seo-editor-preview-card-heading {
	align-items: center;
	display: flex;
	gap: .75rem;
	justify-content: space-between;
	margin-bottom: .8rem;
	min-height: 2rem;
}

.ai4seo-editor-preview-card-heading h3 {
	margin: 0;
}

/* type: module — preview headings keep contextual help beside the related title. */
.ai4seo-editor-preview-card-heading-content {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	gap: .4rem;
	min-width: 0;
}

.ai4seo-editor-preview-card-heading-content > .ai4seo-24x24-icon,
.ai4seo-editor-preview-card-heading-content > .ai4seo-icon-with-tooltip {
	flex: 0 0 auto;
}

.ai4seo-editor-preview-card-heading-content .ai4seo-icon-with-tooltip {
	line-height: 1;
	margin-left: 0;
}

.ai4seo-editor-preview-card-heading-content .ai4seo-icon-with-tooltip svg {
	margin-top: 0 !important;
}

.ai4seo-editor-preview-card-heading .ai4seo-editor-preview-edit-button {
	align-self: auto;
	flex: 0 0 auto;
	margin: 0 !important;
}

.ai4seo-editor-preview-edit-actions {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	gap: .35rem;
	justify-content: flex-end;
}

/* type: module — focus keyphrase context matches the plain shared-context presentation */
.ai4seo-editor-focus-keyphrase-value {
	color: #1d2327;
	font-size: 1rem !important;
	font-weight: 650;
	line-height: 1.4 !important;
	margin: 0;
	overflow-wrap: anywhere;
}

.ai4seo-editor-workspace .ai4seo-metadata-focus-keyphrase-context {
	padding: 0 !important;
}

/* type: module — custom instructions stay directly editable in either mode */
.ai4seo-editor-workspace .ai4seo-editor-custom-instructions-form-item {
	display: flex;
	flex-direction: column;
	gap: .55rem;
	/* Keep the shared generation guidance on its own row in every grid size. */
	grid-column: 1 / -1 !important;
	padding: 0 !important;
	width: 100%;
}

.ai4seo-editor-workspace .ai4seo-editor-custom-instructions-form-item > .ai4seo-form-item-label,
.ai4seo-editor-workspace .ai4seo-editor-custom-instructions-form-item > .ai4seo-form-item-input-wrapper {
	flex: 0 0 auto;
	margin: 0;
	max-width: none;
	width: 100%;
}

.ai4seo-editor-workspace .ai4seo-editor-custom-instructions-form-item textarea {
	box-sizing: border-box;
	height: auto;
	overflow-x: hidden;
	overflow-y: hidden;
	min-height: auto;
	width: 100%;
}

.ai4seo-editor-workspace .ai4seo-editor-custom-instructions-form-item .ai4seo-form-item-description {
	color: #646970;
	font-size: .7rem !important;
	line-height: 1.35 !important;
	margin: .35rem 0 0 !important;
}

.ai4seo-editor-workspace .ai4seo-editor-custom-instructions-form-item .ai4seo-custom-instructions-counter {
	font-size: .7rem !important;
	line-height: 1.35 !important;
	margin-top: .35rem !important;
}

.ai4seo-editor-workspace .ai4seo-editor-custom-instructions-form-item .ai4seo-custom-instructions-counter span,
.ai4seo-editor-workspace .ai4seo-editor-custom-instructions-form-item .ai4seo-custom-instructions-counter strong {
	font-size: inherit !important;
	line-height: inherit !important;
}

/* type: module — attachment context cards */
.ai4seo-editor-workspace .ai4seo-attachment-editor-context,
.ai4seo-editor-workspace .ai4seo-attachment-usage-context-form-item {
	padding: 0 !important;
}

.ai4seo-attachment-editor-context-content {
	align-items: center;
	display: flex;
	gap: .85rem;
}

.ai4seo-attachment-editor-context p {
	margin: 0;
}

.ai4seo-attachment-context-image-trigger {
	background: transparent;
	border: 0;
	cursor: zoom-in;
	display: block;
	flex: 0 0 4.5rem;
	line-height: 0;
	margin: 0;
	padding: 0;
	position: relative;
	width: 4.5rem;
}

.ai4seo-attachment-context-image-trigger > img,
.ai4seo-attachment-editor-header-media .ai4seo-attachment-document-placeholder {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: .45rem;
	box-sizing: border-box;
	display: flex;
	flex: 0 0 4.5rem;
	height: 4.5rem;
	justify-content: center;
	object-fit: contain;
	width: 4.5rem;
}

.ai4seo-attachment-context-image-trigger:focus-visible {
	border-radius: .45rem;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2271b1;
	outline: 0;
}

.ai4seo-attachment-context-image-hover-preview {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: .45rem;
	box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .2);
	display: none;
	left: calc(100% + .85rem);
	line-height: 0;
	max-width: min(24rem, calc(100vw - 10rem));
	padding: .35rem;
	position: absolute;
	top: 0;
	z-index: 4;
}

.ai4seo-attachment-context-image-hover-preview img {
	display: block;
	height: auto;
	max-height: 20rem;
	max-width: 22rem;
	object-fit: contain;
	width: auto;
}

.ai4seo-attachment-context-image-trigger:hover .ai4seo-attachment-context-image-hover-preview,
.ai4seo-attachment-context-image-trigger:focus-visible .ai4seo-attachment-context-image-hover-preview {
	display: block;
}

/* type: module — attachment image context full-size preview */
.ai4seo-attachment-context-image-overlay {
	align-items: center;
	background: rgba(0, 0, 0, .7);
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 2rem;
	position: fixed;
	z-index: 160050;
}

.ai4seo-attachment-context-image-overlay-dialog {
	background: #fff;
	border-radius: .5rem;
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, .35);
	box-sizing: border-box;
	line-height: 0;
	max-height: 100%;
	max-width: 100%;
	padding: 2.5rem .75rem .75rem;
	position: relative;
}

.ai4seo-attachment-context-image-overlay-dialog img {
	display: block;
	height: auto;
	max-height: min(80vh, 52rem);
	max-width: min(86vw, 72rem);
	object-fit: contain;
	width: auto;
}

.ai4seo-attachment-context-image-overlay-close {
	align-items: center;
	background: #1d2327;
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 1.5rem;
	height: 2rem;
	justify-content: center;
	line-height: 1;
	padding: 0 0 .1rem;
	position: absolute;
	right: .45rem;
	top: .45rem;
	width: 2rem;
}

.ai4seo-attachment-context-image-overlay-close:focus-visible {
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2271b1;
	outline: 0;
}

.ai4seo-attachment-editor-header-media .ai4seo-attachment-document-placeholder {
	font-size: .7rem !important;
	min-height: 4.5rem;
	padding: .5rem;
}

/* type: module — platform preview card */
.ai4seo-editor-preview-card {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	padding: 0;
}

.ai4seo-google-preview {
	font-family: Arial, sans-serif;
	padding: .35rem .2rem .85rem;
}

.ai4seo-google-preview-site-row {
	align-items: center;
	display: flex;
	gap: .7rem;
	margin-bottom: .45rem;
}

.ai4seo-google-preview-site-row > span:last-child {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ai4seo-google-preview-site-icon {
	align-items: center;
	background: #f1f3f4;
	border-radius: 50%;
	display: inline-flex;
	font-size: .8rem !important;
	font-weight: 700;
	height: 1.9rem;
	justify-content: center;
	overflow: hidden;
	width: 1.9rem;
}

.ai4seo-google-preview-site-icon img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.ai4seo-google-preview-site-name {
	color: #202124;
	font-size: .88rem !important;
	line-height: 1.25 !important;
}

.ai4seo-google-preview-url {
	color: #4d5156;
	display: block;
	font-size: .72rem !important;
	line-height: 1.25 !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ai4seo-google-preview-title {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: #1a0dab;
	display: -webkit-box;
	font-size: 1.15rem !important;
	line-height: 1.28 !important;
	max-height: 2.95rem;
	overflow: hidden;
}

.ai4seo-google-preview-description {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: #4d5156;
	display: -webkit-box;
	font-size: .85rem !important;
	line-height: 1.45 !important;
	margin-top: .35rem;
	max-height: 2.55rem;
	overflow: hidden;
}

/* type: module — social and WhatsApp cards */
.ai4seo-social-preview,
.ai4seo-whatsapp-preview-shell {
	background: #f0f2f5;
	border: 1px solid #ccd0d5;
	border-radius: .45rem;
	overflow: hidden;
}

.ai4seo-twitter-preview-card .ai4seo-social-preview {
	background: #fff;
	border-color: #cfd9de;
	border-radius: .75rem;
}

.ai4seo-social-preview-image,
.ai4seo-whatsapp-preview-image {
	align-items: center;
	aspect-ratio: 1.91 / 1;
	background: #e2e4e7;
	color: #646970;
	display: flex;
	font-size: .8rem !important;
	justify-content: center;
	overflow: hidden;
}

.ai4seo-social-preview-image img,
.ai4seo-whatsapp-preview-image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.ai4seo-social-preview-image-label {
	background: #f6f7f7;
	color: #50575e;
	font-size: .68rem !important;
	line-height: 1.3 !important;
	padding: .3rem .55rem;
}

.ai4seo-social-preview-copy,
.ai4seo-whatsapp-preview-copy {
	padding: .65rem .75rem .75rem;
}

.ai4seo-social-preview-domain,
.ai4seo-whatsapp-preview-domain {
	color: #65676b;
	display: block;
	font-size: .68rem !important;
	letter-spacing: .03em;
	line-height: 1.25 !important;
	text-transform: uppercase;
}

.ai4seo-social-preview-title,
.ai4seo-whatsapp-preview-title {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: #050505;
	display: -webkit-box;
	font-size: .95rem !important;
	font-weight: 650;
	line-height: 1.3 !important;
	margin-top: .25rem;
	max-height: 2.5rem;
	overflow: hidden;
}

.ai4seo-social-preview-description,
.ai4seo-whatsapp-preview-description {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: #65676b;
	display: -webkit-box;
	font-size: .78rem !important;
	line-height: 1.35 !important;
	margin-top: .2rem;
	max-height: 2.2rem;
	overflow: hidden;
}

.ai4seo-whatsapp-preview-shell {
	background: #d9fdd3;
	border: 0;
	border-radius: .65rem;
	box-shadow: 0 1px 2px rgba(11, 20, 26, .12);
	margin-left: 1rem;
	max-width: 28rem;
}

/* type: module — code previews */
.ai4seo-keywords-code-preview,
.ai4seo-alt-code-preview {
	background: #1f2328;
	border-radius: .5rem;
	box-sizing: border-box;
	color: #e6edf3;
	font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
	font-size: .8rem;
	line-height: 1.6;
	margin: 0;
	overflow: auto;
	padding: 1rem;
	white-space: pre-wrap;
	word-break: break-word;
}

.ai4seo-alt-code-preview {
	margin-bottom: 10px;
}

.ai4seo-code-tag,
.ai4seo-code-attribute {
	color: #7ee787;
}

.ai4seo-code-string {
	color: #a5d6ff;
}

.ai4seo-code-punctuation {
	color: #8b949e;
}

.ai4seo-keywords-code-value,
.ai4seo-alt-code-value {
	color: #ffa657;
}

/* type: module — per-card preview evaluation */
.ai4seo-editor-preview-evaluation {
	border-top: 1px solid #e2e4e7;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	margin-top: 10px;
	padding-top: 10px;
	width: 100%;
}

.ai4seo-editor-preview-description {
	color: #50575e;
	font-size: .76rem !important;
	line-height: 1.45 !important;
	margin: 0 0 .65rem;
}

.ai4seo-editor-preview-message {
	align-items: flex-start;
	border-left: 3px solid #72aee6;
	border-radius: .2rem;
	display: flex;
	font-size: .75rem !important;
	gap: .35rem;
	line-height: 1.4 !important;
	margin: 0 0 .45rem;
	padding: .45rem .55rem;
}

.ai4seo-editor-preview-message-icon {
	align-items: center;
	border: 1px solid currentColor;
	border-radius: 50%;
	display: inline-flex;
	flex: 0 0 1rem;
	font-size: .68rem;
	font-weight: 700;
	height: 1rem;
	justify-content: center;
	line-height: 1;
	margin-top: .02rem;
}

.ai4seo-editor-preview-message > span:last-child {
	min-width: 0;
}

.ai4seo-editor-preview-message-hint {
	background: #edf6fc;
	color: #2c3338;
}

.ai4seo-editor-preview-message-warning {
	background: #fff8e1;
	border-left-color: #dba617;
	color: #6b4a00;
}

.ai4seo-editor-preview-message-important,
.ai4seo-editor-preview-message-error {
	background: #fcf0f1;
	border-left-color: #d63638;
	color: #8a2424;
}

.ai4seo-editor-preview-metrics {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: .3rem;
	margin-top: .15rem;
	white-space: normal;
}

.ai4seo-editor-preview-metrics > span {
	color: #646970;
	font-size: .7rem !important;
	line-height: 1.35 !important;
}

.ai4seo-editor-preview-metrics > span:empty {
	display: none;
}

.ai4seo-editor-preview-metrics > span:not(:empty):not(:first-child)::before {
	color: #646970;
	content: "·";
	font-weight: 400;
	margin-right: .3rem;
}

.ai4seo-editor-preview-source-message {
	color: #646970;
	font-size: .7rem !important;
	line-height: 1.35 !important;
	margin-top: .35rem;
}

.ai4seo-editor-preview-fit {
	color: #008a20 !important;
	font-weight: 600;
}

.ai4seo-editor-preview-fit-caution,
.ai4seo-editor-preview-fit-warning {
	color: #b06b00 !important;
}

.ai4seo-editor-preview-fit-important {
	color: #b32d2e !important;
}

/* type: module — important detail remains available without a full-width preview alert. */
.ai4seo-editor-preview-important-tooltip {
	align-items: center;
	display: inline-flex;
	line-height: 1;
	margin-left: -.15rem;
	vertical-align: middle;
}

.ai4seo-editor-preview-important-tooltip .ai4seo-tooltip-trigger {
	align-items: center;
	display: inline-flex;
	justify-content: center;
}

.ai4seo-editor-preview-important-tooltip-icon {
	align-items: center;
	border: 1px solid currentColor;
	border-radius: 50%;
	color: #b32d2e !important;
	display: inline-flex;
	font-size: .65rem !important;
	font-weight: 700;
	height: .95rem;
	justify-content: center;
	line-height: 1 !important;
	width: .95rem;
}

.ai4seo-editor-preview-edit-button {
	align-self: flex-start;
	margin-top: .7rem !important;
}

/* type: module — Media Library appearance previews */
.ai4seo-wordpress-media-details-preview {
	background: #f6f7f7;
	border: 1px solid #c3c4c7;
	border-radius: .35rem;
	margin-bottom: .85rem;
	padding: 1rem;
}

.ai4seo-wordpress-media-details-toolbar {
	color: #646970;
	font-size: .72rem !important;
	line-height: 1.3 !important;
}

.ai4seo-attachment-title-preview-value {
	font-size: 1.05rem !important;
	font-weight: 600;
	line-height: 1.35 !important;
	margin: 0 0 .2rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ai4seo-attachment-preview-filename {
	color: #646970;
	display: block;
	font-size: .75rem !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ai4seo-attachment-not-applicable,
.ai4seo-attachment-document-placeholder {
	align-items: center;
	background: #f0f0f1;
	border: 1px dashed #a7aaad;
	border-radius: .4rem;
	color: #50575e;
	display: flex;
	justify-content: center;
	min-height: 7rem;
	padding: 1rem;
	text-align: center;
}

.ai4seo-attachment-not-applicable.ai4seo-display-none {
	display: none;
}

.ai4seo-caption-preview {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	margin: 0 0 .85rem;
	padding: .65rem;
}

.ai4seo-attachment-preview-image-shell {
	align-items: center;
	background: #e2e4e7;
	display: flex;
	justify-content: center;
	min-height: 10rem;
	overflow: hidden;
}

.ai4seo-attachment-preview-image-shell img {
	display: block;
	max-height: 18rem;
	max-width: 100%;
	object-fit: contain;
}

.ai4seo-caption-preview-value {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	display: -webkit-box;
	font-size: 1rem !important;
	font-style: italic;
	font-weight: 700;
	line-height: 1.4 !important;
	margin-top: .55rem;
	max-height: 4.2rem;
	overflow: hidden;
	text-align: center;
}

.ai4seo-wordpress-media-details-toolbar {
	border-bottom: 1px solid #dcdcde;
	margin: -1rem -1rem .75rem;
	padding: .55rem .75rem;
}

.ai4seo-attachment-description-preview-value {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	display: -webkit-box;
	font-size: 1rem !important;
	font-weight: 700;
	line-height: 1.5 !important;
	max-height: 6.5rem;
	overflow: hidden;
	white-space: pre-wrap;
}

.ai4seo-alt-code-attribute-preview {
	font-weight: 400;
}

.ai4seo-alt-code-value {
	font-weight: 700;
}

/* type: module — field editor cards */
.ai4seo-editor-field-card {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	margin: 0 !important;
	min-width: 0;
	padding: 0 !important;
}

.ai4seo-editor-field-card > .ai4seo-form-item-label,
.ai4seo-editor-field-card > .ai4seo-form-item-input-wrapper {
	flex: 0 0 auto;
	margin: 0;
	max-width: none;
	width: 100%;
}

.ai4seo-editor-field-card > .ai4seo-form-item-input-wrapper {
	margin-top: .65rem;
	position: relative;
}

.ai4seo-editor-field-card input,
.ai4seo-editor-field-card textarea {
	box-sizing: border-box;
	width: 100%;
}

.ai4seo-editor-field-card textarea {
	min-height: 6rem;
}

.ai4seo-editor-field-card .ai4seo-editor-suffix {
	position: static;
}

/* type: module — non-overlapping editor footer */
.ai4seo-editor-workspace-modal > .ai4seo-modal-footer {
	border-top: 1px solid #dcdcde;
	bottom: auto;
	box-shadow: 0 -3px 12px rgba(0, 0, 0, .06);
	flex: 0 0 auto;
	margin: 0 -3rem -3rem;
	padding: .85rem 3rem;
	position: static;
	z-index: 2;
}

@container ai4seo-entry-editor (min-width: 52rem) {
	.ai4seo-editor-shared-context-grid,
	.ai4seo-editor-preview-grid,
	.ai4seo-editor-fields-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ai4seo-editor-field-focus-keyphrase {
		grid-column: span 2;
	}

	.ai4seo-metadata-editor-shared-context-grid .ai4seo-metadata-custom-instructions-form-item {
		grid-column: auto !important;
		order: 1;
		width: auto;
	}

	.ai4seo-metadata-editor-shared-context-grid .ai4seo-metadata-focus-keyphrase-context {
		grid-column: auto;
		order: 2;
	}

	/* Attachment context keeps two equal columns at the shared desktop breakpoint. */
	.ai4seo-attachment-editor-shared-context-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ai4seo-attachment-editor-shared-context-grid .ai4seo-attachment-custom-instructions-form-item {
		grid-column: auto !important;
		width: auto;
	}
}

/* type: module — attachment generation guidance precedes detected usage context. */
.ai4seo-attachment-editor-shared-context-grid .ai4seo-attachment-custom-instructions-form-item {
	order: 1;
}

.ai4seo-attachment-editor-shared-context-grid .ai4seo-attachment-editor-context {
	order: 2;
}

@media screen and (max-width: 782px) {
	.ai4seo-editor-workspace-modal {
		height: calc(100vh - 1rem);
		left: .5rem;
		max-height: calc(100vh - 1rem);
		max-width: calc(100vw - 1rem);
		padding: 1rem;
		top: .5rem !important;
		width: calc(100vw - 1rem);
	}

	.ai4seo-editor-workspace-header {
		align-items: stretch;
		flex-direction: column;
	}

	.ai4seo-editor-workspace-header-actions {
		justify-content: flex-start;
	}

	.ai4seo-editor-generate-all-hook {
		width: 100%;
	}

	.ai4seo-editor-generate-all-hook .ai4seo-generate-all-button,
	.ai4seo-editor-generate-all-hook .ai4seo-generate-all-button-wrapper {
		width: 100%;
	}

	.ai4seo-editor-workspace-modal > .ai4seo-modal-footer {
		margin: 0 -1rem -1rem;
		padding: .75rem 1rem;
	}
}

/* type: content — Media Library → Attachment usage context status */
.ai4seo-editor-workspace .ai4seo-attachment-usage-context-form-item {
	flex-wrap: nowrap;
	margin: 0 !important;
	padding: 0 !important;
}

/* type: content - Media Library - Attachment usage context status */
.ai4seo-attachment-usage-context-form-item .ai4seo-form-item-input-wrapper {
	flex: 1 1 0;
	min-width: 0;
}

/* type: content - Media Library - Attachment usage context status */
.ai4seo-attachment-usage-context-label-spacer {
	flex: 0 0 300px;
	width: 300px;
	margin-right: .7rem;
}

/* type: content - Media Library - Attachment usage context status */
.ai4seo-attachment-usage-context-status {
	clear: none;
	display: block;
	box-sizing: border-box;
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--ai4seo-gray-dark);
}

/* type: content — Media Library → Attachment usage context status */
.ai4seo-attachment-usage-context-loading,
.ai4seo-attachment-usage-context-result-inner {
	align-items: baseline;
	display: flex;
	gap: .35rem;
}

.ai4seo-attachment-usage-context-result-inner {
	align-items: center;
	gap: .75rem;
}

/* type: content — Media Library → Attachment usage context status */
.ai4seo-attachment-usage-context-loading {
	align-items: center;
	font-size: .82rem;
	line-height: 1.45;
}

/* type: content — Media Library → Attachment usage context status */
.ai4seo-attachment-usage-context-result {
	display: none;
}

/* type: content — Media Library → Attachment usage context status */
.ai4seo-attachment-usage-context-result-success {
	color: #000;
}

/* type: content — Media Library → Attachment usage context status */
.ai4seo-attachment-usage-context-result-error {
	color: #000;
}

/* type: content — Media Library → Attachment usage context status */
.ai4seo-attachment-usage-context-status-success {
	border: 0;
}

/* type: content — Media Library → Attachment usage context status */
.ai4seo-attachment-usage-context-status-error {
	border: 0;
}

/* type: content — Media Library → Attachment usage context status */
.ai4seo-attachment-usage-context-result-icon {
	align-items: center;
	display: inline-flex;
	flex: 0 0 3rem;
	height: 3rem;
	justify-content: center;
	line-height: 1;
	vertical-align: text-bottom;
	width: 3rem;
}

.ai4seo-attachment-usage-context-loading > .ai4seo-icon {
	height: 1em !important;
	width: 1em !important;
}

.ai4seo-attachment-usage-context-result-icon > .ai4seo-icon {
	height: 3rem !important;
	width: 3rem !important;
}

.ai4seo-attachment-usage-context-result-error .ai4seo-attachment-usage-context-result-icon > .ai4seo-icon {
	fill: #999 !important;
}

/* type: content — Media Library → Attachment usage context status */
.ai4seo-attachment-usage-context-result-text {
	flex: 1 1 auto;
	font-size: .82rem;
	line-height: 1.45;
}

/* type: content - Media Library - Attachment usage context status */
.ai4seo-attachment-usage-context-result-text a {
	color: inherit;
	text-decoration: underline;
}

/* type: content - Media Library - Attachment usage context status */
.ai4seo-attachment-usage-context-fix-trigger {
	font-size: inherit;
	line-height: inherit;
	font-family: inherit;
	background: transparent;
	border: 0;
	color: #000;
	cursor: pointer;
	text-decoration: underline;
	padding: 0;
}

.ai4seo-attachment-usage-context-fix-trigger:hover,
.ai4seo-attachment-usage-context-fix-trigger:focus-visible {
	color: #135e96;
	cursor: pointer;
	text-decoration-thickness: 2px;
}

/* type: content - Media Library - Attachment custom instructions */
.ai4seo-attachment-custom-instructions-form-item {
	padding-bottom: 2.25rem !important;
}

/* type: content - Media Library - Attachment custom instructions */
.ai4seo-attachment-custom-instructions-form-item .ai4seo-form-item-description {
	max-width: 100%;
	margin-bottom: .75rem !important;
	text-align: left;
}

@media (max-width: 1480px) {
	/* type: content - Media Library - Attachment usage context status */
	.ai4seo-attachment-usage-context-label-spacer {
		display: none;
	}
}

/* type: content - Media Library - Attachment AI controls */
.ai4seo-attachment-list-image-preview {
	max-width: 48px;
	width: 48px;
	Height: 48px;
}

/* type: content — Media Library → Attachment AI controls */
.ai4seo-attachment-list-image-preview img {
	max-width: 48px;
	max-height: 48px;
}

@media (max-width: 960px) {
/* type: content — Media Library → Attachment AI controls */
	.ai4seo-attachment-editor-image-preview {
		float: none;
	}

/* type: content — Media Library → Attachment AI controls */
	.ai4seo-attachment-editor-image-preview > img {
		max-width: 100%;
	}
}

/* ========================================================================== */
/*  ANIMATIONS & LOADING INDICATORS                                           */
/* ========================================================================== */

/* type: animation — generated Preview values leave before their replacements enter. */
.ai4seo-editor-preview-value-transition {
	transition: opacity .2s ease, transform .2s ease;
}

.ai4seo-editor-preview-value-leaving {
	opacity: 0;
	transform: translateY(-.25rem);
}

.ai4seo-editor-preview-value-entering {
	opacity: 0;
	transform: translateY(.25rem);
}

@media (prefers-reduced-motion: reduce) {
	.ai4seo-editor-preview-value-transition {
		transition: none;
	}

	.ai4seo-editor-preview-value-leaving,
	.ai4seo-editor-preview-value-entering {
		opacity: 1;
		transform: none;
	}
}

/* type: module — tooltip */
.ai4seo-copy-voucher-code-tooltip {
	color: black !important;
	font-weight: bold;
	font-size: .7rem;
	padding: 2px 14px;
	border: 2px dashed #7a7;
	background-color: whitesmoke;
	text-align: left;
	border-radius: 8px;
	position: absolute;
	right: -23px;
	top: -30px;
	animation: ai4seo-rotate-shake-animation .5s infinite ease-in-out;
}

/* type: module — button */
.ai4seo-unicorn-button {
	background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fbc2eb, #a18cd1, #fbc2eb, #ff9a9e);
	background-size: 400% 400%;
	font-weight: bold;
	transition: all 0.3s ease;
	animation: ai4seo-unicorn-animation 7s ease infinite;
}

/* type: module — button */
.ai4seo-unicorn-button:hover {
	background: linear-gradient(135deg, #ffaaae, #ffe0d4, #ffd2fb, #b19ce1, #ffd2fb, #ffaaae);
	background-size: 400% 400%;
	animation: ai4seo-unicorn-animation 7s ease infinite;
}

@keyframes ai4seo-unicorn-animation {
	0% { background-position: 0 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0 50%; }
}

/* Code for the button animation */
/* type: module — loader */
.ai4seo-loading-animation-container {
	width: 100%;
	text-align: center;
	position: relative;
	height: 28px;
}

/* type: module — loader */
.ai4seo-loading-animation-container .ai4seo-loading-animation {
	display: inline-block;
	vertical-align: middle;
	position: absolute;
	width: 74px;
	height: 28px;
	left: 50%;
	margin-left: -37px;
	bottom: 50%;
	margin-bottom: -14px;
}

.ai4seo-small-button .ai4seo-loading-animation-container .ai4seo-loading-animation {
	transform: scale(0.8);
}

.ai4seo-small-button .ai4seo-loading-animation-container .ai4seo-loading-animation div {
	top: 0;
}

/* type: module — loader */
.ai4seo-loading-animation-container .ai4seo-loading-animation div {
	position: absolute;
	top: 6px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--ai4seo-border-light);
	animation-timing-function: cubic-bezier(0, 1, 1, 0);
	box-shadow: 1px 1px 2px rgba(0, 0, 0, .6);
}

/* type: module — loader */
.ai4seo-loading-animation-container .ai4seo-loading-animation div:nth-child(1) {
	left: 8px;
	animation: ai4seo-loading-animation1 0.6s infinite;
}

/* type: module — loader */
.ai4seo-loading-animation-container .ai4seo-loading-animation div:nth-child(2) {
	left: 8px;
	animation: ai4seo-loading-animation2 0.6s infinite;
}

/* type: module — loader */
.ai4seo-loading-animation-container .ai4seo-loading-animation div:nth-child(3) {
	left: 32px;
	animation: ai4seo-loading-animation2 0.6s infinite;
}

/* type: module — loader */
.ai4seo-loading-animation-container .ai4seo-loading-animation div:nth-child(4) {
	left: 56px;
	animation: ai4seo-loading-animation3 0.6s infinite;
}

@keyframes ai4seo-loading-animation1 {
	0% {
		transform: scale(0);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes ai4seo-loading-animation3 {
	0% {
		transform: scale(1);
	}
	100% {
		transform: scale(0);
	}
}

@keyframes ai4seo-loading-animation2 {
	0% {
		transform: translate(0, 0);
	}
	100% {
		transform: translate(24px, 0);
	}
}

/* type: module — progress indicator */
progress.ai4seo-progress-success::-moz-progress-bar { background: #7AD03A; }

/* type: module — progress indicator */
progress.ai4seo-progress-success::-webkit-progress-value { background: #7AD03A; }

/* type: module — progress indicator */
progress.ai4seo-progress-success { color: #7AD03A; }

/* type: module — progress indicator */
.ai4seo-blue-animated-progress-bar {
	background: repeating-linear-gradient(
			-45deg,
			#aaddff 0,
			#aaddff 23px,
			#bbeeff 23px,
			#bbeeff 46px
	);
	animation: ai4seo-stripes-animation 10s linear infinite;
	background-size: 300% 100%;
	border: 1px solid #ccc;
}

/* type: module — progress indicator */
.ai4seo-green-animated-progress-bar {
	background: repeating-linear-gradient(
			-45deg,
			#88ff88 0,
			#88ff88 23px,
			#aaffaa 23px,
			#aaffaa 46px
	);
	animation: ai4seo-stripes-animation 15s linear infinite;
	background-size: 300% 100%;
	border: 1px solid #ccc;
}

/* type: module — progress indicator */
progress.ai4seo-green-animated-progress-bar::-webkit-progress-value {
	background: repeating-linear-gradient(
			-45deg,
			#88ff88 0,
			#88ff88 23px,
			#aaffaa 23px,
			#aaffaa 46px
	);
	animation: ai4seo-stripes-animation 15s linear infinite;
	background-size: 300% 100%;
}

/* type: module — progress indicator */
progress.ai4seo-green-animated-progress-bar::-moz-progress-bar {
	background: repeating-linear-gradient(
			-45deg,
			#88ff88 0,
			#88ff88 23px,
			#aaffaa 23px,
			#aaffaa 46px
	);
	animation: ai4seo-stripes-animation 15s linear infinite;
	background-size: 300% 100%;
}

@keyframes ai4seo-stripes-animation {
	0% {
		background-position: 100% 0;
	}
	100% {
		background-position: 0 0;
	}
}

/* type: module — progress indicator */
.ai4seo-gray-animated-progress-bar {
	background: repeating-linear-gradient(
			-45deg,
			#dddddd 0,
			#dddddd 23px,
			#cccccc 23px,
			#cccccc 46px
	);
	animation: ai4seo-slow-stripes-animation 20s linear infinite;
	background-size: 300% 100%;
	border: 1px solid #ccc;
}

@keyframes ai4seo-slow-stripes-animation {
	0% {
		background-position: 100% 0;
	}
	100% {
		background-position: 0 0;
	}
}

/* type: module — icon */
.ai4seo-spinning-icon {
	animation: ai4seo-spinning-icon-animation 1s infinite;
	animation-timing-function: linear;
}

@keyframes ai4seo-spinning-icon-animation {
	0% {
		transform: rotate( 0deg );
	}
	100% {
		transform: rotate( 360deg );
	}
}

/* type: utility — notification emphasis */
.ai4seo-unread-notice {
	animation: ai4seo-highlight-animation-yellow .5s ease-in-out;
	animation-iteration-count: 3;
}

/* type: content — Dashboard → Posts table analysis not completed hint */
.ai4seo-dashboard-posts-table-analysis-not-completed-hint {
	flex: 1 1 100%;
	width: 100%;
	text-align: center !important;
	margin-top: 1rem !important;
	margin-bottom: 1rem !important;
	color: var(--ai4seo-gray) !important;
	font-size: larger !important;
}

.ai4seo-dashboard-posts-table-analysis-not-completed-hint svg {
	fill: var(--ai4seo-gray) !important;
	width: 30px !important;
	height: 30px !important;
}

/* type: content — Dashboard → Autopilot progress animation */
div.ai4seo-discount-available-message svg {
	position: absolute;
	transform: scale(1.5);
	top: -1px;
	left: -3px;
	padding: 5px;
	background-color: var(--ai4seo-green);
	border-radius: 50%;
	animation: ai4seo-gift-animation 2s infinite ease-in-out;
}

/* type: content — Dashboard → Autopilot progress animation */
div.ai4seo-bulk-generation-status-animated-logo-container > img.ai4seo-bulk-generation-status-animated-logo {
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -75px;
	width: 150px;
	height: 150px;
	z-index: 2;
	animation: ai4seo-enlarge-animation 3s infinite ease-out;
	opacity: 0.8
}

/* type: content — Dashboard → Autopilot progress animation */
div.ai4seo-bulk-generation-status-animated-logo-container > img.ai4seo-bulk-generation-status-animated-logo-pulse {
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -75px;
	width: 150px;
	height: 150px;
	z-index: 1;
	animation: ai4seo-pulse-animation 3s infinite ease-in-out;
}

@keyframes ai4seo-highlight-animation-yellow {
	0% {
		background-color: white;
	}
	30% {
		background-color: #f5f5ca;
	}
	100% {
		background-color: white;
	}
}

/* type: utility — highlight animation */
.ai4seo-highlight-animation {
	animation: ai4seo-highlight-animation-yellow-gradient 2s ease-in-out;
}

@keyframes ai4seo-highlight-animation-yellow-gradient {
	0% {
		background: transparent;
		text-shadow: none;
	}
	30% {
		/* Yellow center with transparent edges in all directions */
		background: radial-gradient(circle, rgba(255, 255, 0, 0.5) 0%, rgba(255, 255, 0, 0) 70%);
		/* Yellow glow for text */
		text-shadow: 0 0 5px rgba(255, 255, 0, 0.8),
		0 0 10px rgba(255, 255, 0, 0.6),
		0 0 15px rgba(255, 255, 0, 0.4);
	}
	100% {
		background: transparent;
		text-shadow: none;
	}
}

/* type: utility — transparent animation */
.ai4seo-transparent-animation {
	animation: ai4seo-transparent-animation-keyframes .7s ease-in-out;
}

@keyframes ai4seo-transparent-animation-keyframes {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
		transform: scale(0.98);
	}
	100% {
		opacity: 1;
	}
}

/* blinking text animation */
@keyframes ai4seo-blink-animation {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* type: utility — blink animation */
.ai4seo-blink-animation {
	animation: ai4seo-blink-animation 1s steps(1, end) infinite;
}

/* type: utility — blink animation */
.ai4seo-blink-animation-fast {
	animation: ai4seo-blink-animation 0.5s steps(1, end) infinite;
}

/* type: utility — blink animation */
.ai4seo-blink-animation-slow {
	animation: ai4seo-blink-animation 1s steps(1, end) infinite;
}

/* type: utility — blink animation */
.ai4seo-blink-animation-smooth {
	animation: ai4seo-blink-animation 1s infinite;
}

/* shaking left-right animation */
@keyframes ai4seo-shake-animation {
	0% {
		transform: translateX(0);
	}
	10% {
		transform: translateX(-5px);
	}
	20% {
		transform: translateX(5px);
	}
	30% {
		transform: translateX(-5px);
	}
	40% {
		transform: translateX(5px);
	}
	50% {
		transform: translateX(-5px);
	}
	60% {
		transform: translateX(5px);
	}
	70% {
		transform: translateX(-5px);
	}
	80% {
		transform: translateX(5px);
	}
	90% {
		transform: translateX(-5px);
	}
	100% {
		transform: translateX(0);
	}
}

/* type: utility — shake animation */
.ai4seo-shake-animation {
	animation: ai4seo-shake-animation 0.5s;
}

/* shaking by rotation animation */
@keyframes ai4seo-rotate-shake-animation {
	0% {
		transform: rotate(0deg);
	}
	25% {
		transform: rotate(-5deg);
	}
	50% {
		transform: rotate(5deg);
	}
	75% {
		transform: rotate(-5deg);
	}
	100% {
		transform: rotate(0deg);
	}
}

/* shaking by rotation animation + scale */
@keyframes ai4seo-gift-animation {
	0% {
		transform: rotate(0deg) scale(1.4);
	}
	55% {
		transform: rotate(0deg) scale(1.4);
	}
	60% {
		transform: rotate(-5deg) scale(1.5);
	}
	65% {
		transform: rotate(5deg) scale(1.5);
	}
	70% {
		transform: rotate(-5deg) scale(1.5);
	}
	75% {
		transform: rotate(5deg) scale(1.5);
	}
	80% {
		transform: rotate(-5deg) scale(1.5);
	}
	85% {
		transform: rotate(5deg) scale(1.5);
	}
	90% {
		transform: rotate(-5deg) scale(1.5);
	}
	95% {
		transform: rotate(5deg) scale(1.5);
	}
	100% {
		transform: rotate(0deg) scale(1.4);
	}
}

/* type: utility — shake animation */
.ai4seo-rotate-shake-animation {
	animation: ai4seo-rotate-shake-animation infinite 0.5s ease-in-out;
}

@keyframes ai4seo-enlarge-animation {
	0% {
		transform: scale(1);
	}
	90% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes ai4seo-pulse-animation {
	0% {
		transform: scale(1);
		opacity: .7;
	}
	50% {
		transform: scale(1.6);
		opacity: 0;
	}
	100% {
		transform: scale(1.3);
		opacity: 0;
	}
}

/* ========================================================================== */
/*  RESPONSIVE BREAKPOINTS                                                    */
/* ========================================================================== */

@media (min-width: 960px) {
/* type: module — form control */
	.ai4seo-prefix-suffix-setting-holder .ai4seo-prefix-suffix-setting-textfield {
		display: inline;
		width: 40% !important;
		max-width: 40% !important;
	}
}

@media (max-width: 1480px) {
	/* type: module — form layout */
	.ai4seo-form,
	div.ai4seo-content-wrapper {
		box-sizing: border-box;
		max-width: 100%;
		min-width: 0;
		width: 100%;
	}

	/* type: module — form layout */
	.ai4seo-form-item {
		flex-direction: column;
		box-sizing: border-box;
		max-width: 100%;
		min-width: 0;
	}

	/* type: module — form layout */
	.ai4seo-form-item > label,
	.ai4seo-form-item > .ai4seo-form-item-label {
		width: 100%;
		margin-right: 0;
	}

	/* type: module — form layout */
	.ai4seo-form-item-input-wrapper {
		box-sizing: border-box;
		max-width: 100%;
		min-width: 0;
		width: 100%;
	}

	/* type: module — stacked form controls: remove desktop caps after the layout loses its label column. */
	.ai4seo-form-item-input-wrapper > label,
	.ai4seo-form-item-description,
	.ai4seo-slider-input,
	.ai4seo-slider-input-selected-description {
		max-width: 100%;
	}

	/* type: module — form layout */
	.ai4seo-form-item-description {
		width: 100%;
		margin-top: 20px;
	}

	/* type: module — form layout */
	.ai4seo-form-section > .ai4seo-form-item-description {
		margin-right: 1.5rem !important;
		margin-left: 1.5rem !important;
	}

	/* type: module — form layout */
	.ai4seo-form-section {
		width: 100%;
		max-width: 100%;
	}
}

@media (max-width: 782px) {
	/* type: module — form layout: tighten item spacing only on small screens. */
	.ai4seo-form-item {
		padding: 2.25rem 1.5rem;
	}
}

/* ===========================================================================================
	AI for SEO — Toasts
	Non-blocking notifications, stack bottom-right, accessible
	=========================================================================================== */

/* ===========================================================================================
	AI for SEO — Toasts (CodePen-style, icons + countdown)
	Top-right stack, slide-in, progress bar
	=========================================================================================== */

.ai4seo-toast-container{
	position: fixed;
	top: 60px;
	right: 30px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	z-index: 160015;
}

.ai4seo-toast{
	position: relative;
	width: 320px;
	border-radius: 12px;
	background: #fff;
	padding: 20px 35px 20px 25px;
	box-shadow: 0 6px 20px -5px rgba(0,0,0,.1);
	display: flex;
	overflow: hidden;
	align-items: center;
	transform: translateX(calc(100% + 30px));
	transition: all .5s cubic-bezier(.68,-.55,.265,1.35);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ai4seo-toast.active{ transform: translateX(0%); }

.ai4seo-toast-content{
	display: flex;
	align-items: center;
}

.ai4seo-toast-icon{
	display: flex;
	align-items: center;
	justify-content: center;
	height: 35px;
	min-width: 35px;
	font-size: 28px;
	line-height: 1;
	color: #2271b1; /* default info */
}

.ai4seo-toast-message{
	display: flex;
	flex-direction: column;
	margin-left: 15px;
}

.ai4seo-text{
	font-size: 14px;
	font-weight: 400;
	color: #666;
}

.ai4seo-text.ai4seo-text-1{
	font-weight: 600;
	color: #333;
	margin-bottom: 2px;
}

.ai4seo-toast-close {
	position: absolute;
	top: 10px;
	right: 15px;
	padding: 5px;
	cursor: pointer;
	opacity: .6;
	background: transparent;
	border: 0;
	font-size: 32px;
	line-height: 1;
}

.ai4seo-toast-close:hover{
	opacity: 1;
}

/* Progress bar */
.ai4seo-toast-progress{
	position: absolute;
	bottom: 0;
	left: 0;
	height: 3px;
	width: 100%;
}
.ai4seo-toast-progress > span{
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	height: 100%;
	width: 100%;
	background: #2271b1; /* default info */
	animation-name: ai4seo-toast-progress;
	animation-timing-function: linear;
	animation-fill-mode: forwards;
}
.ai4seo-toast-progress.active > span{
	/* duration is set inline via JS: animation-duration: <ms>; */
}

@keyframes ai4seo-toast-progress{
	100% { right: 100%; }
}

/* Type colors */
.ai4seo-toast-success {
	border-left-color: rgb(25,135,84);
}

.ai4seo-toast-error {
	border-left-color: rgb(220,53,69);
}

.ai4seo-toast-warning {
	border-left-color: rgb(255,193,7);
}

.ai4seo-toast-info, .ai4seo-toast-loading {
	border-left-color: rgb(13,202,240);
}

.ai4seo-toast-success .ai4seo-toast-icon {
	color: rgb(25,135,84);
}

.ai4seo-toast-success .ai4seo-toast-progress > span {
	background: rgb(25,135,84);
}

.ai4seo-toast-error .ai4seo-toast-icon {
	color: rgb(220,53,69);
}

.ai4seo-toast-error .ai4seo-toast-progress > span {
	background: rgb(220,53,69);
}

.ai4seo-toast-warning .ai4seo-toast-icon {
	color: rgb(255,193,7);
}

.ai4seo-toast-warning .ai4seo-toast-progress > span {
	background: rgb(255,193,7);
}

.ai4seo-toast-info .ai4seo-toast-icon, .ai4seo-toast-loading .ai4seo-toast-icon {
	color: rgb(13,202,240);
}

.ai4seo-toast-info .ai4seo-toast-progress > span, .ai4seo-toast-loading .ai4seo-toast-progress > span {
	background: rgb(13,202,240);
}

/* type: module — plugin deactivation feedback modal */
.ai4seo-plugin-deactivation-feedback-message {
	width: 100%;
	min-height: 50px;
	resize: vertical;
}

.ai4seo-plugin-deactivation-feedback-billing-warning {
	background: var(--ai4seo-warning-soft);
	border-left: 4px solid var(--ai4seo-warning);
	padding: 8px 12px;
}

.ai4seo-plugin-deactivation-feedback-billing-warning p {
	margin: 0;
}

.ai4seo-plugin-deactivation-feedback-billing-warning p + p {
	margin-top: 0.5rem;
}

.ai4seo-plugin-deactivation-feedback-billing-warning-actions {
	margin-top: 0.5rem;
}

.ai4seo-plugin-deactivation-feedback-hint {
	opacity: 0.35;
	font-size: 0.9rem;
	transition: opacity 0.2s ease;
}

.ai4seo-plugin-deactivation-feedback-modal.ai4seo-feedback-qualified .ai4seo-plugin-deactivation-feedback-hint {
	opacity: 1;
	color: green;
}

.ai4seo-plugin-deactivation-feedback-modal.ai4seo-feedback-qualified .ai4seo-plugin-deactivation-feedback-hint svg {
	fill: green;
}
