#helpfulnessmeter {
	background-color: rgba(0, 0, 0, 0.05);
	margin-top: 1em;
	padding: 1.2em;
	border-radius: 0.2em;
	text-align: center;
	display: flex;
	align-items: start;
	justify-content: center;
}

#helpfulnessmeter * {
	transition: background-color 200ms, box-shadow 200ms;
}

#hfnm-title,
#hfnm-yes-no {
	display: inline-block;
}

#hfnm-title {
	padding-right: 2em;
}

#hfnm-yes-no span {
	padding: 0.4em 0.8em;
	border-radius: 0.2em;
	background-color: rgba(255, 255, 255, 0.9);
	color: #1a73e8;
	cursor: pointer;
	font-size: 0.9em;
	box-shadow: 0 0 6px 0px rgba(0, 0, 0, 0.1);
}

#hfnm-yes-no span:hover {
	background-color: #FFFFFF;
	box-shadow: 0 0 6px 0px rgba(0, 0, 0, 0.3);
}

#hfnm-yes-no span:active {
	background-color: #FFFFFF;
	box-shadow: 0 0 6px 0px rgba(0, 0, 0, 0.5);
}

#hfnm-yes-no span:first-child {
	margin-right: 0.4em;
}

#hfnm-yes-no span:last-child {
	margin-left: 0.4em;
}

#helpfulnessmeter.hfnm-disabled {
	pointer-events: none;
	position: relative;
}

#helpfulnessmeter.hfnm-disabled #hfnm-thank-yes,
#helpfulnessmeter.hfnm-disabled #hfnm-thank-no {
	pointer-events: auto;
}

#helpfulnessmeter.hfnm-disabled #hfnm-title,
#helpfulnessmeter.hfnm-disabled #hfnm-yes-no {
	opacity: 0;
}

#hfnm-thank-yes,
#hfnm-thank-no {
	min-height: 100%;
	text-align: left;
	padding-left: 1em;
	width: 100%;
}

/* Styles for tablets */
@media (max-width: 1024px) and (min-width: 768px) {
	#helpfulnessmeter {
		padding: 1em;
		font-size: 0.9em;
	}

	#hfnm-title {
		padding-right: 1.5em;
	}
}

/* Styles for smartphones */
@media (max-width: 767px) {
	#helpfulnessmeter {
		padding: 0.8em;
		font-size: 0.8em;
	}

	#hfnm-title {
		padding-right: 1em;
	}

	#hfnm-yes-no span {
		padding: 0.3em 0.6em;
		font-size: 0.8em;
	}
}

/* Style for hfnm_shortcode_list */
.hfnm-table-wrapper {
	overflow-x: auto;
	max-width: 100%;
}

.hfnm-table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: fixed;
}

.hfnm-col-title,
.hfnm-col-helpful {
	width: 50%;
	text-align: left;
	padding: 10px;
}

.hfnm-col-title a {
	color: #000;
	text-decoration: none;
}

.hfnm-col-title a:hover {
	text-decoration: underline;
}