/**
 * [order_tracking] — styled for a dark/teal section background.
 */

.order-tracking {
	max-width: 1100px;
	margin: 0 auto;
	color: #fff;
}

/* Heading */
.order-tracking__head {
	text-align: center;
	margin-bottom: 32px;
}

.order-tracking__title {
	color: #fff;
	margin-bottom: 12px;
}

.order-tracking__subtitle {
	color: rgba(255, 255, 255, .85);
	margin-bottom: 0;
}

/* Search form */
.order-tracking__form {
	display: flex;
	gap: 16px;
	align-items: stretch;
	margin-bottom: 24px;
}

.order-tracking__field {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}

.order-tracking__field-icon {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	color: rgba(255, 255, 255, .75);
	pointer-events: none;
	font-size: 18px;
}

.order-tracking__field-icon .icon-search {
	fill: currentColor;
}

.order-tracking__form input[type="text"] {
	width: 100%;
	height: 56px;
	margin: 0;
	padding: 0 20px 0 50px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 10px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 16px;
	box-shadow: none;
}

.order-tracking__form input[type="text"]::placeholder {
	color: rgba(255, 255, 255, .7);
}

.order-tracking__form input[type="text"]:focus {
	outline: none;
	border-color: #fff;
	background: rgba(255, 255, 255, .18);
	box-shadow: none;
}

.order-tracking__submit {
	flex: 0 0 auto;
	min-width: 160px;
	height: 56px;
	margin: 0;
	padding: 0 32px;
	border: 0;
	border-radius: 10px;
	background: #fff;
	color: #0f766e;
	font-weight: 700;
	font-size: 16px;
	line-height: 56px;
	cursor: pointer;
	transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
}

.order-tracking__submit:hover {
	background: #f0fdfa;
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}

/* Result cards */
.order-tracking__result {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 24px;
}

.order-tracking__card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 20px 22px;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 12px;
	background: rgba(255, 255, 255, .12);
}

.order-tracking__card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	font-size: 20px;
	color: rgba(255, 255, 255, .9);
}

.order-tracking__card-icon svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.order-tracking__card-body {
	min-width: 0;
}

.order-tracking__card-label {
	margin: 0 0 2px;
	font-size: 13px;
	color: rgba(255, 255, 255, .8);
	line-height: 1.3;
}

.order-tracking__card-value {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
	word-break: break-word;
}

/* Note */
.order-tracking__note {
	margin-bottom: 0;
	text-align: center;
	font-size: 14px;
	color: rgba(255, 255, 255, .8);
}

/* Light variant, for use on a pale section background */
.order-tracking.is-light { color: #1a2332; }
.order-tracking.is-light .order-tracking__title { color: #1a2332; }
.order-tracking.is-light .order-tracking__subtitle,
.order-tracking.is-light .order-tracking__note,
.order-tracking.is-light .order-tracking__card-label { color: #6b7280; }
.order-tracking.is-light .order-tracking__field-icon { color: #00a8a8; }
.order-tracking.is-light .order-tracking__form input[type="text"] {
	background: #fff;
	border-color: #e5e7eb;
	color: #1a2332;
}
.order-tracking.is-light .order-tracking__form input[type="text"]::placeholder { color: #9ca3af; }
.order-tracking.is-light .order-tracking__submit {
	background-image: linear-gradient(to right, #14b8a6 0%, #0d9488 100%);
	color: #fff;
}
.order-tracking.is-light .order-tracking__card {
	background: #fff;
	border-color: #e5e7eb;
}
.order-tracking.is-light .order-tracking__card-icon { color: #00a8a8; }
.order-tracking.is-light .order-tracking__card-value { color: #1a2332; }

@media only screen and (max-width: 48em) {
	.order-tracking__form {
		flex-direction: column;
	}

	.order-tracking__submit {
		width: 100%;
	}

	.order-tracking__result {
		grid-template-columns: 1fr;
	}
}
