.buch-bib-search {
	max-width: 800px;
	margin: 0 auto;
}

.buch-bib-search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
}

.buch-bib-search-form input[type="text"] {
	flex: 1;
	min-width: 140px;
	padding: 10px 12px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.buch-bib-search-form button {
	padding: 10px 20px;
	font-size: 16px;
	cursor: pointer;
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 4px;
}

.buch-bib-search-form button:hover {
	background: #135e96;
}

.buch-bib-results {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.buch-bib-item {
	display: flex;
	gap: 14px;
	padding: 12px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	background: #fafafa;
	align-items: flex-start;
}

.buch-bib-thumb {
	width: 50px;
	height: 75px;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 3px;
	background: #eee;
}
.buch-bib-thumb img {
	width: 50px;
	height: 75px;
	max-width: 50px;
	max-height: 75px;
	object-fit: cover;
	object-position: center top;
	display: block;
	border-radius: 3px;
	background: #eee;
}

.buch-bib-info {
	flex: 1;
	line-height: 1.4;
}

.buch-bib-info .buch-year {
	color: #666;
	font-weight: normal;
}

.buch-bib-info .buch-autor {
	color: #444;
	font-weight: normal;
}

.buch-bib-info .buch-meta {
	font-size: 0.9em;
	color: #666;
	margin-top: 2px;
}

.buch-bib-info .buch-location {
	color: #2271b1;
	font-size: 0.95em;
	margin-top: 4px;
}

@media (max-width: 480px) {
	.buch-bib-search-form {
		flex-direction: column;
	}
	.buch-bib-item {
		flex-direction: row;
	}
}

.buch-search-scan {
	margin-bottom: 20px;
	padding: 14px;
	background: #f0f7ff;
	border: 1px solid #c5d9f0;
	border-radius: 10px;
}
.buch-search-scan label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	font-size: 14px;
}
.buch-check-owned {
	margin-top: 10px;
	padding: 12px 14px;
	background: #d4edda;
	border: 1px solid #c3e6cb;
	border-radius: 8px;
	line-height: 1.5;
}
.buch-reihe {
	color: #6f42c1;
	font-size: 0.95em;
	margin-top: 2px;
}

.buch-search-hint {
	color: #666;
	font-size: 0.95em;
	margin-top: 16px;
	text-align: center;
}

.buch-search-scan .buch-btn {
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 600;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	background: #2271b1;
	color: #fff;
	white-space: nowrap;
}
.buch-search-scan .buch-btn:hover { background: #135e96; }
.buch-search-scan .buch-btn.secondary {
	background: #6c757d;
}
.buch-search-scan .buch-btn.secondary:hover { background: #5a6268; }
.buch-search-scan .buch-fe-barcode-row {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}
.buch-search-scan .buch-fe-barcode-row input {
	flex: 1;
	min-width: 140px;
	padding: 12px 14px;
	font-size: 16px;
	border: 2px solid #ccc;
	border-radius: 8px;
}
.buch-search-scan .buch-fe-status {
	margin-top: 10px;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: 14px;
	min-height: 20px;
}
.buch-search-scan .buch-fe-status.loading { background: #e8f0fe; color: #1a56db; }
.buch-search-scan .buch-fe-status.success { background: #d4edda; color: #155724; }
.buch-search-scan .buch-fe-status.error { background: #f8d7da; color: #721c24; }

.buch-cam-reader {
	max-height: 160px !important;
	overflow: hidden;
	border-radius: 8px;
	margin-top: 10px;
	background: #000;
}
.buch-cam-reader video,
.buch-cam-reader canvas {
	max-height: 160px !important;
	width: 100% !important;
	object-fit: cover !important;
}
.buch-fe-next {
	width: 100%;
	padding: 14px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
}

.buch-cam-controls {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.buch-cam-controls .buch-btn {
	flex: 1;
	min-width: 120px;
}

.buch-kategorie {
	display: inline-block;
	margin-top: 3px;
	padding: 1px 8px;
	font-size: 0.8em;
	background: #e8f0fe;
	color: #1a56db;
	border-radius: 4px;
}
.buch-bib-search-form select {
	flex: 1;
	min-width: 140px;
	padding: 10px 12px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
}
