.rrm-star-rating {
	padding:1rem
}
.rrm-star-rating .wpcf7-radio {
	display: inline-flex;
	justify-content: flex-end;
	gap: .2rem;
}

.rrm-star-rating .wpcf7-list-item {
	margin: 0;
}

.rrm-star-rating input {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	opacity: 0;
}

.rrm-star-rating .wpcf7-list-item-label {
	color: #b7b7b7;
	cursor: pointer;
	font-size: 0rem;
	line-height: 1;
}

.rrm-star-rating .wpcf7-list-item-label::before {
	content: "★";
	font-size: 3rem;
}

.rrm-star-rating .wpcf7-list-item:has(input:checked) .wpcf7-list-item-label,
.rrm-star-rating .wpcf7-list-item:has(~ .wpcf7-list-item input:checked) .wpcf7-list-item-label,
.rrm-star-rating .wpcf7-list-item:hover .wpcf7-list-item-label,
.rrm-star-rating .wpcf7-list-item:has(~ .wpcf7-list-item:hover) .wpcf7-list-item-label {
	color: #f2b01e;
}

.restaurant-reviews__track {
	display: grid;
	gap: 1.25rem;
}

.restaurant-review {
	border: 1px solid #e5e5e5;
	border-radius: .5rem;
	padding: 1.25rem;
}

.restaurant-review__rating {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.restaurant-review__stars {
	color: #f2b01e;
	letter-spacing: .08em;
}

.restaurant-review__comment {
	border: 0;
	margin: 1rem 0 0;
	padding: 0;
}

.rrm-login {
	margin: 2rem auto;
	max-width: 440px;
	text-align: center;
}

.rrm-login input {
	box-sizing: border-box;
	margin-bottom: 1rem;
	padding: 10px;
	width: 100%;
}

.rrm-login button,
.rrm-save,
.rrm-delete,
.rrm-logout {
	cursor: pointer;
	padding: .65rem 1rem;
}

.rrm-error {
	color: #a40000;
}

.rrm-message {
	background: #eaf7eb;
	border-left: 4px solid #238636;
	padding: .75rem 1rem;
}

.rrm-moderation__top {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.rrm-table-wrap {
	margin-bottom: 1rem;
	overflow-x: auto;
}

.rrm-table {
	border-collapse: collapse;
	width: 100%;
}

.rrm-table th,
.rrm-table td {
    border: 1px solid #ddd;
    padding: 0.25rem;
    text-align: left;
    vertical-align: middle;
}

*, *:b

.rrm-table th {
	background: #f3f3f3;
}

.rrm-sort {
	background: none;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	padding: 0;
}

.rrm-sort::after {
	content: " ↕";
	opacity: .45;
}

.rrm-sort[aria-sort="ascending"]::after {
	content: " ↑";
	opacity: 1;
}

.rrm-sort[aria-sort="descending"]::after {
	content: " ↓";
	opacity: 1;
}

.rrm-delete {
	background: #fff;
	border: 1px solid #a40000;
	color: #a40000;
}

.wpcf7-textarea {
	border:none;
	margin-top:7px;
	font-family:"Poppins", sans-serif;
}

.wpcf7-not-valid-tip {
    color: gold;
    font-size: .8em;
    font-weight: normal;
    display: block;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color:gold
}

.wpcf7-spinner {
	display:block;
	margin-left:calc(50% - 12px)
}

input.wpcf7-submit {
	background:#764d1e;
	border:none;
	color:white;
	font-size:1.3rem;
	font-weight:600;
	font-family:Poppins, sans-serif;
	margin-top:1rem;
	padding:.2em 1em;
	cursor:pointer;
	
}

@media (max-width: 760px) {
	.rrm-table thead {
		display: none;
	}

	.rrm-table,
	.rrm-table tbody,
	.rrm-table tr,
	.rrm-table td {
		display: block;
		width: 100%;
	}

	.rrm-table tr {
		border: 1px solid #ddd;
		margin-bottom: 1rem;
	}

	.rrm-table td {
		border: 0;
		box-sizing: border-box;
		padding-left: 42%;
		position: relative;
	}

	.rrm-table td::before {
		content: attr(data-label);
		font-weight: 700;
		left: .65rem;
		position: absolute;
		width: 38%;
	}
}
