/**
 * Click Here to Reveal the Deal - Styles
 */

.reveal-deal-wrapper {
	margin: 2em 0;
}

.reveal-checkbox-container {
	margin-bottom: 1em;
}

.reveal-checkbox {
	cursor: pointer;
	margin-right: 0.5em;
	transform: scale(1.2);
}

.reveal-checkbox-container label {
	cursor: pointer;
	font-weight: 600;
	color: inherit;
	transition: color 0.3s ease;
	display: inline-block;
	padding: 0.25em 0;
}

.reveal-checkbox-container label:hover {
	color: #0066cc;
}

.reveal-checkbox:checked + label {
	color: #28a745;
}

.reveal-image-container {
	position: relative;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.reveal-image-container.reveal-fade-in {
	opacity: 1;
}

.reveal-image {
	display: block;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease;
}

.reveal-image:hover {
	transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.reveal-image {
		max-width: 100% !important;
	}
	
	.reveal-checkbox-container label {
		font-size: 1.1em;
	}
}

/* Animation for reveal */
@keyframes revealSlideDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.reveal-image-container.reveal-fade-in {
	animation: revealSlideDown 0.4s ease-out;
}

/* Accessibility improvements */
.reveal-checkbox:focus + label {
	outline: 2px solid #0066cc;
	outline-offset: 2px;
	border-radius: 3px;
}

/* Loading state (optional) */
.reveal-image.loading {
	filter: blur(5px);
	opacity: 0.5;
}

/* Error state styling */
.reveal-deal-wrapper .callout.alert {
	margin: 1em 0;
}