/* Progress Timeline */

.pp-progress-timeline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 900px;
	margin: 2rem auto 2rem;
	padding: 0 1rem;
}

.pp-progress-stage {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 0 0 auto;
	position: relative;
	z-index: 2;
}

.pp-progress-icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #d1d1d1;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.5rem;
	transition: background-color 0.3s ease;
	padding: 10px;
}

.pp-progress-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.pp-progress-stage.complete .pp-progress-icon {
	background: #41b07c;
}

.pp-progress-label {
	font-size: 12px;
	text-align: center;
	line-height: 1.3;
	color: #666;
	font-weight: 500;
	max-width: 80px;
}

.pp-progress-stage.complete .pp-progress-label {
	color: #333;
	font-weight: 600;
}

.pp-progress-connector {
	flex: 1 1 auto;
	height: 4px;
	background: #d1d1d1;
	margin: 0 0.5rem 2rem;
	transition: background-color 0.3s ease;
	position: relative;
	z-index: 1;
}

.pp-progress-connector.complete {
	background: #41b07c;
}

/* Cancelled Timeline Variant */
.pp-progress-timeline-cancelled .pp-progress-stage.complete .pp-progress-icon {
	background: #dd4040;
}

.pp-progress-timeline-cancelled .pp-progress-connector.complete {
	background: #dd4040;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.pp-progress-timeline {
		padding: 0 0.5rem;
		margin: 1.5rem auto 1.5rem;
	}
	
	.pp-progress-icon {
		width: 50px;
		height: 50px;
		padding: 8px;
	}
	
	.pp-progress-label {
		font-size: 11px;
		max-width: 70px;
	}
	
	.pp-progress-connector {
		margin: 0 0.3rem 2rem;
	}
}

@media (max-width: 480px) {
	.pp-progress-timeline {
		padding: 0 0.25rem;
		margin: 1rem auto 1rem;
	}
	
	.pp-progress-icon {
		width: 40px;
		height: 40px;
		padding: 6px;
		margin-bottom: 0.4rem;
	}
	
	.pp-progress-label {
		font-size: 9px;
		max-width: 60px;
	}
	
	.pp-progress-connector {
		height: 3px;
		margin: 0 0.2rem 1.5rem;
	}
}

/* End Progress Timeline */

.pp-track-track-cards {
	display: flex;
	flex-direction: column;
}

.pp-comment-box {
	background: #fbfbfb;
    /* border-radius: 8px; */
    padding: 0 2rem 1rem;
    margin: 0 0 2rem 0;
    border-left: 3px solid #00A8FF;
}

.pp-comment-footer {
	text-align: right;
}

.pp-comment-date {
	text-align: right;
	background: #f1f1f1;
	width: fit-content;
	padding: 2px 10px;
}

.pp-comment-context {
	display: flex;
	justify-content: space-between;
	font-size: 85%;
}

.pp-comment-title {
	background: #f1f1f1;
	width: fit-content;
	padding: 2px 10px;
}

.pp-comment-box.pp-comment-box-shipped {
	background: #e2f5ef;
	border-left: 3px solid #41b07c;
}

.pp-comment-box-shipped .pp-comment-title,
.pp-comment-box-shipped .pp-comment-date {
	background: #3cbb91;
	color: white;
}

.pp-comment-box-shipped a {
	color: #3cbb91;
}

.pp-comment-box-cancelled {
	background: rgb(255, 209, 209);
	border-left: 3px solid rgb(209, 0, 0);
}

.pp-comment-box-cancelled .pp-comment-title {
	background: rgb(208, 21, 21);
	color: white;
}

.pp-comment-box-cancelled .pp-comment-date {
	display: none;
}

.pp-track-track-container .pp-refresh {
	text-transform: uppercase;
	color: white;
	text-align: center;
	display: flex;
	width: fit-content;
	text-align: center;
	justify-content: center;
	align-items: center;
	margin: 0 auto 1rem;
}

.pp-refresh svg {
	fill: white;
	margin-left: 1rem;
}

.pp-shipment-number {
	font-weight: 500;
}

.pp-track-items-row {margin: 0px 0px 5px 0px;}

.pp-shipment-number span {
	color: #FFF;
    display: inline-block;
    background: #fe5000;
    padding: 3px 10px 2px 10px;
    border-radius: 8px;
    font-size: 15px;
    margin: 0px 0px 0px 5px;
    vertical-align: top;
    font-family: 'Poppins';
}

.pp-order-number {
	text-align: center;
	font-weight: 500;
	font-weight: 300;
    font-size: 200%;
}

.pp-order-number span {
	font-weight: 700;
}

.pp-short-dash {
	max-width: 50px;
	border-top: 2px solid;
	margin: 20px 0;
}

.pp-track-last-updated {
	margin-top: 1rem;
	text-align: center;
	opacity: 0.5;
}

.pp-track-shipping-number {
	margin-bottom: 0;
}

.pp-track-shipping-number a {
	text-decoration: underline;
	text-decoration-color: #3cbb91;
}

.pp-track-shipping-number a:hover {
	text-decoration-color: #fe5000;
}

.pp-comment-footer p {
	margin-bottom: 0;
}

.pp-assistance {
	text-align: center;
	padding-bottom: 2rem;
}

@media (max-width: 991.98px) {

	/* Styles for tablet and smaller devices */
	.pp-refresh {
		margin: 0px auto !important;
	}

	.pp-comment-box {
		padding: 0 15px 10px 15px;
	}

	.pp-comment-date {
		max-width: 50%;
	}

	.pp-comment-title {
		max-width: 40%;
	}
}

/* Form */

.pp-track-form-container {
	max-width: 475px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 1rem auto;
	text-align: center;
}

.pp-track-form-container .input-box {
	width: 100%;
	margin-bottom: 1rem;
}

.pp-track-form-container .input-box h2 {
	font-weight: 500;
}

.pp-track-form-container.pp-track-form-container input {
	width: 100%;
	padding-left: 25px !important;
}

.pp-track-form-container label a {
	color: #fe5000;
	text-decoration: underline;
	text-decoration-color: #fe5000;
}

.pp-track-form-container input[type="text"],
.pp-track-form-container input[type="email"] {
	height: 42px;
}

.pp-form-submit {
	margin: 1rem 0 2rem !important;
	width: fit-content !important;
	margin-right: 0 !important;
}

.pp-input-order-id {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

input[name="order_id"] {
	padding-left: 25px !important;
}

.pp-input-order-id .prefix {
	font-weight: 800;
	position: absolute;
	left: 10px;
}

@media (max-width: 991.98px) {
	.pp-track-form-container {
		margin: 2rem 1rem;
	}
}

/* BT */
.pp-refresh {
	margin: 0px auto !important;
	font-size: 80%;
}

#pp-refresh {
	margin: 0px auto !important;
	font-size: 80%;
}

.pp-assistance {
	margin-top: 2rem;
}

/* Spinner */
@keyframes c-inline-spinner-kf {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.c-inline-spinner,
.c-inline-spinner:before {
	display: inline-block;
	width: 11px;
	height: 11px;
	transform-origin: 50%;
	border: 2px solid transparent;
	border-color: #fe5000 #fe5000 transparent transparent;
	border-radius: 50%;
	content: "";
	animation: linear c-inline-spinner-kf 900ms infinite;
	position: relative;
	vertical-align: inherit;
	line-height: inherit;
}

.c-inline-spinner {
	top: 3px;
	margin: 0 3px;
	display: flex;
	margin: auto;
}

.c-inline-spinner:before {
	border-color: #fe5000 #fe5000 transparent transparent;
	position: absolute;
	left: -2px;
	top: -2px;
	border-style: solid;
}

.dispatch-tracking {    
    padding: 5px 10px;
    display: inline-block;
    width: auto;
    margin: 10px 0px 0px 0px;}

@media (max-width: 1000px) {
	.woocommerce-button.button.track {
		margin: 5px 10px !important;
		line-height: 1.3em;
		padding: 5px 10px;
	}
}

.pp-track-track-shipment {border-bottom: 1px solid #e3e3e3;padding-bottom: 40px;}