/* The SEO column of the post lists and the SEO fields of Quick and Bulk Edit. */

.column-recomaze_seo {
	width: 18%;
}

.recomaze-seo-cell {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.recomaze-seo-score {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #a7aaad;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.recomaze-seo-score--great {
	background: #00a32a;
}

.recomaze-seo-score--good {
	background: #dba617;
}

.recomaze-seo-score--bad {
	background: #d63638;
}

/* Scored before the page last changed: the colour stays, faded and dashed. */
.recomaze-seo-score--stale {
	opacity: 0.55;
	outline: 1px dashed #50575e;
	outline-offset: 1px;
}

.recomaze-seo-lines {
	min-width: 0;
	flex: 1 1 auto;
	color: #50575e;
	line-height: 1.5;
}

.recomaze-seo-line {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.recomaze-seo-lines strong {
	color: #1d2327;
}

.recomaze-seo-unset {
	color: #a7aaad;
}

.recomaze-seo-robots {
	display: inline-block;
	margin-top: 4px;
	padding: 0 6px;
	border-radius: 3px;
	background: #f0f0f1;
	color: #50575e;
	font-size: 11px;
	line-height: 18px;
}

.recomaze-seo-inline .inline-edit-legend {
	display: block;
	margin: 0 0 4px;
	font-weight: 600;
}

.recomaze-seo-inline textarea {
	width: 100%;
}

.recomaze-seo-inline .description {
	margin: 0 0 8px;
	font-style: normal;
}

.column-recomaze_links {
	width: 4.5em;
}

/* With the Links column shown, the SEO column gives it room, so the title
   keeps a readable width on lists that already carry many columns. */
.wp-list-table:has(th.column-recomaze_links:not(.hidden)) .column-recomaze_seo {
	width: 15%;
}

.recomaze-seo-links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}

.recomaze-seo-links span {
	min-width: 26px;
	padding: 0 6px;
	border-radius: 3px;
	background: #f0f0f1;
	color: #50575e;
	font-size: 11px;
	line-height: 20px;
	text-align: center;
}

.recomaze-seo-links__internal::before {
	content: "↳ ";
}

.recomaze-seo-links__external::before {
	content: "↗ ";
}

.recomaze-seo-links__incoming::before {
	content: "← ";
}

.recomaze-seo-links__orphan {
	background: #fcf0f1;
	color: #b32d2e;
}
