/* Valoraciones */
.valoraciones { padding: 3rem 0; background: #f7f9fc; }
.valoraciones-wrap { max-width: 960px; margin: 0 auto; }
.valoraciones-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.valoraciones-header h2 { margin: 0; }
.valoraciones-promedio { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 1.1rem; color: #333; }
.valoraciones-promedio .promedio { font-weight: 700; font-size: 1.5rem; color: #007bff; }
.valoraciones-promedio .estrellas { color: #f5a623; }
.lista-valoraciones { display: flex; flex-direction: column; gap: 1rem; }
.valoracion-item { background: #fff; border: 1px solid #e6eaf0; border-radius: 10px; padding: 1rem; box-shadow: 0 4px 14px rgba(0,0,0,0.03); }
.valoracion-item-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.35rem; }
.valoracion-puntos { font-weight: 700; color: #f5a623; }
.valoracion-fecha { color: #6c757d; font-size: 0.9rem; }
.valoracion-autor { font-weight: 700; color: #1f2d3d; margin-bottom: 0.25rem; }
.valoracion-texto { color: #333; white-space: pre-wrap; }
.valoracion-form-wrap { margin-top: 1.5rem; background: #fff; border: 1px solid #e6eaf0; border-radius: 10px; padding: 1rem 1.25rem; }
.valoracion-form { display: flex; flex-direction: column; gap: 0.75rem; }
.valoracion-form label { font-weight: 600; color: #333; }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 0.35rem; }
.rating-input input { display: none; }
.rating-input .star-option { cursor: pointer; font-size: 1.4rem; color: #ccc; transition: color 0.15s ease; }
.rating-input .star-option.filled span { color: #f5a623; }
.rating-input input:checked + span, .rating-input .star-option:hover span, .rating-input .star-option:hover ~ .star-option span { color: #f5a623; }
.valoracion-form textarea { resize: vertical; min-height: 90px; padding: 0.75rem; border: 1px solid #d7dfe9; border-radius: 8px; }
.valoracion-form button { align-self: flex-start; padding: 0.75rem 1.5rem; border: none; border-radius: 8px; background: #007bff; color: #fff; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.valoracion-form button:disabled { background: #6c757d; cursor: not-allowed; }
.valoracion-form button:hover:not(:disabled) { background: #005dc1; }
.valoracion-msg { min-height: 20px; font-size: 0.95rem; }
.valoracion-msg.error { color: #b3261e; }
.valoracion-msg.ok { color: #1b7f2f; }
.login-hint { margin-top: 1rem; text-align: center; }
.login-hint a {
	display: inline-block;
	padding: 0.75rem 2rem;
	background-color: #007bff;
	color: white;
	text-decoration: none;
	border-radius: 8px;
	font-weight: 600;
	transition: background-color 0.3s ease;
}
.login-hint a:hover {
	background-color: #0056b3;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Responsive */

