/* PhysioWork – Routines : styles de la navigation contextuelle. */

.pw-routine-nav {
	margin: 24px auto;
	max-width: 640px;
	font-family: inherit;
}

.pw-nav__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 10px;
	text-align: center;
}

.pw-nav__progress {
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.02em;
	color: #20c8bd;
}

.pw-nav__meta {
	font-size: 13px;
	color: #666;
}

.pw-nav__note {
	font-size: 13px;
	font-style: italic;
	color: #888;
}

.pw-nav__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.pw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-width: 140px;
	padding: 12px 18px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.08s ease, opacity 0.15s ease;
	color: #ffffff;
	background: #20c8bd;
}

.pw-btn:hover {
	transform: translateY(-1px);
	color: #ffffff;
}

.pw-btn--prev {
	background: #4a5568;
}

.pw-btn--next,
.pw-btn--round {
	background: #20c8bd;
}

.pw-btn--finish {
	background: #16a34a;
}

.pw-btn--ghost {
	background: transparent;
	color: #4a5568;
	border: 1px solid #cbd5e0;
	flex: 0 0 auto;
}

.pw-btn--ghost:hover {
	color: #1a202c;
}

.pw-btn--disabled {
	background: #e2e8f0;
	color: #a0aec0;
	cursor: default;
	pointer-events: none;
}

.pw-nav--direct .pw-nav__row {
	justify-content: center;
}

/* Ligne variantes + retour */
.pw-nav__row--variants,
.pw-nav__row--return {
	margin-top: 10px;
}

.pw-btn--easier {
	background: #3b82f6;
}

.pw-btn--harder {
	background: #b45309;
}

.pw-btn--return {
	background: #6d28d9;
	flex: 1 1 100%;
}

.pw-nav__variant-of {
	font-size: 13px;
	font-weight: 600;
	color: #6d28d9;
}

/* Bloc description sous la navigation */
.pw-exercise-description {
	max-width: 640px;
	margin: 22px auto 0;
	padding: 18px 20px;
	border-top: 2px solid #20c8bd;
	background: rgba(32, 200, 189, 0.04);
	border-radius: 10px;
}

.pw-desc-title {
	margin: 0 0 10px;
	font-size: 18px;
	color: #20c8bd;
}

.pw-desc-body {
	font-size: 15px;
	line-height: 1.6;
}

.pw-desc--placeholder .pw-desc-body {
	color: #777;
	font-style: italic;
}

@media (max-width: 480px) {
	.pw-nav__row {
		flex-direction: row;
	}
	.pw-btn {
		min-width: 0;
		padding: 12px 12px;
		font-size: 14px;
	}
}
