/**
 * WordPress Enviorment - Frontend Styles
 * Author: Buraq Dynamics
 *
 * These styles only load when "Website Type" is set to Development.
 * --wpenv-border-color is set inline (per-site) by the plugin, with a fallback here.
 */

:root {
	--wpenv-border-color: #ff0000;
}

/* Fixed border wrapped around the viewport, stays put while scrolling. */
.wpenv-border-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border: 6px solid var(--wpenv-border-color, #ff0000);
	box-sizing: border-box;
	pointer-events: none; /* never blocks clicks on the real page */
	z-index: 2147483000;  /* sit above virtually everything */
}

/* Non-clickable "staging" badge, styled like a pill/button. */
.wpenv-badge {
	position: fixed;
	bottom: 20px;
	background-color: var(--wpenv-border-color, #ff0000);
	color: #ffffff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	padding: 14px 24px;
	border-radius: 6px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
	z-index: 2147483001;
	cursor: default;
	pointer-events: none;
	-webkit-user-select: none;
	user-select: none;
	white-space: nowrap;
}

.wpenv-badge-left {
	left: 20px;
}

.wpenv-badge-right {
	right: 20px;
}

@media (max-width: 480px) {
	.wpenv-badge {
		font-size: 12px;
		padding: 10px 16px;
	}

	.wpenv-border-overlay {
		border-width: 4px;
	}
}
