.pdfeditor-app {
	max-width: 900px;
	margin: 0 auto;
}

.pdfeditor-dropzone {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	border: 2px dashed #aaa;
	border-radius: 8px;
	cursor: pointer;
	text-align: center;
	padding: 16px;
	color: #555;
}

.pdfeditor-dropzone.is-dragover {
	border-color: #2271b1;
	background: #f0f6fc;
}

.pdfeditor-status {
	font-size: 13px;
	color: #666;
	min-height: 18px;
}

.pdfeditor-toolbar {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 16px 0;
}

.pdfeditor-page-wrap {
	position: relative;
	margin: 0 auto 24px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	background: #fff;
}

.pdfeditor-page-wrap canvas {
	display: block;
}

.pdfeditor-text-block {
	position: absolute;
	inset: 0;
	white-space: pre;
	line-height: 1;
	border: 1px solid transparent;
	outline: none;
	color: #000;
	font-family: sans-serif;
	padding: 0;
	margin: 0;
	overflow: visible;
}

.pdfeditor-block-wrap {
	position: absolute;
}

.pdfeditor-text-block:hover {
	border-color: rgba(34, 113, 177, 0.4);
}

.pdfeditor-text-block:focus {
	border-color: #2271b1;
}

.pdfeditor-text-block.is-dirty {
	box-shadow: 0 0 0 1px #e0a800 inset;
}

.pdfeditor-drag-handle {
	position: absolute;
	top: -9px;
	left: -9px;
	width: 12px;
	height: 12px;
	background: #2271b1;
	border-radius: 3px;
	cursor: move;
	opacity: 0;
	transition: opacity 0.15s;
	z-index: 2;
}

.pdfeditor-block-wrap:hover .pdfeditor-drag-handle,
.pdfeditor-block-wrap:focus-within .pdfeditor-drag-handle {
	opacity: 1;
}

.pdfeditor-format-bar {
	display: none;
	align-items: center;
	gap: 14px;
	margin-bottom: 12px;
	padding: 8px 12px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	font-size: 13px;
}

.pdfeditor-format-bar label {
	display: flex;
	align-items: center;
	gap: 6px;
}

.pdfeditor-format-bar .pdfeditor-hint {
	color: #666;
	font-size: 12px;
}
