/* Mobile Tracking sheet — same shell as Help, lookup + progress inside the popup */

body.xxs-track-sheet-open {
	overflow: hidden;
	overscroll-behavior: none;
}

body.xxs-track-sheet-open .xxs-mtab.is-on {
	color: #8e9399;
}

body.xxs-track-sheet-open .xxs-mtab.xxs-tracking-open {
	color: #6c98e1;
}

#auc_sheet_track.auc-sheet {
	display: none !important;
	position: fixed !important;
	top: var(--xxs-sheet-top, calc(var(--xxs-mobile-header-h, 78px) + 8px)) !important;
	right: 0 !important;
	bottom: var(--xxs-sheet-bottom, env(safe-area-inset-bottom, 0px)) !important;
	left: 0 !important;
	z-index: 2147483000 !important;
	align-items: flex-end;
	justify-content: center;
	padding: 0;
	margin: 0 !important;
	width: 100% !important;
	height: auto !important;
	max-width: none !important;
	font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	isolation: isolate;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

body.xxs-track-sheet-open #auc_sheet_track.auc-sheet {
	display: flex !important;
}

#auc_sheet_track .auc-sheet__backdrop {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: rgba(15, 23, 42, 0.48);
	cursor: pointer;
}

#auc_sheet_track .xxs-ts-panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 520px;
	height: auto !important;
	max-height: 100%;
	flex: 0 1 auto;
	margin: 0;
	background: #fff;
	border-radius: 16px 16px 0 0;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 -12px 48px rgba(15, 23, 42, 0.15);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

#auc_sheet_track .xxs-ts-handle {
	flex: 0 0 auto;
	width: 36px;
	height: 4px;
	margin: 8px auto 0;
	border-radius: 99px;
	background: #d5dde5;
}

#auc_sheet_track .xxs-ts-head {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 4px 6px 8px 8px;
	min-height: 48px;
}

#auc_sheet_track .auc-sheet__title {
	flex: 1 1 auto;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	color: #153e4d !important;
	line-height: 1.25 !important;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#auc_sheet_track .xxs-ts-close,
#auc_sheet_track .xxs-ts-back-spacer {
	flex: 0 0 40px;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
}

#auc_sheet_track .xxs-ts-close {
	display: flex !important;
	align-items: center;
	justify-content: center;
	position: relative !important;
	top: auto !important;
	right: auto !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	background: transparent !important;
	color: #243040 !important;
	cursor: pointer !important;
	box-shadow: none !important;
	text-transform: none !important;
	font-size: 26px !important;
	line-height: 1 !important;
	font-weight: 300 !important;
}

#auc_sheet_track .xxs-ts-close:hover,
#auc_sheet_track .xxs-ts-close:focus {
	background: rgba(21, 62, 77, 0.06) !important;
	color: #111827 !important;
}

#auc_sheet_track .xxs-ts-scroll {
	flex: 0 1 auto;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 4px 18px 16px;
}

#auc_sheet_track .xxs-ts-title {
	margin: 0 0 8px;
	font-size: 1.35rem;
	line-height: 1.25;
	font-weight: 700;
	color: #1a1f36;
}

#auc_sheet_track .xxs-ts-lead {
	margin: 0 0 14px;
	color: #5b6478;
	font-size: 14px;
	line-height: 1.5;
}

#auc_sheet_track .xxs-ts-lead a {
	color: #2563eb;
	font-weight: 700;
	text-decoration: none;
}

#auc_sheet_track .xxs-ts-error {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #fff1f2;
	border: 1px solid #fecdca;
	color: #b42318;
	font-size: 14px;
	line-height: 1.4;
}

#auc_sheet_track .xxs-ts-form {
	display: grid;
	gap: 10px;
	padding: 0 0 4px;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

#auc_sheet_track .xxs-ts-label {
	font-size: 14px;
	font-weight: 600;
	color: #1a1f36;
}

#auc_sheet_track .xxs-ts-input {
	width: 100%;
	box-sizing: border-box;
	height: 50px;
	padding: 12px 14px;
	border: 1px solid #d5dbe7;
	border-radius: 10px;
	background: #fff;
	font-size: 18px;
	letter-spacing: 0.04em;
	color: #1a1f36;
	-webkit-appearance: none;
	appearance: none;
}

#auc_sheet_track .xxs-ts-input:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

#auc_sheet_track .xxs-ts-btn {
	display: block !important;
	width: 100% !important;
	box-sizing: border-box !important;
	margin: 4px 0 0 !important;
	padding: 14px 16px !important;
	min-height: 50px !important;
	border: none !important;
	border-radius: 10px !important;
	background: #2563eb !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
	font-family: inherit;
}

#auc_sheet_track .xxs-ts-btn:hover,
#auc_sheet_track .xxs-ts-btn:focus {
	background: #1d4ed8 !important;
	color: #fff !important;
}

#auc_sheet_track .xxs-ts-btn:disabled {
	opacity: 0.65;
	cursor: wait !important;
}

#auc_sheet_track .xxs-ts-btn--ghost {
	background: #fff !important;
	color: #2563eb !important;
	border: 1px solid #d7e3ef !important;
}

#auc_sheet_track .xxs-ts-btn--ghost:hover,
#auc_sheet_track .xxs-ts-btn--ghost:focus {
	background: #eff6ff !important;
	color: #1d4ed8 !important;
}

#auc_sheet_track .xxs-ts-result {
	padding: 0 0 4px;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

#auc_sheet_track .cfs-track__kicker {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 700;
	color: #6c98e1;
	letter-spacing: 0.02em;
}

#auc_sheet_track .xxs-ts-status {
	margin: 0 0 14px;
	font-weight: 600;
	color: #2563eb;
	font-size: 15px;
	line-height: 1.4;
}

#auc_sheet_track .cfs-order__steps {
	display: flex;
	gap: 4px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

#auc_sheet_track .cfs-order__steps li {
	flex: 1 1 0;
	min-width: 0;
}

#auc_sheet_track .cfs-order__steps li::before {
	content: "";
	display: block;
	height: 6px;
	border-radius: 3px;
	background: #e2e8f0;
}

#auc_sheet_track .cfs-order__steps li.is-done::before {
	background: #22a35a;
}

#auc_sheet_track .cfs-order__steps li.is-now::before {
	background: #2563eb;
}

#auc_sheet_track .cfs-order__steps span {
	display: block;
	margin-top: 6px;
	font-size: 11px;
	line-height: 1.25;
	color: #667085;
	overflow-wrap: anywhere;
}

#auc_sheet_track .cfs-order__steps li.is-now span {
	color: #1a1f2c;
	font-weight: 700;
}

@media (max-width: 560px) {
	#auc_sheet_track .cfs-order__steps {
		position: relative;
		counter-reset: step;
	}

	#auc_sheet_track .cfs-order__steps:has(.is-now) {
		padding-bottom: 24px;
	}

	#auc_sheet_track .cfs-order__steps li {
		counter-increment: step;
	}

	#auc_sheet_track .cfs-order__steps span {
		display: none;
	}

	#auc_sheet_track .cfs-order__steps li.is-now span {
		display: block;
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		margin: 0;
		font-size: 13px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		overflow-wrap: normal;
	}

	#auc_sheet_track .cfs-order__steps li.is-now span::before {
		content: "Step " counter(step) " · ";
		color: #2563eb;
	}
}
