/**
 * Admin styles for WebEquipe PDF Search
 *
 * @package WebEquipe\PDFSearch
 * @since 1.0.0
 */

.webequipe-pdf-search-admin {
	margin-top: 20px;
}

.webequipe-pdf-search-stats {
	background: #fff;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	padding: 20px;
	margin-bottom: 20px;
}

.webequipe-pdf-search-stats h2 {
	margin-top: 0;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin-top: 15px;
}

.stat-box {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	padding: 15px;
	border-radius: 4px;
}

.stat-box.stat-error {
	background: #fcf0f1;
	border-color: #d63638;
}

.stat-label {
	display: block;
	font-size: 12px;
	color: #646970;
	margin-bottom: 5px;
}

.stat-value {
	display: block;
	font-size: 24px;
	font-weight: 600;
	color: #1d2327;
}

.webequipe-pdf-search-actions {
	background: #fff;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	padding: 20px;
	margin-top: 20px;
}

.webequipe-pdf-search-actions h2 {
	margin-top: 0;
}

.webequipe-pdf-settings-section {
	background: #fff;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	padding: 20px;
}

.webequipe-pdf-settings-section > h2 {
	margin-top: 0;
	margin-bottom: 16px;
}

.webequipe-pdf-settings-section h2 {
	padding-bottom: 8px;
	border-bottom: 1px solid #f0f0f1;
}

.progress-bar {
	width: 100%;
	height: 30px;
	background: #f0f0f1;
	border-radius: 4px;
	overflow: hidden;
	margin: 15px 0;
}

.progress-fill {
	height: 100%;
	background: #2271b1;
	width: 0%;
	transition: width 0.3s ease;
}

.progress-text {
	margin: 10px 0;
	font-weight: 600;
}

.webequipe-pdf-progress-notice {
	margin: 0 0 12px;
	padding: 10px 12px;
	font-size: 13px;
	line-height: 1.45;
	font-weight: 400;
	color: #50575e;
	background: #fcf9e8;
	border-left: 4px solid #dba617;
	border-radius: 0 2px 2px 0;
}

/* Shared dashicon alignment inside plugin admin UI */
.webequipe-pdf-search-admin .button .dashicons,
.webequipe-pdf-activity-wrap .button .dashicons,
.webequipe-pdf-manage-wrap .button .dashicons,
.webequipe-pdf-activity-header-actions .button .dashicons,
.webequipe-pdf-manage-header-actions .button .dashicons {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 1;
	margin: 0;
	flex-shrink: 0;
	vertical-align: unset;
}

.webequipe-pdf-search-admin .button:has(> .dashicons),
.webequipe-pdf-activity-wrap .button:has(> .dashicons),
.webequipe-pdf-manage-wrap .button:has(> .dashicons),
.webequipe-pdf-activity-header-actions .button:has(> .dashicons),
.webequipe-pdf-manage-header-actions .button:has(> .dashicons),
.webequipe-pdf-search-admin #webequipe-pdf-scan,
.webequipe-pdf-search-admin #refresh-pdf-list,
.webequipe-pdf-activity-wrap #webequipe-pdf-activity-refresh,
.webequipe-pdf-manage-wrap #webequipe-pdf-manage-refresh,
.webequipe-pdf-manage-wrap #refresh-pdf-list {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	vertical-align: middle;
	line-height: 1.4;
}

.webequipe-pdf-search-meta-box .status-badge,
.webequipe-pdf-index-status .status-badge,
#webequipe-pdf-list-table .status-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	line-height: 1.2;
}

.webequipe-pdf-search-meta-box .status-badge .dashicons,
.webequipe-pdf-index-status .status-badge .dashicons,
#webequipe-pdf-list-table .status-badge .dashicons {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	width: 16px;
	height: 16px;
	line-height: 1;
	margin: 0;
	flex-shrink: 0;
}

.webequipe-pdf-search-meta-box .status-badge {
	padding: 4px 8px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
}

.webequipe-pdf-search-meta-box .status-badge.status-indexed {
	background: #d1e7dd;
	color: #0f5132;
}

.webequipe-pdf-search-meta-box .status-badge.status-not-indexed {
	background: #f8d7da;
	color: #842029;
}

.webequipe-pdf-search-meta-box .status-badge.status-excluded {
	background: #e2e3e5;
	color: #41464b;
}

.webequipe-pdf-search-meta-box .status-badge.status-error {
	background: #f8d7da;
	color: #842029;
}

.webequipe-pdf-search-meta-box .status-badge.status-processing {
	background: #cfe2ff;
	color: #084298;
}

.webequipe-pdf-search-meta-box .status-badge.status-scheduled {
	background: #fff3cd;
	color: #664d03;
}

.text-preview {
	background: #f6f7f7;
	padding: 10px;
	border-radius: 4px;
	max-height: 150px;
	overflow-y: auto;
	font-size: 12px;
	line-height: 1.6;
}

.webequipe-pdf-reindex-single .spinner {
	float: none;
	margin: 0 0 0 10px;
}

.webequipe-pdf-search-meta-box .webequipe-pdf-index-status {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	line-height: 1.2;
}

/* Media Library Column & Attachment meta box: same status badge design as Settings table */
.webequipe-pdf-index-status {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	line-height: 1.2;
}

.webequipe-pdf-index-status .status-badge {
	padding: 4px 8px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.webequipe-pdf-index-status .status-badge.status-indexed {
	background: #d1e7dd;
	color: #0f5132;
}

.webequipe-pdf-index-status .status-badge.status-not-indexed {
	background: #f8d7da;
	color: #842029;
}

.webequipe-pdf-index-status .status-badge.status-excluded {
	background: #e2e3e5;
	color: #41464b;
}

.webequipe-pdf-index-status .status-badge.status-error {
	background: #f8d7da;
	color: #842029;
}

.webequipe-pdf-index-status small {
	color: #646970;
	display: block;
	margin-top: 2px;
}

.webequipe-pdf-actions {
	margin-top: 5px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.webequipe-pdf-actions .spinner {
	float: none;
	margin: 0;
}

/* JavaScript-generated content styles */
.webequipe-pdf-list-table .status-icon-indexed {
	color: #00a32a;
}

.webequipe-pdf-list-table .status-icon-not-indexed,
.webequipe-pdf-list-table .status-icon-excluded {
	color: #646970;
}

.webequipe-pdf-list-table .status-icon-error {
	color: #d63638;
}

.webequipe-pdf-list-table .status-text-indexed {
	color: #00a32a;
}

.webequipe-pdf-list-table .status-text-not-indexed,
.webequipe-pdf-list-table .status-text-excluded {
	color: #646970;
}

.webequipe-pdf-list-table .status-date {
	color: #646970;
}

.webequipe-pdf-list-table .no-pdfs-message {
	text-align: center;
	padding: 20px;
}

.pdf-row-actions .spinner {
	float: none;
	margin: 0 0 0 5px;
}

/* Initially hidden elements on legacy settings admin (JavaScript will toggle) */
.webequipe-pdf-search-admin #webequipe-pdf-progress,
.webequipe-pdf-search-admin #webequipe-pdf-list-container,
.webequipe-pdf-search-admin .webequipe-pdf-list-loading,
.webequipe-pdf-search-admin #webequipe-pdf-list-table,
.webequipe-pdf-search-admin #webequipe-pdf-list-footer {
	display: none;
}

/* Manage PDFs page: library panel visible; loading/table/footer toggled by JS */
.webequipe-pdf-manage-wrap #webequipe-pdf-list-container {
	display: block;
}

/* Code examples in help page */
.webequipe-pdf-search-help code {
	white-space: pre-wrap;
}

/* Shortcode Section */
.webequipe-pdf-shortcode-section {
	background: #fff;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	padding: 20px;
	margin-bottom: 20px;
}

.webequipe-pdf-shortcode-section h2 {
	margin-top: 0;
}

.shortcode-display {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 15px 0;
	padding: 15px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
}

.shortcode-display code {
	flex: 1;
	background: transparent;
	padding: 0;
	font-size: 14px;
	font-family: 'Courier New', monospace;
	color: #1d2327;
}

.copy-shortcode {
	display: flex;
	align-items: center;
	gap: 5px;
}

/* Manage PDFs page (compact Pro-style layout) */
.webequipe-pdf-manage-wrap {
	margin-top: 10px;
}

.webequipe-pdf-manage-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.webequipe-pdf-manage-header-text {
	flex: 1;
	min-width: 200px;
}

.webequipe-pdf-manage-header-text h1 {
	margin: 0 0 8px;
	padding: 0;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.3;
}

.webequipe-pdf-manage-subtitle {
	margin: 0;
	color: #646970;
	font-size: 14px;
	line-height: 1.5;
	max-width: 640px;
}

.webequipe-pdf-manage-subtitle a {
	margin-left: 6px;
}

.webequipe-pdf-manage-header-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	flex-shrink: 0;
}

.webequipe-pdf-manage-btn-danger {
	border-color: #d63638 !important;
	color: #b32d2e !important;
}

.webequipe-pdf-manage-btn-danger:hover,
.webequipe-pdf-manage-btn-danger:focus {
	border-color: #b32d2e !important;
	color: #8a2424 !important;
}

.webequipe-pdf-manage-metrics {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 10px;
}

.webequipe-pdf-manage-metric-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: 52px;
	padding: 8px 10px;
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.webequipe-pdf-manage-metric-value {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	color: #1d2327;
}

.webequipe-pdf-manage-metric-label {
	margin-top: 2px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.25;
	color: #646970;
}

.webequipe-pdf-manage-progress {
	background: #fff;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	padding: 16px 20px;
	margin-bottom: 20px;
	border-radius: 4px;
}

.webequipe-pdf-manage-wrap #webequipe-pdf-list-footer.webequipe-pdf-list-footer {
	display: none;
}

.webequipe-pdf-manage-wrap #webequipe-pdf-list-table {
	display: none;
}

.webequipe-pdf-manage-wrap .webequipe-pdf-list-loading {
	display: none;
}

.webequipe-pdf-manage-library {
	background: #fff;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	border-radius: 4px;
	padding: 12px 14px 14px;
}

.webequipe-pdf-manage-library-header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid #f0f0f1;
}

.webequipe-pdf-manage-library-header h2 {
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: 600;
}

.webequipe-pdf-manage-last-scan {
	margin: 0;
	font-size: 12px;
	color: #646970;
	white-space: nowrap;
}

.webequipe-pdf-manage-list-container {
	margin-top: 0;
}

.webequipe-pdf-manage-wrap .webequipe-pdf-list-controls {
	margin-bottom: 10px;
	padding: 10px 12px;
	gap: 10px;
	align-items: center;
}

.webequipe-pdf-manage-wrap {
	--webequipe-manage-control-height: 32px;
}

.webequipe-pdf-manage-wrap .webequipe-pdf-list-filters {
	min-width: 0;
	gap: 8px;
	align-items: center;
}

.webequipe-pdf-manage-wrap .webequipe-pdf-list-actions {
	gap: 8px;
	align-items: center;
}

/* Toolbar inputs/selects: shared height; extra right padding on selects for the arrow */
.webequipe-pdf-manage-wrap .webequipe-pdf-search-input,
.webequipe-pdf-manage-wrap .webequipe-pdf-status-filter,
.webequipe-pdf-manage-wrap .webequipe-pdf-per-page,
.webequipe-pdf-manage-wrap .bulk-action-select {
	height: var(--webequipe-manage-control-height);
	min-height: var(--webequipe-manage-control-height);
	max-height: var(--webequipe-manage-control-height);
	margin: 0;
	padding: 0 10px;
	font-size: 14px;
	line-height: 1.2;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	box-sizing: border-box;
	vertical-align: middle;
}

.webequipe-pdf-manage-wrap .webequipe-pdf-status-filter,
.webequipe-pdf-manage-wrap .webequipe-pdf-per-page,
.webequipe-pdf-manage-wrap .bulk-action-select {
	padding-right: 30px;
}

.webequipe-pdf-manage-wrap .webequipe-pdf-search-input {
	min-width: 160px;
}

.webequipe-pdf-manage-wrap .webequipe-pdf-status-filter {
	min-width: 11em;
}

.webequipe-pdf-manage-wrap .webequipe-pdf-per-page {
	min-width: 4.25em;
	width: auto;
}

.webequipe-pdf-manage-wrap .webequipe-pdf-list-actions .button {
	height: var(--webequipe-manage-control-height);
	min-height: var(--webequipe-manage-control-height);
	max-height: var(--webequipe-manage-control-height);
	margin: 0;
	padding: 0 12px;
	line-height: 1.2;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	vertical-align: middle;
}

/* Match WP core button line-height so Apply/Scan are not taller than dropdowns */
.webequipe-pdf-manage-wrap .webequipe-pdf-list-actions .button.button {
	line-height: 1.2;
}

.webequipe-pdf-manage-wrap #refresh-pdf-list {
	gap: 6px;
}

.webequipe-pdf-manage-select-all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	white-space: nowrap;
}

.webequipe-pdf-manage-wrap .webequipe-pdf-per-page-label {
	display: inline-flex;
	align-items: center;
	height: var(--webequipe-manage-control-height);
	margin: 0;
	line-height: 1.4;
}

.webequipe-pdf-manage-wrap .webequipe-pdf-list-loading {
	padding: 8px 0;
}

.webequipe-pdf-manage-list-footer {
	margin-top: 8px;
	padding-top: 8px;
}

@media screen and (max-width: 1200px) {
	.webequipe-pdf-manage-metrics {
		grid-template-columns: repeat(5, minmax(100px, 1fr));
		overflow-x: auto;
	}
}

@media screen and (max-width: 782px) {
	.webequipe-pdf-manage-metrics {
		grid-template-columns: repeat(3, 1fr);
	}

	.webequipe-pdf-manage-header {
		flex-direction: column;
		align-items: stretch;
	}
}

.webequipe-pdf-per-page-label {
	font-size: 13px;
	color: #646970;
}

.webequipe-pdf-manage-table-wrap {
	overflow-x: auto;
}

.webequipe-pdf-manage-table th,
.webequipe-pdf-manage-table td {
	padding: 8px 10px;
}

.webequipe-pdf-manage-table .col-document {
	min-width: 200px;
}

.webequipe-pdf-manage-table .col-pages,
.webequipe-pdf-manage-table .col-visibility,
.webequipe-pdf-manage-table .col-extraction {
	width: 120px;
}

.webequipe-pdf-manage-file-meta {
	display: block;
	color: #646970;
}

.webequipe-pdf-manage-type-badge {
	display: inline-block;
	padding: 3px 8px;
	font-size: 12px;
	font-weight: 500;
	color: #1d2327;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
}

.webequipe-pdf-manage-status-date {
	margin-top: 4px;
	font-size: 12px;
	color: #646970;
}

.webequipe-pdf-manage-table .col-status .status-badge {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
}

.webequipe-pdf-list-controls {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	align-items: center;
	margin-bottom: 20px;
	padding: 15px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
}

.webequipe-pdf-list-filters {
	display: flex;
	gap: 10px;
	flex: 1;
	min-width: 300px;
}

.webequipe-pdf-search-input {
	padding: 6px 10px;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	font-size: 14px;
	min-width: 200px;
}

.webequipe-pdf-status-filter {
	padding: 6px 10px;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	font-size: 14px;
}

.webequipe-pdf-list-actions {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

.bulk-action-select {
	padding: 6px 10px;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	font-size: 14px;
}

.webequipe-pdf-list-loading {
	text-align: center;
	padding: 40px;
	color: #646970;
}

.webequipe-pdf-list-loading .spinner {
	float: none;
	margin: 0 10px 0 0;
}

/* PDF List Table */
#webequipe-pdf-list-table {
	margin-top: 0;
}

#webequipe-pdf-list-table .check-column {
	width: 2.2em;
}

#webequipe-pdf-list-table .row-actions {
	font-size: 11px;
	color: #646970;
	margin-top: 5px;
}

#webequipe-pdf-list-table .filename {
	font-style: italic;
}

#webequipe-pdf-list-table .status-badge {
	padding: 4px 8px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

#webequipe-pdf-list-table tbody td:nth-child(4) {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

#webequipe-pdf-list-table .status-badge.status-indexed {
	background: #d1e7dd;
	color: #0f5132;
}

#webequipe-pdf-list-table .status-badge.status-not-indexed {
	background: #f8d7da;
	color: #842029;
}

#webequipe-pdf-list-table .status-badge.status-excluded {
	background: #e2e3e5;
	color: #41464b;
}

#webequipe-pdf-list-table .status-badge.status-error {
	background: #f8d7da;
	color: #842029;
	cursor: help;
}

#webequipe-pdf-list-table .status-badge.status-processing {
	background: #cff4fc;
	color: #055160;
}

#webequipe-pdf-list-table .status-badge.status-scheduled {
	background: #e2d9f3;
	color: #432874;
}

#webequipe-pdf-list-table .status-badge.status-stalled {
	background: #fff3cd;
	color: #664d03;
}

.webequipe-pdf-manage-status-hint {
	margin-top: 4px;
	font-size: 11px;
	line-height: 1.35;
	color: #646970;
	max-width: 220px;
}

#webequipe-pdf-list-table .status-badge.status-processing .dashicons-update,
#webequipe-pdf-list-table .status-badge.status-scheduled .dashicons-update {
	animation: webequipe-pdf-spin 1s linear infinite;
}

@keyframes webequipe-pdf-spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.webequipe-pdf-manage-status-progress {
	margin-top: 4px;
	font-size: 12px;
	color: #646970;
}

#webequipe-pdf-list-table tr[data-status="processing"] .pdf-checkbox,
#webequipe-pdf-list-table tr[data-status="scheduled"] .pdf-checkbox,
#webequipe-pdf-list-table tr[data-status="stalled"] .pdf-checkbox {
	pointer-events: none;
	opacity: 0.4;
}

/* Small inline error / warning info buttons beside status badges */
.webequipe-pdf-error-details,
.webequipe-pdf-index-warning {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: 22px;
	height: 22px;
	min-width: 22px;
	min-height: 22px;
	padding: 0;
	margin: 0;
	line-height: 1;
	vertical-align: unset;
}

.webequipe-pdf-error-details .dashicons,
.webequipe-pdf-index-warning .dashicons {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 1;
	margin: 0;
}

.webequipe-pdf-error-details .dashicons-info-outline {
	color: #2271b1;
}

.webequipe-pdf-index-warning .dashicons-info-outline {
	color: #dba617;
}

/* Error dialog for detailed PDF indexing errors */
.webequipe-pdf-error-dialog-wrapper {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
}

.webequipe-pdf-error-dialog-wrapper.is-visible {
	display: flex;
}

.webequipe-pdf-error-dialog {
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	max-width: 520px;
	width: 100%;
	padding: 20px 24px;
}

.webequipe-pdf-error-dialog h2 {
	margin-top: 0;
	margin-bottom: 12px;
}

.webequipe-pdf-error-dialog-body {
	margin-bottom: 16px;
}

.webequipe-pdf-error-raw {
	margin: 0 0 8px;
	font-weight: 600;
	color: #b32d2e;
}

.webequipe-pdf-error-suggestion {
	margin: 0;
}

.webequipe-pdf-error-suggestion--secondary {
	margin-top: 12px;
	font-size: 13px;
	font-weight: 400;
	color: #646970;
}

.webequipe-pdf-error-dialog-pro {
	display: none;
	margin-top: 14px;
	padding: 14px 16px;
	background: #ede9fe;
	border: 1px solid #d8ccff;
	border-radius: 6px;
}

.webequipe-pdf-error-pro-lead {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.5;
	color: #1d2327;
}

.webequipe-pdf-error-dialog-pro-link {
	display: inline-block;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: #5b21b6;
	text-decoration: none;
}

.webequipe-pdf-error-dialog-pro-link:hover,
.webequipe-pdf-error-dialog-pro-link:focus {
	color: #4c1d95;
	text-decoration: underline;
	outline: none;
}

.webequipe-pdf-error-dialog-footer {
	text-align: right;
}

#webequipe-pdf-list-table .pdf-row-actions {
	display: flex;
	gap: 5px;
	align-items: center;
	flex-wrap: wrap;
}

#webequipe-pdf-list-table .pdf-row-actions .spinner {
	float: none;
	margin: 0;
}

/* PDF List Footer */
.webequipe-pdf-list-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 15px;
	padding: 15px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
}

.pdf-list-summary {
	font-size: 14px;
	color: #646970;
}

.pdf-list-stats {
	font-size: 13px;
	color: #646970;
}

.pdf-list-stats strong {
	color: #1d2327;
	font-weight: 600;
}

.pdf-list-stats .stat-indexed strong {
	color: #00a32a;
}

.pdf-list-stats .stat-not-indexed strong {
	color: #d63638;
}

.pdf-list-stats .stat-excluded strong {
	color: #646970;
}

.pdf-list-stats .stat-errors strong {
	color: #d63638;
}

/* Pagination */
.pdf-list-pagination {
	display: flex;
	align-items: center;
	gap: 5px;
}

.tablenav-pages {
	display: flex;
	align-items: center;
	gap: 5px;
}

.tablenav-pages .button {
	min-width: 30px;
	height: 30px;
	line-height: 28px;
	padding: 0 8px;
	text-align: center;
}

.tablenav-pages .button.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.tablenav-pages .button.current {
	background: #2271b1;
	color: #fff;
	border-color: #2271b1;
}

.tablenav-pages .dots {
	padding: 0 5px;
	color: #646970;
}

.tablenav-pages .displaying-num {
	margin-left: 10px;
	color: #646970;
	font-size: 13px;
}

/* Responsive Design */
@media (max-width: 782px) {
	.webequipe-pdf-list-controls {
		flex-direction: column;
		align-items: stretch;
	}

	.webequipe-pdf-list-filters {
		flex-direction: column;
		min-width: auto;
	}

	.webequipe-pdf-list-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.webequipe-pdf-list-actions > * {
		width: 100%;
	}

	.webequipe-pdf-list-footer {
		flex-direction: column;
		align-items: flex-start;
	}

	#webequipe-pdf-list-table {
		overflow-x: auto;
		display: block;
	}

	.shortcode-display {
		flex-direction: column;
		align-items: stretch;
	}

	.copy-shortcode {
		width: 100%;
		justify-content: center;
	}
}

/* Help Page Styles */
.webequipe-pdf-search-help .card {
	max-width: 900px;
	margin-bottom: 25px;
	padding: 25px;
	background: #fff;
	border: 1px solid #c3c4c7;
	box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

.webequipe-pdf-search-help .card h2 {
	margin-top: 0;
	padding-bottom: 10px;
	border-bottom: 2px solid #f0f0f1;
}

.webequipe-pdf-search-help .card h3 {
	margin-top: 25px;
	color: #1d2327;
}

.webequipe-pdf-search-help .card h4 {
	margin-top: 15px;
	color: #1d2327;
}

.webequipe-pdf-search-help code {
	display: block;
	background: #f0f0f1;
	padding: 12px 15px;
	margin: 15px 0;
	border-radius: 4px;
	overflow-x: auto;
	font-family: 'Courier New', monospace;
	font-size: 14px;
}

.webequipe-pdf-search-help ul {
	margin: 15px 0;
	padding-left: 25px;
}

.webequipe-pdf-search-help ul li {
	margin-bottom: 8px;
	line-height: 1.6;
}

.webequipe-pdf-search-help strong {
	color: #1d2327;
}

.webequipe-pdf-search-help .status-list {
	list-style: none;
	padding-left: 0;
}

.webequipe-pdf-search-help .status-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}

.webequipe-pdf-search-help .status-list .dashicons {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	font-size: 20px;
	line-height: 1;
	color: #646970;
	vertical-align: unset;
}

.webequipe-pdf-search-help .status-list .dashicons.dashicons-yes-alt {
	color: #00a32a;
}

.webequipe-pdf-search-help .status-list .dashicons.dashicons-warning {
	color: #d63638;
}

.webequipe-pdf-search-help .status-list strong,
.webequipe-pdf-search-help .status-list span:not(.dashicons):not(strong) {
	margin-left: 0;
}

.webequipe-pdf-search-help .info-box {
	background: #f0f6fc;
	padding: 15px;
	border-left: 4px solid #2271b1;
	margin: 15px 0;
}

.webequipe-pdf-search-help .info-box h4 {
	margin-top: 0;
}

.webequipe-pdf-search-help .shortcode-table {
	width: 100%;
	border-collapse: collapse;
	margin: 15px 0;
}

.webequipe-pdf-search-help .shortcode-table thead tr {
	background: #f0f0f1;
	border-bottom: 2px solid #c3c4c7;
}

.webequipe-pdf-search-help .shortcode-table th,
.webequipe-pdf-search-help .shortcode-table td {
	padding: 10px;
	text-align: left;
	border: 1px solid #c3c4c7;
}

.webequipe-pdf-search-help .shortcode-table code {
	white-space: pre-wrap;
}

/* Index Activity page */
.webequipe-pdf-activity-wrap {
	margin-top: 10px;
}

.webequipe-pdf-activity-wrap > h1 {
	display: none;
}

.webequipe-pdf-activity-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.webequipe-pdf-activity-header-text h1 {
	margin: 0 0 8px;
	padding: 0;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.3;
}

.webequipe-pdf-activity-subtitle {
	margin: 0;
	color: #646970;
	font-size: 14px;
	max-width: 640px;
}

.webequipe-pdf-activity-header-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

/* Button dashicon rules covered by shared alignment block above */

.webequipe-pdf-activity-progress {
	background: #fff;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	padding: 16px 20px;
	margin-bottom: 20px;
	border-radius: 4px;
}

.webequipe-pdf-activity-stats {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	margin-bottom: 20px;
}

@media (max-width: 1200px) {
	.webequipe-pdf-activity-stats {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 782px) {
	.webequipe-pdf-activity-stats {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.webequipe-pdf-activity-stats {
		grid-template-columns: 1fr;
	}
}

.webequipe-pdf-activity-stat-card {
	background: #fff;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	border-radius: 4px;
	padding: 16px 18px;
}

.webequipe-pdf-activity-stat-value {
	display: block;
	font-size: 28px;
	font-weight: 600;
	color: #1d2327;
	line-height: 1.2;
	margin-bottom: 4px;
}

.webequipe-pdf-activity-stat-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #1d2327;
}

.webequipe-pdf-activity-stat-hint {
	display: block;
	font-size: 12px;
	color: #646970;
	margin-top: 2px;
}

.webequipe-pdf-activity-panel {
	background: #fff;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	border-radius: 4px;
	padding: 20px;
}

.webequipe-pdf-activity-panel-header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #f0f0f1;
}

.webequipe-pdf-activity-panel-header h2 {
	margin: 0 0 6px;
	font-size: 16px;
}

.webequipe-pdf-activity-panel-desc {
	margin: 0;
	color: #646970;
	font-size: 13px;
}

.webequipe-pdf-activity-last-updated {
	font-size: 12px;
	color: #646970;
	white-space: nowrap;
}

.webequipe-pdf-activity-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.webequipe-pdf-activity-toolbar-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.webequipe-pdf-activity-toolbar-actions .button:has(> .dashicons) {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.webequipe-pdf-activity-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	flex: 1;
	min-width: 200px;
}

.webequipe-pdf-activity-select {
	min-width: 130px;
	border-color: #8c8f94;
}

.webequipe-pdf-activity-per-page-label {
	font-size: 13px;
	color: #646970;
}

.webequipe-pdf-activity-search {
	min-width: 220px;
	flex: 1;
	max-width: 320px;
}

.webequipe-pdf-activity-loading {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 0;
	color: #646970;
}

.webequipe-pdf-activity-table {
	border: 1px solid #c3c4c7;
	border-collapse: collapse;
	margin-bottom: 0;
}

.webequipe-pdf-activity-table thead th {
	background: #f6f7f7;
	font-weight: 600;
	padding: 10px 12px;
	border-bottom: 1px solid #c3c4c7;
}

.webequipe-pdf-activity-table tbody td {
	padding: 12px;
	vertical-align: middle;
	border-bottom: 1px solid #f0f0f1;
}

.webequipe-pdf-activity-table .col-sl {
	width: 48px;
	text-align: center;
	color: #646970;
	font-variant-numeric: tabular-nums;
}

.webequipe-pdf-activity-table .col-pages {
	width: 80px;
	text-align: center;
}

.webequipe-pdf-activity-table .col-status {
	width: 120px;
}

.webequipe-pdf-activity-table .col-updated {
	width: 180px;
	white-space: nowrap;
}

.webequipe-pdf-activity-table .col-action {
	width: 90px;
	text-align: center;
}

.webequipe-pdf-activity-doc-title {
	display: block;
	font-weight: 600;
	color: #1d2327;
	margin-bottom: 2px;
}

.webequipe-pdf-activity-doc-meta {
	display: block;
	font-size: 12px;
	color: #646970;
}

.webequipe-pdf-activity-status {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: lowercase;
}

.webequipe-pdf-activity-status.status-completed {
	background: #edfaef;
	color: #00a32a;
}

.webequipe-pdf-activity-status.status-processing {
	background: #f0f6fc;
	color: #2271b1;
}

.webequipe-pdf-activity-status.status-scheduled {
	background: #e2d9f3;
	color: #432874;
}

.webequipe-pdf-activity-status.status-stalled {
	background: #fff3cd;
	color: #664d03;
}

.webequipe-pdf-activity-status.status-pending {
	background: #f6f7f7;
	color: #646970;
}

.webequipe-pdf-activity-status.status-failed {
	background: #fcf0f1;
	color: #d63638;
}

.webequipe-pdf-activity-status.status-cancelled {
	background: #f6f7f7;
	color: #646970;
}

.webequipe-pdf-activity-empty td {
	text-align: center;
	color: #646970;
	padding: 24px;
}

.webequipe-pdf-activity-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #f0f0f1;
}

.webequipe-pdf-activity-summary {
	margin: 0;
	font-size: 13px;
	color: #646970;
}

.webequipe-pdf-activity-pagination {
	display: flex;
	align-items: center;
	gap: 8px;
}

.webequipe-pdf-activity-page-info {
	font-size: 13px;
	color: #1d2327;
	min-width: 100px;
	text-align: center;
}

/* Dashboard page */
.webequipe-pdf-dashboard-wrap {
	margin-top: 10px;
}

.webequipe-pdf-dashboard-wrap > h1 {
	display: none;
}

.webequipe-pdf-dashboard-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.webequipe-pdf-dashboard-header-text h1 {
	margin: 0 0 8px;
	padding: 0;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.3;
}

.webequipe-pdf-dashboard-subtitle {
	margin: 0;
	color: #646970;
	font-size: 14px;
	max-width: 720px;
}

.webequipe-pdf-dashboard-header-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.webequipe-pdf-dashboard-banner {
	background: #fff;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	border-radius: 4px;
	padding: 20px 24px;
	margin-bottom: 20px;
	border-left-width: 4px;
}

.webequipe-pdf-dashboard-banner--active {
	border-left-color: #00a32a;
}

.webequipe-pdf-dashboard-banner--paused {
	border-left-color: #dba617;
}

.webequipe-pdf-dashboard-banner--warning {
	border-left-color: #d63638;
}

.webequipe-pdf-dashboard-banner-main {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.webequipe-pdf-dashboard-banner-icon {
	font-size: 32px;
	width: 32px;
	height: 32px;
	color: #2271b1;
	margin-top: 2px;
}

.webequipe-pdf-dashboard-banner-title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 600;
}

.webequipe-pdf-dashboard-banner-meta {
	margin: 0 0 12px;
	color: #646970;
	font-size: 13px;
}

.webequipe-pdf-dashboard-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.webequipe-pdf-dashboard-pill {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 600;
}

.webequipe-pdf-dashboard-pill--ok {
	background: #edfaef;
	color: #00a32a;
}

.webequipe-pdf-dashboard-pill--warn {
	background: #fcf9e8;
	color: #996800;
}

.webequipe-pdf-dashboard-pill--neutral {
	background: #f6f7f7;
	color: #646970;
}

.webequipe-pdf-dashboard-metrics {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 20px;
}

@media (max-width: 1200px) {
	.webequipe-pdf-dashboard-metrics {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.webequipe-pdf-dashboard-metrics {
		grid-template-columns: 1fr;
	}
}

.webequipe-pdf-dashboard-metric-card {
	background: #fff;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	border-radius: 4px;
	padding: 16px 18px;
}

.webequipe-pdf-dashboard-metric-value {
	display: block;
	font-size: 28px;
	font-weight: 600;
	color: #1d2327;
	line-height: 1.2;
	margin-bottom: 4px;
}

.webequipe-pdf-dashboard-metric-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #1d2327;
}

.webequipe-pdf-dashboard-metric-hint {
	display: block;
	font-size: 12px;
	color: #646970;
	margin-top: 2px;
}

.webequipe-pdf-dashboard-grid {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 20px;
	align-items: start;
}

@media (max-width: 1024px) {
	.webequipe-pdf-dashboard-grid {
		grid-template-columns: 1fr;
	}
}

.webequipe-pdf-dashboard-panel {
	background: #fff;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	border-radius: 4px;
	padding: 20px;
	margin-bottom: 20px;
}

.webequipe-pdf-dashboard-panel h2 {
	margin: 0 0 16px;
	font-size: 16px;
}

.webequipe-pdf-dashboard-panel-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.webequipe-pdf-dashboard-panel-header h2 {
	margin: 0;
}

.webequipe-pdf-dashboard-panel-link {
	font-size: 13px;
	text-decoration: none;
}

.webequipe-pdf-dashboard-table {
	border: 1px solid #c3c4c7;
	border-collapse: collapse;
	width: 100%;
}

.webequipe-pdf-dashboard-table thead th {
	background: #f6f7f7;
	font-weight: 600;
	padding: 10px 12px;
	text-align: left;
	border-bottom: 1px solid #c3c4c7;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #646970;
}

.webequipe-pdf-dashboard-table tbody td {
	padding: 12px;
	vertical-align: middle;
	border-bottom: 1px solid #f0f0f1;
}

.webequipe-pdf-dashboard-table .col-pages,
.webequipe-pdf-dashboard-table .col-indexed {
	white-space: nowrap;
}

.webequipe-pdf-dashboard-doc {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.webequipe-pdf-dashboard-doc-icon {
	color: #d63638;
	font-size: 20px;
	width: 20px;
	height: 20px;
	margin-top: 2px;
}

.webequipe-pdf-dashboard-doc-title {
	display: block;
	font-weight: 600;
	color: #1d2327;
}

.webequipe-pdf-dashboard-doc-meta {
	display: block;
	font-size: 12px;
	color: #646970;
}

.webequipe-pdf-dashboard-status-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	margin-right: 4px;
	vertical-align: middle;
	background: currentColor;
}

.webequipe-pdf-dashboard-view-link {
	text-decoration: none;
	font-weight: 500;
}

.webequipe-pdf-dashboard-empty {
	margin: 0;
	color: #646970;
	font-size: 13px;
}

.webequipe-pdf-dashboard-shortcodes h2 {
	margin-bottom: 16px;
}

.webequipe-pdf-dashboard-shortcode-block {
	margin-bottom: 16px;
}

.webequipe-pdf-dashboard-shortcode-block label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 13px;
}

.webequipe-pdf-dashboard-shortcode-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.webequipe-pdf-dashboard-shortcode-row code {
	flex: 1;
	min-width: 200px;
	padding: 8px 12px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	font-size: 12px;
	word-break: break-all;
}

.webequipe-pdf-dashboard-shortcode-help {
	margin: 0;
	font-size: 13px;
}

.webequipe-pdf-dashboard-health-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.webequipe-pdf-dashboard-health-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f1;
	font-size: 13px;
}

.webequipe-pdf-dashboard-health-list li:last-child {
	border-bottom: none;
}

.webequipe-pdf-dashboard-health-label {
	color: #1d2327;
}

.webequipe-pdf-dashboard-health-value {
	font-weight: 600;
}

.webequipe-pdf-dashboard-health-value--ok {
	color: #00a32a;
}

.webequipe-pdf-dashboard-health-value--bad {
	color: #d63638;
}

.webequipe-pdf-dashboard-health-value--warn {
	color: #996800;
}

.webequipe-pdf-dashboard-health-value--neutral {
	color: #646970;
}

.webequipe-pdf-dashboard-attention {
	background: #fcf0f1;
	border-color: #d63638;
}

.webequipe-pdf-dashboard-attention-error {
	font-size: 12px;
	color: #646970;
	margin: 0 0 12px;
}

.webequipe-pdf-dashboard-actions-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.webequipe-pdf-dashboard-actions-grid .button-large {
	width: 100%;
	text-align: center;
	justify-content: center;
}

.webequipe-pdf-dashboard-btn-danger {
	border-color: #d63638 !important;
	color: #d63638 !important;
}

.webequipe-pdf-dashboard-btn-danger:hover {
	background: #fcf0f1 !important;
	color: #b32d2e !important;
}

.webequipe-pdf-dashboard-progress {
	margin-top: 16px;
}

/* Pro launch banner — premium, compact */
.webequipe-pdf-pro-banner {
	position: relative;
	overflow: hidden;
	margin: 0 0 16px;
	padding: 16px 48px 16px 20px;
	max-width: 100%;
	box-sizing: border-box;
	border: 1px solid #d8ccff;
	border-radius: 10px;
	background: linear-gradient(135deg, #faf7ff 0%, #f3eeff 45%, #eee7ff 100%);
}

.webequipe-pdf-pro-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 85% 30%, rgba(124, 58, 237, 0.12), transparent 30%);
	pointer-events: none;
}

.webequipe-pdf-pro-banner-dismiss {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	background: transparent;
	border: none;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	color: #94a3b8;
	padding: 4px;
	margin: 0;
	min-height: 0;
}

.webequipe-pdf-pro-banner-dismiss:hover,
.webequipe-pdf-pro-banner-dismiss:focus {
	color: #64748b;
	background: transparent;
	box-shadow: none;
}

.webequipe-pdf-pro-banner-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
}

.webequipe-pdf-pro-banner-main {
	flex: 1 1 280px;
	min-width: 0;
}

.webequipe-pdf-pro-banner-title {
	margin: 0;
	padding: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	color: #1f2937;
	letter-spacing: -0.01em;
}

.webequipe-pdf-pro-banner-subtitle {
	margin: 6px 0 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.45;
	color: #64748b;
	max-width: 42em;
}

.webequipe-pdf-pro-banner-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.webequipe-pdf-pro-banner-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
	color: #5b21b6;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(124, 58, 237, 0.14);
	border-radius: 999px;
	white-space: nowrap;
}

.webequipe-pdf-pro-banner-chip-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	font-size: 10px;
	font-weight: 700;
	color: #7c3aed;
	flex-shrink: 0;
}

.webequipe-pdf-pro-banner-aside {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 6px;
	text-align: right;
}

.webequipe-pdf-pro-banner-cta {
	display: inline-block;
	padding: 10px 18px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
	text-decoration: none;
	border: none;
	border-radius: 10px;
	background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 100%);
	box-shadow: 0 2px 8px rgba(124, 58, 237, 0.28);
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
	white-space: nowrap;
}

.webequipe-pdf-pro-banner-cta:hover,
.webequipe-pdf-pro-banner-cta:focus {
	color: #fff;
	background: linear-gradient(180deg, #7c3aed 0%, #6d28d9 100%);
	box-shadow: 0 4px 14px rgba(124, 58, 237, 0.38);
	transform: translateY(-1px);
	outline: none;
}

.webequipe-pdf-pro-banner-trust {
	margin: 0;
	padding: 0;
	font-size: 11px;
	line-height: 1.35;
	color: #64748b;
}

@media screen and (max-width: 960px) {
	.webequipe-pdf-pro-banner-title {
		font-size: 18px;
	}

	.webequipe-pdf-pro-banner-subtitle {
		font-size: 13px;
	}
}

@media screen and (max-width: 782px) {
	.webequipe-pdf-pro-banner {
		padding: 14px 40px 14px 16px;
	}

	.webequipe-pdf-pro-banner-inner {
		flex-direction: column;
		align-items: stretch;
	}

	.webequipe-pdf-pro-banner-aside {
		width: 100%;
		align-items: stretch;
		text-align: center;
	}

	.webequipe-pdf-pro-banner-cta {
		width: 100%;
		box-sizing: border-box;
		text-align: center;
		white-space: normal;
	}

	.webequipe-pdf-pro-banner-chip {
		white-space: normal;
	}
}

/* Settings page (Pro-style cards) */
.webequipe-pdf-settings-wrap {
	margin-top: 10px;
}

.webequipe-pdf-settings-wrap > h1 {
	display: none;
}

.webequipe-pdf-settings-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.webequipe-pdf-settings-header-text h1 {
	margin: 0 0 8px;
	padding: 0;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.3;
}

.webequipe-pdf-settings-subtitle {
	margin: 0;
	color: #646970;
	font-size: 14px;
	max-width: 720px;
}

.webequipe-pdf-settings-header-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.webequipe-pdf-settings-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.webequipe-pdf-settings-card {
	background: #fff;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	border-radius: 4px;
	overflow: hidden;
}

.webequipe-pdf-settings-card-header {
	padding: 20px 24px 16px;
	border-bottom: 1px solid #f0f0f1;
}

.webequipe-pdf-settings-card-title {
	margin: 0 0 6px;
	padding: 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: #1d2327;
}

.webequipe-pdf-settings-card-subtitle {
	margin: 0;
	color: #646970;
	font-size: 13px;
	line-height: 1.5;
}

.webequipe-pdf-settings-card--danger .webequipe-pdf-settings-card-header {
	background: #fcf0f1;
	border-bottom-color: #f5c2c7;
}

.webequipe-pdf-settings-card--danger .webequipe-pdf-settings-card-title {
	color: #b32d2e;
}

.webequipe-pdf-settings-card-body {
	padding: 0;
}

.webequipe-pdf-settings-row {
	display: grid;
	grid-template-columns: minmax(240px, 38%) minmax(220px, 320px);
	align-items: start;
	gap: 12px 28px;
	padding: 18px 24px;
	border-bottom: 1px solid #f0f0f1;
}

.webequipe-pdf-settings-row:last-child {
	border-bottom: none;
}

.webequipe-pdf-settings-row-main {
	min-width: 0;
	max-width: 480px;
}

.webequipe-pdf-settings-row-label {
	font-size: 14px;
	font-weight: 600;
	color: #1d2327;
	line-height: 1.4;
	margin-bottom: 4px;
}

.webequipe-pdf-settings-row-desc {
	margin: 0;
	font-size: 13px;
	color: #646970;
	line-height: 1.5;
}

.webequipe-pdf-settings-row-control {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	width: 100%;
	max-width: 320px;
}

.webequipe-pdf-settings-row--toggle .webequipe-pdf-settings-row-control {
	padding-top: 2px;
}

.webequipe-pdf-settings-input {
	width: 100%;
	max-width: 220px;
}

.webequipe-pdf-settings-control-hint {
	margin: 8px 0 0;
	font-size: 12px;
	color: #646970;
	line-height: 1.45;
	text-align: left;
}

.webequipe-pdf-settings-checkbox-control {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #1d2327;
	cursor: pointer;
}

.webequipe-pdf-settings-checkbox-control input {
	margin: 0;
}

/* Toggle switch */
.webequipe-pdf-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

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

.webequipe-pdf-toggle-track {
	display: block;
	width: 44px;
	height: 24px;
	background: #c3c4c7;
	border-radius: 999px;
	transition: background 0.2s ease;
	position: relative;
}

.webequipe-pdf-toggle-track::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease;
}

.webequipe-pdf-toggle-input:focus-visible + .webequipe-pdf-toggle-track {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

.webequipe-pdf-toggle-input:checked + .webequipe-pdf-toggle-track {
	background: #2271b1;
}

.webequipe-pdf-toggle-input:checked + .webequipe-pdf-toggle-track::after {
	transform: translateX(20px);
}

.webequipe-pdf-settings-footer {
	display: flex;
	justify-content: flex-end;
	padding: 4px 0 12px;
}

.webequipe-pdf-settings-footer .button-primary {
	min-height: 36px;
	padding-left: 20px;
	padding-right: 20px;
}

@media screen and (max-width: 782px) {
	.webequipe-pdf-settings-row {
		grid-template-columns: 1fr;
	}

	.webequipe-pdf-settings-row-main {
		max-width: none;
	}

	.webequipe-pdf-settings-row-control {
		max-width: none;
	}

	.webequipe-pdf-settings-input {
		max-width: 100%;
	}

	.webequipe-pdf-settings-footer {
		justify-content: stretch;
	}

	.webequipe-pdf-settings-footer .button-primary {
		width: 100%;
		text-align: center;
	}
}

/* Pro upsell settings row (e.g. Default PDF Visibility) */
.webequipe-pdf-settings-row--pro-upsell {
	opacity: 0.92;
}

.webequipe-pdf-settings-row--pro-upsell .webequipe-pdf-settings-row-label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.webequipe-pdf-settings-pro-upsell-control {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	max-width: 360px;
}

.webequipe-pdf-settings-checkbox-control--disabled {
	color: #646970;
	cursor: not-allowed;
}

.webequipe-pdf-settings-checkbox-control--disabled input {
	cursor: not-allowed;
}

/* PDF Indexing Method card grid */
.webequipe-pdf-settings-row--indexing-method {
	display: block;
	padding: 20px 24px 24px;
}

.webequipe-pdf-settings-row-control--full {
	max-width: none;
	width: 100%;
}

.webequipe-pdf-indexing-method-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.webequipe-pdf-indexing-method-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	margin: 0;
	padding: 18px 18px 16px;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	color: inherit;
}

label.webequipe-pdf-indexing-method-card:hover {
	border-color: #8c8f94;
}

.webequipe-pdf-indexing-method-card:has(.webequipe-pdf-indexing-method-input:checked),
.webequipe-pdf-indexing-method-card.webequipe-pdf-indexing-method-card--selected {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
}

.webequipe-pdf-indexing-method-card--pro {
	cursor: default;
	opacity: 0.95;
	background: #f6f7f7;
}

.webequipe-pdf-indexing-method-card-head {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	width: 100%;
}

.webequipe-pdf-indexing-method-radio-wrap {
	position: relative;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 1px;
}

.webequipe-pdf-indexing-method-input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
}

.webequipe-pdf-indexing-method-radio {
	display: block;
	width: 18px;
	height: 18px;
	box-sizing: border-box;
	border: 2px solid #8c8f94;
	border-radius: 50%;
	background: #fff;
	pointer-events: none;
}

.webequipe-pdf-indexing-method-card:has(.webequipe-pdf-indexing-method-input:checked) .webequipe-pdf-indexing-method-radio,
.webequipe-pdf-indexing-method-card.webequipe-pdf-indexing-method-card--selected .webequipe-pdf-indexing-method-radio {
	border-color: #2271b1;
	box-shadow: inset 0 0 0 4px #2271b1;
}

.webequipe-pdf-indexing-method-radio--disabled {
	border-color: #dcdcde;
	background: #f0f0f1;
	box-shadow: none;
}

.webequipe-pdf-indexing-method-card-title {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	color: #1d2327;
}

.webequipe-pdf-indexing-method-card-desc {
	margin: 0;
	width: 100%;
	font-size: 13px;
	line-height: 1.5;
	color: #646970;
}

.webequipe-pdf-indexing-method-card--pro .webequipe-pdf-indexing-method-card-title,
.webequipe-pdf-indexing-method-card--pro .webequipe-pdf-indexing-method-card-desc {
	color: #646970;
}

.webequipe-pdf-indexing-method-badge {
	display: inline-block;
	padding: 2px 8px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.45;
	border-radius: 999px;
}

.webequipe-pdf-indexing-method-badge--recommended {
	color: #1e4620;
	background: #d7f0db;
}

.webequipe-pdf-indexing-method-badge--pro {
	color: #5b21b6;
	background: #ede9fe;
}

.webequipe-pdf-indexing-method-pro-link {
	display: inline-block;
	margin-top: 2px;
	font-size: 12px;
	font-weight: 600;
	color: #2271b1;
	text-decoration: none;
	cursor: pointer;
}

.webequipe-pdf-indexing-method-pro-link:hover,
.webequipe-pdf-indexing-method-pro-link:focus {
	color: #135e96;
	text-decoration: underline;
}

.webequipe-pdf-indexing-method-input:focus-visible + .webequipe-pdf-indexing-method-radio {
	outline: 2px solid #2271b1;
	outline-offset: 2px;
}

@media screen and (max-width: 782px) {
	.webequipe-pdf-indexing-method-grid {
		grid-template-columns: 1fr;
	}
}

/* Upgrade to Pro admin page */
.webequipe-pdf-upgrade-wrap {
	max-width: 1100px;
	margin-top: 8px;
}

.webequipe-pdf-upgrade-wrap > h1 {
	display: none;
}

.webequipe-pdf-upgrade-hero {
	position: relative;
	overflow: hidden;
	margin-bottom: 28px;
	padding: 32px 36px;
	border: 1px solid #d8ccff;
	border-radius: 12px;
	background: linear-gradient(135deg, #faf7ff 0%, #f3eeff 45%, #ebe3ff 100%);
	box-shadow: 0 1px 3px rgba(124, 58, 237, 0.08);
}

.webequipe-pdf-upgrade-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 90% 20%, rgba(124, 58, 237, 0.14), transparent 40%);
	pointer-events: none;
}

.webequipe-pdf-upgrade-hero-content {
	position: relative;
	z-index: 1;
	max-width: 640px;
}

.webequipe-pdf-upgrade-hero-badge {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #5b21b6;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid rgba(124, 58, 237, 0.2);
	border-radius: 999px;
}

.webequipe-pdf-upgrade-hero h1 {
	margin: 0 0 12px;
	padding: 0;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #1f2937;
	letter-spacing: -0.02em;
}

.webequipe-pdf-upgrade-hero-lead {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 1.55;
	color: #64748b;
}

.webequipe-pdf-upgrade-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.webequipe-pdf-upgrade-cta-primary {
	display: inline-block;
	padding: 12px 22px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
	text-decoration: none;
	border-radius: 10px;
	background: linear-gradient(180deg, #8b5cf6 0%, #7c3aed 100%);
	box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.webequipe-pdf-upgrade-cta-primary:hover,
.webequipe-pdf-upgrade-cta-primary:focus {
	color: #fff;
	background: linear-gradient(180deg, #7c3aed 0%, #6d28d9 100%);
	box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
	transform: translateY(-1px);
}

.webequipe-pdf-upgrade-cta-secondary {
	display: inline-block;
	padding: 11px 18px;
	font-size: 13px;
	font-weight: 500;
	color: #5b21b6;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid rgba(124, 58, 237, 0.25);
	border-radius: 10px;
}

.webequipe-pdf-upgrade-cta-secondary:hover,
.webequipe-pdf-upgrade-cta-secondary:focus {
	color: #4c1d95;
	background: #fff;
}

.webequipe-pdf-upgrade-section {
	margin-bottom: 28px;
}

.webequipe-pdf-upgrade-section-title {
	margin: 0 0 16px;
	padding: 0;
	font-size: 16px;
	font-weight: 600;
	color: #1d2327;
}

.webequipe-pdf-upgrade-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.webequipe-pdf-upgrade-feature-card {
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	padding: 22px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.webequipe-pdf-upgrade-feature-card:hover {
	border-color: #c4b5fd;
	box-shadow: 0 4px 12px rgba(124, 58, 237, 0.1);
}

.webequipe-pdf-upgrade-feature-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 14px;
	font-size: 20px;
	color: #7c3aed;
	background: #f5f3ff;
	border-radius: 10px;
}

.webequipe-pdf-upgrade-feature-card h3 {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 600;
	color: #1d2327;
}

.webequipe-pdf-upgrade-feature-card p {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.5;
	color: #646970;
}

.webequipe-pdf-upgrade-feature-plan {
	display: inline-block;
	padding: 3px 8px;
	font-size: 11px;
	font-weight: 600;
	color: #5b21b6;
	background: #f5f3ff;
	border-radius: 4px;
}

.webequipe-pdf-upgrade-compare-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.webequipe-pdf-upgrade-compare-col {
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 8px;
	padding: 22px 24px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.webequipe-pdf-upgrade-compare-col--pro {
	border-color: #c4b5fd;
	background: linear-gradient(180deg, #fff 0%, #faf7ff 100%);
}

.webequipe-pdf-upgrade-compare-col h3 {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 600;
	color: #1d2327;
}

.webequipe-pdf-upgrade-compare-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.webequipe-pdf-upgrade-compare-col li {
	position: relative;
	margin-bottom: 10px;
	padding-left: 22px;
	font-size: 13px;
	line-height: 1.45;
	color: #50575e;
}

.webequipe-pdf-upgrade-compare-col li::before {
	content: "✓";
	position: absolute;
	left: 0;
	font-weight: 700;
	color: #7c3aed;
}

.webequipe-pdf-upgrade-compare-col--free li.webequipe-pdf-upgrade-compare-muted {
	color: #a7aaad;
}

.webequipe-pdf-upgrade-compare-col--free li.webequipe-pdf-upgrade-compare-muted::before {
	content: "—";
	color: #c3c4c7;
}

.webequipe-pdf-upgrade-ocr-flow-intro {
	margin: 0 0 18px;
	font-size: 13px;
	line-height: 1.55;
	color: #646970;
}

.webequipe-pdf-upgrade-ocr-flow-steps {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.webequipe-pdf-upgrade-ocr-flow-step {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.webequipe-pdf-upgrade-ocr-flow-step-num {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	font-size: 14px;
	font-weight: 700;
	color: #5b21b6;
	background: #f5f3ff;
	border: 1px solid rgba(124, 58, 237, 0.2);
	border-radius: 50%;
}

.webequipe-pdf-upgrade-ocr-flow-step-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.webequipe-pdf-upgrade-ocr-flow-step-body strong {
	font-size: 14px;
	font-weight: 600;
	color: #1d2327;
}

.webequipe-pdf-upgrade-ocr-flow-step-body span {
	font-size: 13px;
	line-height: 1.5;
	color: #646970;
}

.webequipe-pdf-upgrade-ocr-flow-note {
	margin: 16px 0 0;
	padding: 12px 14px;
	font-size: 12px;
	line-height: 1.5;
	color: #50575e;
	background: #f6f7f7;
	border-left: 3px solid #7c3aed;
	border-radius: 0 6px 6px 0;
}

.webequipe-pdf-upgrade-compare-intro {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.5;
	color: #646970;
}

.webequipe-pdf-upgrade-compare-table-wrap {
	overflow-x: auto;
	border: 1px solid #ccd0d4;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.webequipe-pdf-upgrade-compare-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: 13px;
}

.webequipe-pdf-upgrade-compare-table thead th {
	position: sticky;
	top: 0;
	z-index: 1;
	padding: 14px 16px;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	color: #1d2327;
	background: #f6f7f7;
	border-bottom: 1px solid #ccd0d4;
}

.webequipe-pdf-upgrade-compare-table tbody th,
.webequipe-pdf-upgrade-compare-table tbody td {
	padding: 12px 16px;
	border-bottom: 1px solid #f0f0f1;
	vertical-align: middle;
}

.webequipe-pdf-upgrade-compare-table tbody tr:last-child th,
.webequipe-pdf-upgrade-compare-table tbody tr:last-child td {
	border-bottom: none;
}

.webequipe-pdf-upgrade-compare-table tbody tr:nth-child(even) td,
.webequipe-pdf-upgrade-compare-table tbody tr:nth-child(even) th[scope="row"] {
	background: #fafafa;
}

.webequipe-pdf-compare-feature-col {
	text-align: left;
	font-weight: 500;
	color: #1d2327;
	min-width: 200px;
}

.webequipe-pdf-compare-plan-col {
	text-align: center;
	width: 110px;
}

.webequipe-pdf-compare-plan-col--pro {
	background: #faf7ff;
}

.webequipe-pdf-upgrade-compare-table thead .webequipe-pdf-compare-plan-col--pro {
	background: #f3eeff;
	color: #5b21b6;
}

.webequipe-pdf-compare-yes {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #7c3aed;
}

.webequipe-pdf-compare-yes .dashicons {
	width: 20px;
	height: 20px;
	font-size: 20px;
}

.webequipe-pdf-compare-no {
	color: #c3c4c7;
	font-weight: 600;
}

.webequipe-pdf-compare-text {
	font-size: 12px;
	font-weight: 500;
	color: #50575e;
	line-height: 1.35;
}

.webequipe-pdf-upgrade-pricing {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.webequipe-pdf-upgrade-pricing-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 10px;
	padding: 22px 18px 18px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.webequipe-pdf-upgrade-pricing-card--featured {
	border-color: #7c3aed;
	box-shadow: 0 4px 16px rgba(124, 58, 237, 0.15);
}

.webequipe-pdf-upgrade-pricing-ribbon {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	padding: 4px 12px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #fff;
	background: #7c3aed;
	border-radius: 0 0 8px 8px;
}

.webequipe-pdf-upgrade-pricing-card--featured {
	padding-top: 30px;
}

.webequipe-pdf-upgrade-plan-name {
	margin: 0 0 4px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	color: #1d2327;
}

.webequipe-pdf-upgrade-plan-tagline {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	color: #646970;
}

.webequipe-pdf-upgrade-plan-price {
	margin: 0;
	line-height: 1;
}

.webequipe-pdf-upgrade-plan-price-amount {
	font-size: 32px;
	font-weight: 700;
	color: #1d2327;
	letter-spacing: -0.02em;
}

.webequipe-pdf-upgrade-plan-price-suffix {
	font-size: 16px;
	font-weight: 600;
	color: #646970;
}

.webequipe-pdf-upgrade-plan-billing {
	margin: 8px 0 16px;
	font-size: 12px;
	line-height: 1.45;
	color: #646970;
}

.webequipe-pdf-upgrade-plan-highlights {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: auto;
}

.webequipe-pdf-upgrade-plan-chip {
	display: inline-block;
	padding: 4px 9px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.35;
	color: #50575e;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 999px;
}

.webequipe-pdf-upgrade-plan-chip--primary {
	color: #1d2327;
	background: #f5f3ff;
	border-color: #ddd6fe;
}

.webequipe-pdf-upgrade-plan-chip--accent {
	color: #5b21b6;
	background: #ede9fe;
	border-color: #c4b5fd;
}

.webequipe-pdf-upgrade-pricing-link {
	margin: 14px 0 0;
	text-align: center;
	font-size: 13px;
}

.webequipe-pdf-upgrade-steps {
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 8px;
	padding: 24px 28px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.webequipe-pdf-upgrade-steps-list {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	counter-reset: webequipe-upgrade-step;
}

.webequipe-pdf-upgrade-steps-list li {
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 4px 16px;
	padding: 16px 0;
	border-bottom: 1px solid #f0f0f1;
	counter-increment: webequipe-upgrade-step;
}

.webequipe-pdf-upgrade-steps-list li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.webequipe-pdf-upgrade-steps-list li::before {
	content: counter(webequipe-upgrade-step);
	grid-row: 1 / span 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	font-size: 14px;
	font-weight: 700;
	color: #7c3aed;
	background: #f5f3ff;
	border-radius: 50%;
}

.webequipe-pdf-upgrade-steps-list li strong {
	display: block;
	font-size: 14px;
	color: #1d2327;
}

.webequipe-pdf-upgrade-steps-list li span {
	font-size: 13px;
	line-height: 1.5;
	color: #646970;
}

.webequipe-pdf-upgrade-footer-cta {
	text-align: center;
	padding-top: 8px;
	border-top: 1px solid #f0f0f1;
}

.webequipe-pdf-upgrade-footer-note {
	margin: 14px auto 0;
	max-width: 520px;
	font-size: 13px;
	line-height: 1.5;
	color: #646970;
}

@media screen and (max-width: 1100px) {
	.webequipe-pdf-upgrade-features {
		grid-template-columns: 1fr;
	}

	.webequipe-pdf-upgrade-pricing {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 782px) {
	.webequipe-pdf-upgrade-hero {
		padding: 24px 20px;
	}

	.webequipe-pdf-upgrade-hero h1 {
		font-size: 22px;
	}

	.webequipe-pdf-upgrade-compare-grid {
		grid-template-columns: 1fr;
	}

	.webequipe-pdf-upgrade-compare-table-wrap {
		margin-left: -4px;
		margin-right: -4px;
	}

	.webequipe-pdf-upgrade-pricing {
		grid-template-columns: 1fr;
	}

	.webequipe-pdf-upgrade-hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.webequipe-pdf-upgrade-cta-primary,
	.webequipe-pdf-upgrade-cta-secondary {
		text-align: center;
	}
}

