.seccion-valoracion {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

/* Flexbox para poner ambas cajas lado a lado */
.contenedor-dos-columnas {
    display: flex;
    gap: 30px;
    max-width: 1000px;
    width: 100%;
    flex-wrap: wrap; /* Clave para el Responsive (Móviles) */
}

/* Ambas cajas tienen el mismo estilo base */
.estadisticas-valoracion, .tarjeta-valoracion {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    flex: 1; /* Ocupan 50% y 50% */
    min-width: 320px; /* Si la pantalla es pequeña, bajan a la siguiente línea */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.estadisticas-valoracion h2, .tarjeta-valoracion h2 {
    color: #d4a373;
    margin-bottom: 5px;
}

.texto-votos {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 25px;
}

/* Diseño de las estadísticas */
.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #222;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: bold;
    border: 1px solid #333;
}

.nota-numero {
    color: #d4a373;
    font-size: 1.1em;
}

/* --- MANTÉN AQUÍ TUS ESTILOS DE ESTRELLAS ANTERIORES --- */
.pregunta-valoracion {
    margin-bottom: 20px;
    background: #222;
    padding: 15px;
    border-radius: 8px;
}

.pregunta-valoracion > label {
    font-weight: bold;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.clasificacion-estrellas {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.clasificacion-estrellas input { display: none; }
.clasificacion-estrellas label { font-size: 35px; color: #444; cursor: pointer; transition: color 0.2s; }
.clasificacion-estrellas input:checked ~ label,
.clasificacion-estrellas label:hover,
.clasificacion-estrellas label:hover ~ label { color: #d4a373; }

.text-area-valoracion {
    width: 100%;
    background-color: #2a2a2a;
    color: white;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 10px;
    resize: none;
}