/**
 * WordPress.org Reviews Badge Styles
 *
 * Styles for the [wporg_reviews_badge] shortcode.
 *
 * @package Core\WP\Shortcodes
 * @since   <next-version>
 */

.edd-wporg-reviews-badge {
	display: flex;
	flex-direction: row;
	background-color: #fff;
	padding: 9px 14px;
	border-radius: 9999px;
	height: 48px;
	border: 1.5px solid #D3D7DE;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	width: fit-content;
	margin: 0 auto;
}

.edd-reviews-badge-left {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.edd-reviews-badge-icon {
	width: 31px;
	height: 31px;
	margin-right: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.edd-reviews-badge-icon svg {
	width: 31px;
	height: 31px;
}

.edd-reviews-badge-content {
	display: flex;
	flex-direction: column;
}

.edd-reviews-badge-stars {
	display: flex;
	flex-direction: row;
	gap: 1px;
	height: 12px;
	align-items: center;
}

.edd-reviews-badge-stars svg {
	width: 12px;
	height: 12px;
}

.edd-reviews-badge-count {
	font-size: 12px;
	font-weight: 500;
	line-height: 18px;
	white-space: nowrap;
	color: #374151;
}

.edd-reviews-badge-count strong {
	font-weight: 700;
}

.edd-reviews-badge-right {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.edd-reviews-badge-right::before {
	content: '';
	width: 1px;
	height: 27px;
	background: #CFCFCF;
	margin: 0 7px 0 7px;
}

.edd-reviews-badge-rating {
	color: #374151;
	font-size: 16px;
	font-weight: 700;
	line-height: 27px;
	letter-spacing: 0.16px;
	text-align: center;
}
