/* Frontend Styles */
.wprc-card {
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(var(--wprc-glass-blur, 10px));
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	max-width: 300px;
	margin: 20px auto;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.wprc-timer-ring {
	position: relative;
	width: 60px;
	height: 60px;
	margin: 0 auto 15px;
}

.wprc-ring-bg {
	fill: none;
	stroke: #eee;
	stroke-width: 4;
}

.wprc-ring-progress {
	fill: none;
	stroke: var(--wprc-primary, #0073aa);
	stroke-width: 4;
	stroke-dasharray: 175;
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 1s linear;
	transform: rotate(-90deg);
	transform-origin: 50% 50%;
}

.wprc-timer-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-weight: bold;
	font-size: 18px;
}

.wprc-code-blur {
	font-size: 24px;
	letter-spacing: 5px;
	margin-bottom: 15px;
	filter: blur(4px);
	user-select: none;
}

.wprc-reveal-btn, .wprc-copy-btn, .wprc-popup-trigger, .wprc-copy-only-btn {
	background: var(--wprc-primary, #0073aa);
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
	font-weight: bold;
	transition: background 0.3s;
}

.wprc-reveal-btn:hover, .wprc-copy-btn:hover {
	opacity: 0.9;
}

/* Toast */
#wprc-toast-container {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
}

.wprc-toast {
	background: #333;
	color: #fff;
	padding: 10px 20px;
	border-radius: 4px;
	margin-top: 10px;
	opacity: 0;
	transition: opacity 0.3s;
}

.wprc-toast.show {
	opacity: 1;
}

/* Popup */
.wprc-popup-wrapper {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.5);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wprc-popup-inner {
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	position: relative;
	max-width: 500px;
	width: 90%;
}

.wprc-popup-close {
	position: absolute;
	top: 10px; right: 10px;
	background: transparent;
	border: none;
	font-size: 20px;
	cursor: pointer;
}

/* Floating Social */
.wprc-floating-social {
	position: fixed;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 5px;
	z-index: 999;
}

.wprc-social-btn {
	width: 40px; height: 40px;
	border: none;
	background: #333; color: #fff;
	cursor: pointer;
}

.wprc-dm-toggle {
	position: fixed;
	bottom: 20px;
	left: 20px;
	border: none;
	background: #333;
	color: #fff;
	width: 40px; height: 40px;
	border-radius: 50%;
	cursor: pointer;
	z-index: 999;
}
