.lot-tracker {
	max-width: 1100px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--lot-base-color, #1f2937);
}

.lot-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	padding-bottom: 14px;
	border-bottom: 1px solid #e5e7eb;
	margin-bottom: 18px;
}

.lot-live {
	font-size: 13px;
	font-weight: 600;
	color: #16a34a;
	letter-spacing: 0.03em;
	display: flex;
	align-items: center;
	gap: 6px;
}

.lot-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #16a34a;
	display: inline-block;
}

/* Blinking green "live" indicator — used on the LIVE ORDER TRACKING label
   and the order status badge dot, regardless of the status's own color. */
.lot-blink-green {
	background: #16a34a;
	animation: lot-blink-pulse 1.4s ease-in-out infinite;
}

@keyframes lot-blink-pulse {
	0%, 100% {
		opacity: 1;
		box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.65);
	}
	50% {
		opacity: 0.35;
		box-shadow: 0 0 0 5px rgba(22, 163, 74, 0);
	}
}

.lot-status-badge {
	font-size: 13px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.lot-id-pill {
	font-size: 12px;
	color: var(--lot-base-color, #6b7280);
	background: #f3f4f6;
	padding: 6px 12px;
	border-radius: 6px;
	font-weight: 500;
}

.lot-title {
	font-size: 30px;
	font-weight: 800;
	margin: 0 0 20px;
	color: var(--lot-title-color, #111827);
}

.lot-main-grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 24px;
	align-items: start;
}

@media (max-width: 780px) {
	.lot-main-grid {
		grid-template-columns: 1fr;
	}
}

.lot-image-panel {
	border: 1px solid #dbeafe;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

.lot-image-row {
	display: flex;
	gap: 0;
}

.lot-image-col {
	flex: 1;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 10px 6px 4px;
}

.lot-image-col + .lot-image-col {
	border-left: 1px solid #e5e7eb;
}

.lot-image-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--lot-base-color, #6b7280);
	text-transform: uppercase;
	margin-bottom: 6px;
}

.lot-image-col img {
	width: 100%;
	height: auto;
	max-height: 480px;
	object-fit: contain;
	display: block;
}

.lot-no-image {
	padding: 60px 20px;
	text-align: center;
	color: #9ca3af;
	width: 100%;
}

.lot-image-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	flex-wrap: wrap;
	background: #111827;
	color: #f9fafb;
	padding: 10px 14px;
	font-size: 12px;
}

.lot-composition {
	color: #d1d5db;
	flex: 1;
	min-width: 140px;
}

.lot-style-tag {
	font-weight: 700;
}

.lot-qty-badge {
	background: rgba(255,255,255,0.15);
	padding: 4px 10px;
	border-radius: 999px;
	font-weight: 600;
	white-space: nowrap;
}

.lot-info-panel {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.lot-info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

@media (max-width: 480px) {
	.lot-info-grid {
		grid-template-columns: 1fr;
	}
}

.lot-info-card {
	background: #f9fafb;
	border: 1px solid #eef0f2;
	border-radius: 8px;
	padding: 10px 14px;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.lot-info-label {
	font-size: 11px;
	color: var(--lot-label-color, #9ca3af);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.lot-info-value {
	font-size: 15px;
	font-weight: 700;
	color: var(--lot-value-color, #111827);
}

.lot-sample-dates h3 {
	font-size: 14px;
	font-weight: 700;
	color: var(--lot-base-color, #374151);
	margin: 0 0 10px;
}

.lot-progress-wrap {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid #e5e7eb;
}

.lot-stepper {
	display: flex;
	align-items: flex-start;
	overflow-x: auto;
	padding-bottom: 10px;
}

.lot-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 64px;
	flex-shrink: 0;
}

.lot-step-circle {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	border: 2px solid #e5e7eb;
	color: #9ca3af;
	background: #fff;
}

.lot-step-done {
	background: #2563eb;
	border-color: #2563eb;
	color: #fff;
}

.lot-step-current {
	border-color: #16a34a;
	color: #16a34a;
	background: #ecfdf3;
	animation: lot-step-pulse 1.4s ease-in-out infinite;
}

@keyframes lot-step-pulse {
	0%, 100% {
		box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.55);
	}
	50% {
		box-shadow: 0 0 0 6px rgba(22, 163, 74, 0);
	}
}

.lot-step-current + .lot-step-label {
	color: #16a34a;
	font-weight: 700;
}

.lot-step-cancelled {
	background: #fee2e2;
	border-color: #fecaca;
	color: #dc2626;
}

.lot-step-label {
	font-size: 11px;
	color: var(--lot-base-color, #6b7280);
	margin-top: 6px;
	text-align: center;
	white-space: nowrap;
}

.lot-step-line {
	flex: 1;
	height: 2px;
	background: #e5e7eb;
	margin-top: 17px;
	min-width: 20px;
}

.lot-line-done {
	background: #2563eb;
}

.lot-progress-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 14px;
	font-size: 14px;
}

.lot-percent {
	font-weight: 800;
	color: var(--lot-base-color, #111827);
}

.lot-current-text {
	color: var(--lot-base-color, #6b7280);
}

/* Search / lookup form */
.lot-search-wrap {
	max-width: 480px;
	margin: 30px auto;
	text-align: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.lot-search-wrap label {
	display: block;
	font-weight: 600;
	margin-bottom: 10px;
	color: var(--lot-base-color, #374151);
}

.lot-search-row {
	display: flex;
	gap: 8px;
}

.lot-search-row input {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 14px;
}

.lot-search-row button {
	padding: 10px 20px;
	background: #2563eb;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
}

.lot-search-row button:hover {
	background: #1d4ed8;
}

.lot-not-found {
	text-align: center;
	color: #dc2626;
	font-size: 14px;
}
