/**
 * Hospitality Reviews Pro - Estilos Base Frontend
 */

:root {
	--hrp-primary: #1e293b;
	--hrp-gold: #D4AF37;
	--hrp-star-color: #FFB800;
	--hrp-star-empty: #E2E8F0;
	--hrp-font-family: inherit;
	--hrp-radius: 12px;
	--hrp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hrp-container {
	width: 100%;
	margin: 1.5rem 0;
	box-sizing: border-box;
	font-family: var(--hrp-font-family);
}

.hrp-container * {
	box-sizing: border-box;
}

/* Grids */
.hrp-grid {
	display: grid;
	gap: 1.5rem;
}

.hrp-cols-1 { grid-template-columns: 1fr; }
.hrp-cols-2 { grid-template-columns: repeat(2, 1fr); }
.hrp-cols-3 { grid-template-columns: repeat(3, 1fr); }
.hrp-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
	.hrp-cols-4, .hrp-cols-3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.hrp-cols-4, .hrp-cols-3, .hrp-cols-2 {
		grid-template-columns: 1fr;
	}
}

/* Review Card Base */
.hrp-review-card {
	display: flex;
	flex-direction: column;
	position: relative;
	transition: var(--hrp-transition);
}

.hrp-card-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1.5rem;
	border-radius: var(--hrp-radius);
	background: #ffffff;
}

.hrp-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.85rem;
	gap: 0.75rem;
}

.hrp-author-info {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.hrp-author-avatar img,
.hrp-avatar-placeholder {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.hrp-avatar-placeholder {
	background: #f1f5f9;
	color: #475569;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1rem;
}

.hrp-author-meta {
	display: flex;
	flex-direction: column;
}

.hrp-author-name {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.2;
}

.hrp-author-country {
	font-size: 0.8rem;
	color: #64748b;
	margin-top: 2px;
}

.hrp-platform-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: #f8fafc;
	border: 1px solid #f1f5f9;
}

.hrp-platform-badge svg {
	width: 20px;
	height: 20px;
}

/* Rating Row */
.hrp-rating-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.75rem;
}

.hrp-stars-container {
	display: flex;
	align-items: center;
}

.hrp-review-date {
	font-size: 0.75rem;
	color: #94a3b8;
	font-weight: 500;
}

/* Experience Tag */
.hrp-experience-tag {
	display: inline-block;
	background: #f8fafc;
	color: #475569;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 6px;
	margin-bottom: 0.85rem;
}

/* Review Text */
.hrp-review-body {
	position: relative;
	flex-grow: 1;
	font-size: 0.925rem;
	line-height: 1.6;
	color: #334155;
	margin-bottom: 1rem;
}

.hrp-review-body p {
	margin: 0 0 0.5rem 0;
}

.hrp-review-body p:last-child {
	margin-bottom: 0;
}

.hrp-quote-mark {
	position: absolute;
	top: -6px;
	right: 0;
	pointer-events: none;
}

/* Footer */
.hrp-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 0.75rem;
	border-top: 1px solid #f1f5f9;
	font-size: 0.8rem;
}

.hrp-verified-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #059669;
	font-weight: 600;
}

.hrp-original-link {
	color: #64748b;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s;
}

.hrp-original-link:hover {
	color: #0f172a;
	text-decoration: underline;
}
