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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Band-Badge */
.ltb-band-badge {
	display: inline-block;
	background: #2271b1;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 10px;
	margin-right: 6px;
	vertical-align: middle;
}

/* Alle-Liste */
.ltb-all-list {
	margin-top: 8px;
}
.ltb-all-group {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	margin-bottom: 8px;
	background: #fafafa;
}
.ltb-all-group summary {
	padding: 12px 14px;
	cursor: pointer;
	font-weight: 600;
	user-select: none;
	list-style: none;
}
.ltb-all-group summary::-webkit-details-marker { display: none; }
.ltb-all-group summary::before {
	content: '▸ ';
	color: #2271b1;
}
.ltb-all-group[open] summary::before {
	content: '▾ ';
}
.ltb-all-items {
	list-style: none;
	margin: 0;
	padding: 0 14px 12px;
}
.ltb-all-items li {
	padding: 4px 0;
	border-bottom: 1px solid #eee;
	font-size: 15px;
	line-height: 1.4;
}
.ltb-all-items li:last-child { border-bottom: none; }
.ltb-all-nr {
	display: inline-block;
	min-width: 2.5em;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: #2271b1;
}
.ltb-all-year { color: #888; font-size: 13px; }
.ltb-all-menge { color: #666; font-size: 13px; font-weight: 600; }

/* Alle-Button in Suchform */
.ltb-bib-search-form .ltb-btn.secondary,
.ltb-bib-search-form a.ltb-btn {
	display: inline-flex;
	align-items: center;
	padding: 10px 16px;
	font-size: 16px;
	text-decoration: none;
	background: #f0f0f1;
	color: #1d2327;
	border: 1px solid #ccc;
	border-radius: 4px;
}
.ltb-bib-search-form a.ltb-btn:hover {
	background: #e0e0e0;
}

/* Auflage-Auswahl */
.ltb-edition-box {
	margin: 10px 0;
	padding: 12px;
	background: #f0f6fc;
	border: 1px solid #c5d9ed;
	border-radius: 6px;
}
.ltb-edition-box label {
	display: block;
	margin: 6px 0;
	cursor: pointer;
	font-size: 15px;
}
.ltb-edition-box input[type="radio"] {
	margin-right: 8px;
}
