/* ── Shared ──────────────────────────────────────────────────────────────────── */
.lbr-no-reviews {
	padding: 20px;
	text-align: center;
	font-style: italic;
	opacity: 0.7;
}

/* ── Review card ─────────────────────────────────────────────────────────────── */
.lbr-card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

.lbr-review-text {
	flex: 1;
	line-height: 1.7;
}
.lbr-review-text p:first-child { margin-top: 0; }
.lbr-review-text p:last-child  { margin-bottom: 0; }

/* Quote marks */
.lbr-quote {
	font-family: Georgia, serif;
	font-weight: bold;
	user-select: none;
	pointer-events: none;
}

/* Reviewer info */
.lbr-reviewer {
	margin-top: 16px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
}

.lbr-stars {
	display: flex;
	gap: 2px;
}
.lbr-star        { color: #ccc; font-size: 14px; }
.lbr-star--filled { /* color set per-widget via inline style */ }

.lbr-reviewer__name {
	font-weight: 600;
	font-size: 0.9em;
}
.lbr-reviewer__location,
.lbr-reviewer__source {
	font-size: 0.82em;
	opacity: 0.7;
}
.lbr-reviewer__location::before { content: "— "; }
.lbr-reviewer__source::before   { content: "via "; }

/* ── Grid loading state ──────────────────────────────────────────────────────── */
.lbr-grid-wrapper.lbr-loading { opacity: 0.5; pointer-events: none; transition: opacity 0.2s; }

/* ── Numbered pagination ─────────────────────────────────────────────────────── */
.lbr-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	margin-top: 32px;
}

.lbr-page-btn {
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid #ddd;
	background: #fff;
	border-radius: 3px;
	cursor: pointer;
	font-size: 13px;
	line-height: 1;
	color: inherit;
	transition: background 0.15s, border-color 0.15s;
}
.lbr-page-btn:hover { background: #f0f0f0; border-color: #bbb; }
.lbr-page-btn--active {
	background: #1e3760;
	border-color: #1e3760;
	color: #fff;
	cursor: default;
}
.lbr-page-btn--prev,
.lbr-page-btn--next { font-weight: 500; }

.lbr-page-ellipsis {
	display: flex;
	align-items: center;
	padding: 0 4px;
	height: 36px;
	font-size: 13px;
}

/* ── Load More ───────────────────────────────────────────────────────────────── */
.lbr-load-more-wrap {
	text-align: center;
	margin-top: 32px;
}
.lbr-load-more-btn {
	display: inline-block;
	padding: 10px 28px;
	border: 2px solid currentColor;
	background: transparent;
	border-radius: 3px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	transition: background 0.2s, color 0.2s;
}
.lbr-load-more-btn:hover {
	background: currentColor;
}
.lbr-load-more-btn:hover span,
.lbr-load-more-btn:hover { color: #fff; }

/* ── Carousel wrapper ────────────────────────────────────────────────────────── */
.lbr-carousel-wrapper {
	position: relative;
	outline: none;
}
.lbr-carousel__track-wrap {
	overflow: hidden;
	border-radius: inherit;
}
.lbr-carousel__track {
	display: flex;
	will-change: transform;
}
.lbr-carousel__slide {
	flex: 0 0 100%;
	box-sizing: border-box;
}

/* Arrows */
.lbr-carousel__btn {
	appearance: none;
	-webkit-appearance: none;
}
.lbr-carousel__btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

/* Dots */
.lbr-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}
.lbr-carousel__dot {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	transition: opacity 0.2s;
}
.lbr-carousel__dot:hover { opacity: 0.7; }

/* ── Review submission form ──────────────────────────────────────────────────── */
.lbr-form-wrapper {
	max-width: 680px;
}
.lbr-form-heading {
	margin-top: 0;
}

/* Honeypot — visually hidden but not display:none so browsers still ignore it */
.lbr-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.lbr-form-row {
	display: flex;
	gap: 16px;
}
.lbr-form-row .lbr-form-field {
	flex: 1;
	min-width: 0;
}

.lbr-form-field {
	margin-bottom: 20px;
}
.lbr-form-field label {
	display: block;
	font-weight: 600;
	font-size: 0.85em;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 7px;
	color: inherit;
	opacity: 0.75;
}
.lbr-req {
	color: #e05252;
	margin-left: 2px;
}
.lbr-optional {
	font-weight: 400;
	font-size: 0.9em;
	text-transform: none;
	letter-spacing: 0;
	opacity: 0.55;
	margin-left: 4px;
}
.lbr-field-note {
	font-size: 0.78em;
	opacity: 0.55;
	margin: 6px 0 0;
}

.lbr-submission-form input[type="text"],
.lbr-submission-form input[type="email"],
.lbr-submission-form input[type="number"],
.lbr-submission-form select,
.lbr-submission-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 14px;
	border: 1.5px solid rgba(0,0,0,0.15);
	border-radius: 8px;
	font-size: 1em;
	font-family: inherit;
	background: rgba(0,0,0,0.02);
	color: inherit;
	transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
	appearance: none;
	-webkit-appearance: none;
}
.lbr-submission-form textarea {
	resize: vertical;
	min-height: 130px;
	line-height: 1.6;
}
.lbr-submission-form input:focus,
.lbr-submission-form input[type="number"]:focus,
.lbr-submission-form select:focus,
.lbr-submission-form textarea:focus {
	outline: none;
	border-color: #1e3760;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(30,55,96,0.12);
}

/* Star picker */
.lbr-star-picker {
	display: flex;
	gap: 2px;
	margin-top: 4px;
}
.lbr-sp-star {
	font-size: 32px;
	cursor: pointer;
	color: rgba(0,0,0,0.15);
	line-height: 1;
	transition: color 0.12s, transform 0.12s;
	user-select: none;
}
.lbr-sp-star:hover {
	transform: scale(1.15);
}
.lbr-sp-star--active,
.lbr-sp-star--hover {
	color: #f5a623;
}

/* Messages */
.lbr-form-error {
	display: none;
	color: #b91c1c;
	background: #fef2f2;
	border: 1.5px solid #fecaca;
	border-radius: 8px;
	padding: 10px 16px;
	margin-bottom: 16px;
	font-size: 0.9em;
}
.lbr-form-success {
	display: none;
	background: #f0fdf4;
	border: 1.5px solid #86efac;
	border-radius: 8px;
	padding: 18px 22px;
	font-size: 0.95em;
	line-height: 1.6;
}

/* Submit button */
.lbr-submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 32px;
	background: #1e3760;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 0.95em;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
	box-shadow: 0 2px 8px rgba(30,55,96,0.25);
}
.lbr-submit-btn:hover {
	background: #162c50;
	box-shadow: 0 4px 16px rgba(30,55,96,0.35);
	transform: translateY(-1px);
}
.lbr-submit-btn:active {
	transform: translateY(0);
	box-shadow: 0 1px 4px rgba(30,55,96,0.2);
}
.lbr-submit-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* Name note — sits between name row and next field */
.lbr-name-note {
	margin-top: -12px;
	margin-bottom: 20px;
}

/* Consent checkbox row */
.lbr-consent-field {
	padding: 16px 18px;
	background: rgba(0,0,0,0.03);
	border-radius: 8px;
	border: 1.5px solid rgba(0,0,0,0.08);
	margin-bottom: 24px;
}
.lbr-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-weight: 500;
	font-size: 0.95em;
}
.lbr-checkbox-label input[type="checkbox"] {
	margin-top: 3px;
	flex-shrink: 0;
	width: 17px;
	height: 17px;
	cursor: pointer;
	accent-color: #1e3760;
}
.lbr-checkbox-label span { line-height: 1.5; }
.lbr-consent-field .lbr-field-note { margin-top: 8px; padding-left: 27px; }

@media (max-width: 560px) {
	.lbr-form-row { flex-direction: column; gap: 0; }
}

/* ── Admin list stars ────────────────────────────────────────────────────────── */
/* (referenced in admin.css — kept here so the stars share one definition) */
