/**
 * Shared dashboard row aside — pills, progress ring, separator, unlock/certificate slot.
 * Used by LearnDash [ld_profile] course rows and RT dashboard tutorial rows.
 */

.ahr-rt-dash__row-aside {
	display: inline-flex;
	align-items: center;
	gap: 0;
	flex-shrink: 0;
	margin-left: auto;
}

.ahr-rt-dash__aside-sep {
	display: block;
	flex-shrink: 0;
	width: 1px;
	align-self: stretch;
	margin: 5px 12px;
	margin-left: 15px;
	margin-right: 5px;
	background: rgba(51, 65, 85, 0.22);
	border-radius: 999px;
}

.ahr-rt-dash__status-wrap {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.ahr-rt-dash__pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1;
	color: #fff;
	white-space: nowrap;
	text-decoration: none;
}

.ahr-rt-dash__pill--continue {
	appearance: none;
	border: none;
	margin: 0;
	cursor: pointer;
	font-family: inherit;
	background: #2ba1e9;
	padding: 8px 14px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 999px;
	-webkit-tap-highlight-color: transparent;
}

.ahr-rt-dash__pill--continue:hover {
	background: #2493d6;
	color: #fff;
}

.ahr-rt-dash__pill--start {
	appearance: none;
	margin: 0;
	cursor: pointer;
	font-family: inherit;
	padding: 8px 16px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 8px;
	-webkit-tap-highlight-color: transparent;
	background-color: #c0cbcf;
	color: var(--bb-secondary-button-text-regular, #122b46);
	box-shadow: none;
	text-decoration: none;
	box-sizing: border-box;
	border: 1px solid transparent;
}

.ahr-rt-dash__pill--start:hover,
.ahr-rt-dash__pill--start:focus-visible {
	background-color: var(--bb-secondary-button-background-hover, #122b46);
	color: var(--bb-secondary-button-text-hover, #fff);
	border-color: var(--bb-secondary-button-border-hover, #122b46);
}

.ahr-rt-dash__pill--start:active {
	background-color: var(--bb-secondary-button-background-regular, #dddddd);
	color: var(--bb-secondary-button-text-regular, #122b46);
	border-color: var(--bb-secondary-button-border-regular, #dddddd);
	transform: scale(0.98);
}

.ahr-rt-dash__pill--start:focus-visible {
	box-shadow: var(--bb-secondary-button-focus-shadow, 0 0 0 2px rgba(18, 43, 70, 0.2));
	outline: none;
}

.ahr-rt-dash__pill--complete {
	background: #009646;
	padding: 6px 12px;
	font-size: 12px;
	font-weight: 400;
}

.ahr-rt-dash__ring-pct {
	display: inline-flex;
	align-items: center;
	height: 28px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	color: #2ba1e9;
	min-width: 2.75em;
	text-align: left;
	flex-shrink: 0;
}

.ahr-rt-dash__ring {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	flex-shrink: 0;
}

.ahr-rt-dash__ring-svg {
	display: block;
	width: 28px;
	height: 28px;
}

.ahr-rt-dash__ring-track {
	fill: none;
	stroke: #f8f8f8;
	stroke-width: 2;
}

.ahr-rt-dash__ring-fill {
	fill: none;
	stroke: #2ba1e9;
	stroke-width: 4;
	stroke-linecap: round;
	transition: stroke-dashoffset 0.35s ease;
}

.ahr-rt-dash__complete-mark {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.ahr-rt-dash__complete-mark-icon {
	display: block;
	width: 20px;
	height: 20px;
	background-color: #009646;
	-webkit-mask-image: url("/wp-content/uploads/2026/05/check-circle.svg");
	mask-image: url("/wp-content/uploads/2026/05/check-circle.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.ahr-rt-dash__unlock {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	min-width: 40px;
	height: 40px;
	min-height: 40px;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	line-height: 0;
}

.ahr-rt-dash__unlock-icon {
	display: block;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	background-color: #29755a;
	-webkit-mask-image: url("/wp-content/uploads/2026/05/lock-open.svg");
	mask-image: url("/wp-content/uploads/2026/05/lock-open.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.ahr-rt-dash__aside-sep--cert {
	margin-left: 12px;
	margin-right: 10px;
}

@media screen and (max-width: 700px) {
	.ahr-rt-dash__row-aside:not(:has(.ahr-rt-dash__status-wrap)) {
		display: none;
	}

	.ahr-rt-dash__row-aside {
		flex-shrink: 0;
		margin-left: 4px;
	}

	.ahr-rt-dash__status-wrap {
		gap: 4px;
	}

	.ahr-rt-dash__pill {
		padding: 4px 6px;
		font-size: 8px;
		letter-spacing: 0.02em;
		border-radius: 5px;
	}

	.ahr-rt-dash__pill--complete {
		padding: 6px 10px;
		font-size: 10px;
	}

	.ahr-rt-dash__pill--continue {
		height: 22px;
		padding: 0 10px;
		font-size: 11px;
		font-weight: 600;
		border-radius: 999px;
	}

	.ahr-rt-dash__pill--start {
		padding: 7px 12px;
		font-size: 11px;
		font-weight: 600;
		border-radius: 7px;
	}

	.ahr-rt-dash__ring-pct {
		height: 22px;
		font-size: 12px;
		min-width: 2.1em;
	}

	.ahr-rt-dash__ring,
	.ahr-rt-dash__ring-svg {
		width: 22px;
		height: 22px;
	}

	.ahr-rt-dash__ring-track {
		stroke-width: 2;
	}

	.ahr-rt-dash__ring-fill {
		stroke-width: 4;
	}

	.ahr-rt-dash__complete-mark-icon {
		width: 20px;
		height: 20px;
	}

	.ahr-rt-dash__aside-sep:not(.ahr-rt-dash__aside-sep--cert),
	.ahr-rt-dash__unlock {
		display: none;
	}
}
