demo-character-image-panel {
	display: block;
}

demo-character-image-panel .image-frame {
	position: relative;
	width: 200px;
	height: 200px;
	border: 1px solid #ccc; /* Example border */
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden; /* Ensure image doesn't overflow */
	margin-left: auto; /* Push to the right */
	margin-right: 0; /* Ensure no right margin */
	margin-bottom: 1rem; /* Gap below */
}

@media (max-width: 767px) { /* Bootstrap's default for small devices */
	demo-character-image-panel .image-frame {
		width: 120px;
		height: 120px;
	}
}

demo-character-image-panel .image-frame img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain; /* Ensure the image fits within the frame */
}

demo-character-image-panel .image-frame .no-image-message {
	text-align: center;
	color: #888;
	font-style: italic;
}

demo-character-image-panel .image-frame demo-action-text-button {
	position: absolute;
	bottom: 5px;
	right: 5px;
	z-index: 10; /* Ensure button is above image/text */
}

demo-character-image-panel .image-frame .loading-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white overlay */
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 11; /* Above the button */
}

demo-character-image-panel .image-frame .timer-display {
	margin-top: 10px;
	font-size: 0.9em;
	color: #555;
}
