/**
 * Comic Book Creator Plugin Styles
 */

.cbc-comic-pages-list {
	list-style: none;
	padding: 0;
	margin: 20px 0;
}

.cbc-comic-page-item {
	border-bottom: 1px solid #eee;
	padding: 15px 0;
	margin-bottom: 15px;
}

.cbc-comic-page-item:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.cbc-comic-page-item h4 {
	margin-top: 0;
	margin-bottom: 10px;
}

.cbc-comic-page-item h4 a {
	text-decoration: none;
	color: #333;
}

.cbc-comic-page-item h4 a:hover {
	color: #0073aa; /* WordPress blue */
}

.cbc-comic-page-thumbnail {
	margin-bottom: 10px;
}

.cbc-comic-page-thumbnail img {
	max-width: 150px; /* Adjust as needed */
	height: auto;
	border: 1px solid #ddd;
	padding: 2px;
	background-color: #fff;
}

.cbc-comic-page-excerpt p {
	margin-bottom: 0;
}

/* Page Choices Styles */
.cbc-page-choices-container {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 2px solid #f0f0f0;
}

.cbc-page-choices {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex; /* Use flexbox for layout */
	flex-wrap: wrap; /* Allow items to wrap to the next line */
	gap: 20px; /* Space between choices */
	justify-content: center; /* Center the choices */
}

.cbc-choice-item-li {
	margin-bottom: 10px;
}

.cbc-choice-link {
	text-decoration: none;
	color: #333;
	display: block;
	transition: transform 0.2s ease-in-out;
}

.cbc-choice-link:hover {
	transform: scale(1.05);
}

.cbc-choice-image-wrapper {
	text-align: center;
	border: 1px solid #ddd;
	padding: 5px;
	background: #fff;
	border-radius: 4px;
}

.cbc-choice-image-wrapper img {
	max-width: 100%;
	height: auto;
	display: block;
	margin-bottom: 5px;
}

.cbc-choice-caption {
	font-size: 14px;
	font-weight: bold;
	display: block;
	padding: 5px;
}

.cbc-choice-button {
	/* This is the fallback text button */
	display: inline-block;
	padding: 10px 15px;
	text-decoration: none;
	font-size: 16px;
	border-radius: 4px;
	background-color: #f0f0f0;
	border: 1px solid #ccc;
}

/* Start/Continue Button Styles */
.cbc-start-button-wrapper {
	display: flex;
	align-items: center;
	gap: 15px; /* Space between Continue button and Start Over link */
}

.cbc-reset-progress-link {
	font-size: 12px;
	color: #555;
	text-decoration: underline;
	margin-left: 15px; /* Adds space between the button and this link */
}

.cbc-reset-progress-link:hover {
	color: #d63638; /* A red color for destructive action */
}
