/**
 * PG Review Summarizer - Frontend Styles
 * Styles for the review summary display on product pages
 */

/* ============================================
   SECTION CONTAINER
   ============================================ */
.pg-rs-section {
	margin-top: 2rem;
	background: #fafafa;
	border: 1px solid #e5e5e5;
	border-radius: 1rem;
	overflow: hidden;
}

.pg-rs-section-header {
	padding: 1rem 1.25rem;
	border-bottom: 1px solid #e5e5e5;
	background: #fff;
}

.pg-rs-section-title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 600;
	color: #171717;
}

.pg-rs-section-content {
	padding: 1.25rem;
}

/* ============================================
   SUMMARY TEXT
   ============================================ */
.pg-rs-summary-card {
	/* No special styling - just a container */
}

.pg-rs-glow {
	display: none;
}

.pg-rs-summary-text {
	margin: 0;
	color: #525252;
	font-size: 1rem;
	line-height: 1.7;
}

/* ============================================
   INSTRUCTIONS
   ============================================ */
.pg-rs-instructions {
	margin: 1.25rem 0 0.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: #525252;
}

/* ============================================
   BULLET CHIPS
   ============================================ */
.pg-rs-bullets-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pg-rs-bullet {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: #171717;
	text-align: left;
	border-radius: 999px;
	border: 1px solid #e5e5e5;
	background: #fff;
	transition: all 0.2s ease;
	cursor: pointer;
	flex-shrink: 0;
	white-space: nowrap;
}

.pg-rs-bullet:hover {
	border-color: #d4d4d4;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pg-rs-bullet-positive {
	border-color: #bbf7d0;
	background: #f0fdf4;
}

.pg-rs-bullet-positive:hover {
	border-color: #86efac;
	background: #dcfce7;
}

.pg-rs-bullet-negative {
	border-color: #fed7aa;
	background: #fff7ed;
}

.pg-rs-bullet-negative:hover {
	border-color: #fdba74;
	background: #ffedd5;
}

.pg-rs-bullet-active {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	border-color: #171717 !important;
}

.pg-rs-bullet .pg-rs-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
}

.pg-rs-bullet .pg-rs-icon svg {
	width: 100%;
	height: 100%;
}

/* ============================================
   DETAIL PANEL
   ============================================ */
.pg-rs-detail {
	position: relative;
	margin-top: 1rem;
	padding: 1.25rem;
	padding-right: 3rem;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 0.75rem;
	animation: pg-rs-slideDown 0.25s ease;
}

.pg-rs-detail.hidden {
	display: none;
}

@keyframes pg-rs-slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.pg-rs-detail-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 2rem;
	height: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	cursor: pointer;
	opacity: 0.5;
	transition: opacity 0.2s ease;
}

.pg-rs-detail-close:hover {
	opacity: 1;
}

.pg-rs-detail-content {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.pg-rs-detail-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	flex-shrink: 0;
	border-radius: 50%;
	background: #f5f5f5;
}

.pg-rs-detail-icon svg {
	display: block;
	width: 1.25rem;
	height: 1.25rem;
}

.pg-rs-detail-body {
	flex: 1;
	min-width: 0;
}

.pg-rs-detail-title {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: #171717;
}

.pg-rs-detail-text {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.6;
	color: #525252;
}
