.jpt-track-app {
	--jpt-track-blue: #0046b8;
	--jpt-track-blue-dark: #00378f;
	--jpt-track-blue-soft: #eaf2ff;
	--jpt-track-orange: #ff8a00;
	--jpt-track-orange-soft: #fff4e5;
	--jpt-track-text: #15233b;
	--jpt-track-muted: #68768c;
	--jpt-track-line: #e5ebf4;
	--jpt-track-surface: #f7f9fc;
	color: var(--jpt-track-text);
	font-family: inherit;
	margin: 18px auto;
	max-width: 980px;
}

.jpt-track-app *,
.jpt-track-app *::before,
.jpt-track-app *::after {
	box-sizing: border-box;
}

.jpt-track-search-card,
.jpt-track-card,
.jpt-track-alert {
	background: #fff;
	border: 1px solid rgba(213, 223, 237, .84);
	border-radius: 24px;
	box-shadow: 0 16px 44px rgba(31, 57, 94, .09);
}

.jpt-track-search-card {
	overflow: hidden;
	padding: 22px;
	position: relative;
}

.jpt-track-search-card::after {
	background: var(--jpt-track-orange);
	border-radius: 999px;
	content: "";
	height: 5px;
	left: 22px;
	position: absolute;
	top: 0;
	width: 60px;
}

.jpt-track-search-heading {
	align-items: flex-start;
	display: flex;
	gap: 14px;
}

.jpt-track-search-heading > div,
.jpt-track-status__copy,
.jpt-track-alert__content,
.jpt-track-step__copy,
.jpt-track-timeline__copy,
.jpt-track-note > div {
	min-width: 0;
}

.jpt-track-package-icon,
.jpt-track-status__icon {
	align-items: center;
	background: var(--jpt-track-blue-soft);
	border-radius: 16px;
	display: flex;
	flex: 0 0 auto;
	height: 50px;
	justify-content: center;
	width: 50px;
}

.jpt-track-package-icon__box {
	border: 2px solid var(--jpt-track-blue);
	border-radius: 4px;
	height: 20px;
	position: relative;
	width: 22px;
}

.jpt-track-package-icon__box::before,
.jpt-track-package-icon__box::after {
	content: "";
	position: absolute;
}

.jpt-track-package-icon__box::before {
	border-bottom: 2px solid var(--jpt-track-blue);
	left: 0;
	right: 0;
	top: 6px;
}

.jpt-track-package-icon__box::after {
	background: var(--jpt-track-orange);
	height: 8px;
	left: 8px;
	top: -2px;
	width: 3px;
}

.jpt-track-eyebrow {
	color: var(--jpt-track-orange);
	display: block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.3px;
	line-height: 1.4;
	text-transform: uppercase;
}

.jpt-track-search-heading h2,
.jpt-track-status h3,
.jpt-track-section__title {
	font-family: inherit;
}

.jpt-track-search-heading h2 {
	color: var(--jpt-track-text);
	font-size: clamp(23px, 5vw, 34px);
	line-height: 1.14;
	margin: 5px 0 8px;
}

.jpt-track-search-heading p {
	color: var(--jpt-track-muted);
	font-size: 14px;
	line-height: 1.65;
	margin: 0;
}

.jpt-track-form {
	margin-top: 22px;
}

.jpt-track-form-label {
	color: var(--jpt-track-text);
	display: block;
	font-size: 13px;
	font-weight: 800;
	margin: 0 0 8px;
}

.jpt-track-search-row {
	display: block;
	max-width: 100%;
	width: 100%;
}

.jpt-track-input-group {
	max-width: 100%;
	min-width: 0;
	position: relative;
	width: 100%;
}

.jpt-track-input-icon {
	border: 2px solid var(--jpt-track-blue);
	border-radius: 50%;
	height: 16px;
	left: 18px;
	pointer-events: none;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	z-index: 2;
}

.jpt-track-input-icon::after {
	background: var(--jpt-track-blue);
	border-radius: 999px;
	bottom: -5px;
	content: "";
	height: 6px;
	position: absolute;
	right: -3px;
	transform: rotate(-42deg);
	width: 2px;
}

.jpt-track-app .jpt-track-input {
	appearance: none;
	background: var(--jpt-track-surface);
	border: 1px solid #d5deeb;
	border-radius: 14px;
	color: var(--jpt-track-text);
	display: block;
	flex: 1;
	font: inherit;
	font-size: 15px;
	min-height: 56px;
	padding: 13px 16px 13px 58px !important;
	text-indent: 0 !important;
	width: 100%;
}

.jpt-track-app .jpt-track-input:focus {
	background: #fff;
	border-color: var(--jpt-track-blue);
	box-shadow: 0 0 0 4px rgba(0, 70, 184, .1);
	outline: none;
}

.jpt-track-app .jpt-track-input::placeholder {
	color: #99a5b7;
}

.jpt-track-submit {
	align-items: center;
	background: var(--jpt-track-blue);
	border: 0;
	border-radius: 14px;
	color: #fff;
	cursor: pointer;
	display: flex;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	gap: 8px;
	height: 56px;
	justify-content: center;
	margin-top: 12px;
	min-height: 56px;
	min-width: 160px;
	padding: 13px 20px;
	transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
	white-space: nowrap;
	width: 100%;
}

.jpt-track-submit:hover {
	background: var(--jpt-track-blue-dark);
	box-shadow: 0 8px 20px rgba(0, 70, 184, .18);
	transform: translateY(-1px);
}

.jpt-track-submit:disabled {
	cursor: wait;
	opacity: .7;
	transform: none;
}

.jpt-track-submit-arrow {
	font-size: 20px;
	line-height: 1;
	margin-left: 2px;
}

.jpt-track-result {
	margin-top: 16px;
}

.jpt-track-alert {
	align-items: flex-start;
	display: flex;
	gap: 13px;
	padding: 16px;
}

.jpt-track-alert--error {
	background: #fffafa;
	border-color: #f2d6d3;
}

.jpt-track-alert__icon {
	align-items: center;
	background: var(--jpt-track-blue-soft);
	border-radius: 12px;
	display: flex;
	flex: 0 0 auto;
	height: 38px;
	justify-content: center;
	width: 38px;
}

.jpt-track-alert--error .jpt-track-alert__icon {
	background: #fff0ef;
}

.jpt-track-alert__content strong {
	color: var(--jpt-track-text);
	display: block;
	font-size: 14px;
}

.jpt-track-alert--error .jpt-track-alert__content strong {
	color: #a93226;
}

.jpt-track-alert__content p {
	color: var(--jpt-track-muted);
	font-size: 13px;
	line-height: 1.55;
	margin: 3px 0 0;
}

.jpt-track-card {
	overflow: hidden;
}

.jpt-track-status {
	background: linear-gradient(135deg, var(--jpt-track-blue), #1766d2);
	color: #fff;
	padding: 22px;
	position: relative;
}

.jpt-track-status::after {
	background: rgba(255, 255, 255, .08);
	border-radius: 50%;
	content: "";
	height: 180px;
	position: absolute;
	right: -62px;
	top: -70px;
	width: 180px;
}

.jpt-track-status__main {
	align-items: center;
	display: flex;
	gap: 16px;
	min-width: 0;
	position: relative;
	z-index: 1;
}

.jpt-track-status__icon {
	background: rgba(255, 255, 255, .14);
}

.jpt-track-status__label {
	display: block;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 1.2px;
	opacity: .76;
	text-transform: uppercase;
}

.jpt-track-status h3 {
	color: #fff;
	font-size: clamp(22px, 5vw, 32px);
	line-height: 1.16;
	margin: 4px 0;
}

.jpt-track-status p {
	font-size: 13px;
	margin: 0;
	opacity: .88;
}

.jpt-track-status__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 18px;
	position: relative;
	z-index: 1;
}

.jpt-track-badge {
	align-items: center;
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .19);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 11px;
	font-weight: 800;
	gap: 8px;
	line-height: 1.25;
	padding: 7px 10px;
	vertical-align: middle;
}

.jpt-track-badge .jpt-track-icon {
	margin-right: 2px;
}

.jpt-track-badge--destination {
	background: var(--jpt-track-orange);
	border-color: var(--jpt-track-orange);
}

.jpt-track-card__body {
	padding: 20px;
}

.jpt-track-section + .jpt-track-section {
	border-top: 1px solid var(--jpt-track-line);
	margin-top: 22px;
	padding-top: 22px;
}

.jpt-track-section__title {
	color: var(--jpt-track-text);
	font-size: 16px;
	line-height: 1.3;
	margin: 0 0 15px;
}

.jpt-track-details {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr;
	margin: 0;
}

.jpt-track-detail {
	align-items: center;
	background: var(--jpt-track-surface);
	border: 1px solid #edf1f7;
	border-radius: 14px;
	display: flex;
	gap: 11px;
	min-width: 0;
	padding: 12px;
}

.jpt-track-detail__icon {
	align-items: center;
	background: var(--jpt-track-blue-soft);
	border-radius: 10px;
	color: var(--jpt-track-blue);
	display: flex;
	flex: 0 0 auto;
	height: 34px;
	justify-content: center;
	width: 34px;
}

.jpt-track-detail__content {
	min-width: 0;
	padding-left: 1px;
}

.jpt-track-detail dt {
	color: var(--jpt-track-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .7px;
	line-height: 1.3;
	margin: 0 0 3px;
	text-transform: uppercase;
}

.jpt-track-detail dd {
	color: var(--jpt-track-text);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.45;
	margin: 0;
	overflow-wrap: anywhere;
}

.jpt-track-stepper,
.jpt-track-timeline {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jpt-track-step {
	align-items: flex-start;
	color: var(--jpt-track-muted);
	display: flex;
	gap: 14px;
	min-height: 76px;
	padding: 0 0 22px;
	position: relative;
}

.jpt-track-step:last-child {
	min-height: 0;
	padding-bottom: 0;
}

.jpt-track-step:not(:last-child)::after {
	background: #dce3ed;
	content: "";
	height: calc(100% - 28px);
	left: 15px;
	position: absolute;
	top: 34px;
	width: 2px;
}

.jpt-track-step.jpt-track-is-active:not(:last-child)::after {
	background: var(--jpt-track-orange);
}

.jpt-track-step__marker {
	align-items: center;
	background: #eef2f6;
	border: 2px solid #dce3ed;
	border-radius: 50%;
	color: #8a96a8;
	display: flex;
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 900;
	height: 32px;
	justify-content: center;
	position: relative;
	width: 32px;
	z-index: 1;
}

.jpt-track-step.jpt-track-is-active .jpt-track-step__marker {
	background: var(--jpt-track-blue);
	border-color: var(--jpt-track-blue);
	color: #fff;
}

.jpt-track-step.jpt-track-is-current .jpt-track-step__marker {
	background: var(--jpt-track-orange);
	border-color: var(--jpt-track-orange);
	box-shadow: 0 0 0 5px var(--jpt-track-orange-soft);
}

.jpt-track-step__copy {
	min-width: 0;
	padding-top: 3px;
}

.jpt-track-step__copy strong,
.jpt-track-step__copy small {
	display: block;
}

.jpt-track-step__copy strong {
	color: inherit;
	font-size: 13px;
	line-height: 1.4;
}

.jpt-track-step.jpt-track-is-active .jpt-track-step__copy strong {
	color: var(--jpt-track-blue);
}

.jpt-track-step__copy small {
	font-size: 11px;
	line-height: 1.4;
	margin-top: 3px;
}

.jpt-track-timeline__item {
	align-items: flex-start;
	display: flex;
	gap: 14px;
	min-height: 66px;
	padding-bottom: 17px;
	position: relative;
}

.jpt-track-timeline__item:last-child {
	min-height: 0;
	padding-bottom: 0;
}

.jpt-track-timeline__item:not(:last-child)::after {
	background: #e1e7f0;
	content: "";
	height: calc(100% - 29px);
	left: 15px;
	position: absolute;
	top: 33px;
	width: 2px;
}

.jpt-track-timeline__item.jpt-track-is-active:not(:last-child)::after {
	background: var(--jpt-track-orange);
}

.jpt-track-timeline__marker {
	align-items: center;
	background: #f1f4f8;
	border: 1px solid #e1e7f0;
	border-radius: 50%;
	color: #9ba7b7;
	display: flex;
	flex: 0 0 auto;
	height: 32px;
	justify-content: center;
	position: relative;
	width: 32px;
	z-index: 1;
}

.jpt-track-timeline__item.jpt-track-is-active .jpt-track-timeline__marker {
	background: var(--jpt-track-orange-soft);
	border-color: #ffd59e;
	color: var(--jpt-track-orange);
}

.jpt-track-timeline__copy {
	min-width: 0;
	padding-top: 2px;
}

.jpt-track-timeline__copy strong,
.jpt-track-timeline__copy small {
	display: block;
}

.jpt-track-timeline__copy strong {
	color: #8793a4;
	font-size: 13px;
	line-height: 1.5;
}

.jpt-track-timeline__item.jpt-track-is-active .jpt-track-timeline__copy strong {
	color: var(--jpt-track-text);
}

.jpt-track-timeline__copy small {
	color: #a0aaba;
	font-size: 11px;
	line-height: 1.45;
	margin-top: 2px;
}

.jpt-track-note {
	align-items: flex-start;
	background: var(--jpt-track-orange-soft);
	border: 1px solid #ffe0b5;
	border-radius: 14px;
	color: #81531d;
	display: flex;
	font-size: 12px;
	gap: 10px;
	line-height: 1.6;
	margin-top: 22px;
	padding: 12px;
}

.jpt-track-note .jpt-track-icon {
	color: var(--jpt-track-orange);
	flex: 0 0 auto;
	margin-right: 2px;
	margin-top: 2px;
}

.jpt-track-icon {
	display: inline-block;
	flex: 0 0 auto;
	height: 16px;
	line-height: 1;
	position: relative;
	vertical-align: middle;
	width: 16px;
}

.jpt-track-icon--truck::before {
	border: 2px solid #fff;
	border-radius: 3px;
	content: "";
	height: 11px;
	left: 0;
	position: absolute;
	top: 1px;
	width: 10px;
}

.jpt-track-icon--truck::after {
	border: 2px solid #fff;
	border-left: 0;
	border-radius: 2px;
	content: "";
	height: 8px;
	position: absolute;
	right: 0;
	top: 4px;
	width: 6px;
}

.jpt-track-icon--shipping::before,
.jpt-track-icon--receipt::before,
.jpt-track-icon--calendar::before,
.jpt-track-icon--note::before {
	border: 1.8px solid currentColor;
	border-radius: 3px;
	content: "";
	height: 12px;
	left: 2px;
	position: absolute;
	top: 2px;
	width: 12px;
}

.jpt-track-icon--shipping::after {
	border-bottom: 1.8px solid currentColor;
	border-top: 1.8px solid currentColor;
	content: "";
	height: 3px;
	left: 5px;
	position: absolute;
	top: 6px;
	width: 6px;
}

.jpt-track-icon--receipt::after {
	border-bottom: 1.5px solid currentColor;
	border-top: 1.5px solid currentColor;
	content: "";
	height: 3px;
	left: 5px;
	position: absolute;
	top: 6px;
	width: 6px;
}

.jpt-track-icon--calendar::after {
	border-top: 1.8px solid currentColor;
	content: "";
	left: 3px;
	position: absolute;
	top: 6px;
	width: 10px;
}

.jpt-track-icon--pin::before {
	border: 1.8px solid currentColor;
	border-radius: 50% 50% 50% 0;
	content: "";
	height: 10px;
	left: 3px;
	position: absolute;
	top: 1px;
	transform: rotate(-45deg);
	width: 10px;
}

.jpt-track-icon--pin::after {
	background: currentColor;
	border-radius: 50%;
	content: "";
	height: 3px;
	left: 6px;
	position: absolute;
	top: 4px;
	width: 3px;
}

.jpt-track-icon--check::before {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	height: 8px;
	left: 5px;
	position: absolute;
	top: 2px;
	transform: rotate(45deg);
	width: 5px;
}

.jpt-track-icon--clock::before {
	border: 1.8px solid currentColor;
	border-radius: 50%;
	content: "";
	height: 13px;
	left: 1px;
	position: absolute;
	top: 1px;
	width: 13px;
}

.jpt-track-icon--clock::after {
	border-bottom: 1.8px solid currentColor;
	border-left: 1.8px solid currentColor;
	content: "";
	height: 4px;
	left: 7px;
	position: absolute;
	top: 4px;
	width: 3px;
}

.jpt-track-icon--note::after {
	border-bottom: 1.5px solid currentColor;
	border-top: 1.5px solid currentColor;
	content: "";
	height: 3px;
	left: 5px;
	position: absolute;
	top: 6px;
	width: 6px;
}

.jpt-track-icon--alert::before {
	border: 2px solid #c0392b;
	border-radius: 50%;
	content: "";
	height: 14px;
	left: 1px;
	position: absolute;
	top: 1px;
	width: 14px;
}

.jpt-track-icon--alert::after {
	color: #c0392b;
	content: "!";
	font-size: 12px;
	font-weight: 900;
	left: 6px;
	position: absolute;
	top: -1px;
}

.jpt-track-icon--loading {
	animation: jpt-track-spin .8s linear infinite;
	border: 2px solid #c7daf8;
	border-radius: 50%;
	border-top-color: var(--jpt-track-blue);
}

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

@media (max-width: 640px) {
	.jpt-track-search-row {
		display: block;
	}

	.jpt-track-input-group,
	.jpt-track-app .jpt-track-input {
		max-width: 100%;
		width: 100%;
	}

	.jpt-track-submit {
		margin-top: 12px;
		width: 100%;
	}
}

@media (min-width: 641px) {
	.jpt-track-app {
		margin: 24px auto;
	}

	.jpt-track-search-card {
		padding: 28px;
	}

	.jpt-track-search-card::after {
		left: 28px;
	}

	.jpt-track-search-heading {
		gap: 16px;
	}

	.jpt-track-package-icon {
		height: 58px;
		width: 58px;
	}

	.jpt-track-search-row {
		align-items: stretch;
		display: flex;
		gap: 12px;
	}

	.jpt-track-input-group {
		flex: 1;
	}

	.jpt-track-input {
		border-radius: 14px;
		min-height: 56px;
		padding-right: 18px !important;
	}

	.jpt-track-submit {
		border-radius: 14px;
		flex: 0 0 auto;
		height: 56px;
		margin-top: 0;
		min-height: 56px;
		min-width: 160px;
		padding-inline: 24px;
		width: auto;
	}

	.jpt-track-result {
		margin-top: 20px;
	}

	.jpt-track-alert {
		padding: 18px;
	}

	.jpt-track-status {
		align-items: flex-end;
		display: flex;
		justify-content: space-between;
		padding: 28px;
	}

	.jpt-track-status__badges {
		justify-content: flex-end;
		margin-left: 16px;
		margin-top: 0;
	}

	.jpt-track-card__body {
		padding: 26px 28px 28px;
	}

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

	.jpt-track-stepper {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		padding-top: 4px;
	}

	.jpt-track-step {
		display: block;
		min-height: auto;
		padding: 0 10px;
		text-align: center;
	}

	.jpt-track-step:last-child {
		padding-bottom: 0;
	}

	.jpt-track-step:not(:last-child)::after {
		height: 3px;
		left: calc(50% + 20px);
		top: 15px;
		width: calc(100% - 40px);
	}

	.jpt-track-step__marker {
		margin: 0 auto;
	}

	.jpt-track-step__copy {
		padding-top: 10px;
	}

	.jpt-track-section + .jpt-track-section {
		margin-top: 26px;
		padding-top: 26px;
	}

	.jpt-track-note {
		margin-top: 26px;
	}
}
