/**
 * BRD TripAdvisor Widget — Frontend Styles
 *
 * TripAdvisor Green: #00AA6C
 * Matches the hand-built Elementor widget design:
 * white card, green border, green rating circles.
 */

.brd-ta-widget {
	background: #fff;
	border: 2px solid #00AA6C;
	border-radius: 0px;
	padding: 24px;
	max-width: 420px;
	font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
	color: #333;
	line-height: 1.5;
}

/* Header: logo + business name */
.brd-ta-header {
	margin-bottom: 16px;
}

.brd-ta-logo svg {
	width: 280px;
	height: auto;
	display: block;
	margin-bottom: 8px;
}

.brd-ta-logo-text {
	font-size: 24px;
	font-weight: 700;
	color: #00AA6C;
}

.brd-ta-business-name {
	font-family: 'Poppins', 'Lato', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 4px;
}

/* Labels */
.brd-ta-label {
	font-size: 14px;
	font-weight: 600;
	color: #666;
	margin-bottom: 4px;
	margin-top: 16px;
}

/* Rating section */
.brd-ta-rating-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.brd-ta-circles {
	display: flex;
	align-items: center;
	gap: 3px;
}

.brd-ta-circle {
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid #00AA6C;
	background: transparent;
}

.brd-ta-circle--full {
	background: #00AA6C;
}

.brd-ta-circle--half {
	background: linear-gradient(90deg, #00AA6C 50%, transparent 50%);
}

.brd-ta-review-count {
	font-size: 14px;
	color: #00AA6C;
	text-decoration: none;
}

.brd-ta-review-count:hover {
	text-decoration: underline;
}

/* Ranking */
.brd-ta-ranking {
	font-family: 'Poppins', 'Lato', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #1a1a1a;
}

/* Reviews list */
.brd-ta-reviews {
	margin-bottom: 16px;
}

.brd-ta-review {
	margin-bottom: 4px;
}

.brd-ta-review-text {
	font-size: 14px;
	color: #444;
}

/* Action links */
.brd-ta-actions {
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid #e8e8e8;
}

.brd-ta-link {
	font-size: 14px;
	font-weight: 600;
	color: #00AA6C;
	text-decoration: none;
}

.brd-ta-link:hover {
	text-decoration: underline;
}

.brd-ta-separator {
	margin: 0 8px;
	color: #ccc;
}

/* Responsive */
@media (max-width: 480px) {
	.brd-ta-widget {
		padding: 16px;
		max-width: 100%;
	}

	.brd-ta-ranking {
		font-size: 18px;
	}
}
