html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Inter', sans-serif;
	background: #f5f7fb;
	padding: 18px;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	box-sizing: border-box;
}

main {
	flex: 1;
}

footer {
	background: #f5f5f5;
	margin-top: auto;
	padding-top: 20px;
	border-top: 2px solid #f2f2f2;
	text-align: center;
}

.card {
	border-radius: 10px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

textarea {
	font-family: 'Inter', sans-serif;
	resize: vertical
}

.table td[contenteditable="true"] {
	background: #fffbe6;
	cursor: text
}

.overlay {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.45);
	z-index: 9999;
	animation: fadeIn 0.3s ease;
}

.overlay .box {
	background: rgba(0, 0, 0, 0.6);
	padding: 16px 20px;
	border-radius: 10px;
	color: #fff;
	display: flex;
	gap: 12px;
	align-items: center;
	animation: slideUp 0.4s ease;
}

.small-mono {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	white-space: pre-wrap
}

.badge-ok {
	background: #198754;
	color: #fff;
	padding: .35rem .6rem;
	border-radius: .5rem
}

.badge-err {
	background: #dc3545;
	color: #fff;
	padding: .35rem .6rem;
	border-radius: .5rem
}

.sidebar {
	position: fixed;
	right: 18px;
	top: 18px;
	width: 320px;
	max-height: 86vh;
	overflow: auto
}

.sku-summary {
	max-height: 180px;
	overflow: auto;
	margin-top: 8px;
	font-size: .95rem
}

.actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap
}

.credits {
	font-size: 12px;
	color: #95a5a6;
}

.credits a {
	color: #e67e22;
	text-decoration: none;
	vertical-align: middle;
}

.credits img {
	width: 50px;
	height: auto;
	margin-left: 5px;
	vertical-align: middle;
}

.btn {
	transition: all 0.3s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.processing-animation {
	animation: pulse 1.5s infinite;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes slideUp {
	from {
		transform: translateY(20px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}

.success-animation {
	animation: successPulse 0.6s ease;
}

@keyframes successPulse {
	0% {
		background-color: #198754;
	}
	50% {
		background-color: #2ecc71;
	}
	100% {
		background-color: #198754;
	}
}

.export-options {
	display: flex;
	gap: 8px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.export-options .btn {
	font-size: 0.85rem;
	padding: 0.35rem 0.7rem;
}

.text-zpl {
	font-size: 8px !important;
}

#skuSummary div {
    font-size: 10px !important;
}

#skuSummary table {
    width: 100%;
    font-size: 10px !important;
}

#skuSummary th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-bottom: 1px solid #dee2e6;
}

#skuSummary td, #skuSummary th {
    padding: 2px 4px !important;
    vertical-align: middle;
}

#skuSummary tr:not(:last-child) td {
    border-bottom: 1px solid #f0f0f0;
}

#skuSummary .table-sm {
    margin-bottom: 0;
}