/* Google Business Profile Reviews - CSS */

.gbp-reviews-container {
	max-width: 600px;
	margin: 20px auto;
	padding: 20px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.gbp-reviews-carousel {
	position: relative;
	min-height: 250px;
}

.gbp-review {
	display: none;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
	padding: 20px;
}

.gbp-review.active {
	display: block;
	opacity: 1;
}

.gbp-review-author {
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin-bottom: 8px;
}

.gbp-review-rating {
	color: #ffc107;
	font-size: 14px;
	margin-bottom: 12px;
	letter-spacing: 1px;
}

.gbp-review-text {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin-bottom: 12px;
	font-style: italic;
}

.gbp-review-date {
	font-size: 12px;
	color: #999;
	margin-top: 12px;
}

.gbp-review-reply {
	margin-top: 15px;
	padding: 12px;
	background: #f9f9f9;
	border-left: 3px solid #0073aa;
	font-size: 13px;
	color: #555;
}

.gbp-review-reply-label {
	font-weight: 600;
	color: #0073aa;
	display: block;
	margin-bottom: 8px;
}

.gbp-reviews-controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
}

.gbp-reviews-nav {
	display: flex;
	gap: 10px;
}

.gbp-reviews-nav button {
	background: #0073aa;
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
	transition: background 0.3s;
}

.gbp-reviews-nav button:hover {
	background: #005a87;
}

.gbp-reviews-nav button:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.gbp-reviews-counter {
	font-size: 13px;
	color: #666;
	text-align: center;
	flex: 1;
}

.gbp-reviews-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 15px;
}

.gbp-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ddd;
	cursor: pointer;
	transition: background 0.3s;
}

.gbp-dot.active {
	background: #0073aa;
}

.gbp-reviews-empty {
	padding: 20px;
	text-align: center;
	color: #999;
	font-size: 14px;
}

.gbp-reviews-error {
	padding: 15px;
	background: #fee;
	border: 1px solid #fcc;
	border-radius: 4px;
	color: #c33;
	margin: 20px 0;
}

/* Responsive */
@media (max-width: 600px) {
	.gbp-reviews-container {
		margin: 10px;
		padding: 15px;
	}

	.gbp-review {
		padding: 15px;
	}

	.gbp-reviews-controls {
		flex-direction: column;
		gap: 15px;
	}

	.gbp-reviews-nav {
		width: 100%;
	}

	.gbp-reviews-nav button {
		flex: 1;
	}
}
