/**
 * ELRIDE Rentals — booking flow
 * Scoped to .er-page so the Astra theme stays untouched.
 */

.er-page {
	--er-ink: #111416;
	--er-ink-soft: #1b2023;
	--er-lime: #c9f227;
	--er-lime-hover: #b8e014;
	--er-blue: #0084d6;
	--er-navy: #243673;
	--er-ice: #bfd1ff;
	--er-paper: #ffffff;
	--er-mist: #f5f6f2;
	--er-mist-2: #eceee7;
	--er-line: #e2e5dc;
	--er-line-strong: #cfd3c8;
	--er-muted: #6b7176;
	--er-muted-dark: #4c5459;
	--er-green: #0b6b3a;
	--er-green-bg: #e2f6ea;
	--er-red: #b3261e;
	--er-red-bg: #fdeceb;
	--er-amber: #8a6400;
	--er-amber-bg: #fff6d9;
	--er-radius: 22px;
	--er-radius-sm: 14px;
	--er-shadow: 0 18px 50px -28px rgba(17, 20, 22, 0.35);
	--er-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--er-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	color: var(--er-ink);
	font-family: var(--er-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.er-page *,
.er-page *::before,
.er-page *::after {
	box-sizing: border-box;
}

.er-page a {
	color: inherit;
	text-decoration: none;
}

.er-page a:hover {
	color: inherit;
}

.er-page p {
	margin: 0;
}

.er-page h1,
.er-page h2,
.er-page h3,
.er-page h4 {
	margin: 0;
	font-family: var(--er-font);
	color: var(--er-ink);
	letter-spacing: -0.02em;
}

.er-page button {
	font-family: inherit;
}

.er-page img {
	max-width: 100%;
	height: auto;
	display: block;
}

.er-page [hidden] {
	display: none !important;
}

.er-page .er-muted {
	color: var(--er-muted);
	font-size: 13px;
}

.er-page em {
	font-style: normal;
	color: var(--er-red);
}

/* ---------- Hero ---------- */

.er-hero {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	background:
		radial-gradient(880px 420px at 88% -10%, rgba(36, 54, 115, 0.55), transparent 62%),
		radial-gradient(700px 380px at 4% 110%, rgba(0, 132, 214, 0.22), transparent 60%),
		var(--er-ink);
	color: #fff;
	padding: clamp(30px, 4.4vw, 60px);
	margin-bottom: 32px;
}

.er-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: linear-gradient(to bottom right, #000 20%, transparent 78%);
	pointer-events: none;
}

.er-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.8fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: end;
}

.er-hero h1.er-hero__title {
	color: #fff;
	font-size: clamp(2.15rem, 5.2vw, 4rem);
	line-height: 0.98;
	font-weight: 800;
	letter-spacing: -0.045em;
	margin: 14px 0 0;
}

.er-hero__accent {
	color: var(--er-lime);
	display: inline-block;
}

.er-hero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--er-ice);
	margin: 0;
}

.er-hero__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--er-lime);
	box-shadow: 0 0 0 5px rgba(201, 242, 39, 0.15);
}

.er-hero__lead {
	margin: 20px 0 0;
	max-width: 46ch;
	font-size: clamp(15px, 1.5vw, 17px);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
}

.er-hero__chips {
	list-style: none;
	margin: 26px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.er-hero__chips li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.055);
	font-size: 12.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(4px);
}

.er-hero__chips span {
	color: var(--er-lime);
	font-weight: 800;
}

.er-hero__panel {
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 20px;
	padding: 22px;
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
	backdrop-filter: blur(6px);
}

.er-hero__price {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.er-hero__price-label {
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--er-ice);
	font-weight: 700;
}

.er-hero__price-value {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: #fff;
}

.er-hero__price-unit {
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.6);
}

.er-hero__meter {
	display: flex;
	align-items: flex-end;
	gap: 5px;
	height: 56px;
	margin: 20px 0 12px;
}

.er-hero__meter span {
	flex: 1;
	height: var(--h);
	border-radius: 6px 6px 2px 2px;
	background: linear-gradient(to top, rgba(201, 242, 39, 0.25), var(--er-lime));
	opacity: 0.9;
}

.er-hero__panel-note {
	font-size: 12px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.62);
}

/* ---------- Shell & steps ---------- */

.er-shell {
	max-width: 1160px;
	margin: 0 auto;
}

.er-steps {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
}

.er-steps li {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 4px;
	color: var(--er-muted);
	font-size: 13px;
	font-weight: 600;
}

.er-steps li::after {
	content: "";
	position: absolute;
	left: 42px;
	right: 6px;
	bottom: 8px;
	height: 2px;
	background: var(--er-line);
	border-radius: 2px;
}

.er-steps li:last-child::after {
	display: none;
}

.er-steps__number {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1.5px solid var(--er-line-strong);
	background: #fff;
	font-size: 12px;
	font-weight: 800;
	color: var(--er-muted);
	flex: 0 0 auto;
	transition: all 0.2s ease;
}

.er-steps li.is-active {
	color: var(--er-ink);
}

.er-steps li.is-active .er-steps__number {
	background: var(--er-lime);
	border-color: var(--er-lime);
	color: var(--er-ink);
	box-shadow: 0 0 0 4px rgba(201, 242, 39, 0.25);
}

.er-steps li.is-done {
	color: var(--er-ink);
}

.er-steps li.is-done .er-steps__number {
	background: var(--er-ink);
	border-color: var(--er-ink);
	color: var(--er-lime);
}

.er-steps li.is-done::after {
	background: var(--er-ink);
}

/* ---------- Layout ---------- */

.er-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 344px;
	gap: 26px;
	align-items: start;
}

.er-flow {
	min-width: 0;
}

.er-card {
	background: var(--er-paper);
	border: 1px solid var(--er-line);
	border-radius: var(--er-radius);
	box-shadow: var(--er-shadow);
	padding: clamp(20px, 3vw, 32px);
}

.er-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.er-card__head h2 {
	font-size: clamp(1.3rem, 2.2vw, 1.65rem);
	line-height: 1.2;
	font-weight: 750;
}

.er-eyebrow {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--er-muted);
	margin-bottom: 8px !important;
}

.er-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--er-ink);
	color: var(--er-lime);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.er-badge--soft {
	background: var(--er-mist);
	color: var(--er-muted-dark);
}

/* ---------- Steps panels ---------- */

.er-step[hidden] {
	display: none;
}

.er-step:not([hidden]) {
	animation: er-enter 0.32s cubic-bezier(0.22, 0.68, 0.35, 1) both;
}

@keyframes er-enter {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.er-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 18px;
}

.er-page .er-nav > .er-btn:last-child {
	margin-left: auto;
}

.er-nav span:empty {
	display: none;
}

/* ---------- Form primitives ---------- */

.er-fieldset {
	border: 0;
	padding: 0;
	margin: 0 0 26px;
	min-width: 0;
}

.er-fieldset:last-of-type {
	margin-bottom: 8px;
}

.er-legend {
	padding: 0;
	margin-bottom: 14px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--er-muted);
}

.er-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	margin-bottom: 16px;
	min-width: 0;
}

.er-field:last-child {
	margin-bottom: 0;
}

.er-field__label {
	font-size: 12.5px;
	font-weight: 700;
	color: #353c41;
	letter-spacing: 0.01em;
}

.er-page input[type="text"],
.er-page input[type="email"],
.er-page input[type="tel"],
.er-page input[type="search"],
.er-page input[type="date"],
.er-page input[type="number"],
.er-page select,
.er-page textarea {
	width: 100%;
	height: 50px;
	padding: 0 14px;
	border: 1.5px solid var(--er-line-strong);
	border-radius: 12px;
	background: #fff;
	color: var(--er-ink);
	font-family: var(--er-font);
	font-size: 15px;
	line-height: 1.3;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
	margin: 0;
}

.er-page select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7176' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 40px;
	cursor: pointer;
}

.er-page textarea {
	height: auto;
	min-height: 92px;
	padding: 13px 14px;
	resize: vertical;
}

.er-phone {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.er-phone select {
	flex: 0 0 auto;
	width: auto;
	max-width: 148px;
	font-size: 13px;
	padding-right: 32px;
	background-position: right 10px center;
}

.er-phone input {
	flex: 1 1 auto;
	min-width: 0;
}

@media (max-width: 480px) {
	.er-phone {
		flex-wrap: wrap;
	}

	.er-phone select {
		max-width: none;
		width: 100%;
	}
}

.er-page input::placeholder,
.er-page textarea::placeholder {
	color: #9aa1a6;
}

.er-page input[type="text"]:focus,
.er-page input[type="email"]:focus,
.er-page input[type="tel"]:focus,
.er-page input[type="search"]:focus,
.er-page input[type="date"]:focus,
.er-page input[type="number"]:focus,
.er-page select:focus,
.er-page textarea:focus {
	outline: none;
	border-color: var(--er-blue);
	box-shadow: 0 0 0 4px rgba(0, 132, 214, 0.14);
}

.er-page .er-field.has-error input,
.er-page .er-field.has-error select,
.er-page .er-field.has-error textarea {
	border-color: var(--er-red);
	background: #fff8f7;
}

.er-field__hint {
	font-size: 12px;
	color: var(--er-muted);
	line-height: 1.45;
}

.er-field__error {
	display: none;
	font-size: 12px;
	font-weight: 600;
	color: var(--er-red);
	line-height: 1.4;
}

.er-field__error.is-visible,
.er-field__error:not(:empty) {
	display: block;
}

.er-grid {
	display: grid;
	gap: 0 16px;
}

.er-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.er-grid--3 {
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 0.55fr);
}

.er-grid--4 {
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) minmax(0, 0.6fr) minmax(0, 0.6fr);
}

.er-field__control {
	position: relative;
	display: block;
}

.er-field__control svg {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--er-muted);
	pointer-events: none;
}

.er-field__control--date {
	position: relative;
	display: flex;
	align-items: center;
	height: 50px;
	padding: 0 14px 0 44px;
	border: 1.5px solid var(--er-line-strong);
	border-radius: 12px;
	background: #fff;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
	cursor: pointer;
}

.er-field__control--date svg {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--er-muted);
	pointer-events: none;
}

.er-date-display {
	font-size: 15px;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
	pointer-events: none;
	color: var(--er-ink);
}

.er-page .er-field__control--date input[type="date"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	opacity: 0;
	cursor: pointer;
	color-scheme: light;
}

.er-field__control--date:focus-within {
	border-color: var(--er-blue);
	box-shadow: 0 0 0 4px rgba(0, 132, 214, 0.14);
}

.er-field.has-error .er-field__control--date {
	border-color: var(--er-red);
	background: #fff8f7;
}

/* Checkboxes */

.er-check {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--er-muted-dark);
	margin: 14px 0;
	cursor: pointer;
}

.er-check input[type="checkbox"] {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	border: 1.5px solid var(--er-line-strong);
	border-radius: 6px;
	background: #fff;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	position: relative;
	transition: all 0.15s ease;
}

.er-check input[type="checkbox"]:checked {
	background: var(--er-ink);
	border-color: var(--er-ink);
}

.er-check input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid var(--er-lime);
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}

.er-check input[type="checkbox"]:focus-visible {
	outline: 3px solid rgba(0, 132, 214, 0.35);
	outline-offset: 2px;
}

.er-check a {
	text-decoration: underline;
	text-underline-offset: 2px;
	font-weight: 600;
	color: var(--er-ink);
}

/* ---------- Buttons ---------- */

.er-page .er-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	background: transparent;
	color: var(--er-ink);
	font-family: var(--er-font);
	font-size: 14px;
	font-weight: 750;
	letter-spacing: 0.01em;
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
	white-space: nowrap;
}

.er-page .er-btn svg {
	flex: 0 0 auto;
}

.er-page .er-btn:hover {
	transform: translateY(-1px);
	color: var(--er-ink);
}

.er-page .er-btn:active {
	transform: translateY(0);
}

.er-page .er-btn:focus-visible {
	outline: 3px solid rgba(0, 132, 214, 0.4);
	outline-offset: 2px;
}

.er-page .er-btn--primary {
	background: var(--er-lime);
	border-color: var(--er-lime);
	color: var(--er-ink);
	box-shadow: 0 10px 24px -14px rgba(140, 176, 12, 0.9);
}

.er-page .er-btn--primary:hover {
	background: var(--er-lime-hover);
	border-color: var(--er-lime-hover);
	box-shadow: 0 14px 28px -14px rgba(140, 176, 12, 0.95);
}

.er-page .er-btn--dark {
	background: var(--er-ink);
	border-color: var(--er-ink);
	color: #fff;
}

.er-page .er-btn--dark:hover {
	background: #000;
	color: #fff;
}

.er-page .er-btn--ghost {
	border-color: var(--er-line-strong);
	background: #fff;
}

.er-page .er-btn--ghost:hover {
	border-color: var(--er-ink);
}

.er-page .er-btn--lg {
	height: 54px;
	padding: 0 28px;
	font-size: 15px;
}

.er-page .er-btn--full {
	width: 100%;
}

.er-btn__spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(17, 20, 22, 0.25);
	border-top-color: var(--er-ink);
	border-radius: 50%;
	animation: er-spin 0.7s linear infinite;
}

.er-page .er-btn.is-loading .er-btn__spinner {
	display: inline-block;
}

.er-page .er-btn.is-loading {
	pointer-events: none;
	opacity: 0.85;
}

@keyframes er-spin {
	to {
		transform: rotate(360deg);
	}
}

.er-page .er-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	border: 0;
	background: none;
	padding: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--er-blue);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
	font-family: inherit;
}

.er-page .er-link:hover {
	color: var(--er-navy);
}

/* ---------- Bike picker ---------- */

.er-bikes-fieldset {
	margin-bottom: 22px;
}

.er-bikes-tools {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 12px;
}

.er-search {
	position: relative;
	display: block;
	flex: 1 1 auto;
	max-width: 320px;
}

.er-search svg {
	position: absolute;
	left: 13px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--er-muted);
	pointer-events: none;
}

.er-page .er-search input[type="search"] {
	height: 42px;
	padding-left: 38px;
	font-size: 13.5px;
	border-radius: 999px;
	background: var(--er-mist);
	border-color: transparent;
}

.er-page .er-search input[type="search"]:focus {
	background: #fff;
	border-color: var(--er-blue);
}

.er-bikes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	max-height: 430px;
	overflow-y: auto;
	padding: 3px;
	margin: -3px;
	scrollbar-width: thin;
	scrollbar-color: var(--er-line-strong) transparent;
}

.er-bikes::-webkit-scrollbar {
	width: 8px;
}

.er-bikes::-webkit-scrollbar-thumb {
	background: var(--er-line-strong);
	border-radius: 8px;
}

.er-bike {
	position: relative;
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 10px;
	border: 1.5px solid var(--er-line);
	border-radius: var(--er-radius-sm);
	background: #fff;
	cursor: pointer;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.er-bike:hover {
	border-color: var(--er-line-strong);
	transform: translateY(-1px);
	box-shadow: 0 12px 26px -22px rgba(17, 20, 22, 0.5);
}

.er-bike input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.er-bike.is-selected {
	border-color: var(--er-ink);
	box-shadow: 0 0 0 3px rgba(201, 242, 39, 0.6), 0 14px 30px -24px rgba(17, 20, 22, 0.6);
}

.er-bike.is-hidden {
	display: none;
}

.er-bike__media {
	position: relative;
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	border-radius: 10px;
	background: var(--er-mist);
	overflow: hidden;
}

.er-bike__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.er-bike__check {
	position: absolute;
	top: 5px;
	right: 5px;
	display: grid;
	place-items: center;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	background: var(--er-ink);
	color: var(--er-lime);
	opacity: 0;
	transform: scale(0.6);
	transition: all 0.16s ease;
}

.er-bike.is-selected .er-bike__check {
	opacity: 1;
	transform: scale(1);
}

.er-bike__body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.er-bike__name {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.er-bike__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.er-tag {
	display: inline-block;
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--er-mist);
	color: var(--er-muted-dark);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.er-tag--quiet {
	background: transparent;
	border: 1px solid var(--er-line);
	color: var(--er-muted);
}

.er-bike__rate {
	display: flex;
	align-items: baseline;
	gap: 4px;
	font-size: 12px;
}

.er-bike__rate strong {
	font-size: 14px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

/* ---------- Dates ---------- */

.er-dates {
	border-top: 1px solid var(--er-line);
	padding-top: 22px;
}

.er-dates__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 104px;
	gap: 0 14px;
	align-items: start;
}

.er-dates__grid .er-field {
	margin-bottom: 0;
}

.er-duration {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 50px;
	margin-top: 26px;
	border-radius: 12px;
	background: var(--er-ink);
	color: #fff;
}

.er-duration__value {
	font-size: 19px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--er-lime);
	font-variant-numeric: tabular-nums;
}

.er-duration__label {
	font-size: 9.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	margin-top: 3px;
}

.er-quick {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 16px;
}

.er-quick__label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--er-muted);
	margin-right: 2px;
}

.er-page .er-chip {
	height: 32px;
	padding: 0 13px;
	border-radius: 999px;
	border: 1px solid var(--er-line-strong);
	background: #fff;
	font-size: 12px;
	font-weight: 700;
	color: var(--er-muted-dark);
	cursor: pointer;
	transition: all 0.15s ease;
}

.er-page .er-chip:hover {
	border-color: var(--er-ink);
	color: var(--er-ink);
}

.er-page .er-chip.is-active {
	background: var(--er-ink);
	border-color: var(--er-ink);
	color: var(--er-lime);
}

.er-availability {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: 16px;
	padding: 11px 14px;
	border-radius: 10px;
	background: var(--er-mist);
	font-size: 13px;
	font-weight: 600;
	color: var(--er-muted-dark);
}

.er-availability__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--er-blue);
	flex: 0 0 auto;
}

.er-availability.is-checking .er-availability__dot {
	animation: er-pulse 1s ease-in-out infinite;
}

.er-availability.is-ok {
	background: var(--er-green-bg);
	color: var(--er-green);
}

.er-availability.is-ok .er-availability__dot {
	background: var(--er-green);
}

.er-availability.is-bad {
	background: var(--er-red-bg);
	color: var(--er-red);
}

.er-availability.is-bad .er-availability__dot {
	background: var(--er-red);
}

.er-availability button {
	margin-left: auto;
	border: 0;
	background: none;
	font-size: 12px;
	font-weight: 800;
	text-decoration: underline;
	cursor: pointer;
	color: inherit;
	padding: 0;
}

@keyframes er-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.8); }
}

/* ---------- Delivery options ---------- */

.er-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.er-option {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 15px 16px;
	border: 1.5px solid var(--er-line);
	border-radius: var(--er-radius-sm);
	background: #fff;
	cursor: pointer;
	transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.er-option:hover {
	border-color: var(--er-line-strong);
}

.er-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.er-option:has(input:checked) {
	border-color: var(--er-ink);
	background: #fcfdf7;
	box-shadow: inset 0 0 0 1px var(--er-ink);
}

.er-option.is-selected {
	border-color: var(--er-ink);
	background: #fcfdf7;
	box-shadow: inset 0 0 0 1px var(--er-ink);
}

.er-option__mark {
	position: relative;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1.5px solid var(--er-line-strong);
	flex: 0 0 auto;
	transition: all 0.16s ease;
}

.er-option input:checked ~ .er-option__mark {
	border-color: var(--er-ink);
	border-width: 6px;
}

.er-option__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1 1 auto;
}

.er-option__title {
	font-size: 14px;
	font-weight: 700;
}

.er-option__note {
	font-size: 12px;
	color: var(--er-muted);
}

.er-option__price {
	font-size: 14px;
	font-weight: 800;
	white-space: nowrap;
	letter-spacing: -0.01em;
}

.er-handover {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin-top: 22px;
	padding: 18px;
	border-radius: var(--er-radius-sm);
	background: var(--er-mist);
	border: 1px solid var(--er-line);
}

.er-handover__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #fff;
	color: var(--er-ink);
	flex: 0 0 auto;
	border: 1px solid var(--er-line);
}

.er-handover__title {
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 3px !important;
}

.er-handover .er-muted {
	line-height: 1.5;
}

/* ---------- Alerts ---------- */

.er-alert {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 20px;
	padding: 13px 16px;
	border-radius: 12px;
	font-size: 12.5px;
	line-height: 1.55;
	background: var(--er-mist);
	color: var(--er-muted-dark);
	border: 1px solid var(--er-line);
}

.er-alert svg {
	flex: 0 0 auto;
	margin-top: 1px;
	color: var(--er-muted);
}

.er-alert--info {
	background: #eef6fd;
	border-color: #d3e8f8;
	color: #23536f;
}

.er-alert--info svg {
	color: var(--er-blue);
}

.er-form-error {
	margin-top: 18px;
	padding: 13px 16px;
	border-radius: 12px;
	background: var(--er-red-bg);
	border: 1px solid #f4c9c5;
	color: var(--er-red);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
}

/* ---------- Profiles ---------- */

.er-profiles {
	margin-bottom: 24px;
	padding: 16px;
	border: 1px dashed var(--er-line-strong);
	border-radius: var(--er-radius-sm);
	background: #fbfcf8;
}

.er-profiles__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.er-profiles__list {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.er-profile {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 14px 9px 9px;
	border: 1.5px solid var(--er-line);
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
	font-size: 12.5px;
	font-weight: 600;
	transition: all 0.15s ease;
}

.er-profile:hover {
	border-color: var(--er-line-strong);
}

.er-profile.is-selected {
	border-color: var(--er-ink);
	box-shadow: 0 0 0 3px rgba(201, 242, 39, 0.55);
}

.er-page .er-profile {
	font-family: var(--er-font);
	font-size: 12.5px;
	text-align: left;
	color: var(--er-ink);
}

.er-profile input {
	position: absolute;
	opacity: 0;
}

.er-profile__avatar {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--er-ink);
	color: var(--er-lime);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.02em;
	flex: 0 0 auto;
}

.er-profile__meta {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.er-profile__meta small {
	font-size: 10.5px;
	color: var(--er-muted);
	font-weight: 500;
}

/* ---------- Review ---------- */

.er-review {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.er-review__block {
	border: 1px solid var(--er-line);
	border-radius: var(--er-radius-sm);
	padding: 16px 18px;
	background: #fdfdfb;
}

.er-review__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.er-review__head h3 {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--er-muted);
	font-weight: 800;
}

.er-review__head button {
	border: 0;
	background: none;
	padding: 0;
	font-size: 12px;
	font-weight: 700;
	color: var(--er-blue);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.er-review__bike {
	display: flex;
	align-items: center;
	gap: 12px;
}

.er-review__bike img {
	width: 64px;
	height: 64px;
	object-fit: contain;
	border-radius: 10px;
	background: var(--er-mist);
}

.er-review__bike strong {
	display: block;
	font-size: 14px;
	line-height: 1.35;
}

.er-review__lines {
	display: grid;
	gap: 6px;
	font-size: 13.5px;
}

.er-review__line {
	display: flex;
	gap: 8px;
}

.er-review__line span {
	color: var(--er-muted);
	flex: 0 0 96px;
}

.er-review__line strong {
	font-weight: 600;
	word-break: break-word;
}

.er-review__note {
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px dashed var(--er-line);
	font-size: 13px;
	color: var(--er-muted-dark);
	line-height: 1.55;
	white-space: pre-wrap;
}

/* ---------- Summary ---------- */

.er-summary {
	position: sticky;
	top: 92px;
}

.er-summary__card {
	background: #fff;
	border: 1px solid var(--er-line);
	border-radius: var(--er-radius);
	box-shadow: var(--er-shadow);
	overflow: hidden;
	padding: 22px;
}

.er-summary__card::before {
	content: "";
	display: block;
	height: 4px;
	margin: -22px -22px 18px;
	background: linear-gradient(90deg, var(--er-lime), #8fd400 55%, var(--er-blue));
}

.er-summary__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 16px;
}

.er-summary__eyebrow {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--er-muted);
}

.er-summary__badge {
	padding: 4px 9px;
	border-radius: 999px;
	background: var(--er-lime);
	color: var(--er-ink);
	font-size: 9.5px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.er-summary__bike {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border-radius: 12px;
	background: var(--er-mist);
	margin-bottom: 16px;
}

.er-summary__thumb {
	width: 58px;
	height: 58px;
	border-radius: 9px;
	background: #fff;
	overflow: hidden;
	flex: 0 0 auto;
	display: grid;
	place-items: center;
}

.er-summary__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.er-summary__name {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
}

.er-summary__rows {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.er-summary__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	color: var(--er-muted);
}

.er-summary__row strong {
	font-size: 13px;
	font-weight: 700;
	color: var(--er-ink);
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.er-summary__row--muted strong {
	color: var(--er-muted-dark);
	font-weight: 600;
}

.er-summary__row--total {
	padding-top: 10px;
	margin-top: 2px;
	border-top: 1.5px solid var(--er-ink);
	font-size: 13.5px;
	color: var(--er-ink);
	font-weight: 700;
	align-items: center;
}

.er-summary__row--total strong {
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.er-summary__divider {
	height: 1px;
	background: var(--er-line);
	margin: 14px 0;
}

.er-summary__note {
	font-size: 11px;
	color: var(--er-muted);
	line-height: 1.5;
	margin: 6px 0 16px !important;
}

.er-page .er-summary .er-btn {
	margin-bottom: 16px;
}

.er-trust {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
	border-top: 1px solid var(--er-line);
	padding-top: 14px;
}

.er-trust li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 11.5px;
	line-height: 1.5;
	color: var(--er-muted-dark);
}

.er-trust svg {
	flex: 0 0 auto;
	margin-top: 1px;
	color: var(--er-green);
}

.er-trust a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ---------- Success ---------- */

.er-success {
	margin-top: 32px;
	animation: er-enter 0.4s ease both;
}

.er-success__card {
	position: relative;
	overflow: hidden;
	border-radius: 26px;
	border: 1px solid var(--er-line);
	background:
		radial-gradient(560px 280px at 88% 0%, rgba(201, 242, 39, 0.32), transparent 65%),
		#fff;
	box-shadow: var(--er-shadow);
	padding: clamp(26px, 4vw, 44px);
	text-align: center;
}

.er-success__icon {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: var(--er-lime);
	color: var(--er-ink);
}

.er-success h2 {
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	letter-spacing: -0.035em;
}

.er-success__lead {
	max-width: 52ch;
	margin: 10px auto 0 !important;
	color: var(--er-muted-dark);
	font-size: 14.5px;
	line-height: 1.6;
}

.er-success__ref {
	display: inline-flex;
	flex-direction: column;
	gap: 2px;
	margin: 22px auto;
	padding: 12px 26px;
	border-radius: 14px;
	background: var(--er-ink);
	color: #fff;
}

.er-success__ref span {
	color: var(--er-ice);
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 700;
}

.er-success__ref strong {
	font-family: var(--er-mono);
	font-size: 20px;
	letter-spacing: 0.08em;
	color: var(--er-lime);
}

.er-success__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	text-align: left;
	margin: 0 auto 26px;
	max-width: 560px;
}

.er-success__grid > div {
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--er-mist);
	min-width: 0;
}

.er-success__grid span {
	display: block;
	font-size: 12px;
}

.er-success__grid strong {
	display: block;
	font-size: 13px;
	margin-top: 2px;
	line-height: 1.4;
	word-break: break-word;
}

.er-success__steps {
	list-style: none;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin: 0 auto 28px;
	padding: 0;
	max-width: 760px;
}

.er-success__steps li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--er-muted-dark);
}

.er-success__steps span {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	border: 1.5px solid var(--er-line-strong);
	font-size: 10.5px;
	font-weight: 800;
	color: var(--er-ink);
}

.er-success__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

/* ---------- Lookup ---------- */

.er-lookup {
	margin-top: 32px;
	border-radius: 26px;
	background:
		radial-gradient(600px 300px at 95% 120%, rgba(0, 132, 214, 0.25), transparent 65%),
		var(--er-ink);
	color: #fff;
	padding: clamp(24px, 3.6vw, 40px);
}

.er-lookup__copy h2 {
	color: #fff;
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	letter-spacing: -0.03em;
	margin-bottom: 6px;
}

.er-lookup__copy .er-eyebrow {
	color: var(--er-lime);
}

.er-lookup__copy .er-muted {
	color: rgba(255, 255, 255, 0.65);
	max-width: 52ch;
	line-height: 1.6;
}

.er-lookup__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
	gap: 12px;
	align-items: end;
	margin-top: 20px;
}

.er-lookup__form .er-field {
	margin: 0;
}

.er-lookup__form .er-field__label {
	color: var(--er-ice);
}

.er-page .er-lookup__form input {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.er-page .er-lookup__form input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.er-page .er-lookup__form input:focus {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--er-lime);
	box-shadow: 0 0 0 4px rgba(201, 242, 39, 0.16);
}

.er-lookup__result {
	margin-top: 18px;
	border-radius: 16px;
	background: #fff;
	color: var(--er-ink);
	padding: 20px;
}

.er-lookup__result .er-pill {
	margin-bottom: 10px;
}

.er-lookup__result h3 {
	font-size: 16px;
	margin-bottom: 4px;
}

.er-lookup__result .er-timeline {
	margin-top: 14px;
}

/* ---------- Status pill / timeline (shared) ---------- */

.er-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--er-pill-color, var(--er-muted-dark));
	background: var(--er-pill-bg, var(--er-mist));
}

.er-timeline {
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.er-timeline li {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
	padding-left: 20px;
	font-size: 12.5px;
}

.er-timeline__dot {
	position: absolute;
	left: 0;
	top: 5px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--er-line-strong);
}

.er-timeline__dot::before {
	content: "";
	position: absolute;
	left: 3.5px;
	top: 12px;
	width: 1.5px;
	height: calc(100% + 10px);
	background: var(--er-line);
}

.er-timeline li:last-child .er-timeline__dot::before {
	display: none;
}

.er-timeline strong {
	font-weight: 700;
}

.er-timeline .er-muted {
	font-size: 11.5px;
}

.er-timeline__note {
	flex: 1 0 100%;
	color: var(--er-muted-dark);
	font-size: 12px;
	line-height: 1.5;
}

/* ---------- FAQ ---------- */

.er-faq {
	margin-top: 40px;
}

.er-faq h2 {
	font-size: clamp(1.3rem, 2.4vw, 1.6rem);
	letter-spacing: -0.03em;
	margin-bottom: 16px;
}

.er-faq__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.er-faq details {
	border: 1px solid var(--er-line);
	border-radius: var(--er-radius-sm);
	background: #fff;
	padding: 0 18px;
	transition: border-color 0.16s ease;
}

.er-faq details[open] {
	border-color: var(--er-line-strong);
}

.er-faq summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 16px 30px 16px 0;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.4;
}

.er-faq summary::-webkit-details-marker {
	display: none;
}

.er-faq summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
	font-weight: 400;
	color: var(--er-muted);
	line-height: 1;
	transition: transform 0.18s ease;
}

.er-faq details[open] summary::after {
	transform: translateY(-50%) rotate(45deg);
	color: var(--er-ink);
}

.er-faq details p {
	padding: 0 0 16px;
	font-size: 13px;
	line-height: 1.65;
	color: var(--er-muted-dark);
}

/* ---------- Admin (also used on front for pills) ---------- */

.er-page .er-mono {
	font-family: var(--er-mono);
}

.er-page .er-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
	.er-layout {
		grid-template-columns: minmax(0, 1fr) 310px;
		gap: 20px;
	}
}

@media (max-width: 960px) {
	.er-hero__inner {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.er-hero__panel {
		display: none;
	}

	.er-layout {
		grid-template-columns: 1fr;
	}

	.er-summary {
		position: static;
		order: 2;
	}

	.er-flow {
		order: 1;
	}

	.er-summary__card {
		max-width: 560px;
	}
}

@media (max-width: 720px) {
	.er-hero {
		padding: 26px 22px;
		border-radius: 22px;
	}

	.er-hero__chips li {
		font-size: 11.5px;
	}

	.er-steps {
		gap: 4px;
	}

	.er-steps li {
		gap: 7px;
		font-size: 11px;
		padding: 8px 0;
	}

	.er-steps__label {
		display: none;
	}

	.er-steps li::after {
		left: 34px;
		bottom: 5px;
	}

	.er-card {
		padding: 20px 16px;
		border-radius: 18px;
	}

	.er-card__head {
		margin-bottom: 18px;
	}

	.er-bikes {
		grid-template-columns: 1fr;
		max-height: 390px;
	}

	.er-dates__grid {
		grid-template-columns: 1fr 1fr;
	}

	.er-duration {
		grid-column: 1 / -1;
		height: 44px;
		margin-top: 4px;
		flex-direction: row;
		gap: 8px;
	}

	.er-duration__label {
		margin-top: 0;
	}

	.er-grid--2,
	.er-grid--3,
	.er-grid--4 {
		grid-template-columns: 1fr;
	}

	.er-grid--3 .er-field--house {
		max-width: 130px;
	}

	.er-success__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		text-align: left;
	}

	.er-lookup__form {
		grid-template-columns: 1fr;
	}

	.er-lookup__form .er-btn {
		width: 100%;
	}

	.er-faq__grid {
		grid-template-columns: 1fr;
	}

	.er-nav .er-btn {
		padding: 0 18px;
		font-size: 13px;
	}

	.er-summary__card {
		max-width: none;
	}
}

@media (max-width: 420px) {
	.er-page .er-btn--lg {
		padding: 0 18px;
		font-size: 13.5px;
	}

	.er-bikes-tools {
		flex-direction: column;
		align-items: stretch;
	}

	.er-search {
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.er-page *,
	.er-page *::before,
	.er-page *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---------------- Customer account: my rentals ---------------- */

.er-page--account {
	padding: 32px 20px 56px;
	background: var(--er-mist);
	min-height: 60vh;
}

.er-page .er-mine {
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
}

.er-page .er-mine__head {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 18px;
}

.er-page .er-mine__head h2 {
	font-size: clamp(22px, 3vw, 30px);
	letter-spacing: -0.02em;
	margin: 0;
}

.er-page .er-mine__head .er-muted a {
	text-decoration: underline;
	text-underline-offset: 3px;
	color: var(--er-navy);
}

.er-page .er-mine__empty {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 26px;
	border: 1px dashed var(--er-line-strong);
	border-radius: var(--er-radius);
	background: var(--er-paper);
}

.er-page .er-mine__empty p {
	max-width: 56ch;
	color: var(--er-muted-dark);
}

.er-page .er-mine__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.er-page .er-mine__item {
	background: var(--er-paper);
	border: 1px solid var(--er-line);
	border-radius: 18px;
	overflow: hidden;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.er-page .er-mine__item:hover {
	border-color: var(--er-line-strong);
}

.er-page .er-mine__item[open] {
	border-color: var(--er-line-strong);
	box-shadow: var(--er-shadow);
}

.er-page .er-mine__item > summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto 20px;
	align-items: center;
	gap: 14px;
	padding: 15px 18px;
	cursor: pointer;
	list-style: none;
}

.er-page .er-mine__item > summary::-webkit-details-marker {
	display: none;
}

.er-page .er-mine__item > summary:focus-visible {
	outline: 2px solid var(--er-blue);
	outline-offset: -3px;
}

.er-page .er-mine__main {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.er-page .er-mine__ref {
	font-family: var(--er-mono);
	font-size: 11.5px;
	letter-spacing: 0.08em;
	color: var(--er-muted);
}

.er-page .er-mine__bike {
	font-size: 15px;
	font-weight: 650;
	letter-spacing: -0.01em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.er-page .er-mine__meta {
	font-size: 13px;
	color: var(--er-muted-dark);
	font-variant-numeric: tabular-nums;
}

.er-page .er-mine__dot {
	margin: 0 4px;
}

.er-page .er-mine__side {
	display: flex;
	align-items: center;
	gap: 12px;
}

.er-page .er-mine__total {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.er-page .er-mine__chevron {
	color: var(--er-muted);
	transition: transform 0.18s ease;
}

.er-page .er-mine__item[open] .er-mine__chevron {
	transform: rotate(180deg);
}

.er-page .er-mine__body {
	padding: 0 18px 18px;
	border-top: 1px solid var(--er-line);
}

.er-page .er-mine__facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 16px 0;
}

.er-page .er-mine__facts div {
	padding: 10px 12px;
	border-radius: 12px;
	background: var(--er-mist);
}

.er-page .er-mine__facts dt {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--er-muted);
}

.er-page .er-mine__facts dd {
	margin: 3px 0 0;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

.er-page .er-mine__timeline {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
}

.er-page .er-mine__timeline li {
	display: flex;
	align-items: baseline;
	gap: 10px;
	padding: 7px 0;
	border-bottom: 1px dashed var(--er-line);
	font-size: 14px;
}

.er-page .er-mine__timeline li:last-child {
	border-bottom: 0;
}

.er-page .er-mine__dotmark {
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--er-blue);
}

.er-page .er-mine__event {
	font-weight: 600;
}

.er-page .er-mine__time {
	margin-left: auto;
	font-size: 13px;
	color: var(--er-muted);
	font-variant-numeric: tabular-nums;
}

.er-page .er-mine__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	border-bottom: 1px solid var(--er-line-strong);
}

.er-page .er-mine__link:hover {
	border-color: var(--er-ink);
}

/* Status pills */

.er-page .er-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--er-pill-color, var(--er-muted-dark));
	background: var(--er-pill-bg, var(--er-mist-2));
}

.er-page .er-pill::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.er-page .er-pill--new {
	--er-pill-color: #0069b4;
	--er-pill-bg: #e6f3fc;
}

.er-page .er-pill--confirmed {
	--er-pill-color: #7a5a00;
	--er-pill-bg: #fff5d6;
}

.er-page .er-pill--prepared {
	--er-pill-color: #0b6b3a;
	--er-pill-bg: #ddf7e7;
}

.er-page .er-pill--picked_up {
	--er-pill-color: #3f3f9d;
	--er-pill-bg: #e9e9fb;
}

.er-page .er-pill--returned {
	--er-pill-color: #4c5459;
	--er-pill-bg: #eef1f2;
}

.er-page .er-pill--cancelled {
	--er-pill-color: #a11b1b;
	--er-pill-bg: #fde8e8;
}

@media (max-width: 760px) {
	.er-page .er-mine__item > summary {
		grid-template-columns: minmax(0, 1fr) auto;
		padding: 14px 15px;
	}

	.er-page .er-mine__chevron {
		display: none;
	}

	.er-page .er-mine__side {
		flex-direction: column;
		align-items: flex-end;
		gap: 6px;
	}

	.er-page .er-mine__facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.er-page .er-mine__body {
		padding: 0 15px 16px;
	}

	.er-page .er-mine__timeline li {
		flex-wrap: wrap;
	}

	.er-page .er-mine__time {
		margin-left: 18px;
		width: 100%;
	}
}
.er-page .er-mine__all {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	font-size: 14px;
	font-weight: 600;
	border-bottom: 1px solid var(--er-line-strong);
	align-self: flex-start;
}

.er-page .er-mine__all:hover {
	border-color: var(--er-ink);
}

.er-page--embedded {
	padding: 0;
	background: transparent;
	min-height: 0;
}

.er-page--embedded .er-mine {
	max-width: none;
}