.print-widget {
	width: min(100%, 580px);
	margin-left: auto;
}

.print-widget__card {
	background: #fff;
	border-radius: 16px;
	border: 1px solid #dbeafe;
	box-shadow: 0 12px 48px rgba(30, 64, 175, 0.12);
	height: 520px;
	position: relative;
	overflow: hidden;
}

.print-widget__top-bar {
	height: 4px;
	background: #1d4ed8;
}

.print-widget__badge {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 10;
	background: #1d4ed8;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
}

.print-widget__panel {
	position: absolute;
	inset: 0;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.38s ease;
}

.print-widget__panel.active {
	opacity: 1;
	pointer-events: auto;
}

.print-widget__eyebrow {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #93c5fd;
}

.print-widget__title {
	font-size: 15px;
	font-weight: 900;
	color: #1e293b;
	letter-spacing: -0.01em;
	margin-top: 2px;
}

.print-widget__sub {
	font-size: 11px;
	color: #64748b;
	margin-top: 1px;
}

.print-widget__dropzone {
	border: 2px dashed #93c5fd;
	background: #f0f7ff;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 28px 16px;
	animation: printWidgetFadeUp 0.4s ease 0.1s both;
}

.print-widget__upload-icon {
	width: 56px;
	height: 56px;
	background: #dbeafe;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: printWidgetFloat 2s ease-in-out infinite;
	position: relative;
}

.print-widget__upload-ring {
	position: absolute;
	inset: 0;
	border-radius: 14px;
	border: 2px solid #3b82f6;
	animation: printWidgetPulseRing 1.8s ease-out infinite;
}

.print-widget__drop-title {
	font-size: 12px;
	font-weight: 700;
	color: #1d4ed8;
}

.print-widget__drop-sub {
	font-size: 10px;
	color: #94a3b8;
}

.print-widget__file-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	animation: printWidgetSlideLeft 0.4s ease both;
}

.print-widget__file-item:nth-of-type(2) {
	animation-delay: 0.25s;
}

.print-widget__file-item:nth-of-type(3) {
	animation-delay: 0.37s;
}

.print-widget__file-item:nth-of-type(4) {
	animation-delay: 0.49s;
}

.print-widget__file-icon {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.print-widget__file-dot {
	width: 16px;
	height: 20px;
	border-radius: 3px;
	opacity: 0.8;
}

.print-widget__file-copy {
	flex: 1;
	min-width: 0;
}

.print-widget__file-name {
	font-size: 12px;
	font-weight: 600;
	color: #334155;
}

.print-widget__file-size {
	font-size: 10px;
	color: #94a3b8;
}

.print-widget__file-check {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #dcfce7;
	border: 1.5px solid #86efac;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	animation: printWidgetPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.print-widget__spec-row {
	display: flex;
	gap: 8px;
	margin-top: auto;
	animation: printWidgetFadeIn 0.4s ease 0.8s both;
}

.print-widget__spec-chip {
	flex: 1;
	text-align: center;
	padding: 8px 4px;
	border-radius: 10px;
	font-size: 10px;
	font-weight: 700;
	color: #1d4ed8;
	background: #eff6ff;
	border: 1px solid #dbeafe;
}

.print-widget__doc-preview {
	border-radius: 14px;
	overflow: hidden;
	flex-shrink: 0;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 8px 32px rgba(30, 64, 175, 0.1);
	height: 210px;
	position: relative;
	animation: printWidgetSlideUp 0.4s ease 0.1s both;
}

.print-widget__gold-bar {
	height: 5px;
	background: #f59e0b;
}

.print-widget__doc-inner {
	position: absolute;
	inset: 10px;
	top: 14px;
	border: 3px double #93c5fd;
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	padding: 14px 14px 10px;
}

.print-widget__doc-seal {
	width: 46px;
	height: 46px;
	border: 2px solid #1d4ed8;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	animation: printWidgetSpringIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}

.print-widget__doc-seal-mid {
	width: 30px;
	height: 30px;
	background: #dbeafe;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.print-widget__doc-seal-inner {
	width: 18px;
	height: 18px;
	border: 1.5px solid #3b82f6;
	border-radius: 50%;
}

.print-widget__doc-ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1.5px solid transparent;
	border-top-color: #60a5fa;
	animation: printWidgetSpin 6s linear infinite;
}

.print-widget__doc-title {
	font-family: Georgia, serif;
	font-size: 14px;
	color: #1e3a8a;
	letter-spacing: 0.03em;
	animation: printWidgetFadeUp 0.4s ease 0.65s both;
}

.print-widget__doc-sub {
	font-size: 8px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: #60a5fa;
	margin-top: 2px;
	animation: printWidgetFadeUp 0.4s ease 0.8s both;
}

.print-widget__doc-lines {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	animation: printWidgetFadeIn 0.4s ease 0.85s both;
}

.print-widget__doc-line {
	height: 1.5px;
	background: #e2e8f0;
	border-radius: 1px;
}

.print-widget__doc-sigs {
	display: flex;
	justify-content: space-around;
	width: 100%;
	animation: printWidgetFadeIn 0.4s ease 1s both;
}

.print-widget__doc-sig-line {
	width: 48px;
	height: 1px;
	background: #94a3b8;
	margin: 0 auto 3px;
}

.print-widget__doc-sig-label {
	font-size: 8px;
	color: #94a3b8;
}

.print-widget__annotation {
	position: absolute;
	right: 8px;
	top: 35%;
	display: flex;
	flex-direction: column;
	gap: 4px;
	animation: printWidgetFadeIn 0.3s ease 1.1s both;
}

.print-widget__ann-tag {
	font-size: 8px;
	font-weight: 700;
	padding: 2px 6px;
	border-radius: 4px;
	background: #fef3c7;
	color: #92400e;
	border: 1px solid #fde68a;
}

.print-widget__checklist {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.print-widget__check-row {
	display: flex;
	align-items: center;
	gap: 10px;
	animation: printWidgetSlideLeft 0.4s ease both;
}

.print-widget__check-icon {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #dcfce7;
	border: 1.5px solid #86efac;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	animation: printWidgetPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.print-widget__check-text {
	font-size: 12px;
	font-weight: 600;
	color: #1e293b;
}

.print-widget__approve-btn {
	margin-top: auto;
	border-radius: 12px;
	padding: 12px;
	background: #1d4ed8;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	animation: printWidgetFadeUp 0.4s ease 1.1s both;
}

.print-widget__approve-btn span {
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.print-widget__print-stage {
	position: relative;
	height: 280px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.print-widget__paper-in {
	position: absolute;
	top: 0;
	width: 180px;
	height: 120px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 14px;
	opacity: 0.3;
	animation: printWidgetPaperFeed 0.7s ease 0.2s both;
}

.print-widget__paper-in-line {
	background: #94a3b8;
	border-radius: 2px;
}

.print-widget__printer-body {
	position: absolute;
	top: 90px;
	z-index: 20;
	width: 220px;
	animation: printWidgetScaleIn 0.4s ease 0.1s both;
}

.print-widget__printer-shell {
	border-radius: 16px;
	height: 90px;
	background: #1d4ed8;
	box-shadow: 0 8px 32px rgba(30, 64, 175, 0.35);
	position: relative;
	overflow: hidden;
}

.print-widget__printer-slot-top,
.print-widget__printer-slot-bot {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 140px;
}

.print-widget__printer-slot-top {
	top: 0;
	height: 7px;
	background: rgba(0, 0, 0, 0.25);
	border-radius: 0 0 4px 4px;
}

.print-widget__printer-slot-bot {
	bottom: 0;
	height: 5px;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 4px 4px 0 0;
}

.print-widget__printer-logo {
	position: absolute;
	top: 14px;
	left: 18px;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.15em;
	color: rgba(255, 255, 255, 0.35);
}

.print-widget__printer-logo span {
	color: #93c5fd;
}

.print-widget__printer-led {
	position: absolute;
	top: 14px;
	right: 18px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #4ade80;
	animation: printWidgetLedBlink 1.2s ease-in-out infinite;
}

.print-widget__printer-progress {
	position: absolute;
	bottom: 18px;
	left: 18px;
	right: 18px;
}

.print-widget__pp-top {
	display: flex;
	justify-content: space-between;
	font-size: 8px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 5px;
}

.print-widget__pp-pct {
	color: #4ade80;
	animation: printWidgetFadeIn 0.3s ease 1.8s both;
}

.print-widget__pp-track {
	height: 4px;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 999px;
	overflow: hidden;
}

.print-widget__pp-fill {
	height: 100%;
	background: #60a5fa;
	border-radius: 999px;
	width: 0;
	animation: printWidgetFillBar 2s ease 0.8s both;
}

.print-widget__printer-tray {
	width: 200px;
	height: 14px;
	background: #c7d2fe;
	border-radius: 0 0 12px 12px;
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
	margin: 0 auto;
}

.print-widget__paper-out {
	position: absolute;
	top: 162px;
	z-index: 10;
	width: 180px;
	height: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
	animation: printWidgetPaperEmerge 1.8s ease 0.9s both;
}

.print-widget__paper-out-content {
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.print-widget__po-gold {
	width: 100%;
	height: 3px;
	background: #f59e0b;
	border-radius: 2px;
}

.print-widget__po-seal {
	width: 32px;
	height: 32px;
	border: 1.5px solid #1d4ed8;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: printWidgetPopIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 2.2s both;
}

.print-widget__po-seal-inner {
	width: 20px;
	height: 20px;
	background: #dbeafe;
	border-radius: 50%;
}

.print-widget__po-lines {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	animation: printWidgetFadeIn 0.4s ease 2.5s both;
}

.print-widget__po-line {
	border-radius: 1px;
	background: #e2e8f0;
}

.print-widget__cmyk-dot {
	position: absolute;
	z-index: 30;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	animation: printWidgetPopIn 0.4s ease both;
}

.print-widget__spec-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-top: auto;
	animation: printWidgetFadeUp 0.4s ease 0.4s both;
}

.print-widget__spec-cell {
	border-radius: 10px;
	padding: 10px 6px;
	text-align: center;
	background: #f0f7ff;
	border: 1px solid #dbeafe;
}

.print-widget__spec-lbl {
	font-size: 8px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #94a3b8;
}

.print-widget__spec-val {
	font-size: 12px;
	font-weight: 800;
	color: #1e40af;
	margin-top: 2px;
}

.print-widget__package-stage {
	position: relative;
	width: 200px;
	height: 140px;
	margin: 0 auto;
	animation: printWidgetSpringIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

.print-widget__box-body {
	position: absolute;
	bottom: 0;
	width: 170px;
	height: 95px;
	left: 50%;
	transform: translateX(-50%);
	background: #fde68a;
	border: 1.5px solid #fbbf24;
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(245, 158, 11, 0.22);
	overflow: hidden;
}

.print-widget__box-tape {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 0;
	bottom: 0;
	width: 28px;
	background: rgba(251, 191, 36, 0.55);
}

.print-widget__box-label {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	padding: 3px 10px;
	border-radius: 6px;
	background: #1d4ed8;
	color: #fff;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.15em;
	white-space: nowrap;
	animation: printWidgetFadeIn 0.3s ease 0.5s both;
}

.print-widget__box-sticker {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: #fee2e2;
	border: 1px solid #fca5a5;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	transform: rotate(-15deg);
	animation: printWidgetFadeIn 0.3s ease 0.7s both;
}

.print-widget__box-lid {
	position: absolute;
	bottom: 86px;
	width: 180px;
	height: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: #fbbf24;
	border: 1.5px solid #f59e0b;
	border-bottom: none;
	border-radius: 12px 12px 0 0;
	animation: printWidgetLidOpen 0.5s ease 0.2s both;
}

.print-widget__cert-peek {
	position: absolute;
	bottom: 88px;
	z-index: 10;
	width: 130px;
	height: 44px;
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	border: 1px solid #dbeafe;
	border-radius: 4px;
	box-shadow: 0 -4px 12px rgba(30, 64, 175, 0.1);
	overflow: hidden;
	animation: printWidgetCertPeek 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both;
}

.print-widget__cert-peek-inner {
	position: absolute;
	inset: 3px;
	border: 2px double #93c5fd;
	border-radius: 2px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	padding: 4px;
}

.print-widget__speed-line {
	position: absolute;
	left: -30px;
	height: 1.5px;
	background: #dbeafe;
	border-radius: 1px;
	animation: printWidgetSpeedLine 2s ease-in-out infinite;
}

.print-widget__timeline {
	display: flex;
	flex-direction: column;
	gap: 0;
	position: relative;
}

.print-widget__tl-spine {
	position: absolute;
	left: 9px;
	top: 12px;
	bottom: 12px;
	width: 1px;
	background: #e2e8f0;
}

.print-widget__tl-fill {
	position: absolute;
	left: 9px;
	top: 12px;
	width: 1px;
	background: #3b82f6;
	height: 0;
	animation: printWidgetTlFill 1s ease 0.3s both;
}

.print-widget__tl-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	animation: printWidgetSlideLeft 0.4s ease both;
}

.print-widget__tl-dot {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	z-index: 1;
}

.print-widget__tl-dot.done {
	background: #3b82f6;
	border-color: #1d4ed8;
}

.print-widget__tl-dot.pending {
	background: #e2e8f0;
	border-color: #cbd5e1;
}

.print-widget__tl-label {
	font-size: 12px;
	font-weight: 600;
	flex: 1;
}

.print-widget__tl-label.done {
	color: #1e293b;
}

.print-widget__tl-label.pending {
	color: #94a3b8;
}

.print-widget__tl-time {
	font-size: 10px;
	font-weight: 700;
}

.print-widget__tl-time.done {
	color: #3b82f6;
}

.print-widget__tl-time.pending {
	color: #cbd5e1;
}

.print-widget__ship-cta {
	margin-top: auto;
	border-radius: 12px;
	padding: 12px;
	background: #f59e0b;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: printWidgetFadeUp 0.4s ease 0.9s both;
}

.print-widget__ship-cta span {
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

@keyframes printWidgetFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes printWidgetFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes printWidgetSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes printWidgetSlideLeft { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes printWidgetScaleIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes printWidgetSpringIn { from { opacity: 0; transform: scale(0) rotate(-90deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes printWidgetPopIn { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes printWidgetFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes printWidgetPulseRing { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes printWidgetSpin { to { transform: rotate(360deg); } }
@keyframes printWidgetLedBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes printWidgetFillBar { to { width: 100%; } }
@keyframes printWidgetTlFill { to { height: 75%; } }
@keyframes printWidgetPaperFeed { from { transform: translateY(-100px); opacity: 0; } to { transform: translateY(18px); opacity: 0.3; } }
@keyframes printWidgetPaperEmerge { to { height: 118px; } }
@keyframes printWidgetLidOpen { from { opacity: 0; transform: translateX(-50%) rotate(-5deg); } to { opacity: 1; transform: translateX(-50%) rotate(0); } }
@keyframes printWidgetCertPeek { from { transform: translateX(-50%) translateY(60px); opacity: 0; } to { transform: translateX(-50%) translateY(0); opacity: 1; } }
@keyframes printWidgetSpeedLine { 0%, 100% { width: 0; opacity: 0; } 40%, 60% { width: 26px; opacity: 0.8; } }

@media (max-width: 921px) {
	.print-widget {
		width: min(100%, 520px);
		margin: 0 auto;
	}

	.print-widget__card {
		height: 430px;
	}
}

@media (max-width: 640px) {
	.print-widget {
		width: 100%;
	}

	.print-widget__card {
		height: 408px;
	}

	.print-widget__panel {
		padding: 16px;
		gap: 12px;
	}

	.print-widget__spec-grid {
		grid-template-columns: 1fr;
	}
}
