/*
 * XPS Parcel Tracking
 * Uses the active theme's font stack by default so the widget naturally matches the website.
 */
.xwxp-tracker,
.xwxp-tracker * {
	box-sizing: border-box;
}

.xwxp-tracker {
	--xwxp-plum: #4b183d;
	--xwxp-plum-dark: #35102b;
	--xwxp-gold: #c29a5a;
	--xwxp-ink: #171316;
	--xwxp-muted: #7c7479;
	--xwxp-line: #e9e3e6;
	--xwxp-soft: #fbf8f9;
	--xwxp-font: inherit;
	width: 100%;
	margin: 44px auto;
	padding: 0 20px;
	font-family: var(--xwxp-font);
	color: var(--xwxp-ink);
}

.xwxp-tracker-inner {
	width: min(1080px, 100%);
	margin: 0 auto;
}

.xwxp-search-heading {
	max-width: 760px;
	margin: 0 auto 26px;
	text-align: center;
}

.xwxp-eyebrow {
	display: inline-block;
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .19em;
	line-height: 1.4;
	color: var(--xwxp-gold);
	text-transform: uppercase;
}

.xwxp-search-heading h2 {
	margin: 0;
	font-family: inherit;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -.025em;
	color: var(--xwxp-plum);
}

.xwxp-search-heading p {
	max-width: 620px;
	margin: 12px auto 0;
	font-size: 15px;
	line-height: 1.7;
	color: var(--xwxp-muted);
}

.xwxp-track-form {
	display: flex;
	align-items: stretch;
	gap: 12px;
	width: min(920px, 100%);
	margin: 0 auto;
}

.xwxp-search-wrap {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}

.xwxp-search-wrap input {
	width: 100%;
	height: 70px;
	padding: 0 58px 0 24px;
	border: 1px solid #161416;
	border-radius: 0;
	outline: none;
	background: #fff;
	box-shadow: none;
	font-family: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: .01em;
	color: var(--xwxp-ink);
	transition: border-color .2s ease, box-shadow .2s ease;
}

.xwxp-search-wrap input::placeholder {
	color: #8d878b;
	opacity: 1;
}

.xwxp-search-wrap input:focus {
	border-color: var(--xwxp-plum);
	box-shadow: 0 0 0 3px rgba(75, 24, 61, .08);
}

.xwxp-search-icon {
	position: absolute;
	top: 50%;
	right: 24px;
	width: 16px;
	height: 16px;
	border: 1.8px solid #696367;
	border-radius: 50%;
	transform: translateY(-55%);
	pointer-events: none;
}

.xwxp-search-icon::after {
	position: absolute;
	right: -5px;
	bottom: -4px;
	width: 7px;
	height: 1.8px;
	border-radius: 2px;
	background: #696367;
	content: "";
	transform: rotate(45deg);
	transform-origin: left center;
}

.xwxp-track-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
	flex: 0 0 150px;
	height: 70px;
	padding: 0 24px;
	border: 1px solid var(--xwxp-plum);
	border-radius: 0;
	background: var(--xwxp-plum);
	box-shadow: none;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .08em;
	line-height: 1;
	color: #fff;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.xwxp-track-button:hover,
.xwxp-track-button:focus-visible {
	background: var(--xwxp-plum-dark);
	border-color: var(--xwxp-plum-dark);
	color: #fff;
}

.xwxp-track-button:active {
	transform: translateY(1px);
}

.xwxp-arrow {
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
}

.xwxp-track-result {
	margin-top: 34px;
}

.xwxp-status-card {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 142px;
	padding: 28px 34px;
	border: 1px solid var(--xwxp-line);
	border-radius: 16px;
	background: linear-gradient(135deg, #fff 0%, #fcfafb 100%);
	box-shadow: 0 18px 45px rgba(44, 23, 37, .07);
}

.xwxp-status-icon {
	display: grid;
	place-items: center;
	flex: 0 0 62px;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: #f5ecef;
	color: var(--xwxp-plum);
}

.xwxp-truck-mark {
	display: inline-block;
	font-size: 31px;
	line-height: 1;
	transform: rotate(0deg);
}

.xwxp-status-copy {
	min-width: 0;
	flex: 1;
}

.xwxp-result-label {
	display: block;
	margin-bottom: 7px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .16em;
	line-height: 1.4;
	color: #90888d;
	text-transform: uppercase;
}

.xwxp-status-copy h3 {
	margin: 0;
	font-family: inherit;
	font-size: clamp(21px, 2.2vw, 29px);
	font-weight: 600;
	line-height: 1.25;
	color: var(--xwxp-plum);
}

.xwxp-status-copy p {
	margin: 7px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: #80787d;
}

.xwxp-status-copy p strong {
	font-weight: 600;
	color: #4d474b;
}

.xwxp-updated {
	flex: 0 0 auto;
	min-width: 170px;
	padding-left: 28px;
	border-left: 1px solid var(--xwxp-line);
}

.xwxp-updated strong {
	display: block;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	color: #443d41;
}

.xwxp-history-card {
	margin-top: 18px;
	padding: 34px 38px 38px;
	border: 1px solid var(--xwxp-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 18px 45px rgba(44, 23, 37, .055);
}

.xwxp-history-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 22px;
}

.xwxp-history-head h3 {
	margin: 0;
	font-family: inherit;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 500;
	line-height: 1.15;
	color: var(--xwxp-ink);
}

.xwxp-timeline {
	position: relative;
	margin: 0;
	padding: 2px 0 2px 29px;
	list-style: none;
}

.xwxp-timeline::before {
	position: absolute;
	top: 13px;
	bottom: 14px;
	left: 6px;
	width: 1px;
	background: #ddd5da;
	content: "";
}

.xwxp-timeline li {
	position: relative;
	min-height: 58px;
	padding: 0 0 27px 20px;
}

.xwxp-timeline li:last-child {
	padding-bottom: 0;
}

.xwxp-timeline-dot {
	position: absolute;
	top: 5px;
	left: -29px;
	z-index: 1;
	width: 13px;
	height: 13px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 1px #cfc7cc;
}

.xwxp-timeline li.is-latest .xwxp-timeline-dot {
	background: var(--xwxp-plum);
	box-shadow: 0 0 0 1px var(--xwxp-plum), 0 0 0 6px rgba(75, 24, 61, .08);
}

.xwxp-event strong {
	display: block;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	color: #3d373b;
}

.xwxp-timeline li.is-latest .xwxp-event strong {
	color: var(--xwxp-plum);
}

.xwxp-event time {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	color: #928b8f;
}

.xwxp-track-message {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	margin-top: 24px;
	padding: 18px 20px;
	border: 1px solid #eedbdf;
	border-radius: 12px;
	background: #fff7f8;
}

.xwxp-message-icon {
	display: grid;
	place-items: center;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--xwxp-plum);
	font-size: 12px;
	font-weight: 700;
	color: #fff;
}

.xwxp-track-message strong {
	display: block;
	margin-bottom: 3px;
	font-size: 14px;
	font-weight: 600;
	color: var(--xwxp-plum);
}

.xwxp-track-message p {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: #756c71;
}

@media (max-width: 760px) {
	.xwxp-tracker {
		margin: 32px auto;
		padding: 0 14px;
	}

	.xwxp-track-form {
		flex-direction: column;
	}

	.xwxp-track-button {
		flex: 1 1 auto;
		width: 100%;
	}

	.xwxp-status-card {
		align-items: flex-start;
		flex-wrap: wrap;
		padding: 24px;
	}

	.xwxp-status-copy {
		padding-top: 2px;
	}

	.xwxp-updated {
		width: 100%;
		min-width: 0;
		padding: 16px 0 0 82px;
		border-top: 1px solid var(--xwxp-line);
		border-left: 0;
	}

	.xwxp-history-card {
		padding: 27px 23px 30px;
	}
}

@media (max-width: 480px) {
	.xwxp-search-heading h2 {
		font-size: 31px;
	}

	.xwxp-search-wrap input,
	.xwxp-track-button {
		height: 62px;
	}

	.xwxp-search-wrap input {
		padding-left: 18px;
	}

	.xwxp-search-icon {
		right: 19px;
	}

	.xwxp-status-icon {
		flex-basis: 52px;
		width: 52px;
		height: 52px;
	}

	.xwxp-updated {
		padding-left: 72px;
	}
}
