.toolhub-jpg-pdf__dropzone {
	display: grid;
	gap: 0.2rem;
	margin-bottom: 1rem;
	padding: 1.3rem;
	border: 2px dashed #9aa8bb;
	border-radius: 12px;
	background: #f7f9fc;
	cursor: pointer;
	text-align: center;
}

.toolhub-jpg-pdf__dropzone.is-dragging {
	border-color: var(--thub-accent);
	background: var(--thub-accent-soft);
}

.toolhub-jpg-pdf__dropzone:focus-visible,
.toolhub-jpg-pdf input[type="range"]:focus-visible {
	outline: 3px solid rgba(23, 105, 224, 0.28);
	outline-offset: 2px;
}

.toolhub-jpg-pdf__list {
	display: grid;
	gap: 0.65rem;
	margin: 0 0 1rem;
}

.toolhub-jpg-pdf__item {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	gap: 0.75rem;
	align-items: center;
	padding: 0.65rem;
	border: 1px solid var(--thub-border);
	border-radius: 10px;
	background: var(--thub-surface-alt);
}

.toolhub-jpg-pdf__item img {
	width: 64px;
	height: 52px;
	border-radius: 6px;
	object-fit: contain;
	background: #fff;
}

.toolhub-jpg-pdf__item-details {
	display: grid;
	min-width: 0;
	gap: 0.15rem;
}

.toolhub-jpg-pdf__item-details strong,
.toolhub-jpg-pdf__item-details span {
	overflow-wrap: anywhere;
}

.toolhub-jpg-pdf__item-details span {
	color: var(--thub-muted);
	font-size: 0.82rem;
}

.toolhub-jpg-pdf__item-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.35rem;
}

.toolhub-jpg-pdf__item-actions .toolhub-button {
	min-height: 34px;
	padding: 0.38rem 0.55rem;
	font-size: 0.78rem;
}

.toolhub-jpg-pdf input[type="range"] {
	width: 100%;
}

@media (max-width: 620px) {
	.toolhub-jpg-pdf__item {
		grid-template-columns: 52px minmax(0, 1fr);
	}

	.toolhub-jpg-pdf__item img {
		width: 52px;
		height: 46px;
	}

	.toolhub-jpg-pdf__item-actions {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}
}

@media (max-width: 360px) {
	.toolhub-jpg-pdf__item-actions .toolhub-button {
		flex: 1 1 5rem;
	}
}
