/**
 * Estilos del frontend: bloque de precios y barra de progreso.
 *
 * Utilizan variables CSS para respetar el color configurado en el plugin.
 */

.rpm-price-box {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 14px;
}

.rpm-price-row {
	align-items: center;
	background: #f6f7f9;
	border: 1px solid #ececf1;
	border-radius: 10px;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 14px;
}

.rpm-price-row .rpm-price-label {
	color: #6b7280;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
}

.rpm-price-row .rpm-price-value {
	color: #111827;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.2;
}

.rpm-price-row.rpm-price-wholesale {
	background: var( --rpm-color-soft, #eaf0ff );
	border-color: var( --rpm-color-soft, #eaf0ff );
}

.rpm-price-row.rpm-price-wholesale .rpm-price-value {
	color: var( --rpm-color, #2563eb );
}

.rpm-from {
	color: #6b7280;
	font-size: 0.8em;
	font-weight: 600;
}

.rpm-single-extra {
	margin: 0 0 1.2em;
}

.rpm-note {
	color: #4b5563;
	font-size: 0.88rem;
	margin: 0 0 10px;
}

.rpm-progress-wrap {
	margin: 0 0 1em;
}

.rpm-progress {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba( 16, 24, 40, 0.05 );
	padding: 14px 16px;
}

.rpm-progress-message {
	color: #374151;
	font-size: 0.9rem;
	font-weight: 500;
	margin: 0 0 10px;
}

.rpm-progress-track {
	background: #e5e7eb;
	border-radius: 999px;
	height: 9px;
	overflow: hidden;
}

.rpm-progress-bar {
	background: var( --rpm-color, #2563eb );
	border-radius: 999px;
	display: block;
	height: 100%;
	transition: width 0.5s ease;
}

.rpm-progress-success .rpm-progress-bar {
	background: #16a34a;
}

.rpm-success-icon {
	color: #16a34a;
	font-weight: 800;
}
