/**
 * Developer Debug Mode - Frontend Styles
 *
 * @package Developer_Debug_Mode
 * @version 1.0.0
 */

/* Frontend Debug Notice */
.dev-debug-mode-frontend-notice {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	padding: 12px 20px;
	z-index: 99999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 14px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
	animation: dev-debug-mode-slide-up 0.3s ease;
}

@keyframes dev-debug-mode-slide-up {
	from {
		transform: translateY(100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.dev-debug-mode-notice-content {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.dev-debug-mode-notice-icon {
	font-size: 18px;
}

.dev-debug-mode-notice-text {
	flex: 0 1 auto;
}

.dev-debug-mode-notice-text strong {
	font-weight: 600;
}

.dev-debug-mode-notice-dismiss {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: #fff;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	padding: 0;
	margin-left: 15px;
	transition: background 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dev-debug-mode-notice-dismiss:hover {
	background: rgba(255, 255, 255, 0.35);
}

/* Hidden state */
.dev-debug-mode-frontend-notice.dev-debug-mode-hidden {
	animation: dev-debug-mode-slide-down 0.3s ease forwards;
}

@keyframes dev-debug-mode-slide-down {
	from {
		transform: translateY(0);
		opacity: 1;
	}
	to {
		transform: translateY(100%);
		opacity: 0;
	}
}

/* Mobile adjustments */
@media (max-width: 600px) {
	.dev-debug-mode-frontend-notice {
		padding: 10px 15px;
		font-size: 13px;
	}

	.dev-debug-mode-notice-content {
		flex-wrap: nowrap;
	}

	.dev-debug-mode-notice-text {
		text-align: center;
	}
}
