/**
 * Whizbiz Order Tracking, customer facing styles.
 *
 * Loaded only on the account, order received and tracking pages, and on any
 * page that renders the shortcode. See src/Assets.php.
 *
 * The list-style resets below are deliberately heavy handed. Storefront themes
 * routinely style every ul li on the page, which put bullets and margins back
 * onto the timeline. If you are overriding this file from a theme and your
 * theme is well behaved, the !important flags can go.
 */

.whizbiz-ot {
	border: 1px solid #e6e8eb;
	border-radius: 8px;
	padding: 20px;
	margin: 24px 0;
	background: #fff;
}

.whizbiz-ot__heading {
	margin: 0 0 14px;
	font-size: 17px;
}

.whizbiz-ot-rows {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.whizbiz-ot-rows li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 0;
	border-bottom: 1px solid #f0f2f4;
	font-size: 14px;
}

.whizbiz-ot-rows li:last-child {
	border-bottom: 0;
}

.whizbiz-ot-rows .lbl {
	color: #5a6472;
}

.whizbiz-ot-rows .val {
	font-weight: 600;
	text-align: right;
	word-break: break-word;
}

.whizbiz-ot ul.whizbiz-ot-steps {
	list-style: none !important;
	margin: 16px 0 0;
	padding: 0;
}

.whizbiz-ot ul.whizbiz-ot-steps li {
	list-style: none !important;
	list-style-type: none !important;
	list-style-image: none !important;
	position: relative;
	padding: 0 0 20px 26px;
	margin: 0;
	font-size: 14px;
	color: #8b94a3;
	background: none;
}

.whizbiz-ot ul.whizbiz-ot-steps li::marker {
	content: none;
	font-size: 0;
}

.whizbiz-ot ul.whizbiz-ot-steps li:before {
	content: "" !important;
	position: absolute;
	left: 0;
	top: 3px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #d4d8dd;
	margin: 0;
}

.whizbiz-ot ul.whizbiz-ot-steps li:after {
	content: "";
	position: absolute;
	left: 5px;
	top: 17px;
	bottom: 0;
	width: 2px;
	background: #e6e8eb;
}

.whizbiz-ot ul.whizbiz-ot-steps li:last-child:after {
	display: none;
}

.whizbiz-ot ul.whizbiz-ot-steps li.is-done {
	color: #1f2430;
}

.whizbiz-ot ul.whizbiz-ot-steps li.is-done:before {
	background: #b8202e;
	border-color: #b8202e;
}

.whizbiz-ot-steps .when {
	display: block;
	font-size: 12px;
	color: #8b94a3;
	font-weight: 400;
	margin-top: 2px;
}

.whizbiz-ot-note {
	background: #f6f7f9;
	border-radius: 6px;
	padding: 12px 14px;
	font-size: 14px;
	margin-top: 14px;
}

.whizbiz-ot-hint {
	font-size: 13px;
	color: #5a6472;
	margin-top: 12px;
}

.whizbiz-ot-code {
	display: inline-block;
	background: #1f2430;
	color: #fff;
	padding: 5px 12px;
	border-radius: 4px;
	letter-spacing: 2px;
	font-weight: 700;
}
