.bcl-redeem-form,
.bcl-library {
	max-width: 900px;
	margin: 0 auto;
}

.bcl-label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
}

.bcl-redeem-row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.bcl-redeem-row input[type="text"] {
	flex: 1 1 260px;
	padding: 10px 18px;
	border: 1px solid #ccc;
	border-radius: 999px;
	font-size: 15px;
}

.bcl-button {
	display: inline-block;
	padding: 10px 22px;
	background: #1d2327;
	color: #fff;
	border: none;
	border-radius: 999px;
	font-size: 15px;
	cursor: pointer;
	text-decoration: none;
	line-height: 1.2;
}

.bcl-button:hover {
	background: #2c3338;
	color: #fff;
}

.bcl-redeem-message {
	margin-top: 10px;
	font-size: 14px;
}

.bcl-redeem-message.bcl-success {
	color: #1a7f37;
}

.bcl-redeem-message.bcl-error {
	color: #b32d2e;
}

.bcl-library-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 24px;
	margin-top: 12px;
}

.bcl-book-card {
	text-align: center;
}

.bcl-book-cover img {
	width: 100%;
	height: auto;
	aspect-ratio: 210 / 297;
	object-fit: cover;
	border-radius: 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.bcl-book-cover-placeholder {
	width: 100%;
	aspect-ratio: 210 / 297;
	background: #eee;
	border-radius: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 32px;
}

.bcl-book-title {
	font-size: 15px;
	margin: 10px 0 8px;
}

.bcl-read-button {
	width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.bcl-catalog-card {
	display: block;
	color: inherit;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	border-radius: 4px;
}

.bcl-catalog-card:hover {
	transform: translateY(-3px);
	color: inherit;
}

.bcl-catalog-card:hover .bcl-book-cover img {
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.bcl-catalog-empty {
	text-align: center;
	color: #777;
}
