/**
 * Hospitality Reviews Pro - Sellos, Badges Flotantes y Embudo "Review Booster"
 */

/* Contenedor del Sello / Insignia */
.hrp-trust-badge-wrap {
	display: inline-block;
	box-sizing: border-box;
}

.hrp-badge-card {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding: 1rem 1.25rem;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hrp-badge-score-box {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	border-right: 1px solid #f1f5f9;
	padding-right: 1.25rem;
}

.hrp-badge-score-num {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
	color: #0f172a;
}

.hrp-badge-count-text {
	font-size: 0.75rem;
	color: #64748b;
	margin-top: 3px;
}

.hrp-badge-platforms-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.hrp-badge-platform-item {
	display: flex;
	align-items: center;
	gap: 6px;
	background: #f8fafc;
	padding: 6px 10px;
	border-radius: 8px;
	border: 1px solid #f1f5f9;
}

.hrp-badge-p-icon {
	width: 18px;
	height: 18px;
}

.hrp-badge-p-score {
	font-size: 0.85rem;
	color: #334155;
}

/* Badge Flotante (Sticky en pantalla) */
.hrp-badge-type-floating {
	position: fixed;
	z-index: 9999;
	bottom: 24px;
}

.hrp-floating-bottom-right {
	right: 24px;
}

.hrp-floating-bottom-left {
	left: 24px;
}

.hrp-badge-type-floating .hrp-badge-card {
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
	animation: hrp-fade-up 0.5s ease-out;
}

@keyframes hrp-fade-up {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Barra Compacta (Top Bar / Header) */
.hrp-badge-type-bar .hrp-badge-card {
	padding: 0.5rem 1rem;
	gap: 0.75rem;
	border: none;
	background: transparent;
	box-shadow: none;
}

.hrp-badge-type-bar .hrp-badge-score-num {
	font-size: 1.25rem;
}

.hrp-badge-type-bar .hrp-badge-score-box {
	border-right: none;
	padding-right: 0;
}

/* Review Booster / Funnel Modal */
.hrp-booster-trigger-btn {
	background: #0f172a;
	color: #ffffff;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	transition: all 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.hrp-booster-trigger-btn:hover {
	background: #334155;
	transform: translateY(-2px);
}

.hrp-skin-luxury .hrp-booster-trigger-btn {
	background: #8C733E;
	color: #ffffff;
}

.hrp-skin-luxury .hrp-booster-trigger-btn:hover {
	background: #735C2B;
}

.hrp-funnel-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hrp-funnel-backdrop {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(4px);
}

.hrp-funnel-dialog {
	position: relative;
	background: #ffffff;
	width: 90%;
	max-width: 480px;
	padding: 2.25rem 2rem;
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
	text-align: center;
	z-index: 2;
}

.hrp-funnel-close {
	position: absolute;
	top: 14px;
	right: 16px;
	background: transparent;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #94a3b8;
}

.hrp-funnel-heading {
	margin: 0 0 0.5rem 0;
	font-size: 1.35rem;
	font-weight: 700;
	color: #0f172a;
}

.hrp-funnel-desc {
	margin: 0 0 1.5rem 0;
	font-size: 0.9rem;
	color: #64748b;
}

.hrp-interactive-stars {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 1.5rem 0;
}

.hrp-star-select {
	cursor: pointer;
	transition: transform 0.15s;
}

.hrp-star-select:hover {
	transform: scale(1.2);
}

.hrp-platform-options {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-top: 1.5rem;
}

.hrp-platform-option-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	text-decoration: none;
	color: #1e293b;
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.2s;
}

.hrp-platform-option-btn:hover {
	background: #ffffff;
	border-color: #cbd5e1;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
	transform: translateY(-2px);
}

.hrp-btn-p-icon {
	width: 22px;
	height: 22px;
}

.hrp-feedback-form input,
.hrp-feedback-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	margin-bottom: 12px;
	font-family: inherit;
	box-sizing: border-box;
}

.hrp-submit-feedback-btn {
	width: 100%;
	background: #0f172a;
	color: #ffffff;
	padding: 12px;
	border-radius: 8px;
	border: none;
	font-weight: 600;
	cursor: pointer;
}
