.ub-star-outer-container {
	display: flex;
}

.ub-star-inner-container,
.ub-star-container {
	display: flex;
	flex-direction: row;
}
.ub-star-rating {
	display: flex;
	flex-direction: column;
	gap: var(--ub-star-rating-gap, 20px);

	&.ub-star-rating-text-top {
		flex-direction: column-reverse;
	}
	&.ub-star-rating-text-right {
		flex-direction: row;
		align-items: center;
		&.ub-star-rating-align-center {
			justify-content: center;
		}
		&.ub-star-rating-align-left {
			justify-content: flex-start;
		}
		&.ub-star-rating-align-right {
			justify-content: flex-end;
		}
	}
	&.ub-star-rating-text-bottom {
		flex-direction: column;
	}
	&.ub-star-rating-text-left {
		flex-direction: row-reverse;
		align-items: center;
		&.ub-star-rating-align-center {
			justify-content: center;
		}
		&.ub-star-rating-align-left {
			justify-content: flex-end;
		}
		&.ub-star-rating-align-right {
			justify-content: flex-start;
		}
	}
	.ub-review-text {
		font-size: var(--ub-star-rating-font-size);
	}
}
.ub-star-inner-container svg {
	margin-top: initial;
}
