/* S�lecteur paliers postes � fiche logiciel IA */

.postes-pricing {
	--postes-accent: #E20A17;
	--postes-accent-light: #f03540;
	--postes-accent-dark: #b00812;
	--postes-accent-shadow: rgba(226, 10, 23, 0.35);
	--postes-thumb-glow: #f2555f;

	max-width: 28rem;
	margin: 0.75rem 0 1.25rem;
}

.postes-pricing__card {
	padding: 1.25rem 1rem 1rem;
	border-radius: 16px;
	background: linear-gradient(165deg, #fafafa 0%, #ececec 100%);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.85) inset,
		0 10px 28px rgba(0, 0, 0, 0.08),
		0 2px 6px rgba(0, 0, 0, 0.04);
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-sizing: border-box;
	width: 100%;
}

.postes-pricing__hero {
	text-align: center;
	margin-bottom: 1rem;
}

.postes-pricing__count {
	display: block;
	font-size: clamp(2.5rem, 12vw, 3.75rem);
	font-weight: 700;
	line-height: 1.05;
	color: #1a1a2e;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	text-shadow:
		0 1px 0 rgba(255, 255, 255, 0.9),
		0 3px 8px rgba(0, 0, 0, 0.12);
	transition: transform 0.18s ease-out;
}

.postes-pricing__count--pulse {
	transform: scale(1.06);
}

.postes-pricing__label {
	display: block;
	font-size: 0.95rem;
	font-weight: 600;
	color: #444;
	margin-top: 0.15rem;
}

.postes-pricing__slider-row {
	width: 100%;
	box-sizing: border-box;
	margin: 0 0 0.65rem;
}

.postes-pricing__steps {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	justify-content: center;
	align-items: center;
	gap: 1.25rem;
	width: 100%;
	box-sizing: border-box;
}

.postes-pricing__step {
	flex: 0 0 auto !important;
	width: 52px;
	height: 52px;
	border: none;
	border-radius: 12px;
	font-size: 1.5rem;
	line-height: 1;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(180deg, var(--postes-accent-light) 0%, var(--postes-accent) 55%, var(--postes-accent-dark) 100%);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.2) inset,
		0 4px 14px var(--postes-accent-shadow);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	position: relative;
	z-index: 2;
}

.postes-pricing__step:active {
	transform: scale(0.96);
}

.postes-pricing__range {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 44px;
	margin: 0.25rem 0 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	cursor: pointer;
	position: relative;
	z-index: 1;
}

.postes-pricing__range:focus {
	outline: none;
}

.postes-pricing__range:focus-visible {
	outline: 2px solid var(--postes-accent);
	outline-offset: 4px;
	border-radius: 4px;
}

.postes-pricing__range::-webkit-slider-runnable-track {
	height: 8px;
	border-radius: 4px;
	background: linear-gradient(90deg, #d5d5d5 0%, #e8e8e8 100%);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) inset;
}

.postes-pricing__range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 28px;
	height: 28px;
	margin-top: -10px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, var(--postes-thumb-glow) 0%, var(--postes-accent) 52%, var(--postes-accent-dark) 100%);
	box-shadow:
		0 0 0 2px rgba(255, 255, 255, 0.35),
		0 4px 14px var(--postes-accent-shadow),
		0 1px 0 rgba(255, 255, 255, 0.25) inset;
	border: 1px solid rgba(0, 0, 0, 0.2);
}

.postes-pricing__range::-moz-range-track {
	height: 8px;
	border-radius: 4px;
	background: linear-gradient(90deg, #d5d5d5 0%, #e8e8e8 100%);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) inset;
}

.postes-pricing__range::-moz-range-thumb {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, var(--postes-thumb-glow) 0%, var(--postes-accent) 52%, var(--postes-accent-dark) 100%);
	box-shadow:
		0 0 0 2px rgba(255, 255, 255, 0.35),
		0 4px 14px var(--postes-accent-shadow);
	border: 1px solid rgba(0, 0, 0, 0.2);
}

.postes-pricing__scale {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	margin-top: 0.15rem;
	padding: 0 6px;
	user-select: none;
}

.postes-pricing__tick {
	display: block;
	flex: 1 1 0;
	min-width: 0;
	text-align: center;
	font-size: 0.72rem;
	line-height: 1.2;
	color: #666;
}

.postes-pricing__tick:first-child {
	text-align: left;
}

.postes-pricing__tick:last-child {
	text-align: right;
}

.postes-pricing__amounts {
	width: 100%;
	margin-top: 1rem;
	font-size: 0.9rem;
	line-height: 1.5;
}

.book_paiement .postes-pricing__amount-line span {
	display: inline;
}

.postes-pricing__amount-line {
	margin: 0;
	padding: 0.45rem 0;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	display: block;
}

.postes-pricing__amount-line:first-child {
	border-top: none;
	padding-top: 0.25rem;
}

.postes-pricing__amount-label {
	display: inline;
	font-weight: 600;
	color: #333;
}

.postes-pricing__amount-label::after {
	content: '\00a0';
}

.postes-pricing__amount-fig {
	display: inline;
	font-variant-numeric: tabular-nums;
	color: #222;
	white-space: nowrap;
}

.postes-pricing__amount-suffix {
	font-weight: 500;
	color: #555;
}

.postes-pricing__amount-line--emphasis .postes-pricing__amount-suffix {
	font-weight: 600;
	color: #333;
}

.postes-pricing__cell-month,
.postes-pricing__cell-year,
.postes-pricing__cell-total {
	font-weight: 600;
}

.postes-pricing__cell-total strong {
	font-weight: 700;
}

@media (min-width: 768px) {
	.postes-pricing__card {
		padding: 1.5rem 1.35rem 1.15rem;
	}
}
