/* Underminer Preview Mode Styles */

/* Preview Mode Styles */
.underminer-preview-mode {
	background: linear-gradient(45deg, #ff6b6b, #4ecdc4) !important;
}

/* Hide the pseudo-element since we'll use a real element */
.underminer-preview-mode::before {
	display: none;
}

/* Preview mode banner - now a button element */
.underminer-preview-banner {
	position: fixed;
	top: 32px; /* Below the admin bar */
	right: 10px;
	background: rgba(220, 53, 69, 0.9); /* Semi-transparent */
	color: white;
	padding: 8px 12px;
	z-index: 999999;
	font-weight: 600;
	font-size: 12px;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	cursor: pointer;
	transition: background-color 0.2s ease;
	border: none;
}

.underminer-preview-banner:hover {
	background: rgba(220, 53, 69, 1);
}

.underminer-preview-banner:focus {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* Exit button inside the preview text box */
.underminer-preview-exit {
	display: inline-block;
	background: rgba(255, 255, 255, 0.2);
	color: white;
	border: none;
	padding: 2px 6px;
	margin-left: 8px;
	font-weight: 600;
	font-size: 12px;
	border-radius: 3px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.underminer-preview-exit:hover {
	background: rgba(255, 255, 255, 0.3);
}

.underminer-preview-mode::after {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border: 3px solid #dc3545;
	pointer-events: none;
	z-index: 999998;
	box-sizing: border-box;
}