/* Olah Review Requests — front-end form. Colours come from plugin settings via CSS variables. */
.olah-rr {
	--olah-primary: #111;
	--olah-btn-text: #fff;
	--olah-star: #c8a165;
	--olah-text: #222;
	max-width: 720px;
	margin: 40px auto;
	padding: 0 16px;
	color: var(--olah-text);
	font-family: inherit;
}
.olah-rr__header { text-align: center; margin-bottom: 32px; }
.olah-rr__header h2, .olah-rr__notice h2 { margin: 0 0 8px; }
.olah-rr__notice { text-align: center; padding: 48px 24px; border: 1px solid rgba(0,0,0,.08); border-radius: 12px; }
.olah-rr__error { background: #fdecea; color: #8a1c12; padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; }

.olah-rr__product {
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 12px;
	padding: 20px;
	margin: 0 0 20px;
	background: #fff;
}
.olah-rr__product-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.olah-rr__thumb img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; display: block; }
.olah-rr__name { font-weight: 600; font-size: 1.05em; margin: 0; }

/* CSS-only star picker (inputs are in reverse order: 5 → 1). */
.olah-rr__stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin-bottom: 12px; }
.olah-rr__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.olah-rr__stars label { font-size: 34px; line-height: 1; color: #d9d6d2; cursor: pointer; transition: color .15s, transform .15s; }
.olah-rr__stars label:hover,
.olah-rr__stars label:hover ~ label,
.olah-rr__stars input:checked ~ label { color: var(--olah-star); }
.olah-rr__stars label:hover { transform: scale(1.1); }
.olah-rr__stars input:focus-visible + label { outline: 2px solid var(--olah-primary); outline-offset: 2px; border-radius: 4px; }

.olah-rr__label { display: block; font-weight: 600; margin: 4px 0 6px; font-size: .95em; }
.olah-rr textarea,
.olah-rr input[type="text"] {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid rgba(0,0,0,.18);
	border-radius: 8px;
	font: inherit;
	background: #fff;
}
.olah-rr textarea:focus, .olah-rr input[type="text"]:focus { outline: none; border-color: var(--olah-primary); }
.olah-rr__field { margin: 8px 0 24px; }
.olah-rr__field small { display: block; opacity: .7; margin-top: 6px; }
.olah-rr__hp { position: absolute; left: -9999px; }

.olah-rr__btn {
	display: inline-block;
	background: var(--olah-primary);
	color: var(--olah-btn-text) !important;
	border: 0;
	border-radius: 999px;
	padding: 14px 36px;
	font: inherit;
	font-weight: 600;
	letter-spacing: .02em;
	cursor: pointer;
	text-decoration: none;
}
.olah-rr__btn:hover { opacity: .88; }
.olah-rr__form .olah-rr__btn { width: 100%; }
